Bug 242498

Summary: changing mask or filter property between two URLs on SVG element doesn't cause an update
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, baba, karlcow, sabouhallawa, tanaka.toshiyuki, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Cameron McCormack (:heycam)
Reported 2022-07-07 23:49:27 PDT
Caught by the tests I'm adding in bug 242497.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-07-14 23:50:17 PDT
Said Abou-Hallawa
Comment 2 2022-07-15 12:40:53 PDT
Can you please attach a test case?
Said Abou-Hallawa
Comment 3 2022-07-15 14:41:52 PDT
This will be fixed in the cocoa underlying frameworks.
Said Abou-Hallawa
Comment 4 2022-07-15 14:43:10 PDT
Sorry I meant another bug to be closed.
Cameron McCormack (:heycam)
Comment 5 2022-07-15 18:19:23 PDT
(In reply to Said Abou-Hallawa from comment #2) > Can you please attach a test case? The expected-fail LayoutTests/svg/resource-invalidation/mask-resource-invalidation.html and LayoutTests/svg/resource-invalidation/filter-resource-invalidation.html tests that I landed test this. I have upcoming patches for lazy filter and mask resource invalidation that I'll upload soon. The filter one fixes the filter invalidation issue, but the mask one doesn't. I haven't looked into why that is yet.
Takao Baba
Comment 6 2022-10-07 02:45:38 PDT
I'm not completely sure whether this is the same issue or new one, but there is a regression about this SVG filter issue on Safari 16. Steps to reproduce: Open https://jsbin.com/riyawenudu/edit?html,output Expected behavior: The rectangle color will be changed every second (red -> green -> blue -> red ...). Actual behavior: On safari 16 (both macOS and iOS), the color won't be changed. I cannot create reduced testcase without using React.
Cameron McCormack (:heycam)
Comment 7 2022-10-21 15:52:45 PDT
(In reply to Takao Baba from comment #6) > I'm not completely sure whether this is the same issue or new one, but there > is a regression about this SVG filter issue on Safari 16. > > Steps to reproduce: > Open https://jsbin.com/riyawenudu/edit?html,output Thanks for reporting this issue with feComponentTransfer. It's being fixed in bug 246602.
Cameron McCormack (:heycam)
Comment 8 2022-11-02 23:52:29 PDT
Fixing the filter case in bug 247411.
Karl Dubost
Comment 9 2024-05-28 02:38:20 PDT
This seems to be working for me on a recent build of Safari.
Ahmad Saleem
Comment 10 2024-05-28 02:39:55 PDT
It is not reproducible on Safari Technology Preview 195 on Sonoma using test case from Comment 06 and it updates correctly each second to different color. Marking this as 'Configuration Changed', if it is still reproducing, please reopen with newer test case.
EWS
Comment 11 2024-09-09 09:00:49 PDT
Committed 283344@main (796a95b78ce1): <https://commits.webkit.org/283344@main> Reviewed commits have been landed. Closing PR #33156 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.