Re: [csswg-drafts] [css-contain] Consider top layer elements 'relevant to the user' for content-visibility: auto (#6727)

The CSS Working Group just discussed `[css-contain] Consider top layer elements 'relevant to the user' for content-visibility: auto`, and agreed to the following:

* `RESOLVED: If the subtree of an element contains a top-layer element it is relevent to the user`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-contain] Consider top layer elements 'relevant to the user' for content-visibility: auto<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/6727<br>
&lt;dael> vlad: Text says we skip the contents if the element is not relevnt to user. Defines relevent as things that have fosuc or selection<br>
&lt;Rossen_> q?<br>
&lt;dael> vlad: prop is add if content-visibility:auto descendant is in top level it is relevent and not skipped<br>
&lt;dael> chrishtr: Unskips content?<br>
&lt;dael> vlad: Yeah, if you have offscreen content-visbility:auto it would appear in the top layer and the subtree would be rendered<br>
&lt;dael> chrishtr: Entire tree including offscreen is relevent and not skipped<br>
&lt;dael> vlad: can't optimize out because have to display in top layer. Can't use same detection for visbility b/c escapes paint containment<br>
&lt;dael> vlad: If it escapse top layer assume it will be visible<br>
&lt;dael> chrishtr: If you have desc. of content-visbility:auto and you full screen the entire subtree will be made visbile<br>
&lt;dael> vlad: correct<br>
&lt;dael> chrishtr: including recursive ancestors. Okay. I think it's fine<br>
&lt;dael> Rossen_: Any other comments?<br>
&lt;dael> Rossen_: What's the prop text?<br>
&lt;dael> vlad: If the subtree of an element contains a top-layer element it is relevent to the user<br>
&lt;dael> Rossen_: Obj?<br>
&lt;dael> RESOLVED: If the subtree of an element contains a top-layer element it is relevent to the user<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6727#issuecomment-960260532 using your GitHub account


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

Received on Wednesday, 3 November 2021 22:55:47 UTC