- From: poot <cvsmail@w3.org>
- Date: Sun, 13 Sep 2009 16:35:22 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: maxlength='' example (whatwg r3819) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2987&r2=1.2988&f=h http://html5.org/tools/web-apps-tracker?from=3818&to=3819 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2987 retrieving revision 1.2988 diff -u -d -r1.2987 -r1.2988 --- Overview.html 13 Sep 2009 07:31:48 -0000 1.2987 +++ Overview.html 13 Sep 2009 07:35:03 -0000 1.2988 @@ -31021,7 +31021,16 @@ value length</a>, then the <a href="#code-point-length">code-point length</a> of the value of the element's <code title="attr-input-value"><a href="#attr-input-value">value</a></code> attribute must be equal to or less than the element's <a href="#maximum-allowed-value-length">maximum - allowed value length</a>.<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 class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-input-pattern" title="attr-input-pattern"><code>pattern</code></dfn> + allowed value length</a>.<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 class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-input-pattern" title="attr-input-pattern"><code>pattern</code></dfn> attribute specifies a regular expression against which the control's <a href="#concept-fe-value" title="concept-fe-value">value</a> is to be checked.<p>If specified, the attribute's value must match the JavaScript <i title="">Pattern</i> production. <a href="#refsECMA262">[ECMA262]</a><div class="impl">
Received on Sunday, 13 September 2009 07:35:58 UTC