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

Fourth option: Add a `transition-discrete` property that takes property names for which you want to allow discrete transitions. Can do values like

```
transition-discrete: all;
transition-discrete: none; /* initial value */
transition-discrete: border-style outline-style text-decoration-style;
```

Benefits:
* Don't have to track correspondences across multiple lists.
* Can easily cascade the list of properties you want to enable independently of what you're actually transitioning.
Downsides:
* Might require duplicating the property names.

(Not sure if it's a good idea or not, just wanted to throw it out there.)

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


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

Received on Thursday, 1 June 2023 18:21:24 UTC