cwdoh/cssparser.js

Attribute selectors are "undefined"

Closed this issue · 1 comments

Rules with attribute selectors currently give me wrong output:

button, html [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

results in

{
    "type": "rule",
    "selectors": [
        "button",
        "html [undefined]",
        "[undefined]",
        "[undefined]"
    ],
    "declarations": {
        "-webkit-appearance": "button"
    }
}
cwdoh commented

Fixed. :)