Skip to content

Commit 126099e

Browse files
committed
reworked slightly the proposal in #392
1 parent 82cdade commit 126099e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

org/w3c/css/parser/analyzer/CssParser.jj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,6 +2062,9 @@ void ruleSet() :
20622062

20632063
<LBRACE> {
20642064
validSelector = (context_set.size() > 0);
2065+
if (validSelector) {
2066+
currentContext = context_set;
2067+
}
20652068
}
20662069
( <S> )*
20672070
value_set=declarations()

0 commit comments

Comments
 (0)