[RC6] width-undefined-001: odd text assert

Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/width-undefined-001.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/width-undefined-001.htm

        <meta name="assert" content="The containing block's width
depends on this element's width because the resulting layout has
not been defined in CSS2.1." />

The test text assert is claming something that does not seem to make
sense. The proposition
"
because the resulting layout has not been defined in CSS2.1
"
has no reason to be stated, given in the test's text assert. The div's
width is 0 since its content span is taken out of normal flow.

The span#span1 used width is given by its "XX" content.

Section 10.3.7 should apply
10.3.7 Absolutely positioned, non-replaced elements
http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width

"
'width' and 'right' are 'auto' and 'left' is not 'auto', then the width
is shrink-to-fit .
"

I think the purpose and target of this test should be re-considered.

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, 8 November 2012 05:01:04 UTC