[RC6] containing-block-019, 020, 021 : proposed improvements

Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/containing-block-019.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/containing-block-019.htm

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/containing-block-020.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/containing-block-020.htm

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/containing-block-021.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/containing-block-021.htm


Proposed modifications:

line 8:
<meta name="assert" content="When the nearest (closest within document
containment hierarchy) positioned ancestor of an absolutely positioned
element is a block-level element, then the containing block of such
absolutely positioned element is formed by the padding edge of such
nearest (closest) positioned ancestor." />

line 28 height: 1in;
        left: auto;
        position: absolute;
        top: auto;
        width: 1in;

The span#span1 element determines, conditions (§10.3.7 and §10.6.4) the
'top: auto' and 'left: auto' coordinates while the wrapping div's
padding box forms the containing block geometry/area. A judicious
comment in the code of those 3 tests in that sense would be useful, in
my opinion.

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, 10 March 2012 02:08:15 UTC