Skip to content

Commit 4375fcf

Browse files
committed
[selectors] Rephrase the selector list paragraph to provide specific definitions for 'list of complex/etc selectors'.
1 parent b237e1e commit 4375fcf

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

selectors/Overview.bs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,16 @@ Structure and Terminology</h3>
543543
the <a>next-sibling combinator</a> (U+002B, <code>+</code>),
544544
and the <a>following-sibling combinator</a> (U+007E, <code>~</code>).
545545

546-
A <dfn export>selector list</dfn> is a comma-separated list of <a>selectors</a>;
547-
see <a href="#grouping">Selector Lists</a>.
546+
A <dfn export lt="list of simple selectors|list of compound selectors|list of complex selectors">list of simple/compound/complex selectors</dfn>
547+
is a comma-separated list of
548+
<a lt="simple selector">simple</a>,
549+
<a lt="compound selector">compound</a>,
550+
or <a>complex selectors</a>.
551+
This is also called just a <dfn export lt="selector list|list of selectors">selector list</dfn>
552+
when the type is either unimportant or specified in the surrounding prose;
553+
if the type is important and unspecified,
554+
it defaults to meaning a <a>list of complex selectors</a>.
555+
See [[#grouping]] for further details on <a>selector lists</a>.
548556

549557
The <dfn export local-lt="subject">subject of a selector</dfn> is
550558
the element(s) that selector is defined to be about:

0 commit comments

Comments
 (0)