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 14:16:31 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q6kZz-0005Ih-Jl@jessica.w3.org>

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |Simetrical+w3cbug@gmail.com

--- Comment #3 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-04-04 14:16:31 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.

That's what I thought originally, but Leif is right.  Consider this:

data:text/html,<!doctype html>
<table border=15><td>A<td>B</table>
<table border=0><td>A<td>B</table>

The spec says that the first table should have a 15px border and the second no
border, which is correct.  But it says that both of them should have 1px
borders on each cell, which is wrong for the latter table.

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 14:16:36 UTC

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