Re: [csswg-drafts] [css-transitions-2] Spec text talks about **values** being transitionable & having particular "animation type", when it probably wants to talk about **properties** (#8761)

This is particularly for the "not animatable" portion, which applies to a whole property.

"discrete" does have a bit more of a value-specific flavor; it's defined as a whole-property thing at https://drafts.csswg.org/web-animations-1/#animation-type , but the "by computed value" / "repeatable list" animation-types there do say "the property values combine as discrete." for some cases.  I think that's what the spec text is meaning to capture here for the values-having-an-animation-type-as-discrete category.

Here's some suggested possibly clearer/more-precise text, distinguishing between "properties with a discrete animation type" vs. properties with other animation types which have **values** that "combine as discrete":

> In CSS Transitions Level 2, properties are transitionable unless they have an animation type that is not animatable.
> Properties with a discrete animation type are transitionable, and flip at 50% progress (p = 0.5).
> More generally: for any animatable property that has values that combine as discrete, these values are transitionable by performing a flip at 50% progress (p = 0.5).

(Further bikeshedding welcome.)

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


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

Received on Monday, 24 April 2023 18:49:03 UTC