Blame view

bower_components/prism/tests/languages/stylus/atrule-declaration_feature.test 767 Bytes
eb240478   Luigi Serra   public room cards...
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
  @media print

  @import "reset.css"

  @font-face {

  @keyframes {

  @media (max-{foo}: bar)

  

  ----------------------------------------------------

  

  [

  	["atrule-declaration", [["atrule", "@media"], " print"]],

  	["atrule-declaration", [["atrule", "@import"], ["string", "\"reset.css\""]]],

  	["atrule-declaration", [["atrule", "@font-face"], ["punctuation", "{"]]],

  	["atrule-declaration", [["atrule", "@keyframes"], ["punctuation", "{"]]],

  	["atrule-declaration", [

  		["atrule", "@media"],

  		["punctuation", "("],

  		"max-",

  		["interpolation", [

  			["punctuation", "{"],

  			"foo",

  			["punctuation", "}"]

  		]],

  		["punctuation", ":"],

  		" bar",

  		["punctuation", ")"]

  	]]

  ]

  

  ----------------------------------------------------

  

  Checks for at-rules.