Skip to content

Commit 188fcb0

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

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
@@ -4695,13 +4695,13 @@ <h3>Interactability</h3>
46954695
is produced this way:
46964696

46974697
<ol>
4698-
<li><p>If <var>element</var> is <a>not in the same tree</a>
4698+
<li><p>If <a><var>element</var></a> is <a>not in the same tree</a>
46994699
as <var>session</var>&apos;s <a>current browsing context</a>&apos;s
47004700
<a>active document</a>, return an empty sequence.
47014701

47024702
<li><p>Let <var>rectangles</var> be
47034703
the {{DOMRect}} sequence
4704-
returned by calling {{Element/getClientRects()}}.
4704+
returned by calling {{Element/getClientRects()}} on <a><var>element</var></a>.
47054705

47064706
<!--
47074707
An element which style property `display` is "none"
@@ -4711,7 +4711,7 @@ <h3>Interactability</h3>
47114711
return an empty sequence.
47124712

47134713
<li><p>Let <var>center point</var> be the <a>in-view center point</a>
4714-
of the first indexed element in <var>rectangles</var>.
4714+
of <a><var>element</var></a>.
47154715

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

0 commit comments

Comments
 (0)