[RC6] max-width-109 will not fail if max-width is not applied

James,

As coded and as worded, the testcase will not fail if max-width is not
supported (in buggy or old browsers). In such case, the blue square is
going to be 400px by 400px ... which is what the expected results
sentence expects.

If used width is 400px and is not constrained by max-width, then 10.6.2
applies:
"
if 'height' has a computed value of 'auto', and the element has an
intrinsic ratio then the used value of 'height' is:

    (used width) / (intrinsic ratio)
"

and the rendered layout will be a 400px by 400px blue square.

The testcase should try to detect both width and height of blue square.

Proposed modifications:

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/max-width-109.html

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 Sunday, 27 November 2011 02:34:30 UTC