We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
html|*
Output for parsing a namespaced * is this:
*
{ "type": "compound", "list": [ { "type": "type", "content": "html", "name": "html", "pos": [ 0, 4 ] }, "|", { "type": "type", "content": "*", "pos": [ 5, 6 ] } ] }
This is incorrect. It’s simply namespaced universal selector.
Regular namespaced selectors – such as html|p – work fine:
html|p
{ "type": "type", "content": "html|p", "namespace": "html", "name": "p", "pos": [ 0, 6 ] }
While drafting this issue, I noticed same thing happens when trying to parse html|. It’s also reported as Compound Selector.
html|
The text was updated successfully, but these errors were encountered:
Regular namespaced selectors – such as html|p – work fine: { "type": "compound", "list": [ { "type": "type", "content": "html", "name": "html", "pos": [ 0, 4 ] }, "|", { "type": "type", "content": "*", "pos": [ 5, 6 ] } ] }
I think you pasted the wrong code, this is what's produced (which is indeed correct):
Sorry, something went wrong.
I think you pasted the wrong code
That was a copy-paste error on my part indeed. I have updated the original post to include the correct snippet.
I think this one is already fixed in this PR
@david-luna Correct. Added an extra test in #46, verifying this.
No branches or pull requests
Output for parsing a namespaced
*
is this:This is incorrect. It’s simply namespaced universal selector.
Regular namespaced selectors – such as
html|p
– work fine:While drafting this issue, I noticed same thing happens when trying to parse
html|
. It’s also reported as Compound Selector.The text was updated successfully, but these errors were encountered: