html/semantics/scripting-1/the-template-element/template-for/
517 / 537 WPT subtests passing
- Failed
- 20
- Timed out
- 0
- Not run
- 0
- Test files
- 53
- Blocking files
- 0
Chrome 505 / 537 WPT subtests passing on the same files, none blocking
Tests
53 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
chained-streaming-templates-with-custom-element.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Chained streaming templates and OwnerDocument
stream-append-has-invalidation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- :has() invalidation when streaming <template for>
stream-append-positional-pseudo-class-invalidation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Positional pseudo-class invalidation when streaming <template for>
stream-append-with-template-for.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- streamAppendHTMLUnsafe applies <template for>
stream-head-scope.html 13 / 13 passingChrome 1 / 130 failedClean
13 passing subtests
- streamHTMLUnsafe targeting body does not patch markers in head
- streamHTMLUnsafe targeting body patches markers in body without touching head
- streamAppendHTMLUnsafe targeting body does not patch markers in head
- streamAppendHTMLUnsafe targeting body patches markers in body without touching head
- streamPrependHTMLUnsafe targeting body does not patch markers in head
- streamPrependHTMLUnsafe targeting body patches markers in body without touching head
- streamBeforeHTMLUnsafe targeting body does not patch markers in head
- streamBeforeHTMLUnsafe targeting body patches markers in body without touching head
- streamAfterHTMLUnsafe targeting body does not patch markers in head
- streamAfterHTMLUnsafe targeting body patches markers in body without touching head
- streamReplaceWithHTMLUnsafe targeting body does not patch markers in head
- streamReplaceWithHTMLUnsafe targeting body patches markers in body without touching head
- streamHTMLUnsafe on documentElement allows template in body to patch head
template-for-append-element.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> appending element
template-for-append-text-and-element.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> with text
template-for-append-to-head.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - append to head
template-for-case-sensitive-dom-inserted.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- marker/end/start PI targets are parsed as lower case, but attributes are case-sensitive
template-for-case-sensitive.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- marker/end/start PI targets, attributes and their values are case-sensitive
template-for-empty-hash.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- empty hash matches marker without name attribute
template-for-empty.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A template with an empty for attribute is ignored and attached to the DOM
template-for-foster-parenting.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Foster parenting inside <template for> keeps content in the target (iframe)
- Foster parenting inside <template for> keeps content in the target (innerHTML)
- Foster parenting inside <template for> keeps content in the target (stream)
- Foster parenting out of a tr inside <template for> keeps content in the target (iframe)
- Foster parenting out of a tr inside <template for> keeps content in the target (innerHTML)
- Foster parenting out of a tr inside <template for> keeps content in the target (stream)
template-for-gradual-append.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple <template for>
template-for-html-setters.html 28 / 28 passingChrome 28 / 280 failedClean
28 passing subtests
- Setter innerHTML should not patch existing target in head
- Setter innerHTML should patch targets inside the fragment
- Setter outerHTML should not patch existing target in head
- Setter outerHTML should patch targets inside the fragment
- Setter outerHTML should not patch existing target in body
- Setter setHTMLUnsafe should not patch existing target in head
- Setter setHTMLUnsafe should patch targets inside the fragment
- Setter insertAdjacentHTML should not patch existing target in head
- Setter insertAdjacentHTML should patch targets inside the fragment
- Setter insertAdjacentHTML should not patch existing target in body
- Setter appendHTMLUnsafe should not patch existing target in head
- Setter appendHTMLUnsafe should patch targets inside the fragment
- Setter appendHTMLUnsafe should not patch existing target in body
- Setter prependHTMLUnsafe should not patch existing target in head
- Setter prependHTMLUnsafe should patch targets inside the fragment
- Setter prependHTMLUnsafe should not patch existing target in body
- Setter beforeHTMLUnsafe should not patch existing target in head
- Setter beforeHTMLUnsafe should patch targets inside the fragment
- Setter beforeHTMLUnsafe should not patch existing target in body
- Setter afterHTMLUnsafe should not patch existing target in head
- Setter afterHTMLUnsafe should patch targets inside the fragment
- Setter afterHTMLUnsafe should not patch existing target in body
- Setter replaceWithHTMLUnsafe should not patch existing target in head
- Setter replaceWithHTMLUnsafe should patch targets inside the fragment
- Setter replaceWithHTMLUnsafe should not patch existing target in body
- Setter createContextualFragment should not patch existing target in head
- Setter createContextualFragment should patch targets inside the fragment
- Setter createContextualFragment should not patch existing target in body
template-for-innerHTML-ambiguous.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> in innerHTML patching inner element
template-for-innerHTML-outside.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> in innerHTML should not patch outer element
template-for-innerHTML-within.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> in innerHTML patching inner element
template-for-invalid.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> with a nonexistent ID should attach
template-for-invokes-pagehide-with-end.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Patching only removes elements that were present when patching is prepared (with <?end>)
template-for-invokes-pagehide-without-end.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Patching only removes elements that were present when patching is prepared
template-for-move-cross-document.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
Crane fails exactly as Chrome, the one browser that ships template-for, does: after the move, after.previousSibling is the script element, not the "A" text the test expects (wpt#65399); Firefox and Safari do not ship the feature and fail at the move itself
- Crane matches
- Chrome
- Chrome
- wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Ruling
- golden rule 2: a browser that does not ship the feature does not count toward a majority - Firefox 160 and Safari 27.2 do not ship template-for streaming (17 of 537 subtests in template-for/, against Chrome 157's 505) - so Chrome is the shipping majority; the file's own bug is wpt#65399 (open), not test-bug because Firefox and Safari fail at an earlier assertion
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILMoving the target to another document while appending redirects parser output there
assert_equals: content appended before the move remains in the target expected "A" but got "\n otherDoc.body.appendChild(document.querySelector(\"#target\"));\n "
template-for-move-end-while-appending.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple <template for>
template-for-move-marker-while-appending.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple <template for>
template-for-move-start-while-appending.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - move <?start> while appending has no effect
template-for-move-while-appending.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple <template for>
template-for-multiple-cases.html 396 / 414 passingChrome 396 / 41418 failedWith failures
- ¶
FAILUnclosed element in template content with only start - innerHTML
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - innerHTML with 2 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - innerHTML with 4 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - iframe
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - iframe with 2 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - iframe with 4 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - template
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - template with 2 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - template with 4 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - parse
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - parse with 2 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - parse with 4 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - contextualFragment
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - contextualFragment with 2 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - contextualFragment with 4 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - stream
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - stream with 2 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
- ¶
FAILUnclosed element in template content with only start - stream with 4 chunks
assert_equals: expected "<div><span>New content</span></div>" but got "<div><span>New</span></div>"
396 passing subtests
- Simple replacement with only start - innerHTML
- Simple replacement with only start - innerHTML with 2 chunks
- Simple replacement with only start - innerHTML with 4 chunks
- Simple replacement with only start - iframe
- Simple replacement with only start - iframe with 2 chunks
- Simple replacement with only start - iframe with 4 chunks
- Simple replacement with only start - template
- Simple replacement with only start - template with 2 chunks
- Simple replacement with only start - template with 4 chunks
- Simple replacement with only start - parse
- Simple replacement with only start - parse with 2 chunks
- Simple replacement with only start - parse with 4 chunks
- Simple replacement with only start - contextualFragment
- Simple replacement with only start - contextualFragment with 2 chunks
- Simple replacement with only start - contextualFragment with 4 chunks
- Simple replacement with only start - stream
- Simple replacement with only start - stream with 2 chunks
- Simple replacement with only start - stream with 4 chunks
- Simple replacement with start and end - innerHTML
- Simple replacement with start and end - innerHTML with 2 chunks
- Simple replacement with start and end - innerHTML with 4 chunks
- Simple replacement with start and end - iframe
- Simple replacement with start and end - iframe with 2 chunks
- Simple replacement with start and end - iframe with 4 chunks
- Simple replacement with start and end - template
- Simple replacement with start and end - template with 2 chunks
- Simple replacement with start and end - template with 4 chunks
- Simple replacement with start and end - parse
- Simple replacement with start and end - parse with 2 chunks
- Simple replacement with start and end - parse with 4 chunks
- Simple replacement with start and end - contextualFragment
- Simple replacement with start and end - contextualFragment with 2 chunks
- Simple replacement with start and end - contextualFragment with 4 chunks
- Simple replacement with start and end - stream
- Simple replacement with start and end - stream with 2 chunks
- Simple replacement with start and end - stream with 4 chunks
- Void marker at start - innerHTML
- Void marker at start - innerHTML with 2 chunks
- Void marker at start - innerHTML with 4 chunks
- Void marker at start - iframe
- Void marker at start - iframe with 2 chunks
- Void marker at start - iframe with 4 chunks
- Void marker at start - template
- Void marker at start - template with 2 chunks
- Void marker at start - template with 4 chunks
- Void marker at start - parse
- Void marker at start - parse with 2 chunks
- Void marker at start - parse with 4 chunks
- Void marker at start - contextualFragment
- Void marker at start - contextualFragment with 2 chunks
- Void marker at start - contextualFragment with 4 chunks
- Void marker at start - stream
- Void marker at start - stream with 2 chunks
- Void marker at start - stream with 4 chunks
- Void marker at end - innerHTML
- Void marker at end - innerHTML with 2 chunks
- Void marker at end - innerHTML with 4 chunks
- Void marker at end - iframe
- Void marker at end - iframe with 2 chunks
- Void marker at end - iframe with 4 chunks
- Void marker at end - template
- Void marker at end - template with 2 chunks
- Void marker at end - template with 4 chunks
- Void marker at end - parse
- Void marker at end - parse with 2 chunks
- Void marker at end - parse with 4 chunks
- Void marker at end - contextualFragment
- Void marker at end - contextualFragment with 2 chunks
- Void marker at end - contextualFragment with 4 chunks
- Void marker at end - stream
- Void marker at end - stream with 2 chunks
- Void marker at end - stream with 4 chunks
- Void marker in the middle - innerHTML
- Void marker in the middle - innerHTML with 2 chunks
- Void marker in the middle - innerHTML with 4 chunks
- Void marker in the middle - iframe
- Void marker in the middle - iframe with 2 chunks
- Void marker in the middle - iframe with 4 chunks
- Void marker in the middle - template
- Void marker in the middle - template with 2 chunks
- Void marker in the middle - template with 4 chunks
- Void marker in the middle - parse
- Void marker in the middle - parse with 2 chunks
- Void marker in the middle - parse with 4 chunks
- Void marker in the middle - contextualFragment
- Void marker in the middle - contextualFragment with 2 chunks
- Void marker in the middle - contextualFragment with 4 chunks
- Void marker in the middle - stream
- Void marker in the middle - stream with 2 chunks
- Void marker in the middle - stream with 4 chunks
- Multiple named markers - innerHTML
- Multiple named markers - innerHTML with 2 chunks
- Multiple named markers - innerHTML with 4 chunks
- Multiple named markers - iframe
- Multiple named markers - iframe with 2 chunks
- Multiple named markers - iframe with 4 chunks
- Multiple named markers - template
- Multiple named markers - template with 2 chunks
- Multiple named markers - template with 4 chunks
- Multiple named markers - parse
- Multiple named markers - parse with 2 chunks
- Multiple named markers - parse with 4 chunks
- Multiple named markers - contextualFragment
- Multiple named markers - contextualFragment with 2 chunks
- Multiple named markers - contextualFragment with 4 chunks
- Multiple named markers - stream
- Multiple named markers - stream with 2 chunks
- Multiple named markers - stream with 4 chunks
- Multiple named markers with same name only replaces first one - innerHTML
- Multiple named markers with same name only replaces first one - innerHTML with 2 chunks
- Multiple named markers with same name only replaces first one - innerHTML with 4 chunks
- Multiple named markers with same name only replaces first one - iframe
- Multiple named markers with same name only replaces first one - iframe with 2 chunks
- Multiple named markers with same name only replaces first one - iframe with 4 chunks
- Multiple named markers with same name only replaces first one - template
- Multiple named markers with same name only replaces first one - template with 2 chunks
- Multiple named markers with same name only replaces first one - template with 4 chunks
- Multiple named markers with same name only replaces first one - parse
- Multiple named markers with same name only replaces first one - parse with 2 chunks
- Multiple named markers with same name only replaces first one - parse with 4 chunks
- Multiple named markers with same name only replaces first one - contextualFragment
- Multiple named markers with same name only replaces first one - contextualFragment with 2 chunks
- Multiple named markers with same name only replaces first one - contextualFragment with 4 chunks
- Multiple named markers with same name only replaces first one - stream
- Multiple named markers with same name only replaces first one - stream with 2 chunks
- Multiple named markers with same name only replaces first one - stream with 4 chunks
- Multiple templates for same marker - innerHTML
- Multiple templates for same marker - innerHTML with 2 chunks
- Multiple templates for same marker - innerHTML with 4 chunks
- Multiple templates for same marker - iframe
- Multiple templates for same marker - iframe with 2 chunks
- Multiple templates for same marker - iframe with 4 chunks
- Multiple templates for same marker - template
- Multiple templates for same marker - template with 2 chunks
- Multiple templates for same marker - template with 4 chunks
- Multiple templates for same marker - parse
- Multiple templates for same marker - parse with 2 chunks
- Multiple templates for same marker - parse with 4 chunks
- Multiple templates for same marker - contextualFragment
- Multiple templates for same marker - contextualFragment with 2 chunks
- Multiple templates for same marker - contextualFragment with 4 chunks
- Multiple templates for same marker - stream
- Multiple templates for same marker - stream with 2 chunks
- Multiple templates for same marker - stream with 4 chunks
- Nested named markers - replace outer - innerHTML
- Nested named markers - replace outer - innerHTML with 2 chunks
- Nested named markers - replace outer - innerHTML with 4 chunks
- Nested named markers - replace outer - iframe
- Nested named markers - replace outer - iframe with 2 chunks
- Nested named markers - replace outer - iframe with 4 chunks
- Nested named markers - replace outer - template
- Nested named markers - replace outer - template with 2 chunks
- Nested named markers - replace outer - template with 4 chunks
- Nested named markers - replace outer - parse
- Nested named markers - replace outer - parse with 2 chunks
- Nested named markers - replace outer - parse with 4 chunks
- Nested named markers - replace outer - contextualFragment
- Nested named markers - replace outer - contextualFragment with 2 chunks
- Nested named markers - replace outer - contextualFragment with 4 chunks
- Nested named markers - replace outer - stream
- Nested named markers - replace outer - stream with 2 chunks
- Nested named markers - replace outer - stream with 4 chunks
- Nested named markers - replace inner - innerHTML
- Nested named markers - replace inner - innerHTML with 2 chunks
- Nested named markers - replace inner - innerHTML with 4 chunks
- Nested named markers - replace inner - iframe
- Nested named markers - replace inner - iframe with 2 chunks
- Nested named markers - replace inner - iframe with 4 chunks
- Nested named markers - replace inner - template
- Nested named markers - replace inner - template with 2 chunks
- Nested named markers - replace inner - template with 4 chunks
- Nested named markers - replace inner - parse
- Nested named markers - replace inner - parse with 2 chunks
- Nested named markers - replace inner - parse with 4 chunks
- Nested named markers - replace inner - contextualFragment
- Nested named markers - replace inner - contextualFragment with 2 chunks
- Nested named markers - replace inner - contextualFragment with 4 chunks
- Nested named markers - replace inner - stream
- Nested named markers - replace inner - stream with 2 chunks
- Nested named markers - replace inner - stream with 4 chunks
- Interleaved markers (a) - innerHTML
- Interleaved markers (a) - innerHTML with 2 chunks
- Interleaved markers (a) - innerHTML with 4 chunks
- Interleaved markers (a) - iframe
- Interleaved markers (a) - iframe with 2 chunks
- Interleaved markers (a) - iframe with 4 chunks
- Interleaved markers (a) - template
- Interleaved markers (a) - template with 2 chunks
- Interleaved markers (a) - template with 4 chunks
- Interleaved markers (a) - parse
- Interleaved markers (a) - parse with 2 chunks
- Interleaved markers (a) - parse with 4 chunks
- Interleaved markers (a) - contextualFragment
- Interleaved markers (a) - contextualFragment with 2 chunks
- Interleaved markers (a) - contextualFragment with 4 chunks
- Interleaved markers (a) - stream
- Interleaved markers (a) - stream with 2 chunks
- Interleaved markers (a) - stream with 4 chunks
- Interleaved markers (b) - innerHTML
- Interleaved markers (b) - innerHTML with 2 chunks
- Interleaved markers (b) - innerHTML with 4 chunks
- Interleaved markers (b) - iframe
- Interleaved markers (b) - iframe with 2 chunks
- Interleaved markers (b) - iframe with 4 chunks
- Interleaved markers (b) - template
- Interleaved markers (b) - template with 2 chunks
- Interleaved markers (b) - template with 4 chunks
- Interleaved markers (b) - parse
- Interleaved markers (b) - parse with 2 chunks
- Interleaved markers (b) - parse with 4 chunks
- Interleaved markers (b) - contextualFragment
- Interleaved markers (b) - contextualFragment with 2 chunks
- Interleaved markers (b) - contextualFragment with 4 chunks
- Interleaved markers (b) - stream
- Interleaved markers (b) - stream with 2 chunks
- Interleaved markers (b) - stream with 4 chunks
- Hash in marker name - innerHTML
- Hash in marker name - innerHTML with 2 chunks
- Hash in marker name - innerHTML with 4 chunks
- Hash in marker name - iframe
- Hash in marker name - iframe with 2 chunks
- Hash in marker name - iframe with 4 chunks
- Hash in marker name - template
- Hash in marker name - template with 2 chunks
- Hash in marker name - template with 4 chunks
- Hash in marker name - parse
- Hash in marker name - parse with 2 chunks
- Hash in marker name - parse with 4 chunks
- Hash in marker name - contextualFragment
- Hash in marker name - contextualFragment with 2 chunks
- Hash in marker name - contextualFragment with 4 chunks
- Hash in marker name - stream
- Hash in marker name - stream with 2 chunks
- Hash in marker name - stream with 4 chunks
- Empty marker name with <?start> and <?end> - innerHTML
- Empty marker name with <?start> and <?end> - innerHTML with 2 chunks
- Empty marker name with <?start> and <?end> - innerHTML with 4 chunks
- Empty marker name with <?start> and <?end> - iframe
- Empty marker name with <?start> and <?end> - iframe with 2 chunks
- Empty marker name with <?start> and <?end> - iframe with 4 chunks
- Empty marker name with <?start> and <?end> - template
- Empty marker name with <?start> and <?end> - template with 2 chunks
- Empty marker name with <?start> and <?end> - template with 4 chunks
- Empty marker name with <?start> and <?end> - parse
- Empty marker name with <?start> and <?end> - parse with 2 chunks
- Empty marker name with <?start> and <?end> - parse with 4 chunks
- Empty marker name with <?start> and <?end> - contextualFragment
- Empty marker name with <?start> and <?end> - contextualFragment with 2 chunks
- Empty marker name with <?start> and <?end> - contextualFragment with 4 chunks
- Empty marker name with <?start> and <?end> - stream
- Empty marker name with <?start> and <?end> - stream with 2 chunks
- Empty marker name with <?start> and <?end> - stream with 4 chunks
- Empty marker name with <?marker> - innerHTML
- Empty marker name with <?marker> - innerHTML with 2 chunks
- Empty marker name with <?marker> - innerHTML with 4 chunks
- Empty marker name with <?marker> - iframe
- Empty marker name with <?marker> - iframe with 2 chunks
- Empty marker name with <?marker> - iframe with 4 chunks
- Empty marker name with <?marker> - template
- Empty marker name with <?marker> - template with 2 chunks
- Empty marker name with <?marker> - template with 4 chunks
- Empty marker name with <?marker> - parse
- Empty marker name with <?marker> - parse with 2 chunks
- Empty marker name with <?marker> - parse with 4 chunks
- Empty marker name with <?marker> - contextualFragment
- Empty marker name with <?marker> - contextualFragment with 2 chunks
- Empty marker name with <?marker> - contextualFragment with 4 chunks
- Empty marker name with <?marker> - stream
- Empty marker name with <?marker> - stream with 2 chunks
- Empty marker name with <?marker> - stream with 4 chunks
- Unclosed element in template content with start and end - innerHTML
- Unclosed element in template content with start and end - innerHTML with 2 chunks
- Unclosed element in template content with start and end - innerHTML with 4 chunks
- Unclosed element in template content with start and end - iframe
- Unclosed element in template content with start and end - iframe with 2 chunks
- Unclosed element in template content with start and end - iframe with 4 chunks
- Unclosed element in template content with start and end - template
- Unclosed element in template content with start and end - template with 2 chunks
- Unclosed element in template content with start and end - template with 4 chunks
- Unclosed element in template content with start and end - parse
- Unclosed element in template content with start and end - parse with 2 chunks
- Unclosed element in template content with start and end - parse with 4 chunks
- Unclosed element in template content with start and end - contextualFragment
- Unclosed element in template content with start and end - contextualFragment with 2 chunks
- Unclosed element in template content with start and end - contextualFragment with 4 chunks
- Unclosed element in template content with start and end - stream
- Unclosed element in template content with start and end - stream with 2 chunks
- Unclosed element in template content with start and end - stream with 4 chunks
- Unclosed element in template content with void marker - innerHTML
- Unclosed element in template content with void marker - innerHTML with 2 chunks
- Unclosed element in template content with void marker - innerHTML with 4 chunks
- Unclosed element in template content with void marker - iframe
- Unclosed element in template content with void marker - iframe with 2 chunks
- Unclosed element in template content with void marker - iframe with 4 chunks
- Unclosed element in template content with void marker - template
- Unclosed element in template content with void marker - template with 2 chunks
- Unclosed element in template content with void marker - template with 4 chunks
- Unclosed element in template content with void marker - parse
- Unclosed element in template content with void marker - parse with 2 chunks
- Unclosed element in template content with void marker - parse with 4 chunks
- Unclosed element in template content with void marker - contextualFragment
- Unclosed element in template content with void marker - contextualFragment with 2 chunks
- Unclosed element in template content with void marker - contextualFragment with 4 chunks
- Unclosed element in template content with void marker - stream
- Unclosed element in template content with void marker - stream with 2 chunks
- Unclosed element in template content with void marker - stream with 4 chunks
- Empty patch with start and end deletes the range - innerHTML
- Empty patch with start and end deletes the range - innerHTML with 2 chunks
- Empty patch with start and end deletes the range - innerHTML with 4 chunks
- Empty patch with start and end deletes the range - iframe
- Empty patch with start and end deletes the range - iframe with 2 chunks
- Empty patch with start and end deletes the range - iframe with 4 chunks
- Empty patch with start and end deletes the range - template
- Empty patch with start and end deletes the range - template with 2 chunks
- Empty patch with start and end deletes the range - template with 4 chunks
- Empty patch with start and end deletes the range - parse
- Empty patch with start and end deletes the range - parse with 2 chunks
- Empty patch with start and end deletes the range - parse with 4 chunks
- Empty patch with start and end deletes the range - contextualFragment
- Empty patch with start and end deletes the range - contextualFragment with 2 chunks
- Empty patch with start and end deletes the range - contextualFragment with 4 chunks
- Empty patch with start and end deletes the range - stream
- Empty patch with start and end deletes the range - stream with 2 chunks
- Empty patch with start and end deletes the range - stream with 4 chunks
- Empty patch with only start deletes to the end of the parent - innerHTML
- Empty patch with only start deletes to the end of the parent - innerHTML with 2 chunks
- Empty patch with only start deletes to the end of the parent - innerHTML with 4 chunks
- Empty patch with only start deletes to the end of the parent - iframe
- Empty patch with only start deletes to the end of the parent - iframe with 2 chunks
- Empty patch with only start deletes to the end of the parent - iframe with 4 chunks
- Empty patch with only start deletes to the end of the parent - template
- Empty patch with only start deletes to the end of the parent - template with 2 chunks
- Empty patch with only start deletes to the end of the parent - template with 4 chunks
- Empty patch with only start deletes to the end of the parent - parse
- Empty patch with only start deletes to the end of the parent - parse with 2 chunks
- Empty patch with only start deletes to the end of the parent - parse with 4 chunks
- Empty patch with only start deletes to the end of the parent - contextualFragment
- Empty patch with only start deletes to the end of the parent - contextualFragment with 2 chunks
- Empty patch with only start deletes to the end of the parent - contextualFragment with 4 chunks
- Empty patch with only start deletes to the end of the parent - stream
- Empty patch with only start deletes to the end of the parent - stream with 2 chunks
- Empty patch with only start deletes to the end of the parent - stream with 4 chunks
- Empty patch with void marker inserts nothing - innerHTML
- Empty patch with void marker inserts nothing - innerHTML with 2 chunks
- Empty patch with void marker inserts nothing - innerHTML with 4 chunks
- Empty patch with void marker inserts nothing - iframe
- Empty patch with void marker inserts nothing - iframe with 2 chunks
- Empty patch with void marker inserts nothing - iframe with 4 chunks
- Empty patch with void marker inserts nothing - template
- Empty patch with void marker inserts nothing - template with 2 chunks
- Empty patch with void marker inserts nothing - template with 4 chunks
- Empty patch with void marker inserts nothing - parse
- Empty patch with void marker inserts nothing - parse with 2 chunks
- Empty patch with void marker inserts nothing - parse with 4 chunks
- Empty patch with void marker inserts nothing - contextualFragment
- Empty patch with void marker inserts nothing - contextualFragment with 2 chunks
- Empty patch with void marker inserts nothing - contextualFragment with 4 chunks
- Empty patch with void marker inserts nothing - stream
- Empty patch with void marker inserts nothing - stream with 2 chunks
- Empty patch with void marker inserts nothing - stream with 4 chunks
- Non-marker processing instruction with matching name is ignored - innerHTML
- Non-marker processing instruction with matching name is ignored - innerHTML with 2 chunks
- Non-marker processing instruction with matching name is ignored - innerHTML with 4 chunks
- Non-marker processing instruction with matching name is ignored - iframe
- Non-marker processing instruction with matching name is ignored - iframe with 2 chunks
- Non-marker processing instruction with matching name is ignored - iframe with 4 chunks
- Non-marker processing instruction with matching name is ignored - template
- Non-marker processing instruction with matching name is ignored - template with 2 chunks
- Non-marker processing instruction with matching name is ignored - template with 4 chunks
- Non-marker processing instruction with matching name is ignored - parse
- Non-marker processing instruction with matching name is ignored - parse with 2 chunks
- Non-marker processing instruction with matching name is ignored - parse with 4 chunks
- Non-marker processing instruction with matching name is ignored - contextualFragment
- Non-marker processing instruction with matching name is ignored - contextualFragment with 2 chunks
- Non-marker processing instruction with matching name is ignored - contextualFragment with 4 chunks
- Non-marker processing instruction with matching name is ignored - stream
- Non-marker processing instruction with matching name is ignored - stream with 2 chunks
- Non-marker processing instruction with matching name is ignored - stream with 4 chunks
- Stray end processing instruction with matching name is ignored - innerHTML
- Stray end processing instruction with matching name is ignored - innerHTML with 2 chunks
- Stray end processing instruction with matching name is ignored - innerHTML with 4 chunks
- Stray end processing instruction with matching name is ignored - iframe
- Stray end processing instruction with matching name is ignored - iframe with 2 chunks
- Stray end processing instruction with matching name is ignored - iframe with 4 chunks
- Stray end processing instruction with matching name is ignored - template
- Stray end processing instruction with matching name is ignored - template with 2 chunks
- Stray end processing instruction with matching name is ignored - template with 4 chunks
- Stray end processing instruction with matching name is ignored - parse
- Stray end processing instruction with matching name is ignored - parse with 2 chunks
- Stray end processing instruction with matching name is ignored - parse with 4 chunks
- Stray end processing instruction with matching name is ignored - contextualFragment
- Stray end processing instruction with matching name is ignored - contextualFragment with 2 chunks
- Stray end processing instruction with matching name is ignored - contextualFragment with 4 chunks
- Stray end processing instruction with matching name is ignored - stream
- Stray end processing instruction with matching name is ignored - stream with 2 chunks
- Stray end processing instruction with matching name is ignored - stream with 4 chunks
template-for-multiple.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Multiple <template for>
template-for-mutation-records.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - mutation records for removal
template-for-nested-patch.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Nested <template for> patches via the shared target (iframe)
- Nested <template for> patches via the shared target (innerHTML)
- Nested <template for> patches via the shared target (stream)
template-for-only-html-001.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate until an upstream test bug is fixed
the test loads resources/template-for.xhtml, which stayed in html/dom/partial-updates/tentative/ when the test moved, so the frame loads nothing and every browser fails the same assertion
- Chrome
- wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Revisit
- when https://github.com/web-platform-tests/wpt/issues/65403 is resolved
- ¶
FAILHTML partial updates: template with contentmethod does not work in XHTML
assert_not_equals: got disallowed value null
template-for-pagehide-dynamic-markup-insertion.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- document.open() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
- document.open() in pagehide throws InvalidStateError during prepare content patching (via document.write)
- document.write() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
- document.write() in pagehide throws InvalidStateError during prepare content patching (via document.write)
- document.writeln() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
- document.writeln() in pagehide throws InvalidStateError during prepare content patching (via document.write)
- document.close() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
- document.close() in pagehide throws InvalidStateError during prepare content patching (via document.write)
template-for-parsing-only.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Creating a template and appending it does not trigger declarative partial update
- Setting 'for' dynamically on an existing template does not trigger update
- Inserting an already parsed template for element does not trigger update
- Inserting a template element via insertAdjacentElement does not trigger update
template-for-prepend-element.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> prepend element
template-for-prepend-text.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> prepend text
template-for-replace-children-with-element.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> replace children with element
template-for-replace-children-with-text.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template for> replace children with text
template-for-replace.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- <template for> replace
- <template for> should work when chunked
- <template for> should work when elements are sliced in the middle
template-for-reverse.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates: patch should appear after its target
template-for-sanitization.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- <template for> is sanitized away with removeElements when streaming
- <template for> is sanitized away with removeAttributes when streaming
- <template for> is sanitized away with removeElements in a fragment
- <template for> attribute is sanitized away with removeAttributes in a fragment
template-for-script-children.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - a script inside a patch should execute
template-for-script-eval.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - template for can create a new executable script
template-for-script-replace.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - a script replaced with a patch should execute
template-for-scripting-nested.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - a script inside a template inside a patch should not execute
template-for-shadow-nested.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template contentmethod> inside a <template shadowrootmode><div> should apply directly to its target
template-for-shadow-root.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- markers are respected in declarative shadow root
- markers are respected in imperative shadow root with streaming
template-for-shadow.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <template contentmethod> inside a <template shadowrootmode> should apply directly to its target
template-for-style-in-head.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - patch updates style with plain text
template-for-style.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates - patch updates style with plain text
template-for-superseded-by-shadowrootmode.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates: shadowrootmode supersedes for
template-for-supersedes-invalid-shadowrootmode.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML partial updates: invalid shadowrootmode superseded by for
template-for-title.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- New title
template-for-unclosed-content.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- Unclosed element in <template for> with <?start>/<?end> still removes markers (iframe)
- Unclosed element in <template for> with <?marker> still removes markers (iframe)
- Unclosed element in <template for> with <?start>/<?end> still removes markers (innerHTML)
- Unclosed element in <template for> with <?marker> still removes markers (innerHTML)
- Unclosed element in <template for> with <?start>/<?end> still removes markers (template)
- Unclosed element in <template for> with <?marker> still removes markers (template)
- Unclosed element in <template for> with <?start>/<?end> still removes markers (DOMParser)
- Unclosed element in <template for> with <?marker> still removes markers (DOMParser)
- Unclosed element in <template for> with <?start>/<?end> still removes markers (stream)
- Unclosed element in <template for> with <?marker> still removes markers (stream)