Skip to content

Commit

Permalink
[e] (0) Include an example of changing the value of a text field. Mak…
Browse files Browse the repository at this point in the history
…e terminology consistent.

git-svn-id: http://svn.whatwg.org/webapps@2394 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 12, 2008
1 parent 50e6ae6 commit 224272d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
17 changes: 12 additions & 5 deletions index
Expand Up @@ -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-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 11 November 2008</h2>
<h2 class="no-num no-toc" id=draft-recommendation-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 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>
Expand Down Expand Up @@ -26642,6 +26642,13 @@ You cannot complete this form until the field is correct.</samp></pre>
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
Expand Down Expand Up @@ -28012,10 +28019,10 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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>

Expand Down
17 changes: 13 additions & 4 deletions source
Expand Up @@ -29909,6 +29909,14 @@ You cannot complete this form until the field is correct.</samp></pre>
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>
Expand Down Expand Up @@ -31618,10 +31626,11 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
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>

Expand Down

0 comments on commit 224272d

Please sign in to comment.