Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

adding --outputStyle compressed leads to semantically different css #433

Closed
maxwellium opened this issue Sep 25, 2014 · 3 comments
Closed

Comments

@maxwellium
Copy link

in a mixin

@mixin flex($grow: 1, $shrink: null, $basis: null) {
  -webkit-box-flex: $grow;
  -webkit-flex: $grow $shrink $basis;
  -moz-box-flex: $grow;
  -moz-flex: $grow $shrink $basis;
  -ms-flex: $grow $shrink $basis;
  flex: $grow $shrink $basis;
}

the null params get parsed as they should producing this:

[flex] {
-webkit-flex: 1;
-moz-flex: 1;
-ms-flex: 1;
flex: 1;
}

when adding the outputStyle compressed flags however, the following output is returned

[flex] {
-webkit-flex: 1nullnull;
-moz-flex: 1nullnull;
-ms-flex: 1nullnull;
flex: 1nullnull;
}
@am11
Copy link
Contributor

am11 commented Sep 25, 2014

This would need to be fixed in libsass.

@maxwellium
Copy link
Author

right. raised there sass/libsass#487

@am11
Copy link
Contributor

am11 commented Sep 25, 2014

👍

jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants