[Webkit-unassigned] [Bug 18588] webkit fails to parse css color:rgb()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 21 22:05:05 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18588





------- Comment #3 from apapirovski at mac.com  2008-04-21 22:05 PDT -------
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 ')'."


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list