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

[RC4] c5525-fltwidth-002 w/o harness

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Fri, 7 Jan 2011 13:34:53 -0800
Message-ID: <e0ffbd5ecd3edac47e1ec05482a8774b.squirrel@cp3.shieldhost.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Hello,

This is a follow-up on

http://lists.w3.org/Archives/Public/public-css-testsuite/2010Dec/0018.html

Load the 2 following webpages in Chrome 8.0.552.224 and/or in Konqueror
4.5.4 and with a maximized viewport:

http://test.csswg.org/suites/css2.1/20101210/html4/c5525-fltwidth-002.htm
(RC4)

http://test.csswg.org/harness/testcase?s=CSS21_HTML_RC4&u=&c=c5525-fltwidth-002

The differences in rendering (a 1px sliver of red on the right side of
the green square) is explained by if the body element available width
for positioning the float is an odd number or an even number. When
viewport is horizontally resized, the 1px sliver of red comes and goes.
If the containing block width is an odd number, then 50% will create a
fractional pixel situation.

One way to work around such situation would be to give the body's
available width (for positioning the float) a fixed, even number... like
800px for that single testcase.

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

CSS 2.1 test suite (RC4; December 10th 2010):
http://test.csswg.org/suites/css2.1/20101210/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Friday, 7 January 2011 21:35:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 January 2011 21:35:36 GMT