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
<li><ahref="#extensions-to-the-htmlelement-interface"><spanclass="secno">8 </span>Extensions to the <codetitle="">HTMLElement</code> Interface</a></li>
139
-
<li><ahref="#extensions-to-the-range-interface"><spanclass="secno">9 </span>Extensions to the <codetitle="">Range</code> Interface</a></li>
140
-
<li><ahref="#extensions-to-the-mouseevent-interface"><spanclass="secno">10 </span>Extensions to the <codetitle="">MouseEvent</code> Interface</a></li>
<li><ahref="#excensions-to-the-htmlimageelement-interface"><spanclass="secno">9 </span>Excensions to the <codetitle="">HTMLImageElement</code> Interface</a></li>
140
+
<li><ahref="#extensions-to-the-range-interface"><spanclass="secno">10 </span>Extensions to the <codetitle="">Range</code> Interface</a></li>
141
+
<li><ahref="#extensions-to-the-mouseevent-interface"><spanclass="secno">11 </span>Extensions to the <codetitle="">MouseEvent</code> Interface</a></li>
<h2id="extensions-to-the-range-interface"><spanclass="secno">9 </span>Extensions to the <codetitle="">Range</code> Interface</h2>
1480
+
1481
+
<h2id="excensions-to-the-htmlimageelement-interface"><spanclass="secno">9 </span>Excensions to the <codetitle="">HTMLImageElement</code> Interface</h2>
<p>The <dfnid="dom-htmlimageelement-x" title="dom-HTMLImageElement-x"><code>x</code></dfn> attribute, on getting, must return the x-coordinate of the left <ahref="#border-edge">border edge</a> of the
1489
+
first <ahref="#css-layout-box">CSS layout box</a> associated with the element, relative to the <ahref="#initial-containing-block">initial containing block</a> origin, ignoring any
1490
+
<ahref="#transforms">transforms</a> that apply to the element and its ancestors.
1491
+
1492
+
<p>The <dfnid="dom-htmlimageelement-y" title="dom-HTMLImageElement-y"><code>y</code></dfn> attribute, on getting, must return the y-coordinate of the top <ahref="#border-edge">border edge</a> of the
1493
+
first <ahref="#css-layout-box">CSS layout box</a> associated with the element, relative to the <ahref="#initial-containing-block">initial containing block</a> origin, ignoring any
1494
+
<ahref="#transforms">transforms</a> that apply to the element and its ancestors.
1495
+
1496
+
1497
+
<h2id="extensions-to-the-range-interface"><spanclass="secno">10 </span>Extensions to the <codetitle="">Range</code> Interface</h2>
1480
1498
1481
1499
<p>The objects the methods described below return must
<p>The <code><ahref="#domrectlist">DOMRectList</a></code> interface consists of an ordered list of <code><ahref="#domrect">DOMRect</a></code> objects.</p>
greater than the number of <code><ahref="#domrect">DOMRect</a></code> objects associated with the object. Otherwise, the <code><ahref="#domrect">DOMRect</a></code> object at
1632
1650
<var>index</var> must be returned.</p>
1633
1651
1634
-
<h3id="the-domrect-and-domrectreadonly-interfaces"><spanclass="secno">11.2 </span>The <codetitle="">DOMRect</code> and <codetitle="">DOMRectReadOnly</code> Interfaces</h3>
1652
+
<h3id="the-domrect-and-domrectreadonly-interfaces"><spanclass="secno">12.2 </span>The <codetitle="">DOMRect</code> and <codetitle="">DOMRectReadOnly</code> Interfaces</h3>
1635
1653
1636
1654
<p>Objects implementing the <code><ahref="#domrectreadonly">DOMRectReadOnly</a></code> interface represent a <dfnid="concept-geometry-rectangle" title="concept-geometry-rectangle">rectangle</dfn>. The type of box is
1637
1655
specified by the method or attribute that returns a <code><ahref="#domrect">DOMRect</a></code> or <code><ahref="#domrectreadonly">DOMRectReadOnly</a></code> object.
<p>Objects implementing the <code><ahref="#domquad">DOMQuad</a></code> interface represents a quadrilateral shape. <code><ahref="#domquad">DOMQuad</a></code> objects have an <dfnid="associated-bounding-rectangle">associated
1770
1788
bounding rectangle</dfn> set to a <code><ahref="#domrectreadonly">DOMRectReadOnly</a></code> object when created.
<p>Whenever a <ahref="#viewport">viewport</a> has its width or height changed (e.g. as a result of the user resizing the browser window, or changing the <ahref="#page-zoom">page
1906
1924
zoom</a> scale factor, or an <codetitle="">iframe</code> element's dimensions are changed), the user agent must <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a>
<ahref="#viewport">viewport</a>. If such a resize is ongoing over a period of time, the user agent must <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task" title="queue a task">queue</a> that
1910
1928
task at a user-agent-defined interval while the resize is ongoing. <!--fingerprint--><!-- e.g. if you change the width of an iframe with a transition -->
<p>Whenever a <ahref="#viewport">viewport</a> gets scrolled in response to user interaction, the user agent must <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task">queue a task</a> to
1915
1933
<aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#concept-event-fire" title="concept-event-fire">fire an event</a> named
<aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task" title="queue a task">queue</a> that task at a user-agent-defined interval while the scroll is ongoing. <!--fingerprint-->
<p>The <dfntitle=dom-HTMLImageElement-x><code>x</code></dfn> attribute, on getting, must return the x-coordinate of the left <span>border edge</span> of the
1445
+
first <span>CSS layout box</span> associated with the element, relative to the <span>initial containing block</span> origin, ignoring any
1446
+
<span>transforms</span> that apply to the element and its ancestors.
1447
+
1448
+
<p>The <dfntitle=dom-HTMLImageElement-y><code>y</code></dfn> attribute, on getting, must return the y-coordinate of the top <span>border edge</span> of the
1449
+
first <span>CSS layout box</span> associated with the element, relative to the <span>initial containing block</span> origin, ignoring any
1450
+
<span>transforms</span> that apply to the element and its ancestors.
1451
+
1452
+
1436
1453
<h2>Extensions to the <codetitle>Range</code> Interface</h2>
1437
1454
1438
1455
<p>The objects the methods described below return must
0 commit comments