Skip to content

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
@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

3 participants