You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<var>y</var> is greater than the <ahref="#viewport">viewport</a> height excluding the size of a rendered scroll bar (if any), or there is no <ahref="#viewport">viewport</a>
869
869
associated with the document, return null and terminate these steps.
870
870
<li><p>If there is a <ahref="#layout-box">layout box</a> in the <ahref="#viewport">viewport</a> that would be a target for hit testing at coordinates <var>x</var>,<var>y</var>,
871
-
return the associated element and terminate these steps.
871
+
when applying the <ahref="#transforms">transforms</a> that apply to the descendants of the <ahref="#viewport">viewport</a>, return the associated element and terminate these steps.
872
872
<li><p>If the document has a root element, return the root element and terminate these steps.
<var>y</var> is greater than the <ahref="#viewport">viewport</a> height excluding the size of a rendered scroll bar (if any), or there is no <ahref="#viewport">viewport</a>
885
885
associated with the document, return <var>sequence</var> and terminate these steps.
886
886
<li><p>For each <ahref="#layout-box">layout box</a> in the <ahref="#viewport">viewport</a>, in paint order, starting with the topmost box, that would be a target for hit testing at
887
-
coordinates <var>x</var>,<var>y</var> even if nothing would be overlapping it, append the associated element to <var>sequence</var>.
887
+
coordinates <var>x</var>,<var>y</var> even if nothing would be overlapping it, when applying the <ahref="#transforms">transforms</a> that apply to the descendants of the
888
+
<ahref="#viewport">viewport</a>, append the associated element to <var>sequence</var>.
888
889
<li><p>If the document has a root element, and the last item in <var>sequence</var> is not the root element, append the root element to <var>sequence</var>.
<li><p>If at the coordinates <var>x</var>,<var>y</var>
902
903
in the <ahref="#viewport">viewport</a> no text insertion point indicator would have
903
-
been inserted return null.</li>
904
+
been inserted when applying the <ahref="#transforms">transforms</a> that apply to the descendants of the <ahref="#viewport">viewport</a>, return null.</li>
904
905
<li>
905
906
<p>If at the coordinates <var>x</var>,<var>y</var>
906
907
in the <ahref="#viewport">viewport</a> a text insertion point indicator would have
907
-
been inserted in a text entry widget which is also a replaced element
908
-
return a <ahref="#caret-position">caret position</a> with its properties set as
909
-
follows:</p>
908
+
been inserted in a text entry widget which is also a replaced element, when applying the <ahref="#transforms">transforms</a> that apply to the descendants of the
909
+
<ahref="#viewport">viewport</a>, return a <ahref="#caret-position">caret position</a> with its properties set as follows:</p>
910
910
<dl>
911
911
<dt><ahref="#caret-node">caret node</a></dt>
912
912
<dd><p>The node corresponding to the text entry widget.</dd>
<p>Otherwise, return a <ahref="#caret-position">caret position</a> where the
922
922
<ahref="#caret-range">caret range</a> is a collapsed
923
923
<codeclass="external" data-anolis-spec="dom"><ahref="http://dom.spec.whatwg.org/#range">Range</a></code> object for the position
924
-
where the text insertion point indicator would have been inserted and
925
-
the other properties are set as follows:</p>
924
+
where the text insertion point indicator would have been inserted when applying the <ahref="#transforms">transforms</a> that apply to the descendants of the
925
+
<ahref="#viewport">viewport</a>, and the other properties are set as follows:</p>
Copy file name to clipboardExpand all lines: cssom-view/Overview.src.html
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -829,7 +829,7 @@ <h2>Extensions to the <code title>Document</code> Interface</h2>
829
829
<var>y</var> is greater than the <span>viewport</span> height excluding the size of a rendered scroll bar (if any), or there is no <span>viewport</span>
830
830
associated with the document, return null and terminate these steps.
831
831
<li><p>If there is a <span>layout box</span> in the <span>viewport</span> that would be a target for hit testing at coordinates <var>x</var>,<var>y</var>,
832
-
return the associated element and terminate these steps.
832
+
when applying the <span>transforms</span> that apply to the descendants of the <span>viewport</span>, return the associated element and terminate these steps.
833
833
<li><p>If the document has a root element, return the root element and terminate these steps.
834
834
<li><p>Return null.
835
835
</ol>
@@ -845,7 +845,8 @@ <h2>Extensions to the <code title>Document</code> Interface</h2>
845
845
<var>y</var> is greater than the <span>viewport</span> height excluding the size of a rendered scroll bar (if any), or there is no <span>viewport</span>
846
846
associated with the document, return <var>sequence</var> and terminate these steps.
847
847
<li><p>For each <span>layout box</span> in the <span>viewport</span>, in paint order, starting with the topmost box, that would be a target for hit testing at
848
-
coordinates <var>x</var>,<var>y</var> even if nothing would be overlapping it, append the associated element to <var>sequence</var>.
848
+
coordinates <var>x</var>,<var>y</var> even if nothing would be overlapping it, when applying the <span>transforms</span> that apply to the descendants of the
849
+
<span>viewport</span>, append the associated element to <var>sequence</var>.
849
850
<li><p>If the document has a root element, and the last item in <var>sequence</var> is not the root element, append the root element to <var>sequence</var>.
850
851
<li><p>Return <var>sequence</var>.
851
852
</ol>
@@ -861,13 +862,12 @@ <h2>Extensions to the <code title>Document</code> Interface</h2>
861
862
(if any) return null.</p></li>
862
863
<li><p>If at the coordinates <var>x</var>,<var>y</var>
863
864
in the <span>viewport</span> no text insertion point indicator would have
864
-
been inserted return null.</p></li>
865
+
been inserted when applying the <span>transforms</span> that apply to the descendants of the <span>viewport</span>, return null.</p></li>
865
866
<li>
866
867
<p>If at the coordinates <var>x</var>,<var>y</var>
867
868
in the <span>viewport</span> a text insertion point indicator would have
868
-
been inserted in a text entry widget which is also a replaced element
869
-
return a <span>caret position</span> with its properties set as
870
-
follows:</p>
869
+
been inserted in a text entry widget which is also a replaced element, when applying the <span>transforms</span> that apply to the descendants of the
870
+
<span>viewport</span>, return a <span>caret position</span> with its properties set as follows:</p>
871
871
<dl>
872
872
<dt><span>caret node</span></dt>
873
873
<dd><p>The node corresponding to the text entry widget.</p></dd>
@@ -882,8 +882,8 @@ <h2>Extensions to the <code title>Document</code> Interface</h2>
882
882
<p>Otherwise, return a <span>caret position</span> where the
883
883
<span>caret range</span> is a collapsed
884
884
<codedata-anolis-spec=dom>Range</code> object for the position
885
-
where the text insertion point indicator would have been inserted and
886
-
the other properties are set as follows:</p>
885
+
where the text insertion point indicator would have been inserted when applying the <span>transforms</span> that apply to the descendants of the
886
+
<span>viewport</span>, and the other properties are set as follows:</p>
0 commit comments