Re: [csswg-drafts] [css-display] Why is display listed as not animatable instead of animation type: discrete? (#6429)

  > [...] a declared value of `none` in an animation effect or `@keyframes` rule is replaced with `revert-layer`.

Given the above definition, please correct me if the following expectation is wrong:

```html
<style>
  @keyframes myAnimation { to { display: none } }
</style>
<script>
  document.styleSheets[0].cssRules[0].cssRules[0].style.display; // 'revert-layer'
</script>
```

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


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

Received on Wednesday, 15 March 2023 15:08:38 UTC