[Webkit-unassigned] [Bug 18355] New: rgb() or rgba() values should be only accepted when all integers or all percentages.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 7 23:44:20 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=18355
Summary: rgb() or rgba() values should be only accepted when all
integers or all percentages.
Product: WebKit
Version: 526+ (Nightly build)
Platform: All
URL: http://www.w3.org/TR/css3-color/#rgb-color
OS/Version: All
Status: NEW
Keywords: HasReduction
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: webkit at blaut.biz
CSS3 Color Module specification says: "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 ')'." and "The format of an RGBA value in the functional notation
is 'rgba(' followed by a comma-separated list of three numerical values (either
three integer values or three percentage values), followed by an <alphavalue>,
followed by ')'."
Mixing of integers with percentages is disallowed. Two tests from css3-color
Conformance Test Suite: http://www.w3.org/Style/CSS/Test/CSS3/Color/20070927/
check these cases:
http://www.w3.org/Style/CSS/Test/CSS3/Color/20070927/html4/t040202-rgba-func-no-mixed-f.htm
http://www.w3.org/Style/CSS/Test/CSS3/Color/20070927/html4/t040201-rgb-func-no-mixed-f.htm
--
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