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

[CLEANUP] Return null from DeclarationBlock::parse() on failure #1209

Merged
merged 2 commits into from
Mar 24, 2025

Conversation

JakeQZ
Copy link
Contributor

@JakeQZ JakeQZ commented Mar 23, 2025

Also add clarification of meaning of return value from CSSList::parseListItem(), where null and false have different meanings.

Part of #1176.

@JakeQZ
Copy link
Contributor Author

JakeQZ commented Mar 23, 2025

CSSList::parseList() seems to distinguish null from false unexpectedly. Will need looking into first...

@JakeQZ JakeQZ marked this pull request as draft March 23, 2025 02:11
Also add clarification of meaning of return value from
`CSSList::parseListItem()`, where `null` and `false` have different meanings.

Part of #1176.
@JakeQZ JakeQZ force-pushed the cleanup/declaration-block-parse-return-null branch from ddbe63e to 1e8ca90 Compare March 23, 2025 23:01
@coveralls
Copy link

coveralls commented Mar 23, 2025

Coverage Status

coverage: 52.048% (+0.4%) from 51.611%
when pulling 3914812 on cleanup/declaration-block-parse-return-null
into 6393660 on main.

@JakeQZ JakeQZ marked this pull request as ready for review March 23, 2025 23:07
@JakeQZ
Copy link
Contributor Author

JakeQZ commented Mar 23, 2025

This is ready for review now. (I can't see how to re-request review when a previous review has not been done.)

@JakeQZ JakeQZ force-pushed the cleanup/declaration-block-parse-return-null branch from 71f6e0e to 3914812 Compare March 24, 2025 18:18
@JakeQZ JakeQZ requested a review from oliverklee March 24, 2025 18:20
@oliverklee oliverklee merged commit acfe85e into main Mar 24, 2025
21 checks passed
@oliverklee oliverklee deleted the cleanup/declaration-block-parse-return-null branch March 24, 2025 19:08
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.

3 participants