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

Reimplement the adoption agency algorithm #2278

Merged
merged 2 commits into from
Feb 26, 2025
Merged

Reimplement the adoption agency algorithm #2278

merged 2 commits into from
Feb 26, 2025

Conversation

jhy
Copy link
Owner

@jhy jhy commented Feb 26, 2025

Fixes #2267

The implementation of the adoption agency algorithm vs the HTML5 spec had drifted over time. This fixes that.

The spec for table fostering when in adoption is not presently implemented, marked as a todo.

Given the complexity of the algo and how it has changed over time, I opted to include it inline so that hopefully later changes are easier to adopt.

@jhy jhy added this to the 1.19.1 milestone Feb 26, 2025
@jhy jhy added the improvement An improvement / new feature idea label Feb 26, 2025
@jhy jhy merged commit cee7563 into master Feb 26, 2025
22 checks passed
@jhy jhy deleted the adoption-agency branch February 26, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An improvement / new feature idea
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTML elements are reordered.
1 participant