Debian Codegraph @

tests/languages/stylus/atrule-declaration_feature.test

raw
1 @media print
2 @import "reset.css"
3 @font-face {
4 @keyframes {
5 @media (max-{foo}: bar)
6 @namespace url(http://www.w3.org/1999/xhtml) // comment
7 @namespace svg url(http://www.w3.org/2000/svg) // comment
8
9 ----------------------------------------------------
10
11 [
12 ["atrule-declaration", [["atrule", "@media"], " print"]],
13 ["atrule-declaration", [["atrule", "@import"], ["string", "\"reset.css\""]]],
14 ["atrule-declaration", [["atrule", "@font-face"], ["punctuation", "{"]]],
15 ["atrule-declaration", [["atrule", "@keyframes"], ["punctuation", "{"]]],
16 ["atrule-declaration", [
17 ["atrule", "@media"],
18 ["punctuation", "("],
19 "max-",
20 ["interpolation", [
21 ["delimiter", "{"],
22 "foo",
23 ["delimiter", "}"]
24 ]],
25 ["punctuation", ":"],
26 " bar",
27 ["punctuation", ")"]
28 ]],
29 ["atrule-declaration", [
30 ["atrule", "@namespace"],
31 ["url", "url(http://www.w3.org/1999/xhtml)"],
32 ["comment", "// comment"]
33 ]],
34 ["atrule-declaration", [
35 ["atrule", "@namespace"],
36 " svg ",
37 ["url", "url(http://www.w3.org/2000/svg)"],
38 ["comment", "// comment"]
39 ]]
40 ]
41
42 ----------------------------------------------------
43
44 Checks for at-rules.