Re: [csswg-drafts] [web-animations-2][css-animations-2] animation-trigger CSS syntax (#12652)

I don't especially love using `trigger()` as a mere grouping agent because we ran out of commas, so I somewhat lean towards @flackr's alternative suggestion of just using spaces.  https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-behavior

I think we also need to keep in mind that at some point, we may want longhands for `animation-trigger`, and I don't think we've ever bound bits of different longhands into a functional notation in the shorthand. Feels a bit awkward to do so, don't you think?

I think your proposal in https://github.com/w3c/csswg-drafts/issues/12611#issuecomment-3292998336 makes sense, but we should maybe discuss it in that issue. :)

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12652#issuecomment-3326406025 using your GitHub account


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

Received on Wednesday, 24 September 2025 04:18:56 UTC