Re: [csswg-drafts] [css-ui] Support setting offscreen content inert (#10711)

> We would need to measure how often sites are specifically adding visibility: visible within inert subtrees today to get an idea how much existing content would change.

I'm afraid there could be a lot: very often authors implement some toggles visibility by assigning both `visibility: hidden` and `visibility: visible` as two alternate states, without knowing how `visibility` actually works. I encountered many times in practice bugs about this, and wrote a post about it ~2 years ago: https://kizu.dev/restoring-visibility/

That said, the combination of this with the `inert` attribute could happen not that often, but this is still something I expect authors could stumble upon.

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


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

Received on Wednesday, 18 September 2024 17:29:48 UTC