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
<p>For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named <code>SVGRect</code> whose value is the <aclass=idl-codedata-link-type=interfacehref=#dom-domrecttitle=domrect>DOMRect</a> interface object.</p>
readonly attribute unsigned long <aclass=idl-codedata-global-name="LegacyDOMRectList<interface>/length<attribute>" data-link-for=LegacyDOMRectListdata-link-type=attributedata-readonly="" data-type="unsigned long " href=#dom-legacydomrectlist-lengthtitle=length>length</a>;
325
-
getter <adata-link-type=idlhref=#dom-domrecttitle=domrect>DOMRect</a>? <aclass=idl-codedata-global-name="LegacyDOMRectList<interface>/item()<method>" data-link-for=LegacyDOMRectListdata-link-type=methodhref=#dom-legacydomrectlist-itemtitle=item()>item</a>(unsigned long <dfnclass=idl-codedata-dfn-for=LegacyDOMRectList/item()data-dfn-type=argumentdata-export="" data-global-name="LegacyDOMRectList<interface>/item()<method>/index<argument>" id=dom-legacydomrectlistitem-index>index<aclass=self-linkhref=#dom-legacydomrectlistitem-index></a></dfn>);
readonly attribute unsigned long <aclass=idl-codedata-global-name="DOMRectList<interface>/length<attribute>" data-link-for=DOMRectListdata-link-type=attributedata-readonly="" data-type="unsigned long " href=#dom-domrectlist-lengthtitle=length>length</a>;
326
+
getter <adata-link-type=idlhref=#dom-domrecttitle=domrect>DOMRect</a>? <aclass=idl-codedata-global-name="DOMRectList<interface>/item()<method>" data-link-for=DOMRectListdata-link-type=methodhref=#dom-domrectlist-itemtitle=item()>item</a>(unsigned long <dfnclass=idl-codedata-dfn-for=DOMRectList/item()data-dfn-type=argumentdata-export="" data-global-name="DOMRectList<interface>/item()<method>/index<argument>" id=dom-domrectlistitem-index>index<aclass=self-linkhref=#dom-domrectlistitem-index></a></dfn>);
326
327
};
327
328
</pre>
328
329
329
-
<p>The <dfnclass=idl-codedata-dfn-for=LegacyDOMRectListdata-dfn-type=attributedata-export="" id=dom-legacydomrectlist-length>length<aclass=self-linkhref=#dom-legacydomrectlist-length></a></dfn> attribute must return the total number of <aclass=idl-codedata-link-type=interfacehref=#dom-domrecttitle=domrect>DOMRect</a> objects associated with the object.</p>
330
+
<p>The <dfnclass=idl-codedata-dfn-for=DOMRectListdata-dfn-type=attributedata-export="" id=dom-domrectlist-length>length<aclass=self-linkhref=#dom-domrectlist-length></a></dfn> attribute must return the total number of <aclass=idl-codedata-link-type=interfacehref=#dom-domrecttitle=domrect>DOMRect</a> objects associated with the object.</p>
330
331
331
-
<p>The <dfnclass=idl-codedata-dfn-for=LegacyDOMRectListdata-dfn-type=methoddata-export="" id=dom-legacydomrectlist-itemtitle=item()>item(<var>index</var>)<aclass=self-linkhref=#dom-legacydomrectlist-item></a></dfn> method, when invoked, must return a <spanclass=cssdata-link-type=maybetitle=null>null</span> value when <var>index</var> is greater than or equal to the number of <aclass=idl-codedata-link-type=interfacehref=#dom-domrecttitle=domrect>DOMRect</a> objects associated with the <aclass=idl-codedata-link-type=interfacehref=#dom-legacydomrectlisttitle=legacydomrectlist>LegacyDOMRectList</a>. Otherwise, the <aclass=idl-codedata-link-type=interfacehref=#dom-domrecttitle=domrect>DOMRect</a> object at <var>index</var> must be returned.</p>
332
+
<p>The <dfnclass=idl-codedata-dfn-for=DOMRectListdata-dfn-type=methoddata-export="" id=dom-domrectlist-itemtitle=item()>item(<var>index</var>)<aclass=self-linkhref=#dom-domrectlist-item></a></dfn> method, when invoked, must return a <spanclass=cssdata-link-type=maybetitle=null>null</span> value when <var>index</var> is greater than or equal to the number of <aclass=idl-codedata-link-type=interfacehref=#dom-domrecttitle=domrect>DOMRect</a> objects associated with the <aclass=idl-codedata-link-type=interfacehref=#dom-domrectlisttitle=domrectlist>DOMRectList</a>. Otherwise, the <aclass=idl-codedata-link-type=interfacehref=#dom-domrecttitle=domrect>DOMRect</a> object at <var>index</var> must be returned. Indices are zero-based.</p>
332
333
333
-
<strongclass=advisement><aclass=idl-codedata-link-type=interfacehref=#dom-legacydomrectlisttitle=legacydomrectlist>LegacyDOMRectList</a> must be supported for legacy reasons. Specifications are strongly advised not to make use of the <aclass=idl-codedata-link-type=interfacehref=#dom-legacydomrectlisttitle=legacydomrectlist>LegacyDOMRectList</a> interface and use Sequences <adata-biblio-type=normativedata-link-type=bibliohref=#biblio-webidltitle=biblio-webidl>[WEBIDL]</a> instead.</strong>
334
+
<strongclass=advisement><aclass=idl-codedata-link-type=interfacehref=#dom-domrectlisttitle=domrectlist>DOMRectList</a> must be supported for legacy reasons. Specifications are strongly advised not to make use of the <aclass=idl-codedata-link-type=interfacehref=#dom-domrectlisttitle=domrectlist>DOMRectList</a> interface and use Sequences <adata-biblio-type=normativedata-link-type=bibliohref=#biblio-webidltitle=biblio-webidl>[WEBIDL]</a> instead.</strong>
The point argument is post-multiplied to the current matrix and returns the resulting point. The passed argument does not get modified.
901
-
<pclass=note>Note: Even though <aclass=idl-codedata-link-type=attributehref=#dom-dommatrixreadonly-is2dtitle=is2d>is2D</a> of the current matrix may return <spanclass=cssdata-link-type=maybetitle=true>true</span>, a 4x4 matrix mutliplication must be performed if the <aclass=idl-codedata-link-type=attributehref=#dom-dompointreadonly-dompoint-ztitle=z>z</a> attribute of <var>point</var> is not <spanclass=cssdata-link-type=maybetitle=0>0</span> or the <aclass=idl-codedata-link-type=attributehref=#dom-dompointreadonly-dompoint-wtitle=w>w</a> attribute of <var>point</var> is not <spanclass=cssdata-link-type=maybetitle=1>1</span>.</p>
902
+
<pclass=note>Note: Even though <aclass=idl-codedata-link-type=attributehref=#dom-dommatrixreadonly-is2dtitle=is2d>is2D</a> of the current matrix may return <spanclass=cssdata-link-type=maybetitle=true>true</span>, a 4x4 matrix multiplication must be performed if the <aclass=idl-codedata-link-type=attributehref=#dom-dompointreadonly-dompoint-ztitle=z>z</a> attribute of <var>point</var> is not <spanclass=cssdata-link-type=maybetitle=0>0</span> or the <aclass=idl-codedata-link-type=attributehref=#dom-dompointreadonly-dompoint-wtitle=w>w</a> attribute of <var>point</var> is not <spanclass=cssdata-link-type=maybetitle=1>1</span>.</p>
Copy file name to clipboardExpand all lines: geometry/Overview.src.html
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -222,21 +222,22 @@ <h2 id='DOMRect'>
222
222
For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named <code>SVGRect</code> whose value is the <ainterface>DOMRect</a> interface object.
223
223
224
224
<h2id='DOMRectList'>
225
-
The LegacyDOMRectList Interface</h2>
225
+
The DOMRectList Interface</h2>
226
226
227
227
<preclass='idl'>
228
-
[ArrayClass]
229
-
interface LegacyDOMRectList {
228
+
[NoInterfaceObject,
229
+
ArrayClass]
230
+
interface DOMRectList {
230
231
readonly attribute unsigned long length;
231
232
getter DOMRect? item(unsigned long index);
232
233
};
233
234
</pre>
234
235
235
-
The <dfndfn-type=attributedfn-for='LegacyDOMRectList'>length</dfn> attribute must return the total number of <ainterface>DOMRect</a> objects associated with the object.
236
+
The <dfndfn-type=attributedfn-for='DOMRectList'>length</dfn> attribute must return the total number of <ainterface>DOMRect</a> objects associated with the object.
236
237
237
-
The <dfndfn-type=methoddfn-for='LegacyDOMRectList'>item(<var>index</var>)</dfn> method, when invoked, must return a ''null'' value when <var>index</var> is greater than or equal to the number of <ainterface>DOMRect</a> objects associated with the <ainterface>LegacyDOMRectList</a>. Otherwise, the <ainterface>DOMRect</a> object at <var>index</var> must be returned.
238
+
The <dfndfn-type=methoddfn-for='DOMRectList'>item(<var>index</var>)</dfn> method, when invoked, must return a ''null'' value when <var>index</var> is greater than or equal to the number of <ainterface>DOMRect</a> objects associated with the <ainterface>DOMRectList</a>. Otherwise, the <ainterface>DOMRect</a> object at <var>index</var> must be returned. Indices are zero-based.
238
239
239
-
ADVISEMENT: <ainterface>LegacyDOMRectList</a> must be supported for legacy reasons. Specifications are strongly advised not to make use of the <ainterface>LegacyDOMRectList</a> interface and use Sequences [[!WEBIDL]] instead.
240
+
ADVISEMENT: <ainterface>DOMRectList</a> must be supported for legacy reasons. Specifications are strongly advised not to make use of the <ainterface>DOMRectList</a> interface and use Sequences [[!WEBIDL]] instead.
The point argument is post-multiplied to the current matrix and returns the resulting point. The passed argument does not get modified.
809
-
<pclass='note'>Note: Even though <aattribute>is2D</a> of the current matrix may return ''true'', a 4x4 matrix mutliplication must be performed if the <aattribute>z</a> attribute of <var>point</var> is not ''0'' or the <aattribute>w</a> attribute of <var>point</var> is not ''1''.</p>
810
+
<pclass='note'>Note: Even though <aattribute>is2D</a> of the current matrix may return ''true'', a 4x4 matrix multiplication must be performed if the <aattribute>z</a> attribute of <var>point</var> is not ''0'' or the <aattribute>w</a> attribute of <var>point</var> is not ''1''.</p>
0 commit comments