Skip to content

Commit

Permalink
[e] (0) Clarify that the validityMessage must be synthesised if neces…
Browse files Browse the repository at this point in the history
…sary.

git-svn-id: http://svn.whatwg.org/webapps@4973 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 5, 2010
1 parent 3f26430 commit 464870f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
13 changes: 9 additions & 4 deletions complete.html
Expand Up @@ -41464,10 +41464,15 @@ <h5 id=the-constraint-validation-api><span class=secno>4.10.20.3 </span>The <dfn
it <a href=#concept-fv-valid title=concept-fv-valid>satisfies its constraints</a>;
otherwise, it must return a suitably localized message that the user
agent would show the user if this were the only form control with a
validity constraint problem. If the element is a <a href=#candidate-for-constraint-validation>candidate for
constraint validation</a> and is <a href=#suffering-from-a-custom-error>suffering from a custom
error</a>, then the <a href=#custom-validity-error-message>custom validity error message</a>
should be present in the return value.</p>
validity constraint problem. If the user agent would not actually
show a textual message in such a situation (e.g. it would show a
graphical cue instead), then the attribute must return a suitably
localized message that expresses (one or more of) the validity
constraint(s) that the control does not satisfy. If the element is a
<a href=#candidate-for-constraint-validation>candidate for constraint validation</a> and is
<a href=#suffering-from-a-custom-error>suffering from a custom error</a>, then the <a href=#custom-validity-error-message>custom
validity error message</a> should be present in the return
value.</p>

</div>

Expand Down
13 changes: 9 additions & 4 deletions index
Expand Up @@ -41365,10 +41365,15 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
it <a href=#concept-fv-valid title=concept-fv-valid>satisfies its constraints</a>;
otherwise, it must return a suitably localized message that the user
agent would show the user if this were the only form control with a
validity constraint problem. If the element is a <a href=#candidate-for-constraint-validation>candidate for
constraint validation</a> and is <a href=#suffering-from-a-custom-error>suffering from a custom
error</a>, then the <a href=#custom-validity-error-message>custom validity error message</a>
should be present in the return value.</p>
validity constraint problem. If the user agent would not actually
show a textual message in such a situation (e.g. it would show a
graphical cue instead), then the attribute must return a suitably
localized message that expresses (one or more of) the validity
constraint(s) that the control does not satisfy. If the element is a
<a href=#candidate-for-constraint-validation>candidate for constraint validation</a> and is
<a href=#suffering-from-a-custom-error>suffering from a custom error</a>, then the <a href=#custom-validity-error-message>custom
validity error message</a> should be present in the return
value.</p>

</div>

Expand Down
13 changes: 9 additions & 4 deletions source
Expand Up @@ -46213,10 +46213,15 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
it <span title="concept-fv-valid">satisfies its constraints</span>;
otherwise, it must return a suitably localized message that the user
agent would show the user if this were the only form control with a
validity constraint problem. If the element is a <span>candidate for
constraint validation</span> and is <span>suffering from a custom
error</span>, then the <span>custom validity error message</span>
should be present in the return value.</p>
validity constraint problem. If the user agent would not actually
show a textual message in such a situation (e.g. it would show a
graphical cue instead), then the attribute must return a suitably
localized message that expresses (one or more of) the validity
constraint(s) that the control does not satisfy. If the element is a
<span>candidate for constraint validation</span> and is
<span>suffering from a custom error</span>, then the <span>custom
validity error message</span> should be present in the return
value.</p>

</div>

Expand Down

0 comments on commit 464870f

Please sign in to comment.