Updates HTML5::DocumentFragment.new, #parse with keyword arguments;#3335
Closed
infews wants to merge 1 commit into
Closed
Updates HTML5::DocumentFragment.new, #parse with keyword arguments;#3335infews wants to merge 1 commit into
infews wants to merge 1 commit into
Conversation
Member
|
Thanks for your patience. The last couple of weeks have been really busy, but I'm hoping to review and merge this in the next week or so! |
This was referenced Dec 8, 2024
Merged
Member
flavorjones
added a commit
that referenced
this pull request
Dec 8, 2024
…ke keyword arguments (#3355) **What problem is this PR intended to solve?** As part of #3323 there were a few RubyConf 2024 Hack Day pull requests addressing Document and DocumentFragment constructors which were related to, or blocked on, some changes to the C code. So this PR is a mega-PR that merges all those PRs and unifies the code and doc style: - #3327 - #3336 - #3334 - #3335 But in addition to those PRs also updates: - the `XML::DocumentFragment` new/initialize argument handling for CRuby and JRuby - `XML::DocumentFragment#initialize` kwargs - `HTML4::Document.parse` kwargs - general improvement of documentation **Have you included adequate test coverage?** I think so! **Does this change affect the behavior of either the C or the Java implementations?** The XML::DocumentFragment allocator has changed, but both implementations have been updated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem is this PR intended to solve?
Keywooooooorrrrrrrrd Arguments!
Have you included adequate test coverage?
Does this change affect the behavior of either the C or the Java implementations?
This PR is not complete. DocumentFragment.new is in C, and needs to be updated to call HTML5::DocumentFragment#initialize without the positional options hash.