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

correct tests recently modified or introduced #165

Merged

Conversation

flavorjones
Copy link
Contributor

@flavorjones flavorjones commented Apr 7, 2023

Some of the tests recently introduced or modified need to be corrected.

Specific changes are:

  • setting correct #errors for the tests
  • reverted the change from 1314b09

These tests were caught by Nokogiri's libgumbo test suite, which was proposed as a downstream test in #154.

gsnedders added a commit to gsnedders/web-platform-tests that referenced this pull request Apr 11, 2023
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 added a commit to web-platform-tests/wpt that referenced this pull request Apr 11, 2023
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
and revert a template test change from 1314b09
@flavorjones flavorjones force-pushed the flavorjones-fix-template-2023-04 branch from 38b11e5 to f28ed37 Compare April 11, 2023 17:25
@annevk annevk merged commit 251b2ef into html5lib:master Apr 11, 2023
1 check passed
@flavorjones flavorjones deleted the flavorjones-fix-template-2023-04 branch April 11, 2023 17:43
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Apr 15, 2023
…cument-fragment: template, a=testonly

Automatic update from web-platform-tests
Fix html5lib test serialization with #document-fragment: template

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

--

wpt-commits: ff2fcb22027c36f71122179189800392ac906d12
wpt-pr: 39474
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.

None yet

3 participants