[RC5] c541-word-sp-000 invalid

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 UTC