[html5] r6138 - [giow] (1) Attempt to solve the maxlength vs tooLong problem

whatwg at whatwg.org whatwg at whatwg.org
Fri May 13 14:02:52 PDT 2011


Author: ianh
Date: 2011-05-13 14:02:50 -0700 (Fri, 13 May 2011)
New Revision: 6138

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Attempt to solve the maxlength vs tooLong problem

Modified: complete.html
===================================================================
--- complete.html	2011-05-13 20:45:28 UTC (rev 6137)
+++ complete.html	2011-05-13 21:02:50 UTC (rev 6138)
@@ -50188,7 +50188,7 @@
 
   <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
+  <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>
 
   <p>If an element has its <a href=#attr-fe-maxlength title=attr-fe-maxlength>form
@@ -50204,8 +50204,10 @@
   <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>
 

Modified: index
===================================================================
--- index	2011-05-13 20:45:28 UTC (rev 6137)
+++ index	2011-05-13 21:02:50 UTC (rev 6138)
@@ -50208,7 +50208,7 @@
 
   <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
+  <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>
 
   <p>If an element has its <a href=#attr-fe-maxlength title=attr-fe-maxlength>form
@@ -50224,8 +50224,10 @@
   <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>
 

Modified: source
===================================================================
--- source	2011-05-13 20:45:28 UTC (rev 6137)
+++ source	2011-05-13 21:02:50 UTC (rev 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>




More information about the Commit-Watchers mailing list