[webkit-dev] Request for Position: Element.isVisible method

Joey Arhar jarhar at chromium.org
Thu May 5 13:25:07 PDT 2022


Hello WebKit devs,

I am implementing the Element.isVisible method in Chromium, and I would
like to hear WebKit's position on the feature.
Chromestatus entry: https://chromestatus.com/feature/5163102852087808
Spec: https://drafts.csswg.org/cssom-view/#dom-element-isvisible
Explainer:
https://github.com/WICG/display-locking/blob/main/explainers/isvisible.md
CSSWG issue: https://github.com/w3c/csswg-drafts/issues/6850

Element.isVisible() returns true if the element is visible, and false if it
is not. It checks a variety of factors that would make an element
invisible, including display:none, visibility, content-visibility, and
opacity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20220505/f56a50fa/attachment.htm>


More information about the webkit-dev mailing list