Created attachment 455068 [details] test case showing flicker Doing a simple CSS transition shows a flicker on the latest Safari after the iOS 15.4 update. See test case attached. The transition is just: #box { transform: scale(0.3); opacity: 0.3; transition: transform 0.5s, opacity 1.5s; } #box:hover { opacity: 1; transform: scale(1); } Normally the transitions are smooth but now the transitions seem to repeat themselves causing a mismatched flicker.
<rdar://problem/90476139>
This regressed with r285529, the fix for bug 231358.
r285529 did something very stupid in addLeafAnimation(): we would add the animationGroupBeginTime each time this function was called which meant that any time we committed animation on a layer. This was fine as long as there was only one commit per animation. But this also meant that if you had two or more animations running with different durations, such as in the test case, further commits would add an extra 1s to the leaf animation begin time.
Going to fix this in bug 237972 since it was filed earlier and is the same issue. Thanks a lot for filing this bug with a reduction, this really helped! *** This bug has been marked as a duplicate of bug 237972 ***