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

[RC6] inline-block-replaced-width-002 (svg, intrinsic width and intrinsic ratio)

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 13 Oct 2012 00:41:09 -0400
Message-ID: <bf3d37ebbe1ba45498e60764321611c1.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-002.xht


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


The text assert is saying:

"
The 'width' is (used height) * (intrinsic ratio) if there is no
intrinsic width but there is intrinsic height and ratio.
"

Such statement may be true but it does not and should not actually apply
or occur in that test.

In that test, the inline-block replaced element, which is the svg
element, has no intrinsic width and has *_no intrinsic ratio_*. In which
case, the predefined fallback width value must prevail and it is 300px.
Now, the painted rectangle is 200px wide and the parent container of
such svg is 288px wide. So, the test does not display, does not
demonstrate what is actually going on in the test and the test creates
false positives.

I have created and submitted 3 tests regarding abs. pos. svg with no
intrinsic ratio and 3 tests regarding an svg styled with display set to
'inline-block' with no intrinsic ratio:

http://test.csswg.org/source/contributors/gtalbot/submitted/absolute-replaced-width-003a.xht

http://test.csswg.org/source/contributors/gtalbot/submitted/absolute-replaced-width-003b.xht
(I will have to file-rename this absolute-replaced-width-003b.xht later
as this test is obviously about testing height and not width)

http://test.csswg.org/source/contributors/gtalbot/submitted/absolute-replaced-width-003c.xht

http://test.csswg.org/source/contributors/gtalbot/submitted/inline-block-replaced-height-009.xht

http://test.csswg.org/source/contributors/gtalbot/submitted/inline-block-replaced-width-007.xht

http://test.csswg.org/source/contributors/gtalbot/submitted/inline-block-replaced-width-008.xht

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 04:41:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 13 October 2012 04:41:40 GMT