[html5] r4973 - [e] (0) Clarify that the validityMessage must be synthesised if necessary.
whatwg at whatwg.org
whatwg at whatwg.org
Mon Apr 5 15:52:21 PDT 2010
Author: ianh
Date: 2010-04-05 15:52:20 -0700 (Mon, 05 Apr 2010)
New Revision: 4973
Modified:
complete.html
index
source
Log:
[e] (0) Clarify that the validityMessage must be synthesised if necessary.
Modified: complete.html
===================================================================
--- complete.html 2010-04-05 22:22:27 UTC (rev 4972)
+++ complete.html 2010-04-05 22:52:20 UTC (rev 4973)
@@ -41464,10 +41464,15 @@
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>
Modified: index
===================================================================
--- index 2010-04-05 22:22:27 UTC (rev 4972)
+++ index 2010-04-05 22:52:20 UTC (rev 4973)
@@ -41365,10 +41365,15 @@
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>
Modified: source
===================================================================
--- source 2010-04-05 22:22:27 UTC (rev 4972)
+++ source 2010-04-05 22:52:20 UTC (rev 4973)
@@ -46213,10 +46213,15 @@
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>
More information about the Commit-Watchers
mailing list