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
Copy file name to clipboardExpand all lines: cssom-view/Overview.bs
+9-6
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,9 @@ Former Editor: Anne van Kesteren, Opera Software ASA http://www.opera.com, annev
20
20
Abstract: The APIs introduced by this specification provide authors with a way to inspect and manipulate the visual view of a document. This includes getting the position of element layout boxes, obtaining the width of the viewport through script, and also scrolling an element.
Can I Use URL: https://drafts.csswg.org/cssom-view/
25
+
Can I Use URL: https://www.w3.org/TR/cssom-view-1/
23
26
</pre>
24
27
25
28
<pre class='anchors'>
@@ -484,7 +487,7 @@ partial interface Window {
484
487
};
485
488
</pre>
486
489
487
-
When the <dfn method for=Window>matchMedia(<var>query</var>)</dfn> method is invoked these steps must be run:
490
+
When the <dfn method for=Window caniuse=matchmedia>matchMedia(<var>query</var>)</dfn> method is invoked these steps must be run:
488
491
<ol>
489
492
<li>Let <var>parsed media query list</var> be the result of
490
493
<a lt='parse a media query list'>parsing</a>
@@ -650,7 +653,7 @@ The <dfn attribute for=Window>outerHeight</dfn> attribute must return the height
650
653
client window. If there is no client window this
651
654
attribute must return zero. <!--fingerprint-->
652
655
653
-
The <dfn attribute for=Window>devicePixelRatio</dfn> attribute must return the result of the following algorithm:
656
+
The <dfn attribute for=Window caniuse=devicepixelratio>devicePixelRatio</dfn> attribute must return the result of the following algorithm:
654
657
655
658
1. If there is no output device, return 1 and abort these steps.
656
659
1. Let <var>CSS pixel size</var> be the size of a CSS pixel at the current <a>page zoom</a> scale factor and at a <a>pinch zoom</a> scale factor of 1.0.
@@ -954,7 +957,7 @@ partial interface Document {
954
957
};
955
958
</pre>
956
959
957
-
The <dfn method for=Document>elementFromPoint(<var>x</var>, <var>y</var>)</dfn> method must follow these steps:
960
+
The <dfn method for=Document caniuse=element-from-point>elementFromPoint(<var>x</var>, <var>y</var>)</dfn> method must follow these steps:
958
961
959
962
1. If either argument is negative, <var>x</var> is greater than the <a>viewport</a> width excluding the size of a rendered scroll bar (if any), or
960
963
<var>y</var> is greater than the <a>viewport</a> height excluding the size of a rendered scroll bar (if any), or there is no <a>viewport</a>
@@ -1122,7 +1125,7 @@ The <dfn method for=Element>getClientRects()</dfn> method, when invoked, must re
1122
1125
* If the element on which the method was invoked has a computed value for the 'display' property of ''table'' or ''inline-table'' include both the table box and the caption box, if any, but not the anonymous container box.
1123
1126
* Replace each <a>anonymous block box</a> with its child box(es) and repeat this until no anonymous block boxes are left in the final list.
1124
1127
1125
-
The <dfn method for=Element>getBoundingClientRect()</dfn> method, when invoked, must return the result of the following
1128
+
The <dfn method for=Element caniuse=getboundingclientrect>getBoundingClientRect()</dfn> method, when invoked, must return the result of the following
1126
1129
algorithm:
1127
1130
1128
1131
1. Let <var>list</var> be the result of invoking {{Element/getClientRects()}} on the same element this method was invoked on.
@@ -1143,7 +1146,7 @@ algorithm:
1143
1146
</pre>
1144
1147
</div>
1145
1148
1146
-
The <dfn method for=Element>scrollIntoView(<var>arg</var>)</dfn> method must run these steps:
1149
+
The <dfn method for=Element caniuse=scrollintoview>scrollIntoView(<var>arg</var>)</dfn> method must run these steps:
1147
1150
1148
1151
<!-- scrollIntoView() means arg=true but scrollIntoView(undefined) means arg=false, to align with impls. -->
1149
1152
@@ -1740,7 +1743,7 @@ Smooth Scrolling: The 'scroll-behavior' Property {#smooth-scrolling}
0 commit comments