[html5] r3720 - [e] (0) Clarify some requirements regarding form validation APIs.

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 31 02:02:33 PDT 2009


Author: ianh
Date: 2009-08-31 02:02:32 -0700 (Mon, 31 Aug 2009)
New Revision: 3720

Modified:
   index
   source
Log:
[e] (0) Clarify some requirements regarding form validation APIs.

Modified: index
===================================================================
--- index	2009-08-31 08:46:09 UTC (rev 3719)
+++ index	2009-08-31 09:02:32 UTC (rev 3720)
@@ -33895,7 +33895,8 @@
   its <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in a
   state whose definition declares that the attribute applies. When an
   attribute doesn't apply to an <code><a href=#the-input-element>input</a></code> element, user
-  agents must <a href=#ignore>ignore</a> the attribute.</p>
+  agents must <a href=#ignore>ignore</a> the attribute, regardless of the
+  requirements and definitions below.</p>
 
   </div>
 
@@ -37017,7 +37018,8 @@
   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 with a validity
-  constraint problem. If the element is <a href=#suffering-from-a-custom-error>suffering from a custom
+  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>
 

Modified: source
===================================================================
--- source	2009-08-31 08:46:09 UTC (rev 3719)
+++ source	2009-08-31 09:02:32 UTC (rev 3720)
@@ -37765,7 +37765,8 @@
   its <code title="attr-input-type">type</code> attribute is in a
   state whose definition declares that the attribute applies. When an
   attribute doesn't apply to an <code>input</code> element, user
-  agents must <span>ignore</span> the attribute.</p>
+  agents must <span>ignore</span> the attribute, regardless of the
+  requirements and definitions below.</p>
 
   </div>
 
@@ -41565,7 +41566,8 @@
   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 with a validity
-  constraint problem. If the element is <span>suffering from a custom
+  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>
 




More information about the Commit-Watchers mailing list