Re: [csswg-drafts] [css-transitions-2] Put discrete transitions behind new syntax for compatibility (#8857)

It sounds like we have these potential property names:
1. 😄 `transition-mode`
2. 🎉 `transition-type`
3. ❤️ `transition-animation-type`
4. 🚀 `transition-discrete`

- @fantasai mentioned that "mode" and "type" are vague
- @smfr mentioned that "discrete" is hard for non-native english speakers
- The property values we choose might impose a particular property name and vice-versa

Property values:
1. `normal | discrete`
2. `normal | animatable`
3. `interpolable | discrete`
4. `interpolable | animatable`
5. `auto | all | none`

- @flackr mentioned that `normal | animatable` would be good because using animatable rather than discrete matches exactly the spec terminology for what will be transitioned - anything that can be animated
- Assuming that these property values will appear in a shorthand, I like `discrete` since I think it makes the following easier to understand imo: `transition: discrete display 0.2s, interpolable color 0.5s;`
- If we allow in the future for smooth interpolations between `auto` and `123px` for properties like `height`, would we want to add a new value? Or reuse the opt-in value `discrete`/`animatable`/`all`?

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


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

Received on Wednesday, 14 June 2023 14:30:19 UTC