- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 28 Feb 2012 23:04:29 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/selectors4
In directory hutz:/tmp/cvs-serv29388
Modified Files:
Overview.html Overview.src.html
Log Message:
Note that type selectors are what everyone thinks of as tag name selectors
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.html,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- Overview.html 23 Jan 2012 22:31:32 -0000 1.64
+++ Overview.html 28 Feb 2012 23:04:27 -0000 1.65
@@ -19,13 +19,13 @@
<h1 id=title>Selectors Level 4</h1>
- <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 January
+ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 28 February
2012</h2>
<dl>
<dt>This version: <!--
- <dd><a href="http://www.w3.org/TR/2012/ED-selectors4-20120123/">
- http://www.w3.org/TR/2012/WD-selectors4-20120123/</a>
+ <dd><a href="http://www.w3.org/TR/2012/ED-selectors4-20120228/">
+ http://www.w3.org/TR/2012/WD-selectors4-20120228/</a>
<dt>Editor's draft:
-->
@@ -92,13 +92,13 @@
<h2 class="no-num no-toc" id=abstract> Abstract</h2>
- <p><em>Selectors</em> are patterns that match against elements in a tree,
- and as such form one of several technologies that can be used to select
- nodes in an XML document. Selectors have been optimized for use with HTML
- and XML, and are designed to be usable in performance-critical code. They
- are a core component of <abbr title="Cascading Style Sheets">CSS</abbr>
- (Cascading Style Sheets), which uses Selectors to bind style properties to
- elements in the document.
+ <p><a href="#selector"><em>Selectors</em></a> are patterns that match
+ against elements in a tree, and as such form one of several technologies
+ that can be used to select nodes in an XML document. Selectors have been
+ optimized for use with HTML and XML, and are designed to be usable in
+ performance-critical code. They are a core component of <abbr
+ title="Cascading Style Sheets">CSS</abbr> (Cascading Style Sheets), which
+ uses Selectors to bind style properties to elements in the document.
<p>Selectors Level 4 describes the selectors that already exist in <a
href="#SELECT" rel=biblioentry>[SELECT]<!--{{!SELECT}}--></a>, and further
@@ -201,8 +201,8 @@
<li><a href="#elemental-selectors"><span class=secno>5. </span> Elemental
selectors</a>
<ul class=toc>
- <li><a href="#type-selectors"><span class=secno>5.1. </span> Type
- selector</a>
+ <li><a href="#type-selectors"><span class=secno>5.1. </span> Type (tag
+ name) selector</a>
<ul class=toc>
<li><a href="#typenmsp"><span class=secno>5.1.1. </span> Type
selectors and namespaces</a>
@@ -552,7 +552,7 @@
<td>an element of type E
- <td><a href="#type-selectors">Type selector</a>
+ <td><a href="#type-selectors">Type (tag name) selector</a>
<td>1
@@ -1483,7 +1483,8 @@
<h2 id=elemental-selectors><span class=secno>5. </span> Elemental selectors</h2>
- <h3 id=type-selectors><span class=secno>5.1. </span> Type selector</h3>
+ <h3 id=type-selectors><span class=secno>5.1. </span> Type (tag name)
+ selector</h3>
<p>A <dfn id=type-selector>type selector</dfn> is the name of a document
language element type written using the syntax of <a
@@ -2235,6 +2236,9 @@
<h3 id=scope-pseudo><span class=secno>7.5. </span> The contextual reference
element pseudo-class ‘<code class=css>:scope</code>’</h3>
+ <p class=issue>Should this be renamed to <code>:context</code>, since it's
+ referencing a <em>context</em>ual reference element?
+
<p>The <code>:scope</code> pseudo-class represents any element that is in
the <a href="#contextual-reference-element-set"><i>contextual reference
element set</i></a>. If no contextual reference element set is given,
@@ -2301,6 +2305,31 @@
not underneath the pointing device.
<p>The <code>:hover</code> pseudo-class can apply to any pseudo-element.
+ <!--
+<h3 id="hover-pseudo">
+The pointer hover pseudo-class '':drop-zone''</h3>
+
+ <p>The <code>:drop-zone</code> pseudo-class applies while the user
+ is ”dragging“ or otherwise conceptually carrying an item
+ for which the element is a valid drop target.
+ User agents not that do not support <a
+ href="http://www.w3.org/TR/CSS21/media.html#interactive-media-group">interactive
+ media</a> do not have to support this pseudo-class. Some conforming
+ user agents that support <a
+ href="http://www.w3.org/TR/CSS21/media.html#interactive-media-group">interactive
+ media</a> may not be able to support this pseudo-class (e.g., a
+ keyboard-only device that has no concept of dragging).
+
+ <div class="example">
+ <p>This pseudo-class could be used, for example, to highlight all the
+ valid drop targets for the item being dragged.
+ <pre>:drop-zone { box-shadow: 0 0 5px yellow; }</pre>
+ <p>It can also be combined with <code>:drag-over</code> to designate the
+ drop-zone that will receive the dragged item when dropped.
+ <pre>:drop-zone:drag-over { outline: solid red; }</pre>
+ </div>
+-->
+
<h3 id=active-pseudo><span class=secno>8.2. </span> The activation
pseudo-class ‘<code class=css>:active</code>’</h3>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.src.html,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- Overview.src.html 28 Feb 2012 23:02:01 -0000 1.67
+++ Overview.src.html 28 Feb 2012 23:04:27 -0000 1.68
@@ -163,7 +163,7 @@
<tr>
<td><code>E</code>
<td>an element of type E
- <td><a href="#type-selectors">Type selector</a>
+ <td><a href="#type-selectors">Type (tag name) selector</a>
<td>1
<tbody>
<tr>
@@ -831,7 +831,7 @@
Elemental selectors</h2>
<h3 id=type-selectors>
-Type selector</h3>
+Type (tag name) selector</h3>
<p>A <dfn>type selector</dfn> is the name of a document language
element type written using the syntax of
Received on Tuesday, 28 February 2012 23:04:31 UTC