Skip to content

[css-animations-2] setting effect should not prevent the timeline to set set via animation-timeline - #11812

Merged
graouts merged 2 commits into
mainfrom
css-animation-timeline-set-via-css-after-setting-effect
Mar 3, 2025
Merged

[css-animations-2] setting effect should not prevent the timeline to set set via animation-timeline#11812
graouts merged 2 commits into
mainfrom
css-animation-timeline-set-via-css-after-setting-effect

Conversation

@graouts

@graouts graouts commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

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 property, 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.

…o 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.

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modulo serial comma and missing closing apostrophe.

Comment thread css-animations-2/Overview.bs Outdated
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
@graouts
graouts merged commit 949f818 into main Mar 3, 2025
@graouts
graouts deleted the css-animation-timeline-set-via-css-after-setting-effect branch March 3, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants