Steps: Go to http://www.hixie.ch/tests/adhoc/css/parsing/006.html Issue: webkit fails to parse rgb() : .test { color: green; color: rgb(255, 1%, 1); } Other browsers: IE7 : not ok FF3 beta : ok Safari 3.1 : not ok Opera 9.24 Build 8816 : ok Nightly tested: r31446
I think this test is invalid.
CCing ian for comment.
It's not invalid, the values in RGB have to either all be percentage or all be normal... combinations of the two are not allowed. Webkit still parses the rgb(255, 1%, 1) and thus displays red instead of green. From W3C CSS3 spec (and it's the same in CSS 2.1): "The format of an RGB value in the functional notation is 'rgb(' followed by a comma-separated list of three numerical values (either three integer values or three percentage values) followed by ')'."
*** This bug has been marked as a duplicate of 18355 ***