Skip to content

Commit

Permalink
[e] (0) Fix an error in the minlength description
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=27070
Affected topics: HTML

git-svn-id: https://svn.whatwg.org/webapps@8855 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 20, 2014
1 parent ff07c6d commit d69c128
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions complete.html
Expand Up @@ -40122,12 +40122,12 @@ <h5 id=setting-minimum-input-length-requirements:-the-minlength-attribute>4.10.1
characters a user can input.</p>

<p class=note>The <code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-2><a href=#attr-fe-minlength>minlength</a></code> attribute does not imply the
<code>required</code> attribute. If the form control has no <code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-3><a href=#attr-fe-minlength>minlength</a></code> attribute, then the value can still be omitted; the
<code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-4><a href=#attr-fe-minlength>minlength</a></code> attribute only kicks in once the user has entered
<code>required</code> attribute. If the form control has no <code>required</code> attribute, then the value can still be omitted; the
<code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-3><a href=#attr-fe-minlength>minlength</a></code> attribute only kicks in once the user has entered
a value at all. If the empty string is not allowed, then the <code>required</code>
attribute also needs to be set.</p>

<p>If an element has its <a href=#attr-fe-minlength id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-5>form control <code>minlength</code> attribute</a> specified, the attribute's value must be a <a href=#valid-non-negative-integer id=setting-minimum-input-length-requirements:-the-minlength-attribute:valid-non-negative-integer>valid
<p>If an element has its <a href=#attr-fe-minlength id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-4>form control <code>minlength</code> attribute</a> specified, the attribute's value must be a <a href=#valid-non-negative-integer id=setting-minimum-input-length-requirements:-the-minlength-attribute:valid-non-negative-integer>valid
non-negative integer</a>. If the attribute is specified and applying the <a href=#rules-for-parsing-non-negative-integers id=setting-minimum-input-length-requirements:-the-minlength-attribute:rules-for-parsing-non-negative-integers>rules for
parsing non-negative integers</a> to its value results in a number, then that number is the
element's <dfn id=minimum-allowed-value-length>minimum allowed value length</dfn>. If the attribute is omitted or parsing its
Expand Down
6 changes: 3 additions & 3 deletions index
Expand Up @@ -40122,12 +40122,12 @@ out of 233 257 824 bytes available&lt;/meter>&lt;/p></pre>
characters a user can input.</p>

<p class=note>The <code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-2><a href=#attr-fe-minlength>minlength</a></code> attribute does not imply the
<code>required</code> attribute. If the form control has no <code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-3><a href=#attr-fe-minlength>minlength</a></code> attribute, then the value can still be omitted; the
<code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-4><a href=#attr-fe-minlength>minlength</a></code> attribute only kicks in once the user has entered
<code>required</code> attribute. If the form control has no <code>required</code> attribute, then the value can still be omitted; the
<code id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-3><a href=#attr-fe-minlength>minlength</a></code> attribute only kicks in once the user has entered
a value at all. If the empty string is not allowed, then the <code>required</code>
attribute also needs to be set.</p>

<p>If an element has its <a href=#attr-fe-minlength id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-5>form control <code>minlength</code> attribute</a> specified, the attribute's value must be a <a href=#valid-non-negative-integer id=setting-minimum-input-length-requirements:-the-minlength-attribute:valid-non-negative-integer>valid
<p>If an element has its <a href=#attr-fe-minlength id=setting-minimum-input-length-requirements:-the-minlength-attribute:attr-fe-minlength-4>form control <code>minlength</code> attribute</a> specified, the attribute's value must be a <a href=#valid-non-negative-integer id=setting-minimum-input-length-requirements:-the-minlength-attribute:valid-non-negative-integer>valid
non-negative integer</a>. If the attribute is specified and applying the <a href=#rules-for-parsing-non-negative-integers id=setting-minimum-input-length-requirements:-the-minlength-attribute:rules-for-parsing-non-negative-integers>rules for
parsing non-negative integers</a> to its value results in a number, then that number is the
element's <dfn id=minimum-allowed-value-length>minimum allowed value length</dfn>. If the attribute is omitted or parsing its
Expand Down
2 changes: 1 addition & 1 deletion source
Expand Up @@ -51445,7 +51445,7 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>

<p class="note">The <code data-x="attr-fe-minlength">minlength</code> attribute does not imply the
<code data-x="">required</code> attribute. If the form control has no <code
data-x="attr-fe-minlength">minlength</code> attribute, then the value can still be omitted; the
data-x="">required</code> attribute, then the value can still be omitted; the
<code data-x="attr-fe-minlength">minlength</code> attribute only kicks in once the user has entered
a value at all. If the empty string is not allowed, then the <code data-x="">required</code>
attribute also needs to be set.</p>
Expand Down

0 comments on commit d69c128

Please sign in to comment.