Skip to content

Commit 29d46b3

Browse files
committed
check for spaces after compound selector
1 parent c27a5dd commit 29d46b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2645,7 +2645,7 @@ void pseudo_element_selector(CssSelectors s) :
26452645
}
26462646
}
26472647
)
2648-
| ( ( n=<FUNCTIONSLOTTED> ) ( <S> )* sel=compound_selector(null) <RPAREN> ) {
2648+
| ( ( n=<FUNCTIONSLOTTED> ) ( <S> )* sel=compound_selector(null) ( <S> )* <RPAREN> ) {
26492649
try {
26502650
ArrayList<CssSelectors> list = new ArrayList<CssSelectors>();
26512651
list.add(sel);
@@ -2732,7 +2732,7 @@ String error_str = null;
27322732
getBeginColumn(), getEndLine(), getEndColumn(), e));
27332733
}
27342734
}
2735-
| ( ( n=<FUNCTIONHOST> | n=<FUNCTIONHOSTCONTEXT> ) ( <S> )* sel=compound_selector(null) ) {
2735+
| ( ( n=<FUNCTIONHOST> | n=<FUNCTIONHOSTCONTEXT> ) ( <S> )* sel=compound_selector(null) ( <S> )* ) {
27362736
try {
27372737
ArrayList<CssSelectors> list = new ArrayList<CssSelectors>();
27382738
list.add(sel);

0 commit comments

Comments
 (0)