Blame view

bower_components/prism/tests/languages/sass/property-line_feature.test 968 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  foo: bar

  	color: $color !important

  -moz-border-radius: 10px

  transition-timing-function: ease-in-out

  

  	:color #{$color}

  :font-size 0.5em + 3em

  

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

  

  [

  	["property-line", [

  		["property", "foo"],

  		["punctuation", ":"],

  		" bar"

  	]],

  	["property-line", [

  		["property", "color"],

  		["punctuation", ":"],

  		["variable", "$color"],

  		["important", "!important"]

  	]],

  	["property-line", [

  		["property", "-moz-border-radius"],

  		["punctuation", ":"],

  		" 10px"

  	]],

  	["property-line", [

  		["property", "transition-timing-function"],

  		["punctuation", ":"],

  		" ease-in-out"

  	]],

  	["property-line", [

  		["punctuation", ":"],

  		["property", "color"],

  		["variable", "#{$color}"]

  	]],

  	["property-line", [

  		["punctuation", ":"],

  		["property", "font-size"],

  		" 0.5em ", ["operator", "+"], " 3em"

  	]]

  ]

  

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

  

  Checks for properties.