Bug 279732

Summary: [scroll-animations] add `animation-timeline` to the `animation` shorthand
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bramus, fantasai.bugs, graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 222295    

Antoine Quint
Reported 2024-09-15 03:41:15 PDT
The `animation-timeline` property is part of the `animation` shorthand. See https://github.com/web-platform-tests/wpt/issues/43500 for further discussion.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-15 03:41:55 PDT
Bramus
Comment 2 2024-09-15 06:44:56 PDT
Is this correct? IIRC we resolved on `animation-timeline` being a reset-only sub-property of the `animation` shorthand. There was a resolution on allowing `animation-timeline` in the shorthand under certain conditions (see https://github.com/w3c/csswg-drafts/issues/6946#issuecomment-1646065211) but AFAIK this has not been detailed nor specced yet.
Antoine Quint
Comment 3 2024-09-15 11:10:09 PDT
I see! The spec still lists `<single-animation-timeline>` in the animation shorthand https://drafts.csswg.org/css-animations-2/#animation-shorthand. I'm not sure when the new syntax is expected to be specified, but the spec should get updated to remove `<single-animation-timeline>` entirely for the time being.
Bramus
Comment 4 2024-09-15 11:15:16 PDT
Agree on removing `<single-animation-timeline>` entirely for the time being. Best to double check with flackr and/or fantasai.
Antoine Quint
Comment 5 2024-09-24 02:48:53 PDT
Talked with fantasai and it doesn't look like the spec is ready for us to implement animation-timeline as part of the shorthand. We'll close this for now. Thanks for bringing this up Bramus.
Note You need to log in before you can comment on or make changes to this bug.