Skip to content

Commit 78e30d8

Browse files
committed
[selectors] Fix the grammar for <combinator>, and add a whitespace rule for it.
1 parent a896a3a commit 78e30d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

selectors-4/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3421,7 +3421,7 @@ Grammar</h2>
34213421
<dfn>&lt;simple-selector></dfn> = <<type-selector>> | <<subclass-selector>>
34223422
34233423
3424-
<dfn>&lt;combinator></dfn> = '>' | '+' | '~' | [ '||' ]
3424+
<dfn>&lt;combinator></dfn> = '>' | '+' | '~' | [ '|' '|' ]
34253425
34263426
<dfn>&lt;type-selector></dfn> = <<wq-name>> | <<ns-prefix>>? '*'
34273427
@@ -3463,6 +3463,7 @@ Grammar</h2>
34633463
of a <<pseudo-element-selector>> or a <<pseudo-class-selector>>.
34643464
* Between <em>any</em> of the components of a <<wq-name>>.
34653465
* Between the components of an <<attr-matcher>>.
3466+
* Between the components of a <<combinator>>.
34663467
* The four <a href="https://www.w3.org/TR/CSS2/selectors.html#pseudo-element-selectors">Level 2</a> <a>pseudo-elements</a>
34673468
(''::before'', ''::after'', ''::first-line'', and ''::first-letter'')
34683469
may, for legacy reasons,

0 commit comments

Comments
 (0)