input[type=url] {
content: bar
}
Error: Invalid CSS after "i": expected 1 selector or at-rule, was "input[type=url] {"
on line 1 of test.scss
>> input[type=url] {
^
input[type=url] {
color: red; }
May also be related to: https://github.com/sass/libsass/issues/2427
From bisect it appears to be this commit:
10398ed299bffa7ccc32aace50dacbe1a51379a2
10398ed299bffa7ccc32aace50dacbe1a51379a2 is the first bad commit
commit 10398ed299bffa7ccc32aace50dacbe1a51379a2
Author: Marcel Greter <[email protected]>
Date: Sat May 20 19:01:04 2017 +0200
Fix parser for urls looking like ruleset selectors (#2376)
Thanks @asottile, I'll take a look this weekend.
A workaround (I think?) is to use input[type="url"] { ... } instead.
Most helpful comment
A workaround (I think?) is to use
input[type="url"] { ... }instead.