| 1 |
$blah: bloo blee; |
| 2 |
$blip: "a 'red' and \"blue\" value"; |
| 3 |
|
| 4 |
/* top level comment -- should be preserved */ |
| 5 |
div { |
| 6 |
/* another comment that should be preserved */ |
| 7 |
color: red; |
| 8 |
background: blue; |
| 9 |
$blux: hux; // gone! |
| 10 |
span { |
| 11 |
font-weight: bold; |
| 12 |
a { |
| 13 |
text-decoration: none; /* where will this comment go? */ |
| 14 |
color: green; |
| 15 |
/* what about this comment? */ border: 1px $blah red; |
| 16 |
} |
| 17 |
/* yet another comment that should be preserved */ |
| 18 |
display: inline-block; |
| 19 |
} // gone! |
| 20 |
/* the next selector should be indented two spaces */ |
| 21 |
empty { |
| 22 |
not_empty { |
| 23 |
blah: blah; // gone! |
| 24 |
bloo: bloo; |
| 25 |
} |
| 26 |
} |
| 27 |
p { |
| 28 |
padding: 10px 8%; |
| 29 |
-webkit-box-sizing: $blux; |
| 30 |
} |
| 31 |
margin: 10px 5px; |
| 32 |
h1 { |
| 33 |
color: $blip; |
| 34 |
} |
| 35 |
} |
| 36 |
/* last comment, top level again -- |
| 37 |
compare the indentation! */ |
| 38 |
|
| 39 |
div { |
| 40 |
f: g; |
| 41 |
empty { |
| 42 |
span { |
| 43 |
a: b; |
| 44 |
} |
| 45 |
} |
| 46 |
empty_with_comment { |
| 47 |
/* hey now */ |
| 48 |
span { |
| 49 |
c: d; |
| 50 |
} |
| 51 |
} |
| 52 |
} |