Skip to content

Tree Construction: do not use phase-specific handling for implied end-tag tokens emitted during InBody phase #523

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

Closed
wants to merge 3 commits into from

Conversation

jayaddison
Copy link
Contributor

The InBodyPhase parser phase creates and processes implied close-tag tokens for a small number of stopNames elements.

This changeset updates the phase's logic so that processing of these implied tokens remains within the InBody parser phase.

This fixes #111 by avoiding a call to the phase-specific InTablePhase.endTagOther to handle the implied end-tag, which as a side-effect disables the insertFromTable flag. That flag must remain True in order for repositioning of fostered elements relative to a <table> tag to be performed correctly.

@jayaddison
Copy link
Contributor Author

Cleaning up some old / stale pull requests; please let me know if this changeset is considered worthwhile and I'll reopen if so.

@jayaddison jayaddison closed this Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

li in foster parent case incorrectly handled
1 participant