Fix CSS parser for statement break

This commit is contained in:
yuanchuan 2023-02-13 15:38:59 +08:00
parent 673410119f
commit df4c69ecc1
1 changed files with 3 additions and 0 deletions

View File

@ -518,6 +518,9 @@ function read_value(it) {
}
text.value += c;
}
if (it.curr() === ';' || it.curr() == '}') {
break;
}
it.next();
}
if (text.value.length) {