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

Fails to parse Stylesheet with invalid characters between rules #1036

Closed
capricorn86 opened this issue Aug 29, 2023 · 0 comments · Fixed by #1037
Closed

Fails to parse Stylesheet with invalid characters between rules #1036

capricorn86 opened this issue Aug 29, 2023 · 0 comments · Fixed by #1037
Assignees
Labels
bug Something isn't working

Comments

@capricorn86
Copy link
Owner

Invalid CSS selector exception thrown for

	.container1 {
		background: yellow;
	}
;

	.container2 {
		background: red;
	}

	.container3 {
		background: pink;
	}
@capricorn86 capricorn86 added the bug Something isn't working label Aug 29, 2023
@capricorn86 capricorn86 self-assigned this Aug 29, 2023
capricorn86 added a commit that referenced this issue Aug 29, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
… is valid when parsing a Stylesheet. Invalid selectors will be ignored (this is also how the spec is defined).
capricorn86 added a commit that referenced this issue Aug 29, 2023
…ylesheet-with-invalid-characters-between-rules

#1036@patch: Adds a check for if the selector text for a CSSStyleRule…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant