@@ -76,7 +76,7 @@ We rely on the JavaScript module scope. Name should be unique within that module
76
76
77
77
#### Selector
78
78
79
- ` [SELECTOR, ...<selectors >] `
79
+ ` [SELECTOR, ...<selector >] `
80
80
81
81
Marker ` SELECTOR ` specifies a selector or selector compound.
82
82
@@ -88,7 +88,7 @@ Selector list e.g. `.foo, .bar` => `[SELECTOR, '.foo'], [SELECTOR, '.bar']`
88
88
89
89
#### Parent selector
90
90
91
- ` [PARENT_SELECTOR, ...<selectors >] `
91
+ ` [PARENT_SELECTOR, ...<selector >] `
92
92
93
93
Marker ` PARENT_SELECTOR ` specifies a selector, which is a reference to the parent selector.
94
94
Useful for nesting.
@@ -99,14 +99,14 @@ E.g.: `&:hover` => `[PARENT_SELECTOR, ':hover']`
99
99
100
100
` [ANY_COMBINATOR] `
101
101
102
- All combinator constants denote any of 5 [ CSS combinators] ( https://drafts.csswg.org/selectors/#combinators ) .
102
+ Combinator constants denote 5 [ CSS combinators] ( https://drafts.csswg.org/selectors/#combinators ) .
103
103
104
104
E.g.: ` .foo .bar ` => ` [SELECTOR, '.foo', SPACE_COMBINATOR, '.bar'] `
105
105
or ` .foo + .bar ` => ` [SELECTOR, '.foo', NEXT_SIBLING_COMBINATOR, '.bar'] `
106
106
107
107
#### Property name
108
108
109
- ` [PROPERTY, <name >] `
109
+ ` [PROPERTY, <property >] `
110
110
111
111
Marker ` PROPERTY ` specifies a property name e.g.: ` [PROPERTY, 'color'] ` .
112
112
@@ -116,7 +116,9 @@ Marker `PROPERTY` specifies a property name e.g.: `[PROPERTY, 'color']`.
116
116
117
117
Marker ` VALUE ` specifies a property value e.g.: ` [VALUE, 'red'] ` .
118
118
119
- Multiple comma separated values e.g.: ` red, green ` => ` [VALUE, 'red'], [VALUE, 'green'] ` .
119
+ Space separated values e.g.: ` red green ` => ` [VALUE, 'red', 'green'] ` .
120
+
121
+ Comma separated values e.g.: ` red, green ` => ` [VALUE, 'red'], [VALUE, 'green'] ` .
120
122
121
123
#### Condition
122
124
0 commit comments