-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Selectors with inline comments do not get a new line #1139
Comments
Good news: Either the current libsass master I get: button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */ } So this will be fixed with the next release of libsass and the node-sass release that follows. |
Maybe I'm missing something but the upstream issue was fixed ~6 months ago and it should already be part of node-sass unless I'm missing something? It was fixed in I believe in libsass 3.2.0 https://github.com/sass/libsass/releases/tag/3.2.0 via sass/libsass#1007 and this was released April 27 2015 and should have been included in node-sass v3.0.0 release https://github.com/sass/node-sass/releases/tag/v3.0.0 as node-sass v3.0.0 was the release that included the libsass 3.2.0 updates. |
Did you check for your case with 3.2.0? Without digging in there are always those possibilities:
If it's worth it with some effort one can identify commits that have fixed and/or re-introduced the issue. |
@ntwb for the record node-sass@latest will always with run the latest stable LibSass at a minimum. This was originally reported in sass/libsass#941 and thought to be fixed in 3.2. However due to a bug in our test suite we later realised it had only been partially fixed. The error was fixed but the white space was still incorrect. It was fixed for good in 3.3. As @saper has said this is fixed on the current 3.3 beta and will be in node-sass when it's stable. |
@ntwb you can track the LibSass 3.3 release progress by subscribing to sass/libsass#1453 |
Excellent, thanks for the additional feedback and clarification 👍 |
Add fix for hsla implementation
My setup on Mac OS X
Example file
file.scss
:Running
./node_modules/.bin/node-sass file.scss
Actual result:
Expected result:
Using
sass
v3.4.18 directly results in the expected resultsass file.scss sass.css
The original fix I believe shipped with sass/libsass v3.2.0 here: sass/libsass#1007
It was also originally raised here in #826
Any ideas on a fix, I've spend quite a bit of time just now trying fix and hacking through the toubleshooting.md file trying to get the tests running locally to no avail :(
The text was updated successfully, but these errors were encountered: