Re: [RC3] blocks-017 inaccurate height of wrapping div

On Wed, 10 Nov 2010 20:37:54 +0100, Gérard Talbot  
<css21testsuite@gtalbot.org> wrote:

> http://test.csswg.org/suites/css2.1/20101027/html4/blocks-017.htm
>
> http://test.csswg.org/suites/css2.1/20101027/xhtml1/blocks-017.xht
>
> I am sure I mentioned this testcase before.

http://lists.w3.org/Archives/Public/public-css-testsuite/2010Aug/0022.html

> 2- for reasons I do not understand, Opera 10.63 and Firefox 3.6.12
> ignore the border-top-width and border-bottom-width around the 2 tables
> in the tables' offsetHeight. Instead of returning 22px for the
> offsetHeight, they return 20px for the 2 tables.

They have "(-moz-)box-sizing: border-box" in their UA stylesheet. Relevant  
quote from CSS2.1 17.6.1:

"However, in HTML and XHTML1, the width of the <table> element is the  
distance from the left border edge to the right border edge.

Note: In CSS3 this peculiar requirement will be defined in terms of UA  
style sheet rules and the 'box-sizing' property."

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Thursday, 11 November 2010 12:20:47 UTC