HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/6138

SVNBugCommentTime (UTC)
6138[Gecko] [Internet Explorer] [Opera] [Webkit] Attempt to solve the maxlength vs tooLong problem2011-05-13 21:02
Index: source
===================================================================
--- source	(revision 6137)
+++ source	(revision 6138)
@@ -56508,7 +56508,7 @@
 
   <p>A <dfn 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
+  title="">dirty value flag</var>, declares a limit on the number of
   characters a user can input.</p>
 
   <p>If an element has its <span title="attr-fe-maxlength">form
@@ -56524,9 +56524,11 @@
   <div class="impl">
 
   <p><strong>Constraint validation</strong>: If an element has a
-  <span>maximum allowed value length</span>, and its <var
-  title="">dirty value flag</var> is true, and the <span>code-point
-  length</span> of the element's <span
+  <span>maximum allowed value length</span>, its <var title="">dirty
+  value flag</var> is true, its <span
+  title="concept-fe-value">value</span> was last changed by a user
+  edit (as opposed to a change made by a script), and the
+  <span>code-point length</span> of the element's <span
   title="concept-fe-value">value</span> is greater than the element's
   <span>maximum allowed value length</span>, then the element is
   <span>suffering from being too long</span>.</p>

|