Skip to content

Commit fcdcb2c

Browse files
committed
[cssom-view-1][editorial] Add intro text to isVisible()
1 parent 4c705f9 commit fcdcb2c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cssom-view-1/Overview.bs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,14 @@ Note: The {{DOMRect}} object returned by {{Element/getBoundingClientRect()}} is
11081108
</div>
11091109

11101110
<div algorithm>
1111+
Note: The {{Element/isVisible()}} method
1112+
provides a set of simple checks
1113+
for whether an element is potentially "visible".
1114+
It defaults to a very simple and straightforward method
1115+
based on the [=box tree=],
1116+
but allows for several additional checks to be opted into,
1117+
depending on what precise notion of "visibility" is desired.
1118+
11111119
The <dfn method for=Element>isVisible(|options|)</dfn> method
11121120
must run these steps,
11131121
when called on an element |this|:

0 commit comments

Comments
 (0)