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>

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
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:


Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Sunday, 27 November 2011 02:34:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:55 UTC