Re: [csswg-drafts] [css-contain-2] Stop monkey-patching the HTML spec. (#12105)

> The new text looks good to me. One unfortunate consequence is that we always run the style&layout steps even if we know we have pending relevance changes which as far as I can tell pretty much guarantee that we'll have to run style&layout again.

I think that's necessary tho, right? Otherwise whether you see the effect of something like:

```
el.focus();
el.style.contentVisibility = "auto";
```

On this frame or the next depends on whether something has updated style and layout in the interim, right?

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/12105#issuecomment-2888141643 using your GitHub account


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

Received on Saturday, 17 May 2025 06:34:31 UTC