NEW230270
Improper masking during animation on method.ac
https://bugs.webkit.org/show_bug.cgi?id=230270
Summary Improper masking during animation on method.ac
Jon Lee
Reported 2021-09-14 11:37:50 PDT
Load https://method.ac/ In the upper right corner is a switch to toggle light and dark mode. Click on it. While animating to light mode the bands that make up the background don't get masked by the shape of the switch.
Attachments
Reduction (12.28 KB, text/html)
2021-09-17 07:20 PDT, Antoine Quint
no flags
Antoine Quint
Comment 1 2021-09-17 07:04:30 PDT
Not a recent regression, this was already broken in Safari 14.1.2.
Antoine Quint
Comment 2 2021-09-17 07:17:11 PDT
This uses border-radius to achieve the clipping of the toggle, not a mask or a clip.
Antoine Quint
Comment 3 2021-09-17 07:20:43 PDT
Created attachment 438472 [details] Reduction First stab at reducing this and slowing things down to see what's going on. Will reduce further later.
Simon Fraser (smfr)
Comment 4 2021-09-17 08:09:58 PDT
I think this is about changing the compositing layer tree and failing to reconfigure the clip path/mask.
Radar WebKit Bug Importer
Comment 5 2021-09-21 11:38:22 PDT
Note You need to log in before you can comment on or make changes to this bug.