Re: [csswg-drafts] [css-contain-2] Effects of content-visibility on elements that do not generate a box (#10848)

The spec seems clear to me. `content-visibility` applies to

> elements for which [size containment](https://drafts.csswg.org/css-contain-2/#size-containment) can apply

And then

> giving an element [size containment](https://drafts.csswg.org/css-contain-2/#size-containment) has no effect if any of the following are true:
> - if the element does not generate a [principal box](https://drafts.csswg.org/css-display-4/#principal-box) (as is the case with [display: contents](https://drafts.csswg.org/css-display-3/#propdef-display) or display: none)

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


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

Received on Friday, 6 September 2024 21:51:12 UTC