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

[RC6] c5510-padn-000 has a fractional pixel issue

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 23 Jan 2012 23:28:54 -0500
Message-ID: <81b1ad73b26aea5319b089e5a706a2a4.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Hello,

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c5510-padn-000.htm

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/c5510-padn-000.htm

While creating a reftest for c5510-padn-000, I stumbled on

line 17    .four {padding: 17.391%; background-color: yellow;}

138px mult by 0.17391 == 23.99958px
but both Chrome 16.0.912.77, Konqueror 4.7.4 and Opera 11.60 will
unexpectedly truncate that value to 23px! So, the last yellow rectangle
will not have the same offsetheight of the other yellow rectangles in
those 2 browsers. It will be 56px tall and not 58px as expected by the
test author.

Right now, I do not have at hand or in mind a proposal, suggestion for
this test.

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 Tuesday, 24 January 2012 04:29:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 24 January 2012 04:29:35 GMT