@@ -410,6 +410,29 @@ steps:
410410</div>
411411
412412
413+ <h2 id=DOMRectList>The DOMRectList interface</h2>
414+
415+ <pre class=idl>
416+ [NoInterfaceObject,
417+ LegacyArrayClass]
418+ interface DOMRectList {
419+ readonly attribute unsigned long length;
420+ getter DOMRect? item(unsigned long index);
421+ };
422+ </pre>
423+
424+ The <dfn dfn-type=attribute dfn-for=DOMRectList>length</dfn> attribute must return the total
425+ number of {{DOMRect}} objects associated with the object.
426+
427+ The <dfn dfn-type=method dfn-for=DOMRectList>item(<var>index</var>)</dfn> method, when invoked, must
428+ return ''null'' when <var> index</var> is greater than or equal to the number of {{DOMRect}} objects
429+ associated with the {{DOMRectList}} . Otherwise, the {{DOMRect}} object at <var> index</var> must be
430+ returned. Indices are zero-based.
431+
432+ ADVISEMENT: {{DOMRectList}} only exists for compatibility with legacy Web content. When specifying a
433+ new API, {{DOMRectList}} must not be used. Use <code> sequence<DOMRect></code> instead. [[WEBIDL]]
434+
435+
413436<h2 id=DOMQuad>The DOMQuad interface</h2>
414437
415438<p> Objects implementing the {{DOMQuad}} interface represents a <dfn>quadrilateral</dfn> .
@@ -2121,8 +2144,6 @@ href="https://www.w3.org/TR/2014/WD-geometry-1-20140918/">18 September 2014 Work
21212144
21222145 <li><p> Introduced the {{DOMMatrixInit}} dictionary.
21232146
2124- <li><p> Removed the <code> DOMRectList</code> interface.
2125-
21262147 <li><p> Added JSON serializers for the interfaces.
21272148
21282149 <li>
@@ -2176,9 +2197,10 @@ Draft</a>.
21762197
21772198 <li><p> {{DOMMatrixReadOnly}} got a constructor taking a sequence of numbers as argument.
21782199
2179- <li><p> DOMRectList turned to an ArrayClass. The interfaces can just be used for legacy interfaces.
2200+ <li><p> {{DOMRectList}} turned to an ArrayClass. The interfaces can just be used for legacy
2201+ interfaces.
21802202
2181- <li><p> Put DOMRectList on at-Risk awaiting browser feedback.
2203+ <li><p> Put {{ DOMRectList}} on at-Risk awaiting browser feedback.
21822204
21832205 <li><p> All interfaces are described in the sense of internal elements to describe the
21842206 read-only/writable and inheriting behavior.
0 commit comments