- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 09 Jun 2011 00:47:33 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv15779
Modified Files:
common-input-element-attributes.html spec.html
the-button-element.html
Log Message:
Define what should happen to the text selection when a text field value is changed. (whatwg r6199)
[updated by splitter]
Index: common-input-element-attributes.html
===================================================================
RCS file: /sources/public/html5/spec/common-input-element-attributes.html,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- common-input-element-attributes.html 3 Jun 2011 00:48:17 -0000 1.48
+++ common-input-element-attributes.html 9 Jun 2011 00:47:18 -0000 1.49
@@ -1076,9 +1076,12 @@
<p>On getting, it must return the current <a href="association-of-controls-and-forms.html#concept-fe-value" title="concept-fe-value">value</a> of the element. On setting,
it must set the element's <a href="association-of-controls-and-forms.html#concept-fe-value" title="concept-fe-value">value</a> to the new value, set the
element's <a href="the-input-element.html#concept-input-value-dirty-flag" title="concept-input-value-dirty-flag">dirty value
- flag</a> to true, and then invoke the <a href="the-input-element.html#value-sanitization-algorithm">value sanitization
+ flag</a> to true, invoke the <a href="the-input-element.html#value-sanitization-algorithm">value sanitization
algorithm</a>, if the element's <code title="attr-input-type"><a href="the-input-element.html#attr-input-type">type</a></code> attribute's current state
- defines one.</p>
+ defines one, and then, if the element has a text entry cursor
+ position, should move the text entry cursor position to the end of
+ the text field, unselecting any selected text and resetting the
+ selection direction to <i>none</i>.</p>
</dd>
Index: the-button-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-button-element.html,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- the-button-element.html 3 Jun 2011 00:48:41 -0000 1.69
+++ the-button-element.html 9 Jun 2011 00:47:31 -0000 1.70
@@ -1470,7 +1470,10 @@
<p>The <dfn id="dom-textarea-value" title="dom-textarea-value"><code>value</code></dfn>
attribute must, on getting, return the element's <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw value</a>; on setting, it
must set the element's <a href="#concept-textarea-raw-value" title="concept-textarea-raw-value">raw
- value</a> to the new value.</p>
+ value</a> to the new value, and should then move the text entry
+ cursor position to the end of the text field, unselecting any
+ selected text and resetting the selection direction to
+ <i>none</i>.</p>
<p>The <dfn id="dom-textarea-textlength" title="dom-textarea-textLength"><code>textLength</code></dfn> IDL
attribute must return the <a href="common-microsyntaxes.html#code-point-length">code-point length</a> of the
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1520
retrieving revision 1.1521
diff -u -d -r1.1520 -r1.1521
--- spec.html 8 Jun 2011 22:46:57 -0000 1.1520
+++ spec.html 9 Jun 2011 00:47:31 -0000 1.1521
@@ -322,7 +322,7 @@
<h1>HTML5</h1>
<h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
- <h2 class="no-num no-toc" id="editor-s-draft-8-june-2011">Editor's Draft 8 June 2011</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-9-june-2011">Editor's Draft 9 June 2011</h2>
<dl><dt>Latest Published Version:</dt>
<dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
<dt>Latest Editor's Draft:</dt>
@@ -347,7 +347,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.4967.
+This is revision 1.4968.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2011 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -468,7 +468,7 @@
Group</a> is the W3C working group responsible for this
specification's progress along the W3C Recommendation
track.
- This specification is the 8 June 2011 Editor's Draft.
+ This specification is the 9 June 2011 Editor's Draft.
</p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
Received on Thursday, 9 June 2011 00:47:40 UTC