[Webkit-unassigned] [Bug 68899] [CG] Both ShadowBlur and CG Shadow are applied to the rect in GraphicsContext::fillRect()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 29 07:16:52 PDT 2011


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





--- Comment #4 from Renata Hodovan <reni at webkit.org>  2011-09-29 07:16:52 PST ---
(In reply to comment #3)
> I'm a bit confused. Where's the testcase; how can I reproduce this? Or is this in code you're currently working on?

> Anyway, how are you applying the shadow? -webkit-svg-shadow? If it's -webkit-svg-shadow, that gets applied via a transparency layer that gets created (in SVGRenderSupport::prepareToRenderSVGContent) whenever you first hit the -webkit-svg-shadow'd element, so each element has no need to draw its own shadow.

The test case was a reduced version of svg/css/group-with-shadow.svg. It uses -webkit-svg-shadow property. I faced this problem while I was working on a new renderer for SVGElements which painted with the shape's own painter without path's one. So if I tried to fill a rectangle with the platform dependent fillRect() it applied both of the shadows.

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