Skip to content

Commit babedab

Browse files
committed
clarify that pseudo-elements are part of selector, not sequences of simple selectors
1 parent 602e75f commit babedab

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

selectors3/Overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,9 @@ <h2><a name=selector-syntax>4. Selector syntax</a></h2>
636636

637637
<p>A <dfn><a name=selector>selector</a></dfn> is a chain of one
638638
or more <a href="#sequence">sequences of simple selectors</a>
639-
separated by <a href="#combinators">combinators</a>.</p>
639+
separated by <a href="#combinators">combinators</a>. One <a
640+
href="#pseudo-elements">pseudo-element</a> may be appended to the last
641+
sequence of simple selectors in a selector.</p>
640642

641643
<p>A <dfn><a name=sequence>sequence of simple selectors</a></dfn>
642644
is a chain of <a href="#simple-selectors-dfn">simple selectors</a>
@@ -652,9 +654,7 @@ <h2><a name=selector-syntax>4. Selector syntax</a></h2>
652654
href="#attribute-selectors">attribute selector</a>, <a
653655
href="#class-html">class selector</a>, <a
654656
href="#id-selectors">ID selector</a>, or <a
655-
href="#pseudo-classes">pseudo-class</a>. One <a
656-
href="#pseudo-elements">pseudo-element</a> may be appended to the last
657-
sequence of simple selectors in a selector.</p>
657+
href="#pseudo-classes">pseudo-class</a>.</p>
658658

659659
<p><dfn>Combinators</dfn> are: whitespace, &quot;greater-than
660660
sign&quot; (U+003E, <code>&gt;</code>), &quot;plus sign&quot; (U+002B,

selectors3/issues-lc-2009.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,12 @@ From: Chris Lilley
176176
Comment: [via telecon]
177177
Response:
178178
Open
179+
----
180+
Issue 24.
181+
Summary: Clarify that a pseudo-element is part of the selector.
182+
From: Leif Halvard Silli
183+
Comment: http://lists.w3.org/Archives/Public/www-style/2009Oct/0265.html
184+
Comment: http://lists.w3.org/Archives/Public/www-style/2009Oct/0267.html
185+
Response:
186+
Open
187+
----

0 commit comments

Comments
 (0)