W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2010

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

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Thu, 11 Nov 2010 13:22:02 +0100
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>, Gérard Talbot <css21testsuite@gtalbot.org>
Message-ID: <op.vlz9y0q0bunlto@oyvinds-desktop>
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.


> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:52 UTC