Re: [csswg-drafts] [css-contain-3] Proposal: Add an event to fire when content-visibility: auto state changes (#7384)

that's a good question! for the specific virtual scroller i have in mind currently, we are _just_ interested in the "on-screen" case, at least in regards to maintaining parity with the JS-based virtual scroller. i don't think it would be problematic to begin included focused/selected elements, but its not something we currently do as far as i know.

to be clear, would this `ContentVisibilityAutoStateChanged` event respond to changes to an elements "relevant to the user" state based on any criteria, not just the "on-screen" condition?

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


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

Received on Wednesday, 13 July 2022 17:46:33 UTC