[html5] r5439 - [giow] (2) HTMLOptionsCollection.selectedItem Fixing http://www.w3.org/Bugs/Publ [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 7 22:16:05 PDT 2010
Author: ianh
Date: 2010-09-07 22:16:04 -0700 (Tue, 07 Sep 2010)
New Revision: 5439
Modified:
complete.html
index
source
Log:
[giow] (2) HTMLOptionsCollection.selectedItem
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10184
Modified: complete.html
===================================================================
--- complete.html 2010-09-08 03:30:12 UTC (rev 5438)
+++ complete.html 2010-09-08 05:16:04 UTC (rev 5439)
@@ -7043,6 +7043,7 @@
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(in <a href=#htmlelement>HTMLElement</a> element, in optional <a href=#htmlelement>HTMLElement</a> before);
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(in <a href=#htmlelement>HTMLElement</a> element, in long before);
void <a href=#dom-htmloptionscollection-remove title=dom-HTMLOptionsCollection-remove>remove</a>(in long index);
+ attribute long <a href=#dom-htmloptionscollection-selectedindex title=dom-HTMLOptionsCollection-selectedIndex>selectedIndex</a>;
};</pre>
<dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLOptionsCollection-length><a href=#dom-htmloptionscollection-length>length</a></code> [ = <var title="">value</var> ]</dt>
@@ -7086,6 +7087,17 @@
<code><a href=#the-optgroup-element>optgroup</a></code> element, then the method does nothing.</p>
</dd>
+ <dt><var title="">collection</var> . <code title=dom-HTMLOptionsCollection-selectedIndex><a href=#dom-htmloptionscollection-selectedindex>selectedIndex</a></code> [ = <var title="">value</var> ]</dt>
+
+ <dd>
+
+ <p>Returns the index of the first selected item, if any, or
+ −1 if there is no selected item.</p>
+
+ <p>Can be set, to change the selection.</p>
+
+ </dd>
+
</dl><div class=impl>
<p>The object's <span>indices of the supported indexed
@@ -7184,8 +7196,15 @@
<li><p>Remove <var title="">element</var> from its parent
node.</li>
- </ol><!-- see also http://ln.hixie.ch/?start=1161042744&count=1 --></div>
+ </ol><p>The <dfn id=dom-htmloptionscollection-selectedindex title=dom-HTMLOptionsCollection-selectedIndex><code>selectedIndex</code></dfn>
+ IDL attribute must act like the identically named attribute on the
+ <code><a href=#the-select-element>select</a></code> element on which the
+ <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted</p>
+ <!-- see also http://ln.hixie.ch/?start=1161042744&count=1 -->
+
+ </div>
+
<!--MD-->
<div data-component="HTML Microdata (editor: Ian Hickson)">
Modified: index
===================================================================
--- index 2010-09-08 03:30:12 UTC (rev 5438)
+++ index 2010-09-08 05:16:04 UTC (rev 5439)
@@ -7020,6 +7020,7 @@
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(in <a href=#htmlelement>HTMLElement</a> element, in optional <a href=#htmlelement>HTMLElement</a> before);
void <a href=#dom-htmloptionscollection-add title=dom-HTMLOptionsCollection-add>add</a>(in <a href=#htmlelement>HTMLElement</a> element, in long before);
void <a href=#dom-htmloptionscollection-remove title=dom-HTMLOptionsCollection-remove>remove</a>(in long index);
+ attribute long <a href=#dom-htmloptionscollection-selectedindex title=dom-HTMLOptionsCollection-selectedIndex>selectedIndex</a>;
};</pre>
<dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLOptionsCollection-length><a href=#dom-htmloptionscollection-length>length</a></code> [ = <var title="">value</var> ]</dt>
@@ -7063,6 +7064,17 @@
<code><a href=#the-optgroup-element>optgroup</a></code> element, then the method does nothing.</p>
</dd>
+ <dt><var title="">collection</var> . <code title=dom-HTMLOptionsCollection-selectedIndex><a href=#dom-htmloptionscollection-selectedindex>selectedIndex</a></code> [ = <var title="">value</var> ]</dt>
+
+ <dd>
+
+ <p>Returns the index of the first selected item, if any, or
+ −1 if there is no selected item.</p>
+
+ <p>Can be set, to change the selection.</p>
+
+ </dd>
+
</dl><div class=impl>
<p>The object's <span>indices of the supported indexed
@@ -7161,8 +7173,15 @@
<li><p>Remove <var title="">element</var> from its parent
node.</li>
- </ol><!-- see also http://ln.hixie.ch/?start=1161042744&count=1 --></div>
+ </ol><p>The <dfn id=dom-htmloptionscollection-selectedindex title=dom-HTMLOptionsCollection-selectedIndex><code>selectedIndex</code></dfn>
+ IDL attribute must act like the identically named attribute on the
+ <code><a href=#the-select-element>select</a></code> element on which the
+ <code><a href=#htmloptionscollection>HTMLOptionsCollection</a></code> is rooted</p>
+ <!-- see also http://ln.hixie.ch/?start=1161042744&count=1 -->
+
+ </div>
+
<!--MD-->
<div data-component="HTML Microdata (editor: Ian Hickson)">
Modified: source
===================================================================
--- source 2010-09-08 03:30:12 UTC (rev 5438)
+++ source 2010-09-08 05:16:04 UTC (rev 5439)
@@ -6775,6 +6775,7 @@
void <span title="dom-HTMLOptionsCollection-add">add</span>(in <span>HTMLElement</span> element, in optional <span>HTMLElement</span> before);
void <span title="dom-HTMLOptionsCollection-add">add</span>(in <span>HTMLElement</span> element, in long before);
void <span title="dom-HTMLOptionsCollection-remove">remove</span>(in long index);
+ attribute long <span title="dom-HTMLOptionsCollection-selectedIndex">selectedIndex</span>;
};</pre>
<dl class="domintro">
@@ -6821,6 +6822,17 @@
<code>optgroup</code> element, then the method does nothing.</p>
</dd>
+ <dt><var title="">collection</var> . <code title="dom-HTMLOptionsCollection-selectedIndex">selectedIndex</code> [ = <var title="">value</var> ]</dt>
+
+ <dd>
+
+ <p>Returns the index of the first selected item, if any, or
+ −1 if there is no selected item.</p>
+
+ <p>Can be set, to change the selection.</p>
+
+ </dd>
+
</dl>
<div class="impl">
@@ -6961,6 +6973,12 @@
</ol>
+ <p>The <dfn
+ title="dom-HTMLOptionsCollection-selectedIndex"><code>selectedIndex</code></dfn>
+ IDL attribute must act like the identically named attribute on the
+ <code>select</code> element on which the
+ <code>HTMLOptionsCollection</code> is rooted</p>
+
<!-- see also http://ln.hixie.ch/?start=1161042744&count=1 -->
</div>
More information about the Commit-Watchers
mailing list