Re: [csswg-drafts] [css-highlight-api][css-contain] static ranges and css-contain (#4598)

The CSS Working Group just discussed `[css-highlight-api][css-contain] static ranges and css-contain`, and agreed to the following:

* `RESOLVED: Allow static range backed custom highlights to be painted across paint contain boundaries`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-highlight-api][css-contain] static ranges and css-contain<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/4598<br>
&lt;dandclark> Proposed resolution: Allow static-range-backed custom highlights to be painted across paint-contain boundaries.<br>
&lt;dael> dandclark: This is a issue regarding if custom highlights backed by static range should paint of cross bounderies<br>
&lt;dael> dandclark: Would like to allow static range backed to be painted across bounderies. Think it's better user and dev experience. For user won't have issues when things disappear when crossing arbitrary bounderies<br>
&lt;dael> dandclark: TabAtkins had point that htis is outside of what paint contain requires. If element is offscreen you can skip painting. This doens't follow the definition. Skpping offscreen we would not break<br>
&lt;dael> dandclark: Did due diligince in chromium. We believe optimizations lost would be minor since we would jsut need to do validity checks. When painting we invalidate all nodes and can still skip when doing painting step if offscreen<br>
&lt;dael> dandclark: Overall the pros outweight the cons<br>
&lt;Rossen_> q<br>
&lt;sanketj> SGTM<br>
&lt;dael> florian: I've been convinced I'm wrong. Thank you for doing the diligence to give me confidence in the solution<br>
&lt;dael> Rossen_: Any others who were in florian 's camp?<br>
&lt;dael> Rossen_: Prop?<br>
&lt;dael> dandclark: Allow static range backed custom highlights to be painted across paint contain bounderies<br>
&lt;dael> Rossen_: Objections?<br>
&lt;dael> RESOLVED: Allow static range backed custom highlights to be painted across paint contain boundaries<br>
</details>


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


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

Received on Thursday, 3 February 2022 00:23:25 UTC