Skip to content

Commit 19d6b4c

Browse files
committed
The semicolon token should not be respected.
See: http://dev.w3.org/csswg/css-syntax/#consume-a-declaration0 After consuming the colon token, it states the declaration's value is the consumption of every subsequent component value, until we reach an EOF token.
1 parent 95ad783 commit 19d6b4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

one_declaration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"foo:", ["declaration", "foo", [], false],
1313
"foo :", ["declaration", "foo", [], false],
1414
"\n/**/ foo: ", ["declaration", "foo", [" "], false],
15-
"foo:;", ["declaration", "foo", [], false],
15+
"foo:;", ["declaration", "foo", [";"], false],
1616
" /**/ foo /**/ :", ["declaration", "foo", [], false],
17-
"foo:;bar:;", ["error", "extra-input"],
17+
"foo:;bar:;", ["declaration", "foo", [";", ["ident", "bar"], ":", ";"], false],
1818

1919
"foo: 9000 !Important", ["declaration", "foo", [
2020
" ", ["number", "9000", 9000, "integer"], " "

0 commit comments

Comments
 (0)