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

:lang with empty expression list parsed incorrectly #72

Closed
shagkur opened this issue Jan 10, 2022 · 3 comments
Closed

:lang with empty expression list parsed incorrectly #72

shagkur opened this issue Jan 10, 2022 · 3 comments
Assignees
Labels

Comments

@shagkur
Copy link
Contributor

shagkur commented Jan 10, 2022

An incorrectly empty lang function type pseudo class like:

:lang() {
	color: black;
}

is parsed incorrectly (should probably even dropped) to this:
:lang( { color:black; }

@phax phax self-assigned this Jan 10, 2022
@phax phax added the bug label Jan 10, 2022
@phax
Copy link
Owner

phax commented Jan 10, 2022

@phax
Copy link
Owner

phax commented Jan 10, 2022

Part of 6.4.1

@phax phax closed this as completed Jan 10, 2022
@phax
Copy link
Owner

phax commented Jan 10, 2022

(I don't want to add specific rules to all pseudo classes, except where specific syntax requirements are provided)

phax added a commit that referenced this issue Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants