Re: [csswg-drafts] [cssom-view] Proposal: add Element.isRendered() to detect if element is rendered. (#6850)

> I propose we change to `Element.isVisible`, meaning conceptually "visible to the document" (_not_ "visible to the user" - `IntersectionObserver` would be needed for that).

I'm a bit concerned about people expecting the later rather than the former... Though I can't come up with a particularly better name right away...

Another possible concern is that the API would have to update style synchronously, which might defeat the optimizations it's trying to introduce...

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


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

Received on Friday, 10 December 2021 09:55:28 UTC