Editorial: Align fragment parsing algorithms with their parameter types#12361
Merged
annevk merged 2 commits intowhatwg:mainfrom Apr 13, 2026
Merged
Editorial: Align fragment parsing algorithms with their parameter types#12361annevk merged 2 commits intowhatwg:mainfrom
annevk merged 2 commits intowhatwg:mainfrom
Conversation
Invoke the HTML and XML fragment parsing algorithms separately, since they take different arguments. Also use 'parser scripting mode' for the HTML fragment parsing algorithms as the fragment parser sets the parsing mode to the 'Disabled' which is wider than the fragment parsing mode definition.
Collaborator
|
LGTM |
annevk
approved these changes
Apr 13, 2026
source
Outdated
|
|
||
| <li><p>Let <var>newChildren</var> be the result of invoking <var>algorithm</var> given | ||
| <var>context</var>, <var>markup</var>, false, and <var>scriptingMode</var>.</p></li> | ||
| <li><p>Otherwise set <var>newChildren</var> to the result of invoking the <span>HTML fragment |
Member
There was a problem hiding this comment.
Suggested change
| <li><p>Otherwise set <var>newChildren</var> to the result of invoking the <span>HTML fragment | |
| <li><p>Otherwise, set <var>newChildren</var> to the result of invoking the <span>HTML fragment |
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.
Invoke the HTML and XML fragment parsing algorithms separately, since they take different arguments. Also use 'parser scripting mode' for the HTML fragment parsing algorithms as the fragment parser sets the parsing mode to the 'Disabled' which is wider than the fragment parsing mode definition.
Fixes #12359
/dynamic-markup-insertion.html ( diff )
/parsing.html ( diff )