[html5] r8785 - [giow] (3) Add the select() method to input types that might have text fields bu [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 17 16:09:00 PDT 2014


Author: ianh
Date: 2014-09-17 16:08:57 -0700 (Wed, 17 Sep 2014)
New Revision: 8785

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Add the select() method to input types that might have text fields but where the script-exposed value is unlikely to exactly match the user-exposed value, so that the selection can be switched on, even if it can't be carefully managed.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25663
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2014-09-17 22:58:28 UTC (rev 8784)
+++ complete.html	2014-09-17 23:08:57 UTC (rev 8785)
@@ -32707,23 +32707,23 @@
      <td class=yes> Yes     
 
      <td class=yes> Yes     
-     <td class=no> · 
      <td class=yes> Yes     
-     <td class=no> · 
+     <td class=yes> Yes     
+     <td class=yes> Yes     
 
 
 
 
+     <td class=yes> Yes     
+     <td class=yes> Yes     
      <td class=no> · 
+     <td class=yes> Yes     
      <td class=no> · 
-     <td class=no> · 
-     <td class=no> · 
-     <td class=no> · 
 
+     <td class=yes> Yes     
      <td class=no> · 
      <td class=no> · 
      <td class=no> · 
-     <td class=no> · 
 
 
     <tr><th> <code id=the-input-element:dom-textarea/input-selectionstart-3><a href=#dom-textarea/input-selectionstart>selectionStart</a></code>
@@ -33695,7 +33695,8 @@
    <code id="e-mail-state-(type=email):attr-input-required"><a href=#attr-input-required>required</a></code>, and
    <code id="e-mail-state-(type=email):attr-input-size"><a href=#attr-input-size>size</a></code> content attributes;
    <code id="e-mail-state-(type=email):dom-input-list"><a href=#dom-input-list>list</a></code> and
-   <code id="e-mail-state-(type=email):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes.</p>
+   <code id="e-mail-state-(type=email):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes;
+   <code id="e-mail-state-(type=email):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code> method.</p>
 
 
 
@@ -33734,7 +33735,6 @@
    <code id="e-mail-state-(type=email):dom-input-valueasnumber" class=no-backref><a href=#dom-input-valueasnumber>valueAsNumber</a></code>,
    <code id="e-mail-state-(type=email):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="e-mail-state-(type=email):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="e-mail-state-(type=email):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="e-mail-state-(type=email):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>,
    <code id="e-mail-state-(type=email):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code>,
    <code id="e-mail-state-(type=email):dom-input-stepdown" class=no-backref><a href=#dom-input-stepdown>stepDown()</a></code> and
@@ -33957,7 +33957,8 @@
    <code id="date-and-time-state-(type=datetime):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="date-and-time-state-(type=datetime):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="date-and-time-state-(type=datetime):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="date-and-time-state-(type=datetime):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="date-and-time-state-(type=datetime):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="date-and-time-state-(type=datetime):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -33996,7 +33997,6 @@
    <code id="date-and-time-state-(type=datetime):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="date-and-time-state-(type=datetime):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="date-and-time-state-(type=datetime):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="date-and-time-state-(type=datetime):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34124,7 +34124,8 @@
    <code id="date-state-(type=date):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="date-state-(type=date):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="date-state-(type=date):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="date-state-(type=date):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="date-state-(type=date):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="date-state-(type=date):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="date-state-(type=date):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="date-state-(type=date):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -34162,7 +34163,6 @@
    <code id="date-state-(type=date):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="date-state-(type=date):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="date-state-(type=date):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="date-state-(type=date):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="date-state-(type=date):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="date-state-(type=date):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34263,7 +34263,8 @@
    <code id="month-state-(type=month):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="month-state-(type=month):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="month-state-(type=month):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="month-state-(type=month):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="month-state-(type=month):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="month-state-(type=month):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="month-state-(type=month):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="month-state-(type=month):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -34302,7 +34303,6 @@
    <code id="month-state-(type=month):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="month-state-(type=month):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="month-state-(type=month):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="month-state-(type=month):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="month-state-(type=month):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="month-state-(type=month):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34404,7 +34404,8 @@
    <code id="week-state-(type=week):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="week-state-(type=week):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="week-state-(type=week):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="week-state-(type=week):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="week-state-(type=week):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="week-state-(type=week):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="week-state-(type=week):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="week-state-(type=week):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="week-state-(type=week):dom-input-value-value">value</a>.</p>
@@ -34441,7 +34442,6 @@
    <code id="week-state-(type=week):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="week-state-(type=week):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="week-state-(type=week):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="week-state-(type=week):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="week-state-(type=week):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="week-state-(type=week):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34542,7 +34542,8 @@
    <code id="time-state-(type=time):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="time-state-(type=time):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="time-state-(type=time):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="time-state-(type=time):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="time-state-(type=time):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="time-state-(type=time):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="time-state-(type=time):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="time-state-(type=time):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="time-state-(type=time):dom-input-value-value">value</a>.</p>
@@ -34579,7 +34580,6 @@
    <code id="time-state-(type=time):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="time-state-(type=time):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="time-state-(type=time):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="time-state-(type=time):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="time-state-(type=time):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="time-state-(type=time):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34676,7 +34676,8 @@
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-list"><a href=#dom-input-list>list</a></code>,
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-value"><a href=#dom-input-value>value</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="local-date-and-time-state-(type=datetime-local):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="local-date-and-time-state-(type=datetime-local):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="local-date-and-time-state-(type=datetime-local):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -34716,7 +34717,6 @@
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valueasdate" class=no-backref><a href=#dom-input-valueasdate>valueAsDate</a></code>,
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34839,7 +34839,8 @@
    <code id="number-state-(type=number):dom-input-list"><a href=#dom-input-list>list</a></code>,
    <code id="number-state-(type=number):dom-input-value"><a href=#dom-input-value>value</a></code>, and
    <code id="number-state-(type=number):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="number-state-(type=number):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="number-state-(type=number):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="number-state-(type=number):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="number-state-(type=number):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="number-state-(type=number):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="number-state-(type=number):dom-input-value-value">value</a>.</p>
@@ -34876,7 +34877,6 @@
    <code id="number-state-(type=number):dom-input-valueasdate" class=no-backref><a href=#dom-input-valueasdate>valueAsDate</a></code>,
    <code id="number-state-(type=number):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="number-state-(type=number):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="number-state-(type=number):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="number-state-(type=number):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="number-state-(type=number):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -35309,7 +35309,8 @@
    <code id="colour-state-(type=color):attr-fe-autocomplete"><a href=#attr-fe-autocomplete>autocomplete</a></code> and
    <code id="colour-state-(type=color):attr-input-list"><a href=#attr-input-list>list</a></code> content attributes;
    <code id="colour-state-(type=color):dom-input-list"><a href=#dom-input-list>list</a></code> and
-   <code id="colour-state-(type=color):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes.</p>
+   <code id="colour-state-(type=color):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes;
+   <code id="colour-state-(type=color):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code> method.</p>
 
    <p>The <code id="colour-state-(type=color):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="colour-state-(type=color):dom-input-value-value">value</a>.</p>
 
@@ -35352,7 +35353,6 @@
    <code id="colour-state-(type=color):dom-input-valueasnumber" class=no-backref><a href=#dom-input-valueasnumber>valueAsNumber</a></code>,
    <code id="colour-state-(type=color):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="colour-state-(type=color):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="colour-state-(type=color):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="colour-state-(type=color):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>,
    <code id="colour-state-(type=color):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code>,
    <code id="colour-state-(type=color):dom-input-stepdown" class=no-backref><a href=#dom-input-stepdown>stepDown()</a></code>, and
@@ -35753,7 +35753,8 @@
    <code id="file-upload-state-(type=file):attr-input-multiple-3"><a href=#attr-input-multiple>multiple</a></code>, and
    <code id="file-upload-state-(type=file):attr-input-required"><a href=#attr-input-required>required</a></code> content attributes;
    <code id="file-upload-state-(type=file):dom-input-files"><a href=#dom-input-files>files</a></code> and
-   <code id="file-upload-state-(type=file):dom-input-value-3"><a href=#dom-input-value>value</a></code> IDL attributes.</p>
+   <code id="file-upload-state-(type=file):dom-input-value-3"><a href=#dom-input-value>value</a></code> IDL attributes;
+   <code id="file-upload-state-(type=file):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code> method.</p>
 
    <p>The <code id="file-upload-state-(type=file):dom-input-value-4"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-filename id="file-upload-state-(type=file):dom-input-value-filename">filename</a>.</p>
 
@@ -35797,7 +35798,6 @@
    <code id="file-upload-state-(type=file):dom-input-valueasnumber" class=no-backref><a href=#dom-input-valueasnumber>valueAsNumber</a></code>,
    <code id="file-upload-state-(type=file):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="file-upload-state-(type=file):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="file-upload-state-(type=file):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="file-upload-state-(type=file):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>,
    <code id="file-upload-state-(type=file):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code>,
    <code id="file-upload-state-(type=file):dom-input-stepdown" class=no-backref><a href=#dom-input-stepdown>stepDown()</a></code>, and
@@ -41777,7 +41777,14 @@
   <code id=textFieldSelection:event-select><a href=#event-select>select</a></code> at the element, using the <a href=#user-interaction-task-source id=textFieldSelection:user-interaction-task-source>user interaction task
   source</a> as the task source.</p>
 
+  <p>In the case of <code id=textFieldSelection:the-input-element-7><a href=#the-input-element>input</a></code> elements, if the control has no text field, then the method
+  must do nothing.</p>
 
+  <p class=example>For instance, in a user agent where <code id="textFieldSelection:colour-state-(type=color)"><a href="#colour-state-(type=color)"><input type=color></a></code> is rendered as a colour well with a
+  picker, as opposed to a text field accepting a hexadecimal colour code, there would be no text
+  field, and thus nothing to select, and thus calls to the method are ignored.</p>
+
+
   <p>The <dfn id=dom-textarea/input-selectionstart><code>selectionStart</code></dfn> attribute
   must, on getting, return the offset (in logical order) to the character that immediately follows
   the start of the selection. If there is no selection, then it must return the offset (in logical
@@ -41924,7 +41931,7 @@
 
    <pre>var selectionText = control.value.substring(control.selectionStart, control.selectionEnd);</pre>
 
-   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-7><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-6><a href=#the-textarea-element>textarea</a></code>
+   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-8><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-6><a href=#the-textarea-element>textarea</a></code>
    element.</p>
 
   </div>
@@ -41941,7 +41948,7 @@
 control.value = prefix + control.value;
 control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldDirection);</pre>
 
-   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-8><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-7><a href=#the-textarea-element>textarea</a></code>
+   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-9><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-7><a href=#the-textarea-element>textarea</a></code>
    element.</p>
 
   </div>

Modified: index
===================================================================
--- index	2014-09-17 22:58:28 UTC (rev 8784)
+++ index	2014-09-17 23:08:57 UTC (rev 8785)
@@ -32707,23 +32707,23 @@
      <td class=yes> Yes     
 
      <td class=yes> Yes     
-     <td class=no> · 
      <td class=yes> Yes     
-     <td class=no> · 
+     <td class=yes> Yes     
+     <td class=yes> Yes     
 
 
 
 
+     <td class=yes> Yes     
+     <td class=yes> Yes     
      <td class=no> · 
+     <td class=yes> Yes     
      <td class=no> · 
-     <td class=no> · 
-     <td class=no> · 
-     <td class=no> · 
 
+     <td class=yes> Yes     
      <td class=no> · 
      <td class=no> · 
      <td class=no> · 
-     <td class=no> · 
 
 
     <tr><th> <code id=the-input-element:dom-textarea/input-selectionstart-3><a href=#dom-textarea/input-selectionstart>selectionStart</a></code>
@@ -33695,7 +33695,8 @@
    <code id="e-mail-state-(type=email):attr-input-required"><a href=#attr-input-required>required</a></code>, and
    <code id="e-mail-state-(type=email):attr-input-size"><a href=#attr-input-size>size</a></code> content attributes;
    <code id="e-mail-state-(type=email):dom-input-list"><a href=#dom-input-list>list</a></code> and
-   <code id="e-mail-state-(type=email):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes.</p>
+   <code id="e-mail-state-(type=email):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes;
+   <code id="e-mail-state-(type=email):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code> method.</p>
 
 
 
@@ -33734,7 +33735,6 @@
    <code id="e-mail-state-(type=email):dom-input-valueasnumber" class=no-backref><a href=#dom-input-valueasnumber>valueAsNumber</a></code>,
    <code id="e-mail-state-(type=email):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="e-mail-state-(type=email):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="e-mail-state-(type=email):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="e-mail-state-(type=email):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>,
    <code id="e-mail-state-(type=email):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code>,
    <code id="e-mail-state-(type=email):dom-input-stepdown" class=no-backref><a href=#dom-input-stepdown>stepDown()</a></code> and
@@ -33957,7 +33957,8 @@
    <code id="date-and-time-state-(type=datetime):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="date-and-time-state-(type=datetime):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="date-and-time-state-(type=datetime):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="date-and-time-state-(type=datetime):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="date-and-time-state-(type=datetime):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="date-and-time-state-(type=datetime):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -33996,7 +33997,6 @@
    <code id="date-and-time-state-(type=datetime):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="date-and-time-state-(type=datetime):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="date-and-time-state-(type=datetime):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="date-and-time-state-(type=datetime):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="date-and-time-state-(type=datetime):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34124,7 +34124,8 @@
    <code id="date-state-(type=date):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="date-state-(type=date):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="date-state-(type=date):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="date-state-(type=date):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="date-state-(type=date):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="date-state-(type=date):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="date-state-(type=date):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="date-state-(type=date):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -34162,7 +34163,6 @@
    <code id="date-state-(type=date):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="date-state-(type=date):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="date-state-(type=date):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="date-state-(type=date):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="date-state-(type=date):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="date-state-(type=date):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34263,7 +34263,8 @@
    <code id="month-state-(type=month):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="month-state-(type=month):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="month-state-(type=month):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="month-state-(type=month):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="month-state-(type=month):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="month-state-(type=month):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="month-state-(type=month):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="month-state-(type=month):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -34302,7 +34303,6 @@
    <code id="month-state-(type=month):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="month-state-(type=month):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="month-state-(type=month):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="month-state-(type=month):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="month-state-(type=month):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="month-state-(type=month):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34404,7 +34404,8 @@
    <code id="week-state-(type=week):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="week-state-(type=week):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="week-state-(type=week):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="week-state-(type=week):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="week-state-(type=week):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="week-state-(type=week):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="week-state-(type=week):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="week-state-(type=week):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="week-state-(type=week):dom-input-value-value">value</a>.</p>
@@ -34441,7 +34442,6 @@
    <code id="week-state-(type=week):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="week-state-(type=week):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="week-state-(type=week):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="week-state-(type=week):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="week-state-(type=week):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="week-state-(type=week):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34542,7 +34542,8 @@
    <code id="time-state-(type=time):dom-input-value"><a href=#dom-input-value>value</a></code>,
    <code id="time-state-(type=time):dom-input-valueasdate"><a href=#dom-input-valueasdate>valueAsDate</a></code>, and
    <code id="time-state-(type=time):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="time-state-(type=time):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="time-state-(type=time):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="time-state-(type=time):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="time-state-(type=time):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="time-state-(type=time):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="time-state-(type=time):dom-input-value-value">value</a>.</p>
@@ -34579,7 +34580,6 @@
    <code id="time-state-(type=time):dom-textarea/input-selectiondirection" class=no-backref><a href=#dom-textarea/input-selectiondirection>selectionDirection</a></code>,
    <code id="time-state-(type=time):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="time-state-(type=time):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="time-state-(type=time):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="time-state-(type=time):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="time-state-(type=time):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34676,7 +34676,8 @@
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-list"><a href=#dom-input-list>list</a></code>,
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-value"><a href=#dom-input-value>value</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="local-date-and-time-state-(type=datetime-local):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="local-date-and-time-state-(type=datetime-local):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="local-date-and-time-state-(type=datetime-local):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is
@@ -34716,7 +34717,6 @@
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valueasdate" class=no-backref><a href=#dom-input-valueasdate>valueAsDate</a></code>,
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="local-date-and-time-state-(type=datetime-local):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -34839,7 +34839,8 @@
    <code id="number-state-(type=number):dom-input-list"><a href=#dom-input-list>list</a></code>,
    <code id="number-state-(type=number):dom-input-value"><a href=#dom-input-value>value</a></code>, and
    <code id="number-state-(type=number):dom-input-valueasnumber"><a href=#dom-input-valueasnumber>valueAsNumber</a></code> IDL attributes;
-   <code id="number-state-(type=number):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code> and
+   <code id="number-state-(type=number):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code>,
+   <code id="number-state-(type=number):dom-input-stepdown"><a href=#dom-input-stepdown>stepDown()</a></code>, and
    <code id="number-state-(type=number):dom-input-stepup"><a href=#dom-input-stepup>stepUp()</a></code> methods.</p>
 
    <p>The <code id="number-state-(type=number):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="number-state-(type=number):dom-input-value-value">value</a>.</p>
@@ -34876,7 +34877,6 @@
    <code id="number-state-(type=number):dom-input-valueasdate" class=no-backref><a href=#dom-input-valueasdate>valueAsDate</a></code>,
    <code id="number-state-(type=number):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="number-state-(type=number):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="number-state-(type=number):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="number-state-(type=number):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>, and
    <code id="number-state-(type=number):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code> methods.</p>
 
@@ -35309,7 +35309,8 @@
    <code id="colour-state-(type=color):attr-fe-autocomplete"><a href=#attr-fe-autocomplete>autocomplete</a></code> and
    <code id="colour-state-(type=color):attr-input-list"><a href=#attr-input-list>list</a></code> content attributes;
    <code id="colour-state-(type=color):dom-input-list"><a href=#dom-input-list>list</a></code> and
-   <code id="colour-state-(type=color):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes.</p>
+   <code id="colour-state-(type=color):dom-input-value"><a href=#dom-input-value>value</a></code> IDL attributes;
+   <code id="colour-state-(type=color):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code> method.</p>
 
    <p>The <code id="colour-state-(type=color):dom-input-value-2"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-value id="colour-state-(type=color):dom-input-value-value">value</a>.</p>
 
@@ -35352,7 +35353,6 @@
    <code id="colour-state-(type=color):dom-input-valueasnumber" class=no-backref><a href=#dom-input-valueasnumber>valueAsNumber</a></code>,
    <code id="colour-state-(type=color):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="colour-state-(type=color):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="colour-state-(type=color):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="colour-state-(type=color):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>,
    <code id="colour-state-(type=color):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code>,
    <code id="colour-state-(type=color):dom-input-stepdown" class=no-backref><a href=#dom-input-stepdown>stepDown()</a></code>, and
@@ -35753,7 +35753,8 @@
    <code id="file-upload-state-(type=file):attr-input-multiple-3"><a href=#attr-input-multiple>multiple</a></code>, and
    <code id="file-upload-state-(type=file):attr-input-required"><a href=#attr-input-required>required</a></code> content attributes;
    <code id="file-upload-state-(type=file):dom-input-files"><a href=#dom-input-files>files</a></code> and
-   <code id="file-upload-state-(type=file):dom-input-value-3"><a href=#dom-input-value>value</a></code> IDL attributes.</p>
+   <code id="file-upload-state-(type=file):dom-input-value-3"><a href=#dom-input-value>value</a></code> IDL attributes;
+   <code id="file-upload-state-(type=file):dom-textarea/input-select"><a href=#dom-textarea/input-select>select()</a></code> method.</p>
 
    <p>The <code id="file-upload-state-(type=file):dom-input-value-4"><a href=#dom-input-value>value</a></code> IDL attribute is in mode <a href=#dom-input-value-filename id="file-upload-state-(type=file):dom-input-value-filename">filename</a>.</p>
 
@@ -35797,7 +35798,6 @@
    <code id="file-upload-state-(type=file):dom-input-valueasnumber" class=no-backref><a href=#dom-input-valueasnumber>valueAsNumber</a></code>,
    <code id="file-upload-state-(type=file):dom-input-valuelow" class=no-backref><a href=#dom-input-valuelow>valueLow</a></code>, and
    <code id="file-upload-state-(type=file):dom-input-valuehigh" class=no-backref><a href=#dom-input-valuehigh>valueHigh</a></code> IDL attributes;
-   <code id="file-upload-state-(type=file):dom-textarea/input-select" class=no-backref><a href=#dom-textarea/input-select>select()</a></code>,
    <code id="file-upload-state-(type=file):dom-textarea/input-setrangetext" class=no-backref><a href=#dom-textarea/input-setrangetext>setRangeText()</a></code>,
    <code id="file-upload-state-(type=file):dom-textarea/input-setselectionrange" class=no-backref><a href=#dom-textarea/input-setselectionrange>setSelectionRange()</a></code>,
    <code id="file-upload-state-(type=file):dom-input-stepdown" class=no-backref><a href=#dom-input-stepdown>stepDown()</a></code>, and
@@ -41777,7 +41777,14 @@
   <code id=textFieldSelection:event-select><a href=#event-select>select</a></code> at the element, using the <a href=#user-interaction-task-source id=textFieldSelection:user-interaction-task-source>user interaction task
   source</a> as the task source.</p>
 
+  <p>In the case of <code id=textFieldSelection:the-input-element-7><a href=#the-input-element>input</a></code> elements, if the control has no text field, then the method
+  must do nothing.</p>
 
+  <p class=example>For instance, in a user agent where <code id="textFieldSelection:colour-state-(type=color)"><a href="#colour-state-(type=color)"><input type=color></a></code> is rendered as a colour well with a
+  picker, as opposed to a text field accepting a hexadecimal colour code, there would be no text
+  field, and thus nothing to select, and thus calls to the method are ignored.</p>
+
+
   <p>The <dfn id=dom-textarea/input-selectionstart><code>selectionStart</code></dfn> attribute
   must, on getting, return the offset (in logical order) to the character that immediately follows
   the start of the selection. If there is no selection, then it must return the offset (in logical
@@ -41924,7 +41931,7 @@
 
    <pre>var selectionText = control.value.substring(control.selectionStart, control.selectionEnd);</pre>
 
-   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-7><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-6><a href=#the-textarea-element>textarea</a></code>
+   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-8><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-6><a href=#the-textarea-element>textarea</a></code>
    element.</p>
 
   </div>
@@ -41941,7 +41948,7 @@
 control.value = prefix + control.value;
 control.setSelectionRange(oldStart + prefix.length, oldEnd + prefix.length, oldDirection);</pre>
 
-   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-8><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-7><a href=#the-textarea-element>textarea</a></code>
+   <p>...where <var>control</var> is the <code id=textFieldSelection:the-input-element-9><a href=#the-input-element>input</a></code> or <code id=textFieldSelection:the-textarea-element-7><a href=#the-textarea-element>textarea</a></code>
    element.</p>
 
   </div>

Modified: source
===================================================================
--- source	2014-09-17 22:58:28 UTC (rev 8784)
+++ source	2014-09-17 23:08:57 UTC (rev 8785)
@@ -42461,20 +42461,20 @@
      <td class="yes"> Yes     <!-- Text -->
 <!-- <td class="yes"> Yes          Search -->
      <td class="yes"> Yes     <!-- URL, Telephone -->
-     <td class="no"> · <!-- E-mail -->
+     <td class="yes"> Yes     <!-- E-mail -->
      <td class="yes"> Yes     <!-- Password -->
-     <td class="no"> · <!-- Date and Time -->
-<!-- <td class="no"> ·      Date -->
-<!-- <td class="no"> ·      Month -->
-<!-- <td class="no"> ·      Week -->
-<!-- <td class="no"> ·      Time -->
-     <td class="no"> · <!-- Local Date and Time -->
-     <td class="no"> · <!-- Number -->
+     <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="no"> · <!-- Range -->
-     <td class="no"> · <!-- Colour -->
+     <td class="yes"> Yes     <!-- Colour -->
      <td class="no"> · <!-- Checkbox -->
 <!-- <td class="no"> ·      Radio Button -->
-     <td class="no"> · <!-- File Upload -->
+     <td class="yes"> Yes     <!-- File Upload -->
      <td class="no"> · <!-- Submit Button -->
      <td class="no"> · <!-- Image Button -->
      <td class="no"> · <!-- Reset Button -->
@@ -43592,7 +43592,8 @@
    <code data-x="attr-input-required">required</code>, and
    <code data-x="attr-input-size">size</code> content attributes;
    <code data-x="dom-input-list">list</code> and
-   <code data-x="dom-input-value">value</code> IDL attributes.</p>
+   <code data-x="dom-input-value">value</code> IDL attributes;
+   <code data-x="dom-textarea/input-select">select()</code> method.</p>
 
 <!--
    <p>The following common <code>input</code> element content
@@ -43638,7 +43639,6 @@
    <code class="no-backref" data-x="dom-input-valueAsNumber">valueAsNumber</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" data-x="dom-input-stepDown">stepDown()</code> and
@@ -43879,7 +43879,8 @@
    <code data-x="dom-input-value">value</code>,
    <code data-x="dom-input-valueAsDate">valueAsDate</code>, and
    <code data-x="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
-   <code data-x="dom-input-stepDown">stepDown()</code> and
+   <code data-x="dom-textarea/input-select">select()</code>,
+   <code data-x="dom-input-stepDown">stepDown()</code>, and
    <code data-x="dom-input-stepUp">stepUp()</code> methods.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is
@@ -43919,7 +43920,6 @@
    <code class="no-backref" data-x="dom-textarea/input-selectionDirection">selectionDirection</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>, and
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
@@ -44062,7 +44062,8 @@
    <code data-x="dom-input-value">value</code>,
    <code data-x="dom-input-valueAsDate">valueAsDate</code>, and
    <code data-x="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
-   <code data-x="dom-input-stepDown">stepDown()</code> and
+   <code data-x="dom-textarea/input-select">select()</code>,
+   <code data-x="dom-input-stepDown">stepDown()</code>, and
    <code data-x="dom-input-stepUp">stepUp()</code> methods.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is
@@ -44101,7 +44102,6 @@
    <code class="no-backref" data-x="dom-textarea/input-selectionDirection">selectionDirection</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>, and
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
@@ -44214,7 +44214,8 @@
    <code data-x="dom-input-value">value</code>,
    <code data-x="dom-input-valueAsDate">valueAsDate</code>, and
    <code data-x="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
-   <code data-x="dom-input-stepDown">stepDown()</code> and
+   <code data-x="dom-textarea/input-select">select()</code>,
+   <code data-x="dom-input-stepDown">stepDown()</code>, and
    <code data-x="dom-input-stepUp">stepUp()</code> methods.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is
@@ -44254,7 +44255,6 @@
    <code class="no-backref" data-x="dom-textarea/input-selectionDirection">selectionDirection</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>, and
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
@@ -44369,7 +44369,8 @@
    <code data-x="dom-input-value">value</code>,
    <code data-x="dom-input-valueAsDate">valueAsDate</code>, and
    <code data-x="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
-   <code data-x="dom-input-stepDown">stepDown()</code> and
+   <code data-x="dom-textarea/input-select">select()</code>,
+   <code data-x="dom-input-stepDown">stepDown()</code>, and
    <code data-x="dom-input-stepUp">stepUp()</code> methods.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is in mode <span
@@ -44409,7 +44410,6 @@
    <code class="no-backref" data-x="dom-textarea/input-selectionDirection">selectionDirection</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>, and
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
@@ -44521,7 +44521,8 @@
    <code data-x="dom-input-value">value</code>,
    <code data-x="dom-input-valueAsDate">valueAsDate</code>, and
    <code data-x="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
-   <code data-x="dom-input-stepDown">stepDown()</code> and
+   <code data-x="dom-textarea/input-select">select()</code>,
+   <code data-x="dom-input-stepDown">stepDown()</code>, and
    <code data-x="dom-input-stepUp">stepUp()</code> methods.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is in mode <span
@@ -44561,7 +44562,6 @@
    <code class="no-backref" data-x="dom-textarea/input-selectionDirection">selectionDirection</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>, and
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
@@ -44669,7 +44669,8 @@
    <code data-x="dom-input-list">list</code>,
    <code data-x="dom-input-value">value</code>, and
    <code data-x="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
-   <code data-x="dom-input-stepDown">stepDown()</code> and
+   <code data-x="dom-textarea/input-select">select()</code>,
+   <code data-x="dom-input-stepDown">stepDown()</code>, and
    <code data-x="dom-input-stepUp">stepUp()</code> methods.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is
@@ -44710,7 +44711,6 @@
    <code class="no-backref" data-x="dom-input-valueAsDate">valueAsDate</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>, and
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
@@ -44838,7 +44838,8 @@
    <code data-x="dom-input-list">list</code>,
    <code data-x="dom-input-value">value</code>, and
    <code data-x="dom-input-valueAsNumber">valueAsNumber</code> IDL attributes;
-   <code data-x="dom-input-stepDown">stepDown()</code> and
+   <code data-x="dom-textarea/input-select">select()</code>,
+   <code data-x="dom-input-stepDown">stepDown()</code>, and
    <code data-x="dom-input-stepUp">stepUp()</code> methods.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is in mode <span
@@ -44878,7 +44879,6 @@
    <code class="no-backref" data-x="dom-input-valueAsDate">valueAsDate</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>, and
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code> methods.</p>
 
@@ -45386,7 +45386,8 @@
    <code data-x="attr-fe-autocomplete">autocomplete</code> and
    <code data-x="attr-input-list">list</code> content attributes;
    <code data-x="dom-input-list">list</code> and
-   <code data-x="dom-input-value">value</code> IDL attributes.</p>
+   <code data-x="dom-input-value">value</code> IDL attributes;
+   <code data-x="dom-textarea/input-select">select()</code> method.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is in mode <span
    data-x="dom-input-value-value">value</span>.</p>
@@ -45432,7 +45433,6 @@
    <code class="no-backref" data-x="dom-input-valueAsNumber">valueAsNumber</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" data-x="dom-input-stepDown">stepDown()</code>, and
@@ -45936,7 +45936,8 @@
    <code data-x="attr-input-multiple">multiple</code>, and
    <code data-x="attr-input-required">required</code> content attributes;
    <code data-x="dom-input-files">files</code> and
-   <code data-x="dom-input-value">value</code> IDL attributes.</p>
+   <code data-x="dom-input-value">value</code> IDL attributes;
+   <code data-x="dom-textarea/input-select">select()</code> method.</p>
 
    <p>The <code data-x="dom-input-value">value</code> IDL attribute is in mode <span
    data-x="dom-input-value-filename">filename</span>.</p>
@@ -45983,7 +45984,6 @@
    <code class="no-backref" data-x="dom-input-valueAsNumber">valueAsNumber</code>,
    <code class="no-backref" data-x="dom-input-valueLow">valueLow</code>, and
    <code class="no-backref" data-x="dom-input-valueHigh">valueHigh</code> IDL attributes;
-   <code class="no-backref" data-x="dom-textarea/input-select">select()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setRangeText">setRangeText()</code>,
    <code class="no-backref" data-x="dom-textarea/input-setSelectionRange">setSelectionRange()</code>,
    <code class="no-backref" data-x="dom-input-stepDown">stepDown()</code>, and
@@ -53773,7 +53773,15 @@
   <code data-x="event-select">select</code> at the element, using the <span>user interaction task
   source</span> as the task source.</p>
 
+  <p>In the case of <code>input</code> elements, if the control has no text field, then the method
+  must do nothing.</p>
 
+  <p class="example">For instance, in a user agent where <code
+  data-x="attr-input-type-color"><input type=color></code> is rendered as a colour well with a
+  picker, as opposed to a text field accepting a hexadecimal colour code, there would be no text
+  field, and thus nothing to select, and thus calls to the method are ignored.</p>
+
+
   <p>The <dfn><code data-x="dom-textarea/input-selectionStart">selectionStart</code></dfn> attribute
   must, on getting, return the offset (in logical order) to the character that immediately follows
   the start of the selection. If there is no selection, then it must return the offset (in logical



More information about the Commit-Watchers mailing list