Skip to content

Commit 21c31a8

Browse files
committed
Clarify that if universal selector is dropped, the entire thing (including namespace prefix) must be dropped. <http://lists.w3.org/Archives/Public/www-style/2009Sep/0305.html>
1 parent 2381834 commit 21c31a8

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

selectors3/Overview.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -823,17 +823,21 @@ <h4><a name=typenmsp>6.1.1. Type selectors and namespaces</a></h4>
823823

824824
<h3><a name=universal-selector>6.2. Universal selector</a> </h3>
825825

826-
<p>The <dfn>universal selector</dfn>, written as an asterisk
827-
(<code>*</code> U+002A), represents the qualified name of any element
826+
<p>The <dfn>universal selector</dfn>, written as a
827+
<a href="http://www.w3.org/TR/css3-namespace/#css-qnames">CSS qualified
828+
name</a> <a href="#refsCSSNS">[CSSNS]</a> with an an asterisk (<code>*</code>
829+
U+002A) as the local name, represents the qualified name of any element
828830
type. It represents any single element in the document tree in any
829831
namespace (including those without a namespace) if no default
830832
namespace has been specified for selectors. If a default namespace has
831833
been specified, see <a href="#univnmsp">Universal selector and
832834
Namespaces</a> below.</p>
833835

834-
<p>If the universal selector is not the only component of a sequence
835-
of simple selectors or is immediately followed by a pseudo-element,
836-
the <code>*</code> may be omitted.</p>
836+
<p>If a universal selector represented by <code>*</code> (without a
837+
namespace prefix) is not the only component of a sequence of simple
838+
selectors or is immediately followed by a pseudo-element, then the
839+
<code>*</code> may be omitted and the universal selector's presence
840+
implied.</p>
837841

838842
<div class="example">
839843
<p>Examples:</p>

0 commit comments

Comments
 (0)