- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 Jul 2022 00:26:23 +0000
- To: public-css-archive@w3.org
I was confused because from the spec it seems that `contain-intrinsic-size: auto` can be used with `content-visibility: hidden`, but some WPT and this resolution say it's only with `content-visibility: auto`. According to https://github.com/w3c/csswg-drafts/commit/6eb6faac07f40ae944fda0a0da25e4e5e51b315e#r61269377 > No, **the resolution was worded confusingly** to refer to the property value, when it meant the effect; if I did just gate it on the property value, Christian's issue would still apply exactly as stated, with a visible element having a phantom size. The intention was that it needed to only apply while the element was being skipped. > > Christian and I discussed whether it made sense to only apply it while being skipped as a result of c-v:auto or in any skip, and we couldn't come up with a good reason to be restrictive. So in https://software.hixie.ch/utilities/js/live-dom-viewer/saved/10484 I expect both elements to keep being 50px tall when gaining `content-visibility: auto` or `hidden`. But in Chromium `content-visibility: hidden` results in 1px, ignoring the `auto` in `contain-intrinsic-size`. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6308#issuecomment-1189673809 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 July 2022 00:26:25 UTC