diff --git a/src/parser/parse-css.js b/src/parser/parse-css.js index 4ad08cc..2ec4178 100644 --- a/src/parser/parse-css.js +++ b/src/parser/parse-css.js @@ -518,6 +518,9 @@ function read_value(it) { } text.value += c; } + if (it.curr() === ';' || it.curr() == '}') { + break; + } it.next(); } if (text.value.length) {