- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 11 Jan 2012 00:00:54 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5559
Modified Files:
Overview.html
Log Message:
Make :valid and :invalid apply to <form> elements also. (whatwg r6888)
Index: Overview.html
===================================================================
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:02:57 UTC