HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/6888

File a bug

SVNBugCommentTime (UTC)
6888[Gecko] [Internet Explorer] [Opera] [Webkit] Make :valid and :invalid apply to <form> elements also.2012-01-11 00:00
Index: source
===================================================================
--- source	(revision 6887)
+++ source	(revision 6888)
@@ -65787,11 +65787,25 @@
    <dd>
 
     <p>The <code title="selector-valid">:valid</code> pseudo-class
-    must match all elements that are <span title="candidate for
-    constraint validation">candidates for constraint validation</span>
-    and that <span title="concept-fv-valid">satisfy their
-    constraints</span>.</p>
+    must match any element falling into one of the following
+    categories:</p>
 
+    <ul>
+
+     <li>elements that are <span title="candidate for constraint
+     validation">candidates for constraint validation</span> and that
+     <span title="concept-fv-valid">satisfy their
+     constraints</span></li>
+
+     <li><code>form</code> elements that are not the <span>form
+     owner</span> of any elements that themselves are <span
+     title="category-submit">submittable elements</span>, <span
+     title="candidate for constraint validation">candidates for
+     constraint validation</span>, and do not <span
+     title="concept-fv-valid">satisfy their constraints</span></li>
+
+    </ul>
+
    </dd>
 
 
@@ -65800,11 +65814,25 @@
    <dd>
 
     <p>The <code title="selector-invalid">:invalid</code> pseudo-class
-    must match all elements that are <span title="candidate for
-    constraint validation">candidates for constraint validation</span>
-    but that do not <span title="concept-fv-valid">satisfy their
-    constraints</span>.</p>
+    must match any element falling into one of the following
+    categories:</p>
 
+    <ul>
+
+     <li>elements that are <span title="candidate for constraint
+     validation">candidates for constraint validation</span> but that
+     do not <span title="concept-fv-valid">satisfy their
+     constraints</span></p>
+
+     <li><code>form</code> elements that are the <span>form
+     owner</span> of one or more elements that themselves are <span
+     title="category-submit">submittable elements</span>, <span
+     title="candidate for constraint validation">candidates for
+     constraint validation</span>, and do not <span
+     title="concept-fv-valid">satisfy their constraints</span></li>
+
+    </ul>
+
    </dd>
 
 

|