[csswg-drafts] [css-contain-4] Make content-visibility animatable (#8627)

flackr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain-4] Make content-visibility animatable ==
[css-contain Section 4](https://w3c.github.io/csswg-drafts/css-contain/#content-visibility) currently defines the content visibility property to be Animation type: not animatable. Most likely this was done for simplicity since like display it can affect which animations are running. However, as with display where we are better refining the ways in which it is safe to animate (See #6429), we should figure out in which ways content-visibility can be animated.

In particular, just like display it should be possible for an animation to extend the application of `content-visibility: visible` in order to allow content to stay visible while an animation is completing. This would be useful for elements like `<details>` whose contents are `content-visibility: hidden` when closed.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8627 using your GitHub account


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

Received on Tuesday, 21 March 2023 19:58:39 UTC