Bug 236313

Summary: Updates to clipPath not rendered
Product: WebKit Reporter: Jack Doyle <jack>
Component: AnimationsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: dino, graouts, graouts, hi
Priority: P2    
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   

Description Jack Doyle 2022-02-08 10:30:02 PST
Any dynamic changes to the clipPath source (like animating the path) get ignored in terms of rendering/painting. Minimal demo: 
https://codepen.io/GreenSock/pen/XWzjqrv?editors=0010

Notice that we have to set clipPath = "none" and then set it back to "url(#clippath)" immediately on every tick of the animation in order to get Safari to render properly.
Comment 1 Cassie Evans 2022-02-08 11:28:15 PST
Fixed in safari technology preview ✨
Comment 2 Cassie Evans 2022-02-08 11:28:33 PST
Fixed in safari technology preview ✨
Comment 3 Antoine Quint 2022-02-08 11:37:09 PST
Yes, this is working fine for me in STP 139 and Safari in macOS 12.3 Beta.
Comment 4 Jack Doyle 2022-02-08 12:03:07 PST
Yes, it does seem to be fixed in the update, thanks!
Comment 5 Antoine Quint 2022-02-08 13:05:08 PST
Thanks for filing the bug and verifying it!