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

[RC5] c541-word-sp-000 invalid

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 9 Feb 2011 11:09:14 -0800
Message-ID: <8f56b2871074d4e98e8c18826e09f999.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/c541-word-sp-000.htm

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

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

http://test.csswg.org/source/approved/css2.1/src/css1/c541-word-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 {word-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:09:48 GMT

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