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

So I was worried about the circularity of an animation animating to a state that stops the animation which in turn restarts it but we might already have this with `content` being animatable on pseudo elements with something like this:

```css
@keyframes no-content {
  from { content: 'anim-start'; }
  to { content: none; }
}

#target:before {
  content: 'visible';
  animation: no-content 5s infinite;
}
```

Demo at: https://jsbin.com/nuwagoc/edit?css,output

When content animates to `none` there is no box generated AFAICT.

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


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

Received on Friday, 3 March 2023 18:45:50 UTC