Skip to content

Commit 6bd15e4

Browse files
authored
Fix description of computing pointer-interactable paint tree (#1927)
* Fix description of computing pointer-interactable paint tree Signed-off-by: Euclid Ye <euclid.ye@huawei.com> * review Signed-off-by: Euclid Ye <euclid.ye@huawei.com> * minor Signed-off-by: Euclid Ye <euclid.ye@huawei.com> --------- Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
1 parent ef3f7fc commit 6bd15e4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4690,18 +4690,18 @@ <h3>Interactability</h3>
46904690
</select>
46914691
</aside>
46924692

4693-
<p>An <var><a>element</a></var>&apos;s
4693+
<p>An <a>element</a> |element|&apos;s
46944694
<dfn>pointer-interactable paint tree</dfn>
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 |element| 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 |element|.
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 |element|.
47154715

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

0 commit comments

Comments
 (0)