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

[RC6] background-color-049 and background-color-054: fractional values

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 10 Nov 2012 23:27:31 -0500
Message-ID: <083bbeeb4b6c8ab487ca6d3888bbf582.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/background-color-049.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/background-color-049.htm

rgb(1%, 1%, 1%) is computed as #020202 by IE8 and Chrome 23.0.1271.64
but as #030303 in Firefox 16.0.2, Firefox 19a1, Opera 12.10.

1% of 255 is 2.55: so again we have that familiar issue with fractions.

I fail to see how this test can be coded to work around such issue or
how this test can be rehabilitated.

--------


[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/background-color-054.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/background-color-054.htm

rgb(99%, 99%, 99%) is computed as #FCFCFC (or rgb(252, 252, 252)) by
IE8, Opera 12.10, Firefox 16.0.2 and Firefox 19a1 but as #FDFDFD by
Chrome 23.0.1271.64.
I fail to see how this test can work around such issue or how it can be
rehabilitated.



These discrepancies are independent from operating systems.
I think both tests would have been reported as failures in automated
checking process.

Other tests with 1% or with 99% in a rgb() declaration are likely to be
also unreliable because of that.
eg
http://test.csswg.org/suites/css2.1/20110323/html4/background-color-070.htm

http://test.csswg.org/suites/css2.1/20110323/html4/background-color-075.htm

http://test.csswg.org/suites/css2.1/20110323/html4/background-color-090.htm

but also border-color, border-left-color, border-right-color,
border-bottom-color, color, outline-color tests
eg
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/border-bottom-color-049.htm


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 Sunday, 11 November 2012 04:28:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 11 November 2012 04:28:03 GMT