HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/6701

SVNBugCommentTime (UTC)
670113748[Opera] Drop input.selectedOption since it has no compelling use cases and we don't have interop on it either.2011-10-19 22:11
Index: source
===================================================================
--- source	(revision 6700)
+++ source	(revision 6701)
@@ -48109,7 +48109,6 @@
            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 @@
   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 @@
 <!-- <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
    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 @@
    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 @@
    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 @@
    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 @@
    <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 @@
    <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 @@
    <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 @@
    <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 @@
 
    </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 @@
   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>
 
 

|