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

[RC5] c542-letter-sp-000 invalid

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 9 Feb 2011 11:10:05 -0800
Message-ID: <d47e2b0444a0d6203dc1404e834be32c.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/c542-letter-sp-000.htm

http://test.csswg.org/suites/css2.1/20110111/xhtml1/c542-letter-sp-000.xht

http://test.csswg.org/source/approved/css2.1/src/css1/c542-letter-sp-000.htm

http://test.csswg.org/source/approved/css2.1/src/css1/c542-letter-sp-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

.seven {letter-spacing: 1.25ex;}. 24px mult 0.8 == 19.2px rounded down
by Konqueror 4.6 but rounded up by Firefox 3.6.13. Then, 19px mult 1.25
== 23.75 rounded down again by Konqueror 4.6 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:10:39 GMT

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