[Webkit-unassigned] [Bug 102654] Zero size gradient should paint nothing on canvas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 29 05:55:29 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=102654





--- Comment #38 from Dirk Schulze <krit at webkit.org>  2013-01-29 05:57:27 PST ---
(From update of attachment 185172)
View in context: https://bugs.webkit.org/attachment.cgi?id=185172&action=review

Nearly done. Did you investigate why mac-wk2 is failing? Shouldn't canvas tests run on WK2 nowadays?

> LayoutTests/fast/canvas/2d.gradient.interpolate.zerosize.fill.html:33
> +var canvas = document.getElementById('c');
> +var ctx = canvas.getContext("2d");
> +drawCanvas(ctx);
> +if (_assertPixel(canvas, 40,20, 0,255,0,255) == true)
> +    document.getElementById("console").innerHTML = "TEST PASSED";
> +else

I would really appreciate if you could transform these tests into more WebKit Canvas style tests like fast/canvas/canvas-clearRect.html for example. The test itself looks fine. This is more of a style change request.

-- 
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