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>
Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/xhtml1/inline-block-replaced-width-004.xht

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/xhtml1/inline-block-replaced-width-004.xht

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.

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 13 October 2012 05:06:00 GMT