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

Le Sam 10 novembre 2012 23:27, "Gérard Talbot" a écrit :
> 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

Arron,

A total of 56 tests ([a list of 7 property_names-]color-049, color-54,
color-070, color-075, color-090, color-095, color-110, color-115) have
been put into the NeedsWork status just because of such issue.

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, 18 November 2012 02:57:38 UTC