-
Notifications
You must be signed in to change notification settings - Fork 6
/
rule_list.json
48 lines (36 loc) · 1.31 KB
/
rule_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
45
46
47
48
[
"", [],
"foo", [["error", "invalid"]],
"foo 4", [["error", "invalid"]],
"@foo", [["at-rule", "foo", [], null]],
"@foo bar; \t/* comment */", [["at-rule", "foo", [" ", ["ident", "bar"]], null]],
" /**/ @foo bar{[(4", [["at-rule", "foo",
[" ", ["ident", "bar"]],
[["[]", ["()", ["number", "4", 4, "integer"]]]]
]],
"@foo { bar", [["at-rule", "foo", [" "], [" ", ["ident", "bar"]]]],
"@foo [ bar", [["at-rule", "foo", [" ", ["[]", " ", ["ident", "bar"]]], null]],
" /**/ div > p { color: #aaa; } /**/ ", [["qualified rule",
[["ident", "div"], " ", ">", " ", ["ident", "p"], " "],
[" ", ["ident", "color"], ":", " ", ["hash", "aaa", "id"], ";", " "]
]],
" /**/ { color: #aaa ", [["qualified rule",
[],
[" ", ["ident", "color"], ":", " ", ["hash", "aaa", "id"], " "]
]],
" /* CDO/CDC are not special */ <!-- --> {", [["qualified rule",
["<!--", " ", "-->", " "], []
]],
"div { color: #aaa; } p{}", [
["qualified rule", [["ident", "div"], " "],
[" ", ["ident", "color"], ":", " ", ["hash", "aaa", "id"], ";", " "]
],
["qualified rule", [["ident", "p"]], []]
],
"div {} -->", [
["qualified rule", [["ident", "div"], " "], []],
["error", "invalid"]
],
"{}a", [["qualified rule", [], []], ["error", "invalid"]],
"{}@a", [["qualified rule", [], []], ["at-rule", "a", [], null]]
]