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

> With option 2, both of these would work, and would be equivalent, correct?

Both would work, and in practice they're equivalent (because opacity is never discrete) but syntactically they're different.

They would expand to something like this:
```css
.version1 {
  transition-property-name: display, overlay, opacity;
  transition-property-duration: 0.2s 0.2s 0.2s;
  transition-property-mode: discrete; /* auto-extends discrete */
}
.version2 {
  transition-property-name: display, overlay, opacity;
  transition-property-mode: discrete, discrete, continuous;
  transition-property-duration: 0.2s 0.2s 0.2s;
}
```

Happy to here other options for `continuous`, e.g. `interpolable`, `auto`, `normal`.

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


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

Received on Friday, 19 May 2023 20:40:23 UTC