Permalink
Browse files

[o] (0) Drop input.selectedOption since it has no compelling use case…

…s and we don't have interop on it either.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13748

git-svn-id: http://svn.whatwg.org/webapps@6701 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent d888dc5 commit bac4b5267c1dbe6331fbc63cfe72409daead88f0 @Hixie Hixie committed Oct 19, 2011
Showing with 73 additions and 308 deletions.
  1. +25 −99 complete.html
  2. +25 −99 index
  3. +23 −110 source
View
View
View
@@ -48109,7 +48109,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-input-value">value</span>;
attribute <span>Date</span> <span title="dom-input-valueAsDate">valueAsDate</span>;
attribute double <span title="dom-input-valueAsNumber">valueAsNumber</span>;
- readonly attribute <span>HTMLOptionElement</span>? <span title="dom-input-selectedOption">selectedOption</span>;
attribute DOMString <span title="dom-dim-width">width</span>;
void <span title="dom-input-stepUp">stepUp</span>(optional long n);
@@ -48297,9 +48296,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
title="dom-input-checked">checked</code>, <code
title="dom-input-files">files</code>, <code
title="dom-input-valueAsDate">valueAsDate</code>, <code
- title="dom-input-valueAsNumber">valueAsNumber</code>, <code
- title="dom-input-list">list</code>, and <code
- title="dom-input-selectedOption">selectedOption</code> IDL
+ title="dom-input-valueAsNumber">valueAsNumber</code>, and <code
+ title="dom-input-list">list</code> IDL
attributes, the <code
title="dom-textarea/input-select">select()</code> method, the <code
title="dom-textarea/input-selectionStart">selectionStart</code>,
@@ -49104,31 +49102,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<!-- <td class="no"> &middot; Button -->
<tr>
- <th> <code title="dom-input-selectedOption">selectedOption</code>
- <td class="no"> &middot; <!-- Hidden -->
- <td class="yes"> Yes <!-- Text -->
-<!-- <td class="yes"> Yes Search -->
- <td class="yes"> Yes <!-- URL, Telephone -->
- <td class="yes"> Yes&dagger; <!-- E-mail -->
- <td class="no"> &middot; <!-- Password -->
- <td class="yes"> Yes <!-- Date and Time -->
-<!-- <td class="yes"> Yes Date -->
-<!-- <td class="yes"> Yes Month -->
-<!-- <td class="yes"> Yes Week -->
-<!-- <td class="yes"> Yes Time -->
- <td class="yes"> Yes <!-- Local Date and Time -->
- <td class="yes"> Yes <!-- Number -->
- <td class="yes"> Yes <!-- Range -->
- <td class="yes"> Yes <!-- Color -->
- <td class="no"> &middot; <!-- Checkbox -->
-<!-- <td class="no"> &middot; Radio Button -->
- <td class="no"> &middot; <!-- File Upload -->
- <td class="no"> &middot; <!-- Submit Button -->
- <td class="no"> &middot; <!-- Image Button -->
- <td class="no"> &middot; <!-- Reset Button -->
-<!-- <td class="no"> &middot; Button -->
-
- <tr>
<th> <code title="dom-textarea/input-select">select()</code>
<td class="no"> &middot; <!-- Hidden -->
<td class="yes"> Yes <!-- Text -->
@@ -49721,7 +49694,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -49827,7 +49799,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-required">required</code>, and
<code title="attr-input-size">size</code> content attributes;
<code title="dom-input-list">list</code>,
- <code title="dom-input-selectedOption">selectedOption</code>,
<code title="dom-textarea/input-selectionStart">selectionStart</code>,
<code title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code title="dom-textarea/input-selectionDirection">selectionDirection</code>, and
@@ -49936,7 +49907,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-required">required</code>, and
<code title="attr-input-size">size</code> content attributes;
<code title="dom-input-list">list</code>,
- <code title="dom-input-selectedOption">selectedOption</code>,
<code title="dom-textarea/input-selectionStart">selectionStart</code>,
<code title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code title="dom-textarea/input-selectionDirection">selectionDirection</code>, and
@@ -50050,7 +50020,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-required">required</code>, and
<code title="attr-input-size">size</code> content attributes;
<code title="dom-input-list">list</code>,
- <code title="dom-input-selectedOption">selectedOption</code>,
<code title="dom-textarea/input-selectionStart">selectionStart</code>,
<code title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code title="dom-textarea/input-selectionDirection">selectionDirection</code>, and
@@ -50359,11 +50328,13 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="dom-input-list">list</code> and
<code title="dom-input-value">value</code> IDL attributes.</p>
+<!--
<p>The following common <code>input</code> element content
attributes, IDL attributes, and methods apply to the element when
the <code title="attr-input-multiple">multiple</code> attribute is
not specified:
- <code title="dom-input-selectedOption">selectedOption</code> IDL attribute.</p>
+ .</p>
+-->
<p>The <code title="dom-input-value">value</code> IDL attribute is
in mode <span title="dom-input-value-value">value</span>.</p>
@@ -50493,7 +50464,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-input-valueAsDate">valueAsDate</code>, and
<code class="no-backref" title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code class="no-backref" title="dom-input-stepDown">stepDown()</code> and
@@ -50646,9 +50616,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
<code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsDate">valueAsDate</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-valueAsDate">valueAsDate</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -50843,9 +50812,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
<code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsDate">valueAsDate</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-valueAsDate">valueAsDate</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -51018,9 +50986,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
<code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsDate">valueAsDate</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-valueAsDate">valueAsDate</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -51196,9 +51163,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
<code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsDate">valueAsDate</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-valueAsDate">valueAsDate</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -51371,9 +51337,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
<code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsDate">valueAsDate</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-valueAsDate">valueAsDate</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -51529,9 +51494,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-required">required</code>, and
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
- <code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-value">value</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -51714,9 +51678,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-required">required</code>, and
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
- <code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-value">value</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -51906,9 +51869,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code title="attr-input-min">min</code>, and
<code title="attr-input-step">step</code> content attributes;
<code title="dom-input-list">list</code>,
- <code title="dom-input-value">value</code>,
- <code title="dom-input-valueAsNumber">valueAsNumber</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes;
+ <code title="dom-input-value">value</code>, and
+ <code title="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
<code title="dom-input-stepDown">stepDown()</code> and
<code title="dom-input-stepUp">stepUp()</code> methods.</p>
@@ -52073,9 +52035,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
attributes, IDL attributes, and methods apply to the element:
<code title="attr-input-autocomplete">autocomplete</code> and
<code title="attr-input-list">list</code> content attributes;
- <code title="dom-input-list">list</code>,
- <code title="dom-input-value">value</code>, and
- <code title="dom-input-selectedOption">selectedOption</code> IDL attributes.</p>
+ <code title="dom-input-list">list</code> and
+ <code title="dom-input-value">value</code> IDL attributes.</p>
<p>The <code title="dom-input-value">value</code> IDL attribute is
in mode <span title="dom-input-value-value">value</span>.</p>
@@ -52236,7 +52197,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
element:
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -52393,7 +52353,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
element:
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -52600,7 +52559,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
element:
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -52704,7 +52662,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -52990,7 +52947,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -53100,7 +53056,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -53187,7 +53142,6 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<code class="no-backref" title="dom-input-checked">checked</code>,
<code class="no-backref" title="dom-input-files">files</code>,
<code class="no-backref" title="dom-input-list">list</code>,
- <code class="no-backref" title="dom-input-selectedOption">selectedOption</code>,
<code class="no-backref" title="dom-textarea/input-selectionStart">selectionStart</code>,
<code class="no-backref" title="dom-textarea/input-selectionEnd">selectionEnd</code>,
<code class="no-backref" title="dom-textarea/input-selectionDirection">selectionDirection</code>,
@@ -54215,17 +54169,6 @@ You cannot submit this form when the field is incorrect.</samp></pre>
</dd>
- <dt><var title="">input</var> . <code title="dom-input-selectedOption">selectedOption</code></dt>
-
- <dd>
-
- <p>Returns the <code>option</code> element from the
- <code>datalist</code> element indicated by the <code
- title="attr-input-list">list</code> attribute that matches the
- form control's <span title="concept-fe-value">value</span>.</p>
-
- </dd>
-
</dl>
<div class="impl">
@@ -54481,36 +54424,6 @@ You cannot submit this form when the field is incorrect.</samp></pre>
title="concept-input-list">suggestions source element</span>, if
any, or null otherwise.</p>
- <p>The <dfn
- title="dom-input-selectedOption"><code>selectedOption</code></dfn>
- IDL attribute must return the value determined by the following
- steps:</p>
-
- <ol>
-
- <li><p>If there is no <span title="concept-input-list">suggestions
- source element</span> (e.g. because the <code
- title="attr-input-list">list</code> attribute doesn't apply or is
- not specified), then return null and abort these steps.</p></li>
-
- <li><p>If the <code title="attr-input-multiple">multiple</code>
- attribute is specified and applies, then return null and abort
- these steps. (The <code
- title="dom-input-selectedOption">selectedOption</code> IDL
- attribute doesn't apply.)</p></li>
-
- <li><p>Return the first <code>option</code> element, in <span>tree
- order</span>, to be a child of the <span
- title="concept-input-list">suggestions source element</span> and
- whose <span title="concept-option-value">value</span> matches the
- <code>input</code> element's <span
- title="concept-fe-value">value</span>, if any. If the <span
- title="concept-input-list">suggestions source element</span>
- contains no matching <code>option</code> element, then return null
- instead.</p></li>
-
- </ol>
-
</div>

0 comments on commit bac4b52

Please sign in to comment.