- From: poot <cvsmail@w3.org>
- Date: Tue, 10 Jan 2012 19:03:22 -0500
- To: public-html-diffs@w3.org
hixie: Make :valid and :invalid apply to <form> elements also. (whatwg
r6888)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5485&r2=1.5486&f=h
http://html5.org/tools/web-apps-tracker?from=6887&to=6888
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5485
retrieving revision 1.5486
diff -u -d -r1.5485 -r1.5486
--- Overview.html 10 Jan 2012 23:49:41 -0000 1.5485
+++ Overview.html 11 Jan 2012 00:00:50 -0000 1.5486
@@ -45083,12 +45083,19 @@
<dd>
<p>The <code title="selector-valid"><a href="#selector-valid">:valid</a></code> pseudo-class
- must match all elements that are <a href="#candidate-for-constraint-validation" title="candidate for
- constraint validation">candidates for constraint validation</a>
- and that <a href="#concept-fv-valid" title="concept-fv-valid">satisfy their
- constraints</a>.</p>
+ must match any element falling into one of the following
+ categories:</p>
- </dd>
+ <ul><li>elements that are <a href="#candidate-for-constraint-validation" title="candidate for constraint
+ validation">candidates for constraint validation</a> and that
+ <a href="#concept-fv-valid" title="concept-fv-valid">satisfy their
+ constraints</a></li>
+
+ <li><code><a href="#the-form-element">form</a></code> elements that are not the <a href="#form-owner">form
+ owner</a> of any elements that themselves are <a href="#category-submit" title="category-submit">submittable elements</a>, <a href="#candidate-for-constraint-validation" title="candidate for constraint validation">candidates for
+ constraint validation</a>, and do not <a href="#concept-fv-valid" title="concept-fv-valid">satisfy their constraints</a></li>
+
+ </ul></dd>
<dt><dfn id="selector-invalid" title="selector-invalid"><code>:invalid</code></dfn></dt>
@@ -45096,12 +45103,19 @@
<dd>
<p>The <code title="selector-invalid"><a href="#selector-invalid">:invalid</a></code> pseudo-class
- must match all elements that are <a href="#candidate-for-constraint-validation" title="candidate for
- constraint validation">candidates for constraint validation</a>
- but that do not <a href="#concept-fv-valid" title="concept-fv-valid">satisfy their
- constraints</a>.</p>
+ must match any element falling into one of the following
+ categories:</p>
- </dd>
+ <ul><li>elements that are <a href="#candidate-for-constraint-validation" title="candidate for constraint
+ validation">candidates for constraint validation</a> but that
+ do not <a href="#concept-fv-valid" title="concept-fv-valid">satisfy their
+ constraints</a>
+
+ <li><code><a href="#the-form-element">form</a></code> elements that are the <a href="#form-owner">form
+ owner</a> of one or more elements that themselves are <a href="#category-submit" title="category-submit">submittable elements</a>, <a href="#candidate-for-constraint-validation" title="candidate for constraint validation">candidates for
+ constraint validation</a>, and do not <a href="#concept-fv-valid" title="concept-fv-valid">satisfy their constraints</a></li>
+
+ </ul></dd>
<dt><dfn id="selector-in-range" title="selector-in-range"><code>:in-range</code></dfn></dt>
Received on Wednesday, 11 January 2012 00:05:33 UTC