[csswg-drafts] [css-animations-1][css-animations-2] Should any of the new scroll animations animation- longhands be forbidden in @keyframes ? (#12252)

nt1m has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-animations-1][css-animations-2] Should any of the new scroll animations animation- longhands be forbidden in @keyframes ? ==
Currently [the spec](https://drafts.csswg.org/css-animations/#keyframes) says:

> The [<declaration-list>](https://www.w3.org/TR/css-syntax-3/#typedef-declaration-list) inside of [<keyframe-block>](https://drafts.csswg.org/css-animations/#typedef-keyframe-block) accepts any CSS property except those defined in this specification, but does accept the [animation-timing-function](https://drafts.csswg.org/css-animations/#propdef-animation-timing-function) property and interprets it specially. None of the properties interact with the cascade (so using !important on them is invalid and will cause the property to be ignored).

I think this prose is outdated and probably doesn't take in account animation-range and other new stuff defined in css-animations-2.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12252 using your GitHub account


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

Received on Thursday, 29 May 2025 20:33:17 UTC