Re: [csswg-drafts] [css-animations-2] Allow animation-composition to be set using the animation shorthand (closes #6929) (#6930)

> It would be nice if we can somehow continue to tell authors / tools to always put the animation-name last. Is it even possible to have a rule that lets `animation: 1s replace` give us `animation-name: replace` while `animation: 1s replace add` gives us `animation-name: add`?

This is what the spec. says. I.e. any keywords are preferrably interpreted as values for other properties than `animation-name`.
Though, as you already mention, this can be a problem for any keyword we add to one of the longhands.

There doesn't seem to be any perfect solution for this. Also, that's a more general issue, so I've created #6946 to discuss possible solutions.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/6930#issuecomment-1011879828 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 January 2022 07:48:06 UTC