Skip to content
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

input[type=url] { ... } fails to parse #91

Closed
ritwickdey opened this issue Aug 1, 2017 · 1 comment
Closed

input[type=url] { ... } fails to parse #91

ritwickdey opened this issue Aug 1, 2017 · 1 comment

Comments

@ritwickdey
Copy link

ritwickdey commented Aug 1, 2017

Hi, I am facing a issue on parsing input[type=url] {....}.

Input

input[type=url] {
  //todo
}

Expected Output

input[type=url] {
  //todo
}

Actual Result

Error: Invalid CSS after "i": expected 1 selector or at-rule, was "input[type=url] {"
        on line 1 of sass/c:\Users\ritwick\Desktop\New folder\New folder\test3.scss
>> input[type=url] {
   ^

image

NOTE: Even If I use input[type=urlXYZ], there is also same error but if I use input[type="url"] then no error.

[I am using this JS library to my VsCode Extension (Live Sass Compiler).]

I found that same issue is mentioned in here : sass/libsass#2429

@rodneyrehm
Copy link
Member

As you've already observed this issue originates in libsass, not sass.js. There's nothing sass.js can do until the next release of libsass fixed that bug.

If you're looking for a workaround, this seems to work fine:

input[type="url"] {
  width: 123px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants