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

Fix fragment quirks mode, and make it easier to specify fragment context #3246

Merged
merged 2 commits into from
Jun 22, 2024

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Jun 21, 2024

What problem is this PR intended to solve?

Coming from the discussion at #3023, I wanted to improve the fragment parsing API

Have you included adequate test coverage?

Included additional coverage for the API changes

Does this change affect the behavior of either the C or the Java implementations?

HTML5 is only in CRuby.

This more completely implements the guidance originally agreed upon in
issue #2646, as there is no "context node com[ing] from a real
document" when a tag name is provided.
Copy link
Contributor

@stevecheckoway stevecheckoway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

- deprecate positional options hash in .parse
- improve documentation for .parse
@flavorjones flavorjones force-pushed the 3023-more-consistent-fragment-parsing-attempt-2 branch from 3106c58 to eca68e7 Compare June 22, 2024 13:00
@flavorjones flavorjones merged commit cc78398 into main Jun 22, 2024
131 of 132 checks passed
@flavorjones flavorjones deleted the 3023-more-consistent-fragment-parsing-attempt-2 branch June 22, 2024 13:22
@flavorjones
Copy link
Member Author

This closed #3183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants