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: Fri, 14 Oct 2011 01:01:38 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1REW9a-000348-T6@jessica.w3.org>

--- Comment #9 from L. David Baron <dbaron@dbaron.org> 2011-10-14 01:01:37 UTC ---
I asked fantasai to look at these comments in a bit more detail.  However, to
respond to just one of them:

(In reply to comment #7)
> - :-moz-table-border-nonzero: why do you treat border=0 differently than
> border=1, other than for the width being mapped to 0 rather than 1? This seems
> to only be done by Opera and Gecko, and Opera's behaviour is buggy in other
> ways so I'm not sure it really counts:
> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1197

There are two uses of :-moz-table-border-nonzero, and I believe both of them
are required for interop as shown in this page:

The first use sets border-style:outset on the table only when
:-moz-table-border-nonzero.  If this rule applied whenever the border attribute
was present, the fifth of the six tables would have a visible border (which it
does not in Gecko or WebKit).  (There's also a border-width:thin in that rule
that's (a) always overridden and thus pointless.)

The second use is what sets the borders on the cells.  Making border="0" lead
to cell borders would be an extremely obvious Web compatibility regression;
using simply [border] in those cases would cause cell borders in the second and
fifth of the six tables and on countless tables all over the Web that don't
expect cell borders.  (All nonzero values of the border attribute apply the
given number to the table border and lead to 1 pixel cell borders.)

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 Friday, 14 October 2011 01:01:44 UTC

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