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

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 UTC