[RC6] rgb(50%, ..., ...) or rgb(..., 50%, ...) or rgb(..., ..., 50%): fractional value!

Arron,

A number of tests are testing color with 50% as one of the 3 values in a
rgb( ,  , ) declaration. Now, if 100% is FF or 255, then what is 50%?
Firefox 16.0.2 and Opera 12.10 resolve this as 128 and 80 respectively
but Chrome resolves this as 7F (or 127)!

This is simply because 255 / 2 == 127.5

So, I will re-visit a bunch of tests like

background-color, border-bottom-color, border-left-color,
border-right-color, border-top-color, color, outline-color
with the suffixed numbers 052, 053, 073, 074, 093, 094 and possibly more.

An human would not and could not see such tiny color difference but this
issue would most likely have been reported in an automated testing,
checking of comparing screenshots.

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, 20 November 2012 03:23:52 UTC