W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2012

[RC6] inline-block-replaced-width-004 can create false positives

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 13 Oct 2012 01:05:29 -0400
Message-ID: <a453dbaf464bc5a30ef1c1ebf564c34c.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>



The title and text assert both suggests that 'auto' specified for
'margin-left', 'margin-right' become an used value of '0' but
margin-left and margin-right are never specified explicitly as 'auto' in
the test and the initial value for margin-left and margin-right is 0.

Since the svg has no intrinsic height, no intrinsic width and no
intrinsic ratio, the predefined fallback values will apply: 300px used
width and 150px used height. The test as designed does not demonstrate
what is actually going on in the test. The painted rectangle (200px wide
and 100px tall) is always shorter and narrower than the dimensions of
the predefined used width and height. And so, this test is passed by
browsers which would fail stricter tests on the same feature.

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 Saturday, 13 October 2012 05:05:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:18 UTC