irundaia / sbt-sassify

sbt-web plugin for Sass files
Apache License 2.0
68 stars 17 forks source link

fails to compile selector input[type=url] #30

Closed gregor-rayman closed 5 years ago

gregor-rayman commented 7 years ago

When I try to compile the following (s)scc:

input[type=url] {
  padding-left: 2rem;
}

the plugin fails with this error message: Error: Invalid CSS after "i": expected 1 selector or at-rule, was "input[type=url] {"

With the command line sass version 3.5.2 there is no problem.

It seems that the problem is caused by the unquoted url. input[type=email], 'input[type=fooooo]andinput[type="url"]` compile without problems.

System: Ubuntu 16.04, 64bit

irundaia commented 7 years ago

Compiler issues are typically caused by issues in libsass. This particur issue seems to have been fixed already.

However it hasn’t been released in a stable version yet (supposedly it has been fixed in libsass version 3.5.0.beta3). Given that they’re using the 3.5 betas in node-sass, it might be better to switch to that version.

Could you try to install version 3.5.0.beta3 of libsass on your machine(s)? This will likely solve the issue for you since jna prefers to load system binaries over the packaged version.

irundaia commented 6 years ago

@gregor-rayman, I've just released version 1.4.12. This version builds on uses a newer version of libsass. This contains the fix for your issue.

Could you verify that it has been fixed for you?

irundaia commented 5 years ago

Closing due to inactivity