[html5] r2660 - [] (0) WebIDLize remaining enumerated interfaces.

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 13 18:38:29 PST 2009


Author: ianh
Date: 2009-01-13 18:38:28 -0800 (Tue, 13 Jan 2009)
New Revision: 2660

Modified:
   index
   source
Log:
[] (0) WebIDLize remaining enumerated interfaces.

Modified: index
===================================================================
--- index	2009-01-14 02:12:08 UTC (rev 2659)
+++ index	2009-01-14 02:38:28 UTC (rev 2660)
@@ -5557,7 +5557,7 @@
   underlying string on spaces</a>. This is the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var>.</p>
 
   <p>The object's <span>indices of the supported indexed
-  properties</span> are the numbers in the range zero to the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var>-1, unless the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var> is zero, in which case
+  properties</span> are the numbers in the range zero to <span><var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var>-1</span>, unless the <var title=dom-tokenlist-length><a href=#dom-tokenlist-length>length</a></var> is zero, in which case
   there are no <span>supported indexed properties</span>.</p>
 
   <p>The <dfn id=dom-tokenlist-item title=dom-tokenlist-item><code>item(<var title="">index</var>)</code></dfn> method must <a href=#split-a-string-on-spaces title="split a
@@ -5746,7 +5746,7 @@
   <pre class=idl>[NameCreator, NameDeleter, NameGetter, NameSetter]
 interface <dfn id=domstringmap-0>DOMStringMap</dfn> {};</pre>
 
-  <p>The names of the supported named properties on a
+  <p>The <span>names of the supported named properties</span> on a
   <code><a href=#domstringmap-0>DOMStringMap</a></code> object at any instant are the names of
   each pair returned from the algorithm for getting the list of
   name-value pairs at that instant.</p>
@@ -31791,7 +31791,15 @@
 
   <p>The <dfn id=dom-datagridselection-length title=dom-DataGridSelection-length><code>length</code></dfn>
   attribute must return the number of rows currently present in the
-  selection. The <dfn id=dom-datagridselection-item title=dom-DataGridSelection-item><code>item(<var title="">index</var>)</code></dfn> method must return the <var title="">index</var>th row in the selection. If the argument is out
+  selection. This is the <var title=dom-DataGridSelection-length><a href=#dom-datagridselection-length>length</a></var>.</p>
+
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to <span><var title=dom-DataGridSelection-length><a href=#dom-datagridselection-length>length</a></var>-1</span>, unless
+  the <var title=dom-DataGridSelection-length><a href=#dom-datagridselection-length>length</a></var> is zero,
+  in which case there are no <span>supported indexed
+  properties</span>.</p>
+
+  <p>The <dfn id=dom-datagridselection-item title=dom-DataGridSelection-item><code>item(<var title="">index</var>)</code></dfn> method must return the <var title="">index</var>th row in the selection. If the argument is out
   of range (less than zero or greater than the number of selected rows
   minus one), then it must raise an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code>
   exception. <a href=#refsDOM3CORE>[DOM3CORE]</a></p>
@@ -33687,11 +33695,10 @@
 
   <p>The <span>indices of the supported indexed properties</span> on
   the <code><a href=#window>Window</a></code> object at any instant are the numbers in the
-  range 0 .. <var title="">n</var>, where <var title="">n</var> is the
-  number of <a href=#child-browsing-context title="child browsing context">child browsing
-  contexts</a> of the <a href=#active-document title="active document">active</a>
-  <code>Document</code>. If <var title="">n</var> is zero then there
-  are no <span>supported indexed properties</span>.</p>
+  range 0 .. <span><var title="">n</var>-1</span>, where <var title="">n</var> is the number of <a href=#child-browsing-context title="child browsing
+  context">child browsing contexts</a> of the <a href=#active-document title="active
+  document">active</a> <code>Document</code>. If <var title="">n</var> is zero then there are no <span>supported indexed
+  properties</span>.</p>
 
   <p>When a <code><a href=#window>Window</a></code> object is <dfn id=dom-window-item title=dom-window-item>indexed to retrieve an indexed
   property</dfn> <var title="">index</var>, the value returned must be
@@ -39064,6 +39071,12 @@
   all be associated with the same list of key/value pairs
   simultaneously.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to one less than
+  the number of key/value pairs currently present in the list
+  associated with the object. If the list is empty, then there are no
+  <span>supported indexed properties</span>.</p>
+
   <p>The <dfn id=dom-storage-length title=dom-Storage-length><code>length</code></dfn>
   attribute must return the number of key/value pairs currently
   present in the list associated with the object.</p>
@@ -39081,6 +39094,10 @@
   in the object, then this method must raise an
   <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code> exception.</p>
 
+  <p>The <span>names of the supported named properties</span> on a
+  <code><a href=#storage-0>Storage</a></code> object are the keys of each key/value pair
+  currently present in the list associated with the object.</p>
+
   <p>The <dfn id=dom-storage-getitem title=dom-Storage-getItem><code>getItem(<var title="">key</var>)</code></dfn> method must return the current
   value associated with the given <var title="">key</var>. If the
   given <var title="">key</var> does not exist in the list associated
@@ -39649,8 +39666,14 @@
 
   <p><code><a href=#sqlresultsetrowlist>SQLResultSetRowList</a></code> objects have a <dfn id=dom-sqlresultsetrowlist-length title=dom-SQLResultSetRowList-length><code>length</code></dfn>
   attribute that must return the number of rows it represents (the
-  number of rows returned by the database).</p>
+  number of rows returned by the database). This is the <var title=dom-SQLResultSetRowList-length><a href=#dom-sqlresultsetrowlist-length>length</a></var>.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to <span><var title=dom-SQLResultSetRowList-length><a href=#dom-sqlresultsetrowlist-length>length</a></var>-1</span>, unless
+  the <var title=dom-SQLResultSetRowList-length><a href=#dom-sqlresultsetrowlist-length>length</a></var> is
+  zero, in which case there are no <span>supported indexed
+  properties</span>.</p>
+
   <p>The <dfn id=dom-sqlresultsetrowlist-item title=dom-SQLResultSetRowList-item><code>item(<var title="">index</var>)</code></dfn> attribute must return the row
   with the given index <var title="">index</var>. If there is no such
   row, then the method must raise an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code>
@@ -43170,13 +43193,13 @@
   interface can be used:</p>
 
   <pre class=idl>interface <dfn id=undomanager>UndoManager</dfn> {
+  readonly attribute unsigned long <a href=#dom-undomanager-length title=dom-UndoManager-length>length</a>;
+  [IndexGetter] any <a href=#dom-undomanager-item title=dom-UndoManager-item>item</a>(in unsigned long index);
+  readonly attribute unsigned long <a href=#dom-undomanager-position title=dom-UndoManager-position>position</a>;
   unsigned long <a href=#dom-undomanager-add title=dom-UndoManager-add>add</a>(in any data, in DOMString title);
   void <a href=#dom-undomanager-remove title=dom-UndoManager-remove>remove</a>(in unsigned long index);
   void <a href=#dom-undomanager-clearundo title=dom-UndoManager-clearUndo>clearUndo</a>();
   void <a href=#dom-undomanager-clearredo title=dom-UndoManager-clearRedo>clearRedo</a>();
-  [IndexGetter] any <a href=#dom-undomanager-item title=dom-UndoManager-item>item</a>(in unsigned long index);
-  readonly attribute unsigned long <a href=#dom-undomanager-length title=dom-UndoManager-length>length</a>;
-  readonly attribute unsigned long <a href=#dom-undomanager-position title=dom-UndoManager-position>position</a>;
 };</pre>
 
   <p>The <dfn id=dom-undomanager title=dom-undoManager><code>undoManager</code></dfn>
@@ -43193,8 +43216,13 @@
 
   <p>The <dfn id=dom-undomanager-length title=dom-UndoManager-length><code>length</code></dfn>
   attribute must return the number of <a href=#undo-object>undo object</a> entries
-  in the <a href=#undo-transaction-history>undo transaction history</a>.</p>
+  in the <a href=#undo-transaction-history>undo transaction history</a>. This is the <var title=dom-UndoManager-length><a href=#dom-undomanager-length>length</a></var>.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to <span><var title=dom-UndoManager-length><a href=#dom-undomanager-length>length</a></var>-1</span>, unless the
+  <var title=dom-UndoManager-length><a href=#dom-undomanager-length>length</a></var> is zero, in which
+  case there are no <span>supported indexed properties</span>.</p>
+
   <p>The <dfn id=dom-undomanager-item title=dom-UndoManager-item><code>item(<var title="">n</var>)</code></dfn> method must return the <var title="">n</var>th <a href=#undo-object>undo object</a> entry in the <a href=#undo-transaction-history>undo
   transaction history</a>.</p>
 

Modified: source
===================================================================
--- source	2009-01-14 02:12:08 UTC (rev 2659)
+++ source	2009-01-14 02:38:28 UTC (rev 2660)
@@ -5471,8 +5471,8 @@
   title="dom-tokenlist-length">length</var>.</p>
 
   <p>The object's <span>indices of the supported indexed
-  properties</span> are the numbers in the range zero to the <var
-  title="dom-tokenlist-length">length</var>-1, unless the <var
+  properties</span> are the numbers in the range zero to <span><var
+  title="dom-tokenlist-length">length</var>-1</span>, unless the <var
   title="dom-tokenlist-length">length</var> is zero, in which case
   there are no <span>supported indexed properties</span>.</p>
 
@@ -5707,7 +5707,7 @@
   <pre class="idl">[NameCreator, NameDeleter, NameGetter, NameSetter]
 interface <dfn>DOMStringMap</dfn> {};</pre>
 
-  <p>The names of the supported named properties on a
+  <p>The <span>names of the supported named properties</span> on a
   <code>DOMStringMap</code> object at any instant are the names of
   each pair returned from the algorithm for getting the list of
   name-value pairs at that instant.</p>
@@ -36051,8 +36051,17 @@
   <p>The <dfn
   title="dom-DataGridSelection-length"><code>length</code></dfn>
   attribute must return the number of rows currently present in the
-  selection. The <dfn
-  title="dom-DataGridSelection-item"><code>item(<var
+  selection. This is the <var
+  title="dom-DataGridSelection-length">length</var>.</p>
+
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to <span><var
+  title="dom-DataGridSelection-length">length</var>-1</span>, unless
+  the <var title="dom-DataGridSelection-length">length</var> is zero,
+  in which case there are no <span>supported indexed
+  properties</span>.</p>
+
+  <p>The <dfn title="dom-DataGridSelection-item"><code>item(<var
   title="">index</var>)</code></dfn> method must return the <var
   title="">index</var>th row in the selection. If the argument is out
   of range (less than zero or greater than the number of selected rows
@@ -38253,11 +38262,12 @@
 
   <p>The <span>indices of the supported indexed properties</span> on
   the <code>Window</code> object at any instant are the numbers in the
-  range 0 .. <var title="">n</var>, where <var title="">n</var> is the
-  number of <span title="child browsing context">child browsing
-  contexts</span> of the <span title="active document">active</span>
-  <code>Document</code>. If <var title="">n</var> is zero then there
-  are no <span>supported indexed properties</span>.</p>
+  range 0 .. <span><var title="">n</var>-1</span>, where <var
+  title="">n</var> is the number of <span title="child browsing
+  context">child browsing contexts</span> of the <span title="active
+  document">active</span> <code>Document</code>. If <var
+  title="">n</var> is zero then there are no <span>supported indexed
+  properties</span>.</p>
 
   <p>When a <code>Window</code> object is <dfn
   title="dom-window-item">indexed to retrieve an indexed
@@ -44470,6 +44480,12 @@
   all be associated with the same list of key/value pairs
   simultaneously.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to one less than
+  the number of key/value pairs currently present in the list
+  associated with the object. If the list is empty, then there are no
+  <span>supported indexed properties</span>.</p>
+
   <p>The <dfn title="dom-Storage-length"><code>length</code></dfn>
   attribute must return the number of key/value pairs currently
   present in the list associated with the object.</p>
@@ -44490,6 +44506,10 @@
   in the object, then this method must raise an
   <code>INDEX_SIZE_ERR</code> exception.</p>
 
+  <p>The <span>names of the supported named properties</span> on a
+  <code>Storage</code> object are the keys of each key/value pair
+  currently present in the list associated with the object.</p>
+
   <p>The <dfn title="dom-Storage-getItem"><code>getItem(<var
   title="">key</var>)</code></dfn> method must return the current
   value associated with the given <var title="">key</var>. If the
@@ -45140,8 +45160,16 @@
   <p><code>SQLResultSetRowList</code> objects have a <dfn
   title="dom-SQLResultSetRowList-length"><code>length</code></dfn>
   attribute that must return the number of rows it represents (the
-  number of rows returned by the database).</p>
+  number of rows returned by the database). This is the <var
+  title="dom-SQLResultSetRowList-length">length</var>.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to <span><var
+  title="dom-SQLResultSetRowList-length">length</var>-1</span>, unless
+  the <var title="dom-SQLResultSetRowList-length">length</var> is
+  zero, in which case there are no <span>supported indexed
+  properties</span>.</p>
+
   <p>The <dfn title="dom-SQLResultSetRowList-item"><code>item(<var
   title="">index</var>)</code></dfn> attribute must return the row
   with the given index <var title="">index</var>. If there is no such
@@ -49268,13 +49296,13 @@
   interface can be used:</p>
 
   <pre class="idl">interface <dfn>UndoManager</dfn> {
+  readonly attribute unsigned long <span title="dom-UndoManager-length">length</span>;
+  [IndexGetter] any <span title="dom-UndoManager-item">item</span>(in unsigned long index);
+  readonly attribute unsigned long <span title="dom-UndoManager-position">position</span>;
   unsigned long <span title="dom-UndoManager-add">add</span>(in any data, in DOMString title);
   void <span title="dom-UndoManager-remove">remove</span>(in unsigned long index);
   void <span title="dom-UndoManager-clearUndo">clearUndo</span>();
   void <span title="dom-UndoManager-clearRedo">clearRedo</span>();
-  [IndexGetter] any <span title="dom-UndoManager-item">item</span>(in unsigned long index);
-  readonly attribute unsigned long <span title="dom-UndoManager-length">length</span>;
-  readonly attribute unsigned long <span title="dom-UndoManager-position">position</span>;
 };</pre>
 
   <p>The <dfn title="dom-undoManager"><code>undoManager</code></dfn>
@@ -49291,8 +49319,15 @@
 
   <p>The <dfn title="dom-UndoManager-length"><code>length</code></dfn>
   attribute must return the number of <span>undo object</span> entries
-  in the <span>undo transaction history</span>.</p>
+  in the <span>undo transaction history</span>. This is the <var
+  title="dom-UndoManager-length">length</var>.</p>
 
+  <p>The object's <span>indices of the supported indexed
+  properties</span> are the numbers in the range zero to <span><var
+  title="dom-UndoManager-length">length</var>-1</span>, unless the
+  <var title="dom-UndoManager-length">length</var> is zero, in which
+  case there are no <span>supported indexed properties</span>.</p>
+
   <p>The <dfn title="dom-UndoManager-item"><code>item(<var
   title="">n</var>)</code></dfn> method must return the <var
   title="">n</var>th <span>undo object</span> entry in the <span>undo




More information about the Commit-Watchers mailing list