html5/spec Overview.html,1.4936,1.4937

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv650

Modified Files:
	Overview.html 
Log Message:
Attempt to solve the maxlength vs tooLong problem (whatwg r6138)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4936
retrieving revision 1.4937
diff -u -d -r1.4936 -r1.4937
--- Overview.html	13 May 2011 05:54:02 -0000	1.4936
+++ Overview.html	13 May 2011 21:02:57 -0000	1.4937
@@ -38332,7 +38332,7 @@
    the document was loaded.</p>
    <pre>&lt;input maxlength="256" name="q" value="" autofocus&gt;
 &lt;input type="submit" value="Search"&gt;</pre>
-  </div><h5 id="limiting-user-input-length"><span class="secno">4.10.19.5 </span>Limiting user input length</h5><p>A <dfn id="attr-fe-maxlength" title="attr-fe-maxlength">form control <code title="">maxlength</code> attribute</dfn>, controlled by a <var title="">dirty value flag</var> declares a limit on the number of
+  </div><h5 id="limiting-user-input-length"><span class="secno">4.10.19.5 </span>Limiting user input length</h5><p>A <dfn id="attr-fe-maxlength" title="attr-fe-maxlength">form control <code title="">maxlength</code> attribute</dfn>, controlled by a <var title="">dirty value flag</var>, declares a limit on the number of
   characters a user can input.<p>If an element has its <a href="#attr-fe-maxlength" title="attr-fe-maxlength">form
   control <code title="">maxlength</code> attribute</a> specified,
   the attribute's value must be a <a href="#valid-non-negative-integer">valid non-negative
@@ -38344,8 +38344,10 @@
   allowed value length</a>.<div class="impl">
 
   <p><strong>Constraint validation</strong>: If an element has a
-  <a href="#maximum-allowed-value-length">maximum allowed value length</a>, and its <var title="">dirty value flag</var> is true, and the <a href="#code-point-length">code-point
-  length</a> of the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> is greater than the element's
+  <a href="#maximum-allowed-value-length">maximum allowed value length</a>, its <var title="">dirty
+  value flag</var> is true, its <a href="#concept-fe-value" title="concept-fe-value">value</a> was last changed by a user
+  edit (as opposed to a change made by a script), and the
+  <a href="#code-point-length">code-point length</a> of the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> is greater than the element's
   <a href="#maximum-allowed-value-length">maximum allowed value length</a>, then the element is
   <a href="#suffering-from-being-too-long">suffering from being too long</a>.</p>
 

Received on Friday, 13 May 2011 21:03:07 UTC