-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-webkit and -moz browser prefixes are eaten by SASS #368
Comments
Update: also tried running .flexbox{display:-webkit-box !important;display:-moz-box !important;display:-ms-box !important;display:-o-box !important;display:box !important;} |
Further investigation into the |
Hmmm. Just ran the original SCSS file through the autoprefixer, with the following result: .flexbox {
display: -webkit-box !important;
display: -ms-box !important;
display: -o-box !important;
display: box !important;
} Only the Checked the version information: I was using 3.1.0, but .flexbox {
display: -ms-box !important;
display: -o-box !important;
display: box !important;
} Looks like the version of the autoprefixer is a bit outdated. Perhaps we could get a bump? Also, with regards to using legacy (hand-"optimized") stylesheets, might it be a good idea to allow disabling the autoprefixer via a I'll file an issue on the |
Closing in favour of sintaxi/terraform#68 |
I've noticed this problem while working with a SASS stylesheet. Not sure if this applies to all prefixed names or values, but certainly to some. Here's a minimal example to reproduce the issue:
Create a new file
bug.scss
in a blank directory with the following content:Then run
harp server
(version 0.14.0) in that directory. In another terminal window, runcurl localhost:9000/bug.css
. This gives the following output:Miraculously, the
-webkit
and-moz
prefixed lines have disappeared, but the rest is unchanged (except for whitespace).Now, I know
harp
usesterraform
, which in turn usesnode-sass
. To make sure this isn't an issue in the latter, I rannode-sass bug.scss
, which createsbug.css
, with the following content:Aha! All the expected lines are there.
I tried this with both
node-sass
version 1.0.1 (most recent) and 0.9.3 (whichterraform
uses). Same result each time.Somewhere along the line, between
harp
andterraform
, the other to prefixes get lost. Not sure why or how.The text was updated successfully, but these errors were encountered: