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

[RC6] width-replaced-element-001: incorrect

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 7 Nov 2012 23:29:44 -0500
Message-ID: <886829fd7e2210670d37fd065d9f1255.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/html4/width-replaced-element-001.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/width-replaced-element-001.htm

        <meta name="flags" content="image may">
        <meta name="assert" content="Replaced elements width may be
scaled by the user agent when the value of the property is not
'auto'.">

The test text assert is claming an optional scaling that just is not
stated anywhere in section 10 of the spec. The height of an absolutely
positioned, inline replaced element with intrinsic ratio (such as an
image) with a non-auto width is scaled according to the equation

(used width) / (intrinsic ratio)

There is no option here and no "may" keyword. The sequence is:

"
The used value of 'height' is determined as for inline replaced elements.
"
10.6.5 Absolutely positioned, replaced elements
http://www.w3.org/TR/CSS21/visudet.html#abs-replaced-height

and then

10.6.2 Inline replaced elements, block-level replaced elements in normal
flow, 'inline-block' replaced elements in normal flow and floating
replaced elements
http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height

This test is somehow close to

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/absolute-replaced-height-010.htm


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 Thursday, 8 November 2012 04:30:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 8 November 2012 04:30:16 GMT