Closed josepharhar closed 1 year ago
Hi there, we noticed an explainer is missing. Could you please update the request with an explainer? You may find the Explainer Explainer helpful.
Here is an explainer which explains the motivation for discrete property animation in context with other features, it is the first item in the list: https://github.com/chrishtr/rendering/blob/master/entry-exit-animations.md
The CSSWG issue doesn't provide a very concise example, so here is one:
#target {
transition: font-family 1s, color 1s;
font-family: serif;
color: blue;
}
#target.animated {
font-family: sans-serif;
color: green;
}
Without this feature, font-family will always transition immediately as soon as animated
is applied to #target
. With this feature, the font-family value will switch halfway through the transition and can also be precisely controlled with a @keyframes
rule.
This feature is now handled by https://github.com/w3ctag/design-reviews/issues/829
こんにちは TAG-さん!
I'm requesting a TAG review of Transitions on specified discrete properties.
Allows transitions of discrete properties to be started on properties explicitly listed in the transition-property list. These transitions run using the same logic as an animation on those properties performing a flip at 50% by default but can be customized through the use of the transitionstart event and web-animations-1 APIs for modifying transition animations.
Further details:
We'd prefer the TAG provide feedback as (please delete all but the desired option):
💬 leave review feedback as a comment in this issue and @-notify [github usernames]