Skip to content

Commit 7348ef4

Browse files
committed
Fix description of computing pointer-interactable paint tree
Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
1 parent a101f0a commit 7348ef4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4686,13 +4686,13 @@ <h3>Interactability</h3>
46864686
is produced this way:
46874687

46884688
<ol>
4689-
<li><p>If <var>element</var> is <a>not in the same tree</a>
4689+
<li><p>If <a><var>element</var></a> is <a>not in the same tree</a>
46904690
as <var>session</var>&apos;s <a>current browsing context</a>&apos;s
46914691
<a>active document</a>, return an empty sequence.
46924692

46934693
<li><p>Let <var>rectangles</var> be
46944694
the {{DOMRect}} sequence
4695-
returned by calling {{Element/getClientRects()}}.
4695+
returned by calling {{Element/getClientRects()}} on <a><var>element</var></a>.
46964696

46974697
<!--
46984698
An element which style property `display` is "none"
@@ -4702,7 +4702,7 @@ <h3>Interactability</h3>
47024702
return an empty sequence.
47034703

47044704
<li><p>Let <var>center point</var> be the <a>in-view center point</a>
4705-
of the first indexed element in <var>rectangles</var>.
4705+
of <a><var>element</var></a>.
47064706

47074707
<li><p>Return the <a>elements from point</a>
47084708
given the coordinates <var>center point</var>.

0 commit comments

Comments
 (0)