Re: [csswg-drafts] [css-contain] Consider 'discrete' Animation Type for 'content-visibility' (#7255)

The second example which uses `visibility:hidden` both isn't searchable when hidden and exhibits the problem with chrome 102 which has `hidden=until-found` because it applies both `visibility:hidden` and `content-visibility:hidden` at the same time.
I made a new example which avoids using content-visibility completely to show what the desired animation looks like when clicking "show" and "hide": http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=10282

I agree this would be a good improvement for content-visibility. I'm not very familiar with animations so I don't know what the implementation would entail. @vmpstr 

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


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

Received on Thursday, 5 May 2022 21:22:23 UTC