The image mixin fails when nested inside a media query, and this pull request resolves that issue using code supplied in the associated Stylus ticket.
An additional test has been written for this case, and all tests are passing based on the current Stylus dependency.
Note that this outputs nested media queries, whereas using 0.48.1 results in flattened media queries. I would update the dependency and test case output file but an additional test related to linear gradients also fails when using latest Stylus.
Fixes issue outlined in https://github.com/visionmedia/nib/issues/276.
The image mixin fails when nested inside a media query, and this pull request resolves that issue using code supplied in the associated Stylus ticket.
An additional test has been written for this case, and all tests are passing based on the current Stylus dependency.
Note that this outputs nested media queries, whereas using 0.48.1 results in flattened media queries. I would update the dependency and test case output file but an additional test related to linear gradients also fails when using latest Stylus.