Skip to content

regression: input[type=url] { ... } fails to parse #2429

@asottile

Description

@asottile

input.scss

input[type=url] {
  content: bar
}

Actual results

libsass 3.4.5 and libsass 3.5.0.beta.3-64-g5cb5

Error: Invalid CSS after "i": expected 1 selector or at-rule, was "input[type=url] {"
        on line 1 of test.scss
>> input[type=url] {
   ^

Expected result

libsass 3.4.4

input[type=url] {
  color: red; }

May also be related to: #2427

From bisect it appears to be this commit:

10398ed

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions