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

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 UTC