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

html5/spec Overview.html,1.3995,1.3996

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 05 Apr 2010 22:52:28 +0000
To: public-html-commits@w3.org
Message-Id: <E1Nyv9g-00064w-Hd@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv23352

Modified Files:
	Overview.html 
Log Message:
Clarify that the validityMessage must be synthesised if necessary. (whatwg r4973)

Index: Overview.html
===================================================================
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:52:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 April 2010 22:52:31 GMT