Skip to content

Commit

Permalink
[e] (0) maxlength='' example
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3819 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 13, 2009
1 parent 47deceb commit 52d14e3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index
Expand Up @@ -34926,6 +34926,17 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
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? &lt;input name=status maxlength=140&gt;</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>
Expand Down
11 changes: 11 additions & 0 deletions source
Expand Up @@ -38832,6 +38832,17 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
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>
Expand Down

0 comments on commit 52d14e3

Please sign in to comment.