Skip to content

Commit

Permalink
don't pass along the length of the at-rule to its children
Browse files Browse the repository at this point in the history
  • Loading branch information
thysultan committed Dec 10, 2021
1 parent 2df6f5e commit bbba67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function parse (value, root, parent, rule, rules, rulesets, pseudo, point
parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)
break
default:
parse(characters, reference, reference, reference, [''], children, length, points, children)
parse(characters, reference, reference, reference, [''], children, 0, points, children)
}
}

Expand Down

0 comments on commit bbba67b

Please sign in to comment.