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

HTML API: Improve implementation of adoption agency algorithm #14

Closed
wants to merge 2 commits into from

Conversation

dmsnell
Copy link
Owner

@dmsnell dmsnell commented Jan 13, 2024

Improves support for the adoption agency algorithm in HTML, which re-parents nodes that appear in a different order than their corresponding tag in HTML, or when encountering certain closing elements for which no opening element exists.

This depends on resolving the issue: what do we do with nodes that are implicitly created after arriving at another tag?

<a><div supported><a unsupported></div></a>
DOM in browser HTML Breadcrumbs
Screenshot 2024-01-13 at 11 00 39 AM Screenshot 2024-01-13 at 11 00 48 AM

@dmsnell dmsnell force-pushed the html-api/improve-adoption-agency-algorithm branch from 59f4133 to 5b9b256 Compare January 15, 2024 17:25
@dmsnell dmsnell force-pushed the html-api/improve-active-element-reconstruction branch from f412732 to 55e20cf Compare July 2, 2024 22:33
@dmsnell dmsnell force-pushed the html-api/improve-adoption-agency-algorithm branch from 5b9b256 to 2d05d46 Compare July 3, 2024 03:47
@dmsnell dmsnell changed the base branch from html-api/improve-active-element-reconstruction to trunk July 3, 2024 03:49
@dmsnell
Copy link
Owner Author

dmsnell commented Jul 6, 2024

Superseded by WordPress#6983

@dmsnell dmsnell closed this Jul 6, 2024
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.

1 participant