setAttribute("border", null) on a table creates a border

Robert Hogan <[email protected]> Tue, 15 Jan 2013 20:09:28 +0000
Newsgroups gmane.comp.web.html.general
Message-ID <CAD1xn+ObVoH-ALC7eFfkuNc+NpuWSNf6pTkZJM=-ovPN13tt5g@mail.gmail.com>
--f46d044306acc6dc1d04d359568e
Content-Type: text/plain; charset=ISO-8859-1

At the moment WebKit is the only rendering engine that regards
setAttribute("border", null) as not setting a border on a table. All
other set a border, even in strict mode.

Although the odd one out, WebKit seems to be correct per the DOM4 and
IDL specs. See https://bugs.webkit.org/show_bug.cgi?id=102112

I'd like to make WebKit interoperable on this with other browsers, so
can we get the current treatment of 'null' as setting a border added
to the spec?

--f46d044306acc6dc1d04d359568e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><pre class=3D"" id=3D"comment_text_3" style=3D"white-=
space:pre-wrap;width:auto;color:rgb(0,0,0)">At the moment WebKit is the onl=
y rendering engine that=A0<span style=3D"font-family:arial">regards setAttr=
ibute(&quot;border&quot;, null) as not setting a border on a table. All oth=
er set a border, even in strict mode.</span></pre>
<pre class=3D"" id=3D"comment_text_3" style=3D"white-space:pre-wrap;width:a=
uto;color:rgb(0,0,0)"><font face=3D"arial">Although the odd one out, WebKit=
 seems to be correct per the DOM4 and IDL specs. See </font><a href=3D"http=
s://bugs.webkit.org/show_bug.cgi?id=3D102112" style=3D"font-family:arial">h=
ttps://bugs.webkit.org/show_bug.cgi?id=3D102112</a></pre>
<pre class=3D"" id=3D"comment_text_3" style=3D"white-space:pre-wrap;width:a=
uto;color:rgb(0,0,0)">I&#39;d like to make WebKit interoperable on this wit=
h other browsers, so can we get the current treatment of &#39;null&#39; as =
setting a border added to the spec?</pre>
<pre class=3D"" id=3D"comment_text_3" style=3D"white-space:pre-wrap;width:a=
uto;color:rgb(0,0,0)"><br></pre><pre class=3D"" id=3D"comment_text_3" style=
=3D"white-space:pre-wrap;width:auto;color:rgb(0,0,0)"><br></pre></div></div=
>

--f46d044306acc6dc1d04d359568e--