Summary: | [CSS Blending] SVG background images don't blend with any other layer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mirela <mbudaes> | ||||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, d-r, fmalita, mitica, pdr, schenney, WebkitBugTracker | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 108546 | ||||||||||
Attachments: |
|
Description
Mirela
2013-06-13 05:24:30 PDT
Created attachment 204575 [details]
Test case
Created attachment 204577 [details]
Patch for review
Comment on attachment 204577 [details] Patch for review View in context: https://bugs.webkit.org/attachment.cgi?id=204577&action=review > Source/WebCore/svg/graphics/SVGImage.cpp:227 > + context->setCompositeOperation(compositeOp); Why does the composition operation needed to be reset? Why just the blend mode? (In reply to comment #3) > (From update of attachment 204577 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=204577&action=review > > > Source/WebCore/svg/graphics/SVGImage.cpp:227 > > + context->setCompositeOperation(compositeOp); > > Why does the composition operation needed to be reset? Why just the blend mode? Thanks for reviewing this change! This would actually reset the blend mode but it seems like it's no longer needed due to the consequent call to stateSaver.restore(); Created attachment 204624 [details]
Patch
Comment on attachment 204624 [details]
Patch
LGTM. Great catch!
Comment on attachment 204624 [details] Patch Clearing flags on attachment: 204624 Committed r151566: <http://trac.webkit.org/changeset/151566> All reviewed patches have been landed. Closing bug. |