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 template not having surrounding document #161

Closed
wants to merge 1 commit into from

Conversation

fb55
Copy link
Contributor

@fb55 fb55 commented Apr 3, 2023

#158 removed the fragment mode, without updating the expected document.

Originated in inikulin/parse5#877.

html5lib#158 removed the fragment mode, without updating the expected document.
@fb55
Copy link
Contributor Author

fb55 commented Apr 3, 2023

There will also be a number of errors that come up, but that I don't check for — might be easier to revert the commit. Also this makes a good case for downstream tests.

@Ms2ger
Copy link
Contributor

Ms2ger commented Apr 3, 2023

cc @annevk

@annevk
Copy link
Contributor

annevk commented Apr 3, 2023

@fb55 hmm, does that mean we should revert my fix or was there something wrong, but my fix was incomplete?

@fb55
Copy link
Contributor Author

fb55 commented Apr 3, 2023

Template tags are allowed within other template tags, so the previous test was valid as it was. I would lean towards reverting the commit.

@annevk
Copy link
Contributor

annevk commented Apr 3, 2023

https://wpt.fyi/results/html/syntax/parsing/html5lib_innerHTML_template.html is what made me think the test was bogus in some way.

@fb55
Copy link
Contributor Author

fb55 commented Apr 7, 2023

Closing in favor of #165

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.

3 participants