Re: Fractional pixel problem in width-091 : 1% of distance in Microsoft's testcases

> Hello,
>
> http://test.csswg.org/suites/css2.1/20100917/html4/width-091.htm
>
> http://test.csswg.org/suites/css2.1/20100917/xhtml1/width-091.xht
>
> Fractional pixel problem!
>
> 1% of an inch is 0.96px, which is rounded *down* to 0px in Chrome
> 6.0.472.62 and Konqueror 4.4.5. So, that test will require code
> tweaking.

It also affects Opera 10.62 (build 6438) (most likely if also affects
Safari 5.0.2 too) and it also afflicts this list of testcases for the
exact same reasons/causes:

 http://test.csswg.org/suites/css2.1/20100917/html4/min-width-091.htm

 http://test.csswg.org/suites/css2.1/20100917/xhtml1/min-width-091.xht

 http://test.csswg.org/suites/css2.1/20100917/html4/max-width-091.htm

 http://test.csswg.org/suites/css2.1/20100917/xhtml1/max-width-091.xht

 http://test.csswg.org/suites/css2.1/20100917/html4/height-091.htm

 http://test.csswg.org/suites/css2.1/20100917/xhtml1/height-091.xht

 http://test.csswg.org/suites/css2.1/20100917/html4/max-height-091.htm

 http://test.csswg.org/suites/css2.1/20100917/xhtml1/max-height-091.xht

{
In the max-height-091 testcases, there is also a doubtful coding/design
decision in the testcase:

            div div

            {

                background: black;

                max-height: 1%;

                height: 1%;

            }

You would want to have height set to, say, 10% and max-height to lower
than 10% in order to really test the max-height property here. If the
specified max-height value is equal to the specified height value, then
how does the testcase code actually tests the max-height property in the
testcase? How can you tell that the laid out result demonstrate an
implementation of the max-height property in action?
}

Microsoft testcases involving/using/relying on 7.5ex, 6ex, 1% of
horizontal or vertical distance should be checked, verified once more.

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

CSS 2.1 test suite (RC1; September 17th 2010):
http://test.csswg.org/suites/css2.1/20100917/html4/toc.html

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

Received on Tuesday, 21 September 2010 05:54:02 UTC