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

Fix html5lib test serialization with #document-fragment: template #39474

Conversation

gsnedders
Copy link
Member

When innerHTML is applied to a template, it uses the template's template contents as its context object, which means we need to serialize that and not the element itself.

See also html5lib/html5lib-tests#165

When innerHTML is applied to a template, it uses the template's
template contents as its context object, which means we need to
serialize that and not the element itself.

See also html5lib/html5lib-tests#165
@gsnedders
Copy link
Member Author

Reviewers: this should progress /html/syntax/parsing/html5lib_innerHTML_template.html and shouldn't regress anything.

@annevk
Copy link
Member

annevk commented Apr 11, 2023

@gsnedders gsnedders merged commit ff2fcb2 into web-platform-tests:master Apr 11, 2023
@gsnedders gsnedders deleted the html5lib-tests-template-document-fragment branch April 11, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants