sass-spec/spec/sass_4_0/interpolation/after_hyphen/input.scss
raw| 1 | .after-hyphen { |
| 2 | // We want to treat interpolation as though it's a valid identifier character, |
| 3 | // which means that if it comes after a hyphen or double-hyphen it should be |
| 4 | // treated as part of an interpolated identifier that includes that hyphen. |
| 5 | standalone-single: -#{foo}; |
| 6 | standalone-double: --#{foo}; |
| 7 | |
| 8 | // It also means that we shouldn't treat the hyphen as a subtraction |
| 9 | // operation. |
| 10 | adjacent-single: #{foo} -#{bar}; |
| 11 | adjacent-double: #{foo} --#{bar}; |
| 12 | } |