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

Namespaced attribute selectors throw csso off #233

Closed
regiskuckaertz opened this issue Aug 4, 2015 · 1 comment
Closed

Namespaced attribute selectors throw csso off #233

regiskuckaertz opened this issue Aug 4, 2015 · 1 comment

Comments

@regiskuckaertz
Copy link

Hello, I noticed than with the following CSS:

@namespace xlink "http:https://www.w3.org/1999/xlink";
use > use[xlink|href="#il-"] {
  stroke: currentColor;
}

csso returns with the following error message: Cannot read property '0' of undefined

I'm using grunt-csso which uses the latest version of csso (1.3.11). The same error happens when I type [*|href="..."] as well.

@lahmatiy
Copy link
Member

Yep, csso parser didn't support for namespaces in attribute selectors.
Fixed.

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