[Webkit-unassigned] [Bug 51869] Shadows are not drawn when filling a rect with a gradient fillStyle on Mac and Chromium-Mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 5 08:40:46 PST 2011


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





--- Comment #12 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-01-05 08:40:46 PST ---
(In reply to comment #10)

This patch looks close.

> I can't seem to clip the layer. If I add CGContextClipToRect(layerContext, rect) after the creation of the layer, the top box will be slightly translated in both axis. I guess I'm missing something possibly obvious.

I'd expect the layer to clip for you.

You should also do a test here where the context has been transformed (e.g. rotated) before the drawing of the gradient.

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