@@ -189,15 +189,15 @@ After: `{type: 'Selector', rules: [ {<RULE 1 DATA>}, {<RULE 2 DATA>} ]}`.
189
189
[ New type info.] ( docs/interfaces/AstRule.md )
190
190
191
191
1 . Type changed: ` rule ` -> ` Rule ` .
192
- 2 . Prop changed: ` id: string ` -> ` items: [{type: 'Id', name: '<ID>'}, ...] ` . According to the CSS spec one rule may have more
193
- than 1 ` id ` , so ` #root#root ` is a valid selector.
192
+ 2 . Prop changed: ` id: string ` -> ` items: [{type: 'Id', name: '<ID>'}, ...] ` . According to the CSS spec one rule may have
193
+ more than 1 ` id ` , so ` #root#root ` is a valid selector.
194
194
3 . Prop renamed: ` nestingOperator ` -> ` combinator ` . A proper name according to CSS spec was chosen.
195
195
4 . Prop renamed: ` rule ` -> ` nestedRule ` . A proper name to indicate nesting was chosen.
196
196
5 . Prop changed: ` tagName: string ` -> ` items: [TagName | WildcardTag, ...] ` . Using explicit distinction between
197
197
TagName (i.e. ` div ` ) and WildcardTag (` * ` ), because tag name can also be ` * ` if escaped properly (` \* ` ).
198
- 6 . Prop changed: ` attrs ` -> ` attributes ` . Attribute type was changed, see below.
199
- 7 . Prop changed: ` pseudos ` -> ` pseudoClasses ` . There are pseudo-elements and pseudo-classes, now they are separated
200
- properly (there is a separate ` pseudoElement ` type). Pseudo class type was changed, see below.
198
+ 6 . Prop changed: ` attrs ` -> ` items: [<ATTRIBUTE>, ...] ` . Attribute type was changed, see below.
199
+ 7 . Prop changed: ` pseudos ` -> ` items: [<PSEUDO CLASS>, ...] ` . There are pseudo-elements and pseudo-classes, now they are
200
+ separated properly (there is a separate ` pseudoElement ` type). Pseudo class type was changed, see below.
201
201
202
202
Before:
203
203
0 commit comments