Skip to content

Commit fcdef9f

Browse files
committed
Undo ab29a6e. It broke nested media queries.
1 parent 414d3d6 commit fcdef9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/parse.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ CSSOM.parse = function parse(token) {
399399
prevScope = currentScope;
400400
currentScope = parentRule;
401401
currentScope.cssRules.push(prevScope);
402+
break;
402403
}
403404

404405
if (ancestorRules.length === 0) {

0 commit comments

Comments
 (0)