Open graouts opened 1 month ago
Cc @birtles, @flackr, @andruud and @kevers-google.
WebKit is making a change via in its implementation via https://github.com/WebKit/WebKit/pull/35513 such that setting timeline
via the JS property will make any further change to animation-timeline
not affect the timeline set on the animation. However setting effect
will not interfere.
CSS Animations Level 2 has a section detailing how setting properties via the Web Animations APIs can override related CSS properties. For instance:
This section makes no mention of setting the
timeline
property of an animation. I believe the spec should detail what happens when settinganimation-timeline
after thetimeline
property has been modified via the JS bindings.Additionally, should setting the
effect
property have any effect on further changes to theanimation-timeline
property? Currently, the spec says so:But the timeline being a property of the animation, and not the effect, should
animation-timeline
be excluded here?