Update animation property documentation for clarity#43645
Conversation
Clarified the specification of the `animation` property, detailing the components and their order. Updated notes on `animation-timeline` and `animation-fill-mode` behavior.
|
Preview URLs (1 page) Flaws (1) Found an unexpected or unresolvable flaw? Please report it here. URL:
(comment last updated: 2026-04-13 17:16:49) |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chrisdavidmills
left a comment
There was a problem hiding this comment.
@estelle looking much improved, nice work. I've got some comments for you.
|
|
||
| One or more single `<animation>` declarations, separated by commas, with each `<animation>` including: | ||
|
|
||
| - `<single-animation-name>` |
There was a problem hiding this comment.
You should check the type names in the spec to make sure they match with the ones stated here. For example, <keyframes-name> now seems to be used in place of <single-animation-name>.
There was a problem hiding this comment.
matched the formal syntax
There was a problem hiding this comment.
The formal syntax says <keyframes-name>, and this uses <single-animation-name>?
Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
chrisdavidmills
left a comment
There was a problem hiding this comment.
@estelle I reckon this is just about ready to merge now. I added one comment about the Datatypes under values still not matching the formal syntax, but I'm not sure how important that really is. I'll let you consider that one again, and then merge when you are done.
Clarified the specification of the
animationproperty, detailing the components and their order. Updated notes onanimation-timelineandanimation-fill-modebehavior.animation-range-startandanimation-range-endwere listed as part of the shorthand, but they aren't, and they aren't reset by the shorthan.