You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Chrome, calling target.getAnimations() immediately returns the animation.
In Safari, an animation frame needs to run for the animation’s start time to auto-align and only then does calling target.getAnimations() return the animation.
I’m puzzled how an animation with an unresolved start time, which is the case for this animation until its start time is auto-aligned, can be considered relevant. But this is a recurring problem in Safari and shows up in a host of WPT tests. It’s almost as if Chrome expected the definition of a relevant animation to have a provision that if the animation is associated with a progress-based timeline, it’s relevant (or current, or in effect).
* Safari Technology Preview 207 with the "Scroll-driven Animations" flag enabled in the “Settings…" → "Feature Flags” panel.
The text was updated successfully, but these errors were encountered:
I’m trying to work out what in the relevant specs makes this simple code behave differently in Chrome and Safari*:
In Chrome, calling
target.getAnimations()
immediately returns the animation.In Safari, an animation frame needs to run for the animation’s start time to auto-align and only then does calling
target.getAnimations()
return the animation.I’m puzzled how an animation with an unresolved start time, which is the case for this animation until its start time is auto-aligned, can be considered relevant. But this is a recurring problem in Safari and shows up in a host of WPT tests. It’s almost as if Chrome expected the definition of a relevant animation to have a provision that if the animation is associated with a progress-based timeline, it’s relevant (or current, or in effect).
* Safari Technology Preview 207 with the "Scroll-driven Animations" flag enabled in the “Settings…" → "Feature Flags” panel.
The text was updated successfully, but these errors were encountered: