Summary: | webkit fails to parse css color:rgb() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Anantha Keesara <anantha> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ian |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://www.hixie.ch/tests/adhoc/css/parsing/006.html |
Description
Anantha Keesara
2008-04-18 11:15:49 PDT
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 ')'." |