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

[Bug 13915] The suggested presentation differs from the common (if not universal) browser behavior for a table when no attributes and no author style sheets are used. The common default is to render the table with no borders. However, the CSS rules described here imp

From: <bugzilla@jessica.w3.org>
Date: Wed, 12 Oct 2011 23:01:48 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RE7o4-0000hM-IN@jessica.w3.org>

--- Comment #5 from L. David Baron <dbaron@dbaron.org> 2011-10-12 23:01:48 UTC ---
That would certainly be an improvement.  It even appears to be correct for
border="0", based on
in Gecko and WebKit.

It's hard to say off the top of my head whether it's right.  This stuff is
pretty complicated given the multiple presentational attributes (border, frame,
rules) that have effects on tables, cells, and the elements in between -- and
it's actually sort of hard to write CSS rules that get the cascading correct so
as to get the interactions of those different presentational attributes

Gecko actually does implement almost all of this in terms of CSS (rather than
C++ code like we used to) -- though the mapping of the border attribute to
border-*-width on the table is in C++ (and you describe it in prose), and I
needed to sneak in a :-moz-table-border-nonzero selector to handle things like

So http://mxr.mozilla.org/mozilla-central/source/layout/style/html.css#257 may
be informative here.

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 Wednesday, 12 October 2011 23:01:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:05 UTC