leafo/scssphp — pull request #87 by jamesshannon (2013-04-11 19:51:19+00:00)
Title: Mixin @content with embedded mixin test cases

@include with arguments inside of a @content block causes issues

I added a handful of test-cases with increasing complexity to show where things break. I initially thought that it was a problem with parent @content mixins that also have arguments, but it doesn't seem to be the case.

Embedded mixin arguments aren't passed. This:

````css
@mixin cool($a, $b, $c) {
height: $a + $b + $c;
}

@mixin content-simple {
div.mixin-content-simple {
@content;
}
}

@include content-simple {
@include cool(10px, 12px, 21px);
}

````

becomes

````css
div.mixin-content-simple {
height: ; }
````

`cool` is included just as in another test case, which works fine.

The problem popped up in the Inuit framework with the grid system being mixed in within a @media query mixin. I've given up on Foundation, so I'm sure I'll have a whole new group of issues... :)

For a background of @content mixins, see http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#mixin-content