Summary: | SVG clip-path references can clip out later content | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryan.d.labar | ||||||||
Component: | SVG | Assignee: | Philip Rogers <pdr> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | chrishtr, commit-queue, dino, esprehn+autocc, glenn, kondapallykalyan, pdr, sabouhallawa, simon.fraser, vincent, webkit-bug-importer, zimmermann | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Safari 10 | ||||||||||
Hardware: | Mac | ||||||||||
OS: | macOS 10.12 | ||||||||||
Attachments: |
|
Description
Ryan.d.labar
2016-10-29 09:30:34 PDT
Not sure it's only related to objectBoundingBox, but I opened this Chromium bug a while ago that seems related: https://bugs.chromium.org/p/chromium/issues/detail?id=391291&thanks=391291&ts=1404397995 Also, a simple testcase: http://jsbin.com/bipokocegi/edit?html,css,output Hope this could be fixed soon Created attachment 300787 [details]
Patch
Ping for review? Comment on attachment 300787 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=300787&action=review > Source/WebCore/ChangeLog:9 > + clipping codepath) so we need to ensure RenderLayer::setupClipPath saves and restores RenderLayer::setupClipPath() saves the context and RenderLayer::paintLayerContents() restores back if RenderLayer::setupClipPath() returns true. How about something like that: "...we need to ensure RenderLayer::setupClipPath() saves the context and its caller restores it back so later content is not clipped as well." Created attachment 301111 [details]
PatchWithUpdatedChangeLog
Created attachment 301114 [details]
PatchWithUpdatedChangeLog2
Comment on attachment 301114 [details] PatchWithUpdatedChangeLog2 Clearing flags on attachment: 301114 Committed r212038: <http://trac.webkit.org/changeset/212038> All reviewed patches have been landed. Closing bug. (In reply to comment #9) > All reviewed patches have been landed. Closing bug. You are all heros! |