hixie: Spec the 'select' event. (whatwg r6070)

hixie: Spec the 'select' event. (whatwg r6070)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4874&r2=1.4875&f=h
http://html5.org/tools/web-apps-tracker?from=6069&to=6070

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4874
retrieving revision 1.4875
diff -u -d -r1.4874 -r1.4875
--- Overview.html 4 May 2011 23:03:22 -0000 1.4874
+++ Overview.html 4 May 2011 23:21:36 -0000 1.4875
@@ -38282,6 +38282,12 @@
   elements, these methods and attributes must operate on the element's
   <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw value</a>.</p>
 
+  <p>Where possible, user interface features for changing the text
+  selection in <code><a href="#the-input-element">input</a></code> and <code><a href="#the-textarea-element">textarea</a></code> elements
+  must be implemented in terms of the DOM API described in this
+  section, so that, e.g., all the same events fire.</p>
+
+
   <p>The selections of <code><a href="#the-input-element">input</a></code> and <code><a href="#the-textarea-element">textarea</a></code>
   elements have a <i>direction</i>, which is either <i>forward</i>,
   <i>backward</i>, or <i>none</i>. This direction is set when the user
@@ -38307,7 +38313,9 @@
   must cause the contents of the text field to be fully selected, with
   the selection direction being none, if the platform support
   selections with the direction <i>none</i>, or otherwise
-  <i>forward</i>.</p>
+  <i>forward</i>. The user agent must then <a href="#queue-a-task">queue a task</a>
+  to <a href="#fire-a-simple-event">fire a simple event</a> that bubbles named <code title="event-select">select</code> at the element, using the
+  <a href="#user-interaction-task-source">user interaction task source</a> as the task source.</p>
 
 
   <p>The <dfn id="dom-textarea-input-selectionstart" title="dom-textarea/input-selectionStart"><code>selectionStart</code></dfn>
@@ -38370,7 +38378,10 @@
   <a href="#case-sensitive">case-sensitive</a> match for the string "<code title="">backward</code>", <i>forward</i> if <var title="">direction</var> is a <a href="#case-sensitive">case-sensitive</a> match for
   the string "<code title="">forward</code>" or if the platform does
   not support selections with the direction <i>none</i>, and
-  <i>none</i> otherwise (including if the argument is omitted).</p>
+  <i>none</i> otherwise (including if the argument is omitted). The
+  user agent must then <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a
+  simple event</a> that bubbles named <code title="event-select">select</code> at the element, using the
+  <a href="#user-interaction-task-source">user interaction task source</a> as the task source.</p>
 
 
   <p>All elements to which this API applies have either a selection or

Received on Wednesday, 4 May 2011 23:24:45 UTC