Skip to content

:lang with empty expression list parsed incorrectly #72

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants