Skip to content

Conversation

@marcelduran
Copy link
Contributor

Fixed selector parser to parse attribute selectors with/without comma properly.
Test included.

@marcelduran
Copy link
Contributor Author

e.g.:

img[src^="data:image/png;base64,"], img[src^="data:image/jpeg;base64,"] {/*...*/}

is currently parsed as

  • img[src^="data:image/png;base64
  • "]
  • img[src^="data:image/jpeg;base64
  • "]

when the expected parsed results should be:

  • img[src^="data:image/png;base64,"]
  • img[src^="data:image/jpeg;base64,"]

necolas added a commit that referenced this pull request May 16, 2014
Parse attribute selectors with comma
@necolas necolas merged commit b5b5e38 into reworkcss:master May 16, 2014
@necolas
Copy link
Contributor

necolas commented May 16, 2014

Thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants