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

Editorial: improve fragment parsing #10874

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Editorial: improve fragment parsing #10874

merged 2 commits into from
Jan 6, 2025

Conversation

annevk
Copy link
Member

@annevk annevk commented Dec 19, 2024

This makes the argument order consistent and corrects a false statement about what the XML fragment parser returns. It also generally improves alignment with Infra and other best practices, though it does not improve the actual integration with the parsers.


Noticed this while working on scoped custom element registries.


/dynamic-markup-insertion.html ( diff )
/parsing.html ( diff )
/xhtml.html ( diff )

This makes the argument order consistent and corrects a false statement about what the XML fragment parser returns. It also generally improves alignment with Infra and other best practices, though it does not improve the actual integration with the parsers.
source Outdated Show resolved Hide resolved
source Outdated Show resolved Hide resolved
@annevk annevk merged commit 7536a8f into main Jan 6, 2025
2 checks passed
@annevk annevk deleted the annevk/fragment-parsing branch January 6, 2025 15:18
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Jan 7, 2025
Corresponds to whatwg/html#10874

Also, parse_fragment() returns ExceptionOr, so stop voiding the error
from append_child().
gmta pushed a commit to LadybirdBrowser/ladybird that referenced this pull request Jan 7, 2025
Corresponds to whatwg/html#10874

Also, parse_fragment() returns ExceptionOr, so stop voiding the error
from append_child().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants