W3C home > Mailing lists > Public > www-style@w3.org > January 2011

[CSS21] Question on section 17.6.1 The separated borders model and width of inline-table

From: Gérard Talbot <www-style@gtalbot.org>
Date: Tue, 11 Jan 2011 16:39:38 -0800
Message-ID: <0336abd55faf5d78ffc3e19a1b8d3869.squirrel@cp3.shieldhost.com>
To: "W3C style mailing list" <www-style@w3.org>
Hello,

I have one question on this testcase:

http://test.csswg.org/suites/css2.1/20101210/html4/empty-cells-applies-to-007.htm

What should be the actual dimensions of such black square?

Firefox 3.6.13 renders a 26px by 26px black square: a 5px solid black
border and 16px content box (1em)

Chrome 8.0.552.224 renders a 16px by 16px black square: 16px border-box
(1em).

I think Chrome 8.0.552.224 is correct in its display (the black box should
have a 16px by 16px dimensions) because

"
the width of the <table> element is the distance from the left border edge
to the right border edge.
"
http://www.w3.org/TR/CSS21/tables.html#separated-borders

therefore, the box-sizing should be set to border-box in such testcase.

Am I wrong?

FYI, Opera 11.0 does not display a black square and Konqueror 4.5.5
displays a 16px wide by 6px tall rectangle.

regards, Gérard
-- 
CSS 2.1 Test suite RC4 (December 10th 2010)
http://test.csswg.org/suites/css2.1/20101210/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Wednesday, 12 January 2011 00:40:44 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:35 GMT