Tighten up CSS predicate member rules.
CSS predicates can't contain full blown expressions, only attribute node tests and operators.
This commit is contained in:
1 parent
e1832adc97
commit
197cb052be
1 file changed
+2
-2
@@ -51,8 +51,8 @@ rule
|
||||
;
|
||||
|
||||
predicate_members
|
||||
: expression { val[0] }
|
||||
| operator { val[0] }
|
||||
: node_test { val[0] }
|
||||
| operator { val[0] }
|
||||
;
|
||||
|
||||
operator
|
||||
|
||||
Reference in new issue
Block a user