[html5] r3819 - [e] (0) maxlength='' example
whatwg at whatwg.org
whatwg at whatwg.org
Sun Sep 13 00:40:09 PDT 2009
Author: ianh
Date: 2009-09-13 00:40:08 -0700 (Sun, 13 Sep 2009)
New Revision: 3819
Modified:
index
source
Log:
[e] (0) maxlength='' example
Modified: index
===================================================================
--- index 2009-09-13 07:36:52 UTC (rev 3818)
+++ index 2009-09-13 07:40:08 UTC (rev 3819)
@@ -34926,8 +34926,19 @@
attribute must be equal to or less than the element's <a href=#maximum-allowed-value-length>maximum
allowed value length</a>.</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? <input name=status maxlength=140></pre>
+
+ </div>
+
+
+
<h6 id=the-pattern-attribute><span class=secno>4.10.4.2.8 </span>The <code title=attr-input-pattern><a href=#attr-input-pattern>pattern</a></code> attribute</h6>
<p>The <dfn id=attr-input-pattern title=attr-input-pattern><code>pattern</code></dfn>
Modified: source
===================================================================
--- source 2009-09-13 07:36:52 UTC (rev 3818)
+++ source 2009-09-13 07:40:08 UTC (rev 3819)
@@ -38832,8 +38832,19 @@
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? <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>
More information about the Commit-Watchers
mailing list