[Webkit-unassigned] [Bug 116856] <svg> with opacity and compositing double-applies its opacity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 12 13:29:34 PDT 2014


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


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #231316|review?, commit-queue?      |review+, commit-queue-
               Flag|                            |




--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com>  2014-05-12 13:29:53 PST ---
(From update of attachment 231316)
View in context: https://bugs.webkit.org/attachment.cgi?id=231316&action=review

> Source/WebCore/rendering/svg/SVGRenderingContext.cpp:104
> +    float opacity = isRenderingMask || (renderer.hasLayer() && renderer.enclosingLayer()->isComposited()) ? 1 : style.opacity();

You should do hasLayer() && toRenderLayerModelObject(renderer)->layer()->isComposited()).

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