[RC6] block-non-replaced-height-[005-008]

Arron,

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

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

I approved this test as is and created a reftest for it.

--------

[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

I can not approve this test. Since I am not sure what "has been
propagated to the viewport" means or can mean, I am proposing this test
replacement/substitution:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/block-non-replaced-height-006-GT.xht

I hope I will receive comments, feedback on this test and Microsoft's
block-non-replaced-height-006.htm so that a good/best test can prevail.

--------

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

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


The height should include non-collapsed vertical margins of inflow block
children. In this test, div#div2's margin-top collapses with the p's
margin-bottom and div#div3's margin-bottom collapses with the
margin-bottom of div#div1.
The spec states
"
The element's height is the distance from its top content edge to (...)
the bottom edge of the bottom (possibly collapsed) margin of its last
in-flow child, if the child's bottom margin does not collapse with the
element's bottom margin
"

So, I am proposing this test replacement/substitution:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/block-non-replaced-height-007-GT.xht

--------


[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

I do not approve this test. div#div1 is the div being the object of
this test: div#div1 does *not* have 'overflow: scroll'. Also, the CSS rule

html, body
            {
                overflow: scroll;
            }

seems inadequate, inappropriate here.

I am proposing this test replacement/substitution:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/block-non-replaced-height-008-GT.xht

and here, the height of the blue area
div#block-level-non-replaced-elem-in-normal-flow should be reduced by
the height of the generated horizontal scrollbar: this means that height
of rectangular blue area plus height of active horizontal scrollbar
should equal 200px. So, if my understanding is correct, no browser
(Firefox 15.0.1, Chrome 22.0.1229.79, Opera 12.02) passes this test...
albeit I have not checked how IE9 and IE10 handle this test.

Comments and feedbacks are welcomed.

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 Saturday, 29 September 2012 03:59:59 UTC