Blame view

bower_components/prism/tests/languages/scss/selector_feature.test 810 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
  a {}

  p, div {}

  #foobar .foo {}

  &:hover {}

  &-sidebar {}

  #context a%extreme {}

  #{$selector}:before {}

  

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

  

  [

  	["selector", ["a "]], ["punctuation", "{"], ["punctuation", "}"],

  	["selector", ["p, div "]], ["punctuation", "{"], ["punctuation", "}"],

  	["selector", ["#foobar .foo "]], ["punctuation", "{"], ["punctuation", "}"],

  	["selector", ["&:hover "]], ["punctuation", "{"], ["punctuation", "}"],

  	["selector", ["&-sidebar "]], ["punctuation", "{"], ["punctuation", "}"],

  	["selector", ["#context a", ["placeholder", "%extreme"]]], ["punctuation", "{"], ["punctuation", "}"],

  	["selector", ["#{$selector}:before "]], ["punctuation", "{"], ["punctuation", "}"]

  ]

  

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

  

  Checks for selectors.