Le Lun 6 décembre 2010 0:53, fantasai a écrit : > On 10/06/2010 04:15 PM, "Gérard Talbot" wrote: >> Řyvind and Geoffrey, >> >> http://test.csswg.org/suites/css2.1/20101001/html4/c414-flt-ln-002.htm >> >> We discussed the c414-flt-ln-002 test before. > > I've altered the test to make it easier to determine the pass/fail > conditions: > http://test.csswg.org/source/approved/css2.1/src/css1/c414-flt-ln-002.xht > > Let me know if this addresses the problem. > > ~fantasai If unstyled body text uses the default font-size of 16px, then the following values can and may well cause fractional pixel issues: .test { position: relative; font: 1em/1.4 serif; border: 5px solid gray; margin: 1em; color: silver; } .test p, .test span { color: white; border: solid 0.2em; } line-height: 1.4 will be resolved as 16px mult 1.4 == 22.4px border-width: 0.2em will be resolved as 16px mult 0.2 == 3.2px There are several ways to workaround this. I used line-height: 1.25 (resolved as 20px, which creates the usual and normal 2px half-leading for a normal <p>) or you may even set the font-size to 20px for .test making all tenths of value giving whole integer pixel values. I forgot to say in my previous email that the testcase should even invite users to not only resize viewport width but increase/decrease text size as well, too. regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (RC3; October 27th 2010): http://test.csswg.org/suites/css2.1/20101027/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/Received on Monday, 6 December 2010 20:13:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 December 2010 20:14:05 GMT