-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdeclaration_list.json
44 lines (35 loc) · 1.17 KB
/
declaration_list.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[
"", [],
";; /**/ ; ;", [],
"a:b; c:d 42!important;\n", [
["declaration", "a", [["ident", "b"]], false],
["declaration", "c", [["ident", "d"], " ", ["number", "42", 42, "integer"]], true]
],
"z;a:b", [
["error", "invalid"],
["declaration", "a", [["ident", "b"]], false]
],
"z:x!;a:b", [
["declaration", "z", [["ident", "x"], "!"], false],
["declaration", "a", [["ident", "b"]], false]
],
"a:b; c+:d", [
["declaration", "a", [["ident", "b"]], false],
["error", "invalid"]
],
"@import 'foo.css'; a:b; @import 'bar.css'", [
["at-rule", "import", [" ", ["string", "foo.css"]], null],
["declaration", "a", [["ident", "b"]], false],
["at-rule", "import", [" ", ["string", "bar.css"]], null]
],
"@media screen { div{;}} a:b;; @media print{div{", [
["at-rule", "media", [" ", ["ident", "screen"], " "], [" ", ["ident", "div"], ["{}", ";"]]],
["declaration", "a", [["ident", "b"]], false],
["at-rule", "media", [" ", ["ident", "print"]], [["ident", "div"], ["{}"]]]
],
"@ media screen { div{;}} a:b;; @media print{div{", [
["error", "invalid"],
["at-rule", "media", [" ", ["ident", "print"]], [["ident", "div"], ["{}"]]]
],
"", []
]