Skip to content

Commit 949f818

Browse files
graoutsannevk
andauthored
[css-animations-2] setting effect should not prevent the timeline to set set via animation-timeline (#11812)
* [css-animations-2] setting `effect` should not prevent the timeline to bet set via `animation-timeline` While most `animation-*` CSS properties should _not_ have an effect once a `CSSAnimation` object has had its `effect` property set via the bindings, the `animation-timeline`, like the `animation-play-state` and `animation-name` properties, should not follow that pattern since it is relevant to the _animation_ and not the animation _effect_. The relevant WPT test is updated in web-platform-tests/wpt#51057. Co-authored-by: Anne van Kesteren <[email protected]>
1 parent 16861e2 commit 949f818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-animations-2/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ the changes from the programming interface take precedence as follows:
142142
to <code>null</code>
143143
or some {{AnimationEffect}} other than the original {{KeyframeEffect}},
144144
all subsequent changes to animation properties other than
145-
'animation-name' or 'animation-play-state'
145+
'animation-name', 'animation-play-state', or 'animation-timeline'
146146
will not be reflected in that animation.
147147
Similarly, any change to matching ''@keyframes'' rules will not be reflected
148148
in that animation.

0 commit comments

Comments
 (0)