Skip to content

[BUGFIX] Allow CSS containing only whitespace or comments#1593

Merged
oliverklee merged 1 commit into
mainfrom
bugfix/empty-css
Jun 16, 2026
Merged

[BUGFIX] Allow CSS containing only whitespace or comments#1593
oliverklee merged 1 commit into
mainfrom
bugfix/empty-css

Conversation

@JakeQZ

@JakeQZ JakeQZ commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

The tests added are functional rather than unit tests, as they are indirectly testing CSSList rather than Parser itself.

Fixes #349

@JakeQZ JakeQZ requested a review from oliverklee June 15, 2026 23:23
@JakeQZ JakeQZ self-assigned this Jun 15, 2026
@JakeQZ JakeQZ added the bug label Jun 15, 2026
@coveralls

coveralls commented Jun 15, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 73.3%. remained the same — bugfix/empty-css into main

The tests added are functional rather than unit tests, as they are indirectly
testing `CSSList` rather than `Parser` itself.

Fixes #349
@JakeQZ JakeQZ force-pushed the bugfix/empty-css branch from 5b5a2b7 to 3191ce9 Compare June 15, 2026 23:33
@oliverklee oliverklee merged commit f32498a into main Jun 16, 2026
112 of 116 checks passed
@oliverklee oliverklee deleted the bugfix/empty-css branch June 16, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strict parsing mode exception with whitespace-only CSS

3 participants