- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 13 May 2011 21:47:01 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv5055 Modified Files: association-of-controls-and-forms.html spec.html Log Message: Attempt to solve the maxlength vs tooLong problem (whatwg r6138) [updated by splitter] Index: association-of-controls-and-forms.html =================================================================== RCS file: /sources/public/html5/spec/association-of-controls-and-forms.html,v retrieving revision 1.81 retrieving revision 1.82 diff -u -d -r1.81 -r1.82 --- association-of-controls-and-forms.html 12 May 2011 06:46:46 -0000 1.81 +++ association-of-controls-and-forms.html 13 May 2011 21:46:59 -0000 1.82 @@ -631,7 +631,7 @@ the document was loaded.</p> <pre><input maxlength="256" name="q" value="" autofocus> <input type="submit" value="Search"></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><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="common-microsyntaxes.html#valid-non-negative-integer">valid non-negative @@ -643,8 +643,10 @@ allowed value length</a>.</p><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="common-microsyntaxes.html#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="common-microsyntaxes.html#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> Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1496 retrieving revision 1.1497 diff -u -d -r1.1496 -r1.1497 --- spec.html 13 May 2011 06:46:51 -0000 1.1496 +++ spec.html 13 May 2011 21:46:59 -0000 1.1497 @@ -384,7 +384,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.4936. +This is revision 1.4937. </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
Received on Friday, 13 May 2011 21:47:03 UTC