From 341a62664272b367b08a3a91a292906a20473fe3 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sat, 12 Jan 2013 12:47:56 -0500 Subject: [PATCH] little bugs --- dom.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom.d b/dom.d index eeae346..9c4bf6e 100644 --- a/dom.d +++ b/dom.d @@ -978,7 +978,7 @@ class Element { tagName = "form"; else static if(is(T == Table)) tagName = "table"; - else static if(is(T == Table)) + else static if(is(T == Link)) tagName == "a"; } @@ -1276,7 +1276,7 @@ class Element { if(this.hasAttribute("width")) style ~= "; width: " ~ this.width; if(this.hasAttribute("height")) - style ~= "; width: " ~ this.height; + style ~= "; height: " ~ this.height; if(this.hasAttribute("bgcolor")) style ~= "; background-color: " ~ this.bgcolor; if(this.tagName == "body" && this.hasAttribute("text"))