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.
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev