W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2010

hixie: Clarify that the validityMessage must be synthesised if necessary. (whatwg r4973)

From: poot <cvsmail@w3.org>
Date: Tue, 6 Apr 2010 07:52:38 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100405225238.E03592BC32@toro.w3.mag.keio.ac.jp>
hixie: Clarify that the validityMessage must be synthesised if
necessary. (whatwg r4973)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3995&r2=1.3996&f=h
http://html5.org/tools/web-apps-tracker?from=4972&to=4973

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3995
retrieving revision 1.3996
diff -u -d -r1.3995 -r1.3996
--- Overview.html	5 Apr 2010 22:22:31 -0000	1.3995
+++ Overview.html	5 Apr 2010 22:52:24 -0000	1.3996
@@ -33701,10 +33701,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><h5 id="security-forms"><span class="secno">4.10.20.4 </span>Security</h5><p id="security-0">Servers should not rely on client-side
   validation. Client-side validation can be intentionally bypassed by
Received on Monday, 5 April 2010 22:53:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT