W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2011

[RC5] c547-indent-000 invalid

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 9 Feb 2011 11:14:48 -0800
Message-ID: <28c36ee995eb37fa80f3937bdae823fa.squirrel@cp3.shieldhost.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
http://test.csswg.org/suites/css2.1/20110111/html4/c547-indent-000.htm

http://test.csswg.org/suites/css2.1/20110111/html4/c547-indent-000.htm

http://test.csswg.org/source/approved/css2.1/src/css1/c547-indent-000.htm

http://test.csswg.org/source/approved/css2.1/src/css1/c547-indent-000.xht


Several browsers (Firefox 3.6.13, Konqueror 4.6) will fail this testcase
because 1ex is first computed and then rounded and because font-size of
element is not a multiple of 5


24px mult 0.8 == 19.2px rounded down by Konqueror 4.6.0 but rounded up
by Firefox 3.6.13. Then, 19px mult 1.25 == 23.75 rounded down again by
Konqueror 4.6.0 while 20px mult 1.25 == 25px by Firefox 3.6.13.

Solution is to use font-size: 20px or 30px.

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

CSS 2.1 test suite (RC5; January 11th 2011):
http://test.csswg.org/suites/css2.1/20110111/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Wednesday, 9 February 2011 19:15:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 February 2011 19:15:53 GMT