Skip to content

Commit

Permalink
[] (0) Clarify whether the APIs for the text field selections operate…
Browse files Browse the repository at this point in the history
… on the 'value' or the 'raw value' for <textarea> elements.

git-svn-id: http://svn.whatwg.org/webapps@5739 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 5, 2011
1 parent f256378 commit ddc5009
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
7 changes: 6 additions & 1 deletion complete.html
Expand Up @@ -221,7 +221,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 4 January 2011</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 5 January 2011</h2>
</hgroup><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>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -47312,6 +47312,11 @@ <h4 id=textFieldSelection><span class=secno>4.10.20 </span>APIs for the text fie
an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. Otherwise, they must
act as described below.</p>

<p>For <code><a href=#the-input-element>input</a></code> elements, these methods and attributes
must operate on the element's <a href=#concept-fe-value title=concept-fe-value>value</a>. For <code><a href=#the-textarea-element>textarea</a></code>
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>The <dfn id=dom-textarea/input-select title=dom-textarea/input-select><code>select()</code></dfn> method
must cause the contents of the text field to be fully selected.</p>

Expand Down
7 changes: 6 additions & 1 deletion index
Expand Up @@ -225,7 +225,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 4 January 2011</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 5 January 2011</h2>
</hgroup><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>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -47294,6 +47294,11 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. Otherwise, they must
act as described below.</p>

<p>For <code><a href=#the-input-element>input</a></code> elements, these methods and attributes
must operate on the element's <a href=#concept-fe-value title=concept-fe-value>value</a>. For <code><a href=#the-textarea-element>textarea</a></code>
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>The <dfn id=dom-textarea/input-select title=dom-textarea/input-select><code>select()</code></dfn> method
must cause the contents of the text field to be fully selected.</p>

Expand Down
6 changes: 6 additions & 0 deletions source
Expand Up @@ -53105,6 +53105,12 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
an <code>INVALID_STATE_ERR</code> exception. Otherwise, they must
act as described below.</p>

<p>For <code>input</code> elements, these methods and attributes
must operate on the element's <span
title="concept-fe-value">value</span>. For <code>textarea</code>
elements, these methods and attributes must operate on the element's
<span title="concept-textarea-raw-value">raw value</span>.</p>

<p>The <dfn
title="dom-textarea/input-select"><code>select()</code></dfn> method
must cause the contents of the text field to be fully selected.</p>
Expand Down

0 comments on commit ddc5009

Please sign in to comment.