Skip to content

Commit 7b0484c

Browse files
dirkschulzesvgeesus
authored andcommitted
DOMRectList must not be used by new interfaces.
1 parent bfad95a commit 7b0484c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

geometry/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</p>
2626
<h1 class="p-name no-ref" id=title>Geometry Interfaces Module Level 1</h1>
2727
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
28-
<span class=dt-updated><span class=value-title title=20140721>21 July 2014</span></span></span></h2>
28+
<span class=dt-updated><span class=value-title title=20140728>28 July 2014</span></span></span></h2>
2929
<div data-fill-with=spec-metadata><dl>
3030
<dt>This version:
3131
<dd><a class=u-url href=http://dev.w3.org/fxtf/geometry/>http://dev.w3.org/fxtf/geometry/</a>
@@ -351,7 +351,7 @@ <h2 class="heading settled heading" data-level=4 id=DOMRectList><span class=secn
351351

352352
<p>The <dfn class=idl-code data-dfn-for=DOMRectList data-dfn-type=method data-export="" id=dom-domrectlist-item title=item()>item(<var>index</var>)<a class=self-link href=#dom-domrectlist-item></a></dfn> method, when invoked, must return a <span class=css data-link-type=maybe title=null>null</span> value when <var>index</var> is greater than or equal to the number of <a class=idl-code data-link-type=interface href=#dom-domrect title=domrect>DOMRect</a> objects associated with the <a class=idl-code data-link-type=interface href=#dom-domrectlist title=domrectlist>DOMRectList</a>. Otherwise, the <a class=idl-code data-link-type=interface href=#dom-domrect title=domrect>DOMRect</a> object at <var>index</var> must be returned. Indices are zero-based.</p>
353353

354-
<strong class=advisement><a class=idl-code data-link-type=interface href=#dom-domrectlist title=domrectlist>DOMRectList</a> must be supported for legacy reasons. Specifications are strongly advised not to make use of the <a class=idl-code data-link-type=interface href=#dom-domrectlist title=domrectlist>DOMRectList</a> interface and use Sequences <a data-biblio-type=normative data-link-type=biblio href=#biblio-webidl title=biblio-webidl>[WEBIDL]</a> instead.</strong>
354+
<strong class=advisement><a class=idl-code data-link-type=interface href=#dom-domrectlist title=domrectlist>DOMRectList</a> must be supported for legacy reasons. New interfaces must not use <a class=idl-code data-link-type=interface href=#dom-domrectlist title=domrectlist>DOMRectList</a> and may use Sequences <a data-biblio-type=normative data-link-type=biblio href=#biblio-webidl title=biblio-webidl>[WEBIDL]</a> instead.</strong>
355355

356356
<h2 class="heading settled heading" data-level=5 id=DOMQuad><span class=secno>5 </span><span class=content>
357357
The DOMQuad interface</span><a class=self-link href=#DOMQuad></a></h2>

geometry/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ <h2 id='DOMRectList'>
257257

258258
The <dfn dfn-type=method dfn-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 <a interface>DOMRect</a> objects associated with the <a interface>DOMRectList</a>. Otherwise, the <a interface>DOMRect</a> object at <var>index</var> must be returned. Indices are zero-based.
259259

260-
ADVISEMENT: <a interface>DOMRectList</a> must be supported for legacy reasons. Specifications are strongly advised not to make use of the <a interface>DOMRectList</a> interface and use Sequences [[!WEBIDL]] instead.
260+
ADVISEMENT: <a interface>DOMRectList</a> must be supported for legacy reasons. New interfaces must not use <a interface>DOMRectList</a> and may use Sequences [[!WEBIDL]] instead.
261261

262262
<h2 id='DOMQuad'>
263263
The DOMQuad interface</h2>

0 commit comments

Comments
 (0)