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>



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.

Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Tuesday, 24 January 2012 04:29:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:17 UTC