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

Parsing * does not include a name #43

Closed
bramus opened this issue Jan 20, 2023 · 1 comment · Fixed by #45
Closed

Parsing * does not include a name #43

bramus opened this issue Jan 20, 2023 · 1 comment · Fixed by #45

Comments

@bramus
Copy link
Contributor

bramus commented Jan 20, 2023

Output for parsing * is this:

{
	"type": "type",
	"content": "*",
	"pos": [
		0,
		1
	]
}

Compare this to parsing p (or any other selector): they contain a name:

{
	"type": "type",
	"content": "p",
	"name": "p",
	"pos": [
		0,
		1
	]
}

I would have expected a name to also be included when parsing *

@LeaVerou
Copy link
Owner

The idea was that name is a specific tag name. But this will be a non-issue if the proposal in #42 is accepted.

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 a pull request may close this issue.

2 participants