Skip to content

Commit 7d05440

Browse files
cdoublevfantasai
authored andcommitted
[selectors] Move column combinator to Selectors 5
1 parent 3a83602 commit 7d05440

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

selectors-4/Overview.bs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4471,7 +4471,7 @@ Grammar</h2>
44714471
<dfn>&lt;simple-selector></dfn> = <<type-selector>> | <<subclass-selector>>
44724472
44734473
4474-
<dfn>&lt;combinator></dfn> = '>' | '+' | '~' | [ '|' '|' ]
4474+
<dfn>&lt;combinator></dfn> = '>' | '+' | '~'
44754475
44764476
<dfn noexport>&lt;wq-name></dfn> = <<ns-prefix>>? <<ident-token>>
44774477
<dfn noexport>&lt;ns-prefix></dfn> = [ <<ident-token>> | '*' ]? '|'
@@ -4516,7 +4516,6 @@ Grammar</h2>
45164516
* Between the components of an <<attr-matcher>>.
45174517
* Between the <<compound-selector>> or <<pseudo-compound-selector>>s
45184518
in a <<complex-selector-unit>>
4519-
* Between the components of a <<combinator>>.
45204519

45214520
Whitespace is <em>required</em>
45224521
between two <<complex-selector-unit>>s

selectors-5/Overview.bs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,22 @@ Reference combinators <code>/ref/</code></h3>
475475
</div>
476476

477477

478+
<h2 id="grammar" oldids="formal-syntax">
479+
Grammar</h2>
480+
481+
This module extends the CSS grammar of selectors with:
482+
483+
<pre class=prod>
484+
<dfn>&lt;combinator></dfn> = '>' | '+' | '~' | [ '|' '|' ] | [ / <<wq-name>> / ]
485+
</pr>
486+
487+
<ul>
488+
<li id="white-space">
489+
White space is forbidden:
490+
* Between the components of a <<combinator>>.
491+
</ul>
492+
493+
478494
<h2 id="changes">
479495
Changes</h2>
480496

0 commit comments

Comments
 (0)