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


I have one question on this testcase:


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

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.

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)

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite

Received on Wednesday, 12 January 2011 00:40:44 UTC