Creating reftests for tests involving half of the unpredictable width of another element; reftests for c43-rpl-bbx-002 and c43-rpl-ibx-000

Hello,

Some tests

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c43-center-000.htm

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c43-rpl-bbx-000.htm

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c43-rpl-bbx-001.htm

involve a precise measurement of half of the current window viewport or
rather the available document box width. Now, the available width for
the element to center or to use width: 50% may be odd and may then lead
to the fractional pixel.

Some properties do not round fractional values the same way as others.
So, for all these reasons, it's not possible to do reftests for these.

c43-center-000 has already a real, confirmed fractional pixel issue.

----------

Also, as coded, right now, it's impossible to do reftests for

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c43-rpl-bbx-002.htm
and
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c43-rpl-ibx-000.htm

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

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Wednesday, 14 December 2011 05:11:28 UTC