- From: <bugzilla@jessica.w3.org>
- Date: Mon, 04 Apr 2011 11:46:07 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12413 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 that 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: http://lists.w3.org/Archives/Public/public-html/2011Mar/0616.html 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 style="border-width:0">? -- 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