W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2011

[Bug 12413] Handling of <table border=0> is incompatible with the Web

From: <bugzilla@jessica.w3.org>
Date: Mon, 04 Apr 2011 11:46:07 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q6iER-0006j2-Qx@jessica.w3.org>

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |xn--mlform-iua@xn--mlform-i
                   |                            |ua.no
         Resolution|INVALID                     |

--- Comment #2 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-04-04 11:46:06 UTC ---
(In reply to comment #1)
> From the spec:
> "The table element's border attribute maps to the pixel length properties
> 'border-top-width', 'border-right-width', 'border-bottom-width',
> 'border-left-width' on the element. If the attribute is present but parsing the
> attribute's value using the rules for parsing non-negative integers generates
> an error, a default value of 1px is expected to be used for that property
> instead."
> i.e. border=0 maps to border-width:0 already.

Firstly: Anyone that can parse HTML5's CSS rules - see quote above - can see
 table[border] td{border-width:0} results in a 0 - zero - pixel border for the
table *cells*, regardless of the value or @border.

Secondly, you seem to repeat what Aryeh has already remarked:
Namely, you [or more correctly, the spec text you quoted] speak about the
borders on the very <table> container element.

But otherwise, it is a very good point you have that <table border="0"> results
in <table style="border-width:0">. The question then becomes: why does it not,
as this bug report suggests, also result in <td style="border-width:0"> and <th

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 4 April 2011 11:46:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:46 UTC