- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 27 Jun 2011 23:02:05 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/selectors4
In directory hutz:/tmp/cvs-serv10325
Modified Files:
Overview.html Overview.src.html
Log Message:
Make :indeterminate normative
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Overview.html 27 Jun 2011 22:55:21 -0000 1.14
+++ Overview.html 27 Jun 2011 23:02:03 -0000 1.15
@@ -1935,18 +1935,24 @@
in which case the <code>:checked</code> pseudo-class would no longer
apply.
+ <div class=example>
+ <p>An unchecked checkbox can be selected by using the <code>:not()</code>
+ pseudo-class:
+
+ <pre>:not(:checked)</pre>
+
+ <pre>
+ </pre>
+ </div>
+
<h3 id=indeterminate><span class=secno>10.3. </span> The :indeterminate
pseudo-class</h3>
- <p>Radio and checkbox elements can be toggled by the user, but are
- sometimes in an indeterminate state, neither checked nor unchecked. This
- can be due to an element attribute, or DOM manipulation.
-
- <p>A future version of this specification may introduce an
- <code>:indeterminate</code> pseudo-class that applies to such elements.
- While the <code>:indeterminate</code> pseudo-class is dynamic in nature,
- and is altered by user action, since it can also be based on the presence
- of an element attribute, it applies to all media.
+ <p>Radio and checkbox elements can be toggled between checked and unchecked
+ states, but are sometimes in an indeterminate state, neither checked nor
+ unchecked. The <code>:indeterminate</code> pseudo-class applies to such
+ elements. Like the <code>:checked<code> pseudo-class, it applies to all
+ media.</code></code>
<p>Components of a radio-group initialized with no pre-selected choice are
an example of :indeterminate state.
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.src.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Overview.src.html 27 Jun 2011 22:55:22 -0000 1.16
+++ Overview.src.html 27 Jun 2011 23:02:03 -0000 1.17
@@ -1484,24 +1484,25 @@
elements in which case the <code>:checked</code> pseudo-class would no
longer apply.
+ <div class="example">
+ <p>An unchecked checkbox can be selected by using the <code>:not()</code>
+ pseudo-class:
+ <pre>:not(:checked)<pre>
+ </div>
+
<h3 id=indeterminate>
The :indeterminate pseudo-class</h3>
- <p>Radio and checkbox elements can be toggled by the user, but are
- sometimes in an indeterminate state, neither checked nor unchecked.
- This can be due to an element attribute, or DOM manipulation.</p>
-
- <p>A future version of this specification may introduce an
- <code>:indeterminate</code> pseudo-class that applies to such elements.
- While the <code>:indeterminate</code> pseudo-class is dynamic in
- nature, and is altered by user action, since it can also be based on
- the presence of an element attribute, it applies to all media.</p>
+ <p>Radio and checkbox elements can be toggled between checked and
+ unchecked states, but are sometimes in an indeterminate state,
+ neither checked nor unchecked.
+ The <code>:indeterminate</code> pseudo-class applies to such elements.
+ Like the <code>:checked<code> pseudo-class, it applies to all media.</p>
<p>Components of a radio-group initialized with no pre-selected choice
are an example of :indeterminate state.</p>
</div>
-
<h2 id=structural-pseudos>
Structural pseudo-classes</h2>
Received on Monday, 27 June 2011 23:02:10 UTC