W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/spec Overview.html,1.4874,1.4875

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 04 May 2011 23:21:40 +0000
To: public-html-commits@w3.org
Message-Id: <E1QHlO0-0004S8-74@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv17100

Modified Files:
	Overview.html 
Log Message:
Spec the 'select' event. (whatwg r6070)

Index: Overview.html
===================================================================
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:21:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 4 May 2011 23:21:42 GMT