[html5] r2394 - [e] (0) Include an example of changing the value of a text field. Make terminolo [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Nov 11 16:22:33 PST 2008


Author: ianh
Date: 2008-11-11 16:22:33 -0800 (Tue, 11 Nov 2008)
New Revision: 2394

Modified:
   index
   source
Log:
[e] (0) Include an example of changing the value of a text field. Make terminology consistent.

Modified: index
===================================================================
--- index	2008-11-11 22:46:06 UTC (rev 2393)
+++ index	2008-11-12 00:22:33 UTC (rev 2394)
@@ -16,7 +16,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 11 November 2008</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 12 November 2008</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -26642,6 +26642,13 @@
   to have not hit a key for 100ms, so as to only fire the event when
   the user pauses, instead of continuously for each keystroke.</p>
 
+  <p class=example>Examples of a user changing the element's <a href=#concept-fe-value title=concept-fe-value>value</a> would include the user typing
+  into a text field, pasting a new value into the field, or undoing an
+  edit in that field. Some user interactions do not cause changes to
+  the value, e.g. hitting the "delete" key in an empty text field, or
+  replacing some text in the field with text from the clipboard that
+  happens to be exactly the same text.</p>
+
   <p>When the <dfn id=event-input-change title=event-input-change><code>change</code></dfn> event applies,
   if the element does not have an <a href=#activation-behavior>activation behavior</a>
   defined but uses a user interface that involves an explicit commit
@@ -28012,10 +28019,10 @@
    the user's attention. User agents may report more than one
    constraint violation. User agents may coalesce related constraint
    violation reports if appropriate (e.g. if multiple radio buttons in
-   a set are marked as required, only one error need be reported). If
-   one of the controls is not visible to the user (e.g. it has the
-   <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute set) then user
-   agents may report a script error.</li>
+   a <a href=#radio-button-group title="radio button group">group</a> are marked as
+   required, only one error need be reported). If one of the controls
+   is not visible to the user (e.g. it has the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute set) then user agents
+   may report a script error.</li>
 
    <li><p>Return a <i>negative</i> result.</li>
 

Modified: source
===================================================================
--- source	2008-11-11 22:46:06 UTC (rev 2393)
+++ source	2008-11-12 00:22:33 UTC (rev 2394)
@@ -29909,6 +29909,14 @@
   to have not hit a key for 100ms, so as to only fire the event when
   the user pauses, instead of continuously for each keystroke.</p>
 
+  <p class="example">Examples of a user changing the element's <span
+  title="concept-fe-value">value</span> would include the user typing
+  into a text field, pasting a new value into the field, or undoing an
+  edit in that field. Some user interactions do not cause changes to
+  the value, e.g. hitting the "delete" key in an empty text field, or
+  replacing some text in the field with text from the clipboard that
+  happens to be exactly the same text.</p>
+
   <p>When the <dfn
   title="event-input-change"><code>change</code></dfn> event applies,
   if the element does not have an <span>activation behavior</span>
@@ -31618,10 +31626,11 @@
    the user's attention. User agents may report more than one
    constraint violation. User agents may coalesce related constraint
    violation reports if appropriate (e.g. if multiple radio buttons in
-   a set are marked as required, only one error need be reported). If
-   one of the controls is not visible to the user (e.g. it has the
-   <code title="attr-hidden">hidden</code> attribute set) then user
-   agents may report a script error.</p></li>
+   a <span title="radio button group">group</span> are marked as
+   required, only one error need be reported). If one of the controls
+   is not visible to the user (e.g. it has the <code
+   title="attr-hidden">hidden</code> attribute set) then user agents
+   may report a script error.</p></li>
 
    <li><p>Return a <i>negative</i> result.</p></li>
 




More information about the Commit-Watchers mailing list