Skip to content

Commit 99aeaae

Browse files
committed
[selectors-4] Add some parentheses.
1 parent 86f2a68 commit 99aeaae

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

selectors-4/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ Structure and Terminology</h3>
555555
<a>ID selector</a>,
556556
or <a>pseudo-class</a>
557557
is a <a>simple selector</a>.
558-
It is represented by <<simple-selector>>
559-
in the selectors <a href="#grammar">grammar</a>.
558+
(It is represented by <<simple-selector>>
559+
in the selectors <a href="#grammar">grammar</a>.)
560560
A given element is said to <a>match</a> a <a>simple selector</a>
561561
when that <a>simple selector</a>,
562562
as defined in this specification and in accordance with the <a>document language</a>,
@@ -569,8 +569,8 @@ Structure and Terminology</h3>
569569
If it contains a <a>type selector</a> or <a>universal selector</a>,
570570
that selector must come first in the sequence.
571571
Only one type selector or universal selector is allowed in the sequence.
572-
A <a>compound selector</a> is represented by <<compound-selector>>
573-
in the selectors <a href="#grammar">grammar</a>.
572+
(A <a>compound selector</a> is represented by <<compound-selector>>
573+
in the selectors <a href="#grammar">grammar</a>.)
574574
A given element is said to <a>match</a> a <a>compound selector</a>
575575
when it matches all <a>simple selectors</a> in the <a>compound selector</a>.
576576

@@ -595,8 +595,8 @@ Structure and Terminology</h3>
595595
It represents a set of simultaneous conditions
596596
on a set of elements in the particular relationships
597597
described by its <a>combinators</a>.
598-
Complex selectors are represented by <<complex-selector>>
599-
in the selectors <a href="#grammar">grammar</a>.
598+
(Complex selectors are represented by <<complex-selector>>
599+
in the selectors <a href="#grammar">grammar</a>.)
600600
A given element is said to <a>match</a> a <a>complex selector</a>
601601
when there exists a list of elements,
602602
each matching a corresponding <a>compound selector</a> in the <a>complex selector</a>,
@@ -620,9 +620,9 @@ Structure and Terminology</h3>
620620
when the type is either unimportant or specified in the surrounding prose;
621621
if the type is important and unspecified,
622622
it defaults to meaning a <a>list of complex selectors</a>.
623-
See [[#grouping]] for additional information on <a>selector lists</a>
623+
(See [[#grouping]] for additional information on <a>selector lists</a>
624624
and the various <<*-selector-list>> productions in the <a href="#grammar">grammar</a>
625-
for their formal syntax.
625+
for their formal syntax.)
626626
A given element is said to <a>match</a> a <a>selector list</a>
627627
when it matches any (at least one) of the <a>selectors</a>
628628
in that <a>selector list</a>.
@@ -1840,7 +1840,7 @@ The Directionality Pseudo-class: '':dir()''</h3>
18401840
based on a combination of the <code>dir</code> attribute, the surrounding text, and other factors.
18411841
As another example, the <code>its:dir</code> and <code>dirRule</code> element
18421842
of the Internationalization Tag Set [[ITS20]]
1843-
are able to define the directionality of an element in [[XML]].
1843+
are able to define the directionality of an element in [[XML10]].
18441844

18451845
The '':dir()'' pseudo-class does not select based on stylistic
18461846
states&#8212;for example, the CSS 'direction' property does not affect

0 commit comments

Comments
 (0)