W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2011

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

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 26 Nov 2011 18:33:59 -0800
Message-ID: <506053ccef150dbb20f8633f135b33d5.squirrel@gtalbot.org>
To: "James Hopkins" <james@idreamincode.co.uk>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 27 November 2011 02:34:37 GMT