Bug 1827435 [wpt PR 39474] - Fix html5lib test serialization with #document-fragment...
commitf3ebc7700c503d8773c1e40d29aa6fb572bd230b
authorSam Sneddon <gsnedders@apple.com>
Thu, 13 Apr 2023 08:38:26 +0000 (13 08:38 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 14 Apr 2023 11:16:37 +0000 (14 11:16 +0000)
treed3548980efd988587b4c9149c115fd11537848c6
parent91476b12f8f921dddabc6d842ba6e7e6311852ec
Bug 1827435 [wpt PR 39474] - Fix html5lib test serialization with #document-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 https://github.com/html5lib/html5lib-tests/pull/165

--

wpt-commits: ff2fcb22027c36f71122179189800392ac906d12
wpt-pr: 39474
testing/web-platform/tests/html/syntax/parsing/test.js