diff --git a/test/sass/language-source-maps.sass b/test/sass/language-source-maps.sass new file mode 100644 index 00000000..0175ea5d --- /dev/null +++ b/test/sass/language-source-maps.sass @@ -0,0 +1,60 @@ +@import "another/variables" +@import "./file.css" +@import "module" + +$font-stack: Helvetica, sans-serif +$primary-color: #333 +$pi: '\e0C6' + +body + font: 100% $font-stack + color: $primary-color + +nav + ul + margin: 0 + padding: 0 + list-style: none + + li + display: inline-block + + a + display: block + padding: 6px 12px + text-decoration: none + +=border-radius($radius) + -webkit-border-radius: $radius + -moz-border-radius: $radius + -ms-border-radius: $radius + border-radius: $radius + +.box + +border-radius(10px) + +.message + border: 1px solid #ccc + padding: 10px + color: #333 + +.success + @extend .message + border-color: green + +.error + @extend .message + border-color: red + +.warning + @extend .message + border-color: yellow + +.foo + &:before + content: $pi + +.bar + &:before + content: $n-ary-summation + diff --git a/test/scss/language-source-maps.scss b/test/scss/language-source-maps.scss new file mode 100644 index 00000000..96eedb99 --- /dev/null +++ b/test/scss/language-source-maps.scss @@ -0,0 +1,49 @@ +@import "another/variables"; +@import "./file.css"; +@import 'module'; + +$font-stack: Helvetica, sans-serif; +$primary-color: #333; +$pi: '\e0C6'; + +body { + font: 100% $font-stack; + color: $primary-color; +} + +nav { + ul { + margin: 0; + padding: 0; + list-style: none; + } + + li { display: inline-block; } + + a { + display: block; + padding: 6px 12px; + text-decoration: none; + } +} + +@mixin border-radius($radius) { + -webkit-border-radius: $radius; + -moz-border-radius: $radius; + -ms-border-radius: $radius; + border-radius: $radius; +} + +.box { @include border-radius(10px); } + +.foo { + &:before { + content: $pi; + } +} + +.bar { + &:before { + content: $n-ary-summation; + } +}