W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2012

[RC6] block-non-replaced-height-[002, 004, 006, 008, 010, 012, 014, 016] all seem wrong

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 27 Sep 2012 16:24:07 -0400
Message-ID: <892a5a364c6274fd4859b7d88cbf09f3.squirrel@gtalbot.org>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-002.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-002.htm


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-004.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-004.htm


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-006.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-006.htm


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-008.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-008.htm


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-010.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-010.htm


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-012.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-012.htm


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-014.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-014.htm


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/block-non-replaced-height-016.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-016.htm


In all these tests, overflow: scroll has been set onto the html and body
elements and not on the block non-replaced element being subject of the
goal/purpose of the test.

block-non-replaced-height-012: this test does not seem to be testing
what it was originally intended to be testing.

>From what I can see now, some tests will be difficult to improve.

E.g.

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/block-non-replaced-height-010.htm

It is not possible to predict the height of an horizontal scrollbar because
a) height of an horizontal scrollbar is user-settable via preferences
b) such height also varies from one browser to another, one browser
theme to another, from one operating system to another.

Also, the text assert says

"
(... list of conditions...) The 'height' is the sized from the top of
the topmost margin edge of the content to the bottom of the bottom most
margin edge of the content.
"

but that's not what the spec says. The test assert should be saying
something like:

"
(... list of conditions...) In such case, the 'height' is the distance
from top content edge to bottom edge of the bottom margin of its last
in-flow child"

in which case, div#div2's border-top: 0.25in solid blue; should not be
taken into account when measuring div#div2's height.

---------

One last thing about the
10.6.3 Block-level non-replaced elements in normal flow (...)
http://www.w3.org/TR/CSS21/visudet.html#normal-block
which says
"
This section also applies to block-level non-replaced elements in normal
flow when 'overflow' does not compute to 'visible' but has been
propagated to the viewport.
"

I'm not 100% sure what
"
has been propagated to the viewport
"
is supposed to actually mean or refer to. I think it is supposed to
refer to element viewport and not document or window viewport.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Thursday, 27 September 2012 20:24:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 27 September 2012 20:24:35 GMT