Skip to content

Commit 88c5903

Browse files
committed
[selectors] Slightly more detail in what simple selectors and combinators are.
1 parent f666d84 commit 88c5903

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

selectors/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,8 @@ Structure and Terminology</h3>
540540
that selector comes first in the sequence.
541541
Only one type selector or universal selector is allowed in the sequence.
542542

543-
A <dfn id="simple" export>simple selector</dfn> is either a
543+
A <dfn id="simple" export>simple selector</dfn> represents an aspect of an element to be matched against.
544+
A simple selector is either a
544545
<a>type selector</a>,
545546
<a>universal selector</a>,
546547
<a>attribute selector</a>,
@@ -549,7 +550,7 @@ Structure and Terminology</h3>
549550
or <a>pseudo-class</a>.
550551

551552
A <dfn export>combinator</dfn> represents a particular kind of relationship
552-
between the <a>compound selectors</a> on either side.
553+
between the elements matched by the <a>compound selectors</a> on either side.
553554
Combinators in Selectors level 4 include:
554555
whitespace,
555556
“greater-than sign” (U+003E, <code>></code>),

selectors/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,8 @@ <h3 class="heading settled heading" data-level=3.1 id=structure><span class=secn
768768
that selector comes first in the sequence.
769769
Only one type selector or universal selector is allowed in the sequence.
770770

771-
<p> A <dfn data-dfn-type=dfn data-export="" id=simple>simple selector<a class=self-link href=#simple></a></dfn> is either a
771+
<p> A <dfn data-dfn-type=dfn data-export="" id=simple>simple selector<a class=self-link href=#simple></a></dfn> represents an aspect of an element to be matched against.
772+
A simple selector is either a
772773
<a data-link-type=dfn href=#type-selector title="type selector">type selector</a>,
773774
<a data-link-type=dfn href=#universal-selector0 title="universal selector">universal selector</a>,
774775
<a data-link-type=dfn href=#attribute-selector title="attribute selector">attribute selector</a>,
@@ -777,7 +778,7 @@ <h3 class="heading settled heading" data-level=3.1 id=structure><span class=secn
777778
or <a data-link-type=dfn href=#pseudo-class title=pseudo-class>pseudo-class</a>.
778779

779780
<p> A <dfn data-dfn-type=dfn data-export="" id=combinator>combinator<a class=self-link href=#combinator></a></dfn> represents a particular kind of relationship
780-
between the <a data-link-type=dfn href=#compound title="compound selectors">compound selectors</a> on either side.
781+
between the elements matched by the <a data-link-type=dfn href=#compound title="compound selectors">compound selectors</a> on either side.
781782
Combinators in Selectors level 4 include:
782783
whitespace,
783784
“greater-than sign” (U+003E, <code>&gt;</code>),

0 commit comments

Comments
 (0)