[Webkit-unassigned] [Bug 38845] Canvas color property getters should serialize them according to spec
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 11 00:58:35 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38845
--- Comment #5 from Dirk Schulze <krit at webkit.org> 2010-05-11 00:58:34 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=55557)
--> (https://bugs.webkit.org/attachment.cgi?id=55557) [details] [details]
> > Proposed patch, first stab + stylefixes
>
> I miss a test, where you set a color like: fillStyle = "rgba(255,0,0,1.0)";
> If I read the Spec correctly, we should get back "#ff0000".
Also your're violating this part:
"a U+0030 DIGIT ZERO, a U+002E FULL STOP (representing the decimal point), one or more digits in the range 0-9 (U+0030 to U+0039) representing the fractional part of the alpha value"
shouldBe("ctx.shadowColor", "'rgba(1, 2, 3, 0.40000)'");
is wrong here, should be "rgba(1, 2, 3, 0.4)"
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list