HTML Standard Tracker


File a bug

SVNBugCommentTime (UTC)
3819maxlength='' example2009-09-13 07:40
@@ -38825,20 +38825,31 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
   controlled by the <code>input</code> element's <span
   title="concept-input-value-dirty-flag">dirty value
   <p>If the <code>input</code> element has a <span>maximum allowed
   value length</span>, then the <span>code-point length</span> of the
   value of the element's <code title="attr-input-value">value</code>
   attribute must be equal to or less than the element's <span>maximum
   allowed value length</span>.</p>
+  <div class="example">
+   <p>The following extract shows how a messaging client's text entry
+   could be arbitrarily restricted to a fixed number of characters,
+   thus forcing any conversion through this medium to be terse and
+   discouraging intelligent discourse.</p>
+   <pre>What are you doing? &lt;input name=status maxlength=140></pre>
+  </div>
   <h6>The <code title="attr-input-pattern">pattern</code> attribute</h6>
   <p>The <dfn title="attr-input-pattern"><code>pattern</code></dfn>
   attribute specifies a regular expression against which the control's
   <span title="concept-fe-value">value</span> is to be checked.</p>
   <p>If specified, the attribute's value must match the JavaScript <i
   title="">Pattern</i> production. <a