https://bugzilla.wikimedia.org/show_bug.cgi?id=18829

--- Comment #41 from Aryeh Gregor <simetrical+wikib...@gmail.com> 2011-04-24 
18:31:24 UTC ---
(In reply to comment #38)
> The semantic meaning of "border=1" is "this is definitely not a layout table,
> don't you dare treat it like one".  The semantic meaning of "border=0" is 
> "this
> *is* a layout table".

No, border=0 could be a non-layout table that you don't want to have a border
for whatever reason.  There are such things.  It doesn't have any semantic
meaning.  The semantic meaning for border=1 was made up by HTML5.

> The HTML5 spec deprecates layout tables even more
> strongly than its predecessors, and in particular indicates that they "must" 
> be
> marked with an attribute "role=presentation".

This is actually a point of divergence between the W3C and WHATWG copies: the
W3C allows role=presentation on tables, the WHATWG prohibits it.

http://dev.w3.org/html5/spec/tabular-data.html#the-table-element
http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element

Not that it makes much difference, since both of them say role=presentation on
a table is valid.

(In reply to comment #39)
> Why take away people's ability to do the first of
> $ w3m -dump a.html
> a b
> 1 2

border=0 is redundant.  You don't need it to achieve that effect.

$ cat a.html
<!doctype html>
<table>
<tr><td>a <td>b
<tr><td>c <td>d
</table>
$ w3m -dump a.html
a b
c d

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to