[csswg-drafts] [css-animations-2] The default composite of Keyframes (#7476)

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

== [css-animations-2] The default composite of Keyframes ==
The step 2 of [Keyframes in [css-animations-2]](https://drafts.csswg.org/css-animations-2/#keyframes) mentions that the default composite of a keyframe is `replace`. However, this may be inconsistent with the handle for [keyframe-specific composite operation in [web-animations-1]](https://drafts.csswg.org/web-animations-1/#keyframe-specific-composite-operation):
> If the [keyframe-specific composite operation](https://drafts.csswg.org/web-animations-1/#keyframe-specific-composite-operation) for a keyframe is not set, the composite operation specified for the keyframe effect as a whole is used for values specified in that keyframe.

So for web-animations, we use the composite operation defined in keyframe effect for keyframes if it is not specified in the keyframe. Perhaps we should also use the `animation-composition` defined for the element, for CSS Animations, just like what we do for `animation-timing-function`, as the default composite of keyframes?

Does this make sense? Or do we have other concerns? Thanks.

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


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

Received on Thursday, 7 July 2022 23:11:38 UTC