[RC4] absolute-non-replaced-width-013 assert text inaccurate

Hello Arron,


http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_10/absolute-non-replaced-width-013.xht


http://test.csswg.org/suites/css2.1/20101210/html4/absolute-non-replaced-width-013.htm

http://test.csswg.org/suites/css2.1/20101210/xhtml1/absolute-non-replaced-width-013.xht


Width should be sized according to shrink-to-fit first and then, only
after, right should be solved. Such order has or can have important
repercussions.

{
'width' and 'right' are 'auto' and 'left' is not 'auto', then the width
is shrink-to-fit . Then solve for 'right'
}
http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width

Note that also many absolute-non-replaced-width testcases do not
explicitly state that margin-left and margin-right are auto and that
'margin-left: auto' and 'margin-right: auto' should be set to 0 before
choosing from the 6 ordered list-items.

        <meta name="assert" content="When 'right' and 'width' are 'auto'
and 'left' is not 'auto' element solves for 'right' and 'width'
sizes to content." />

Proposed replacement
--------------------

        <meta name="assert" content="When 'margin-left', 'margin-right',
'right' and 'width' are all 'auto' and 'left' is not 'auto',
then 'margin-left' and 'margin-right' are set to 0, then the
width is shrink-to-fit and then, finally, 'right' is solved." />

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (RC4; December 10th 2010):
http://test.csswg.org/suites/css2.1/20101210/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Monday, 13 December 2010 18:35:11 UTC