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 here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
chained-streaming-templates-with-custom-element.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Chained streaming templates and OwnerDocument
stream-append-has-invalidation.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. :has() invalidation when streaming <template for>
stream-append-positional-pseudo-class-invalidation.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Positional pseudo-class invalidation when streaming <template for>
stream-append-with-template-for.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. streamAppendHTMLUnsafe applies <template for>
stream-head-scope.html13 / 13 passingChrome 1 / 130 failedClean
Standing
Clean runner status OK
Chrome
With failures 1 / 13 WPT subtests passing runner status OK
13 passing subtests
  1. streamHTMLUnsafe targeting body does not patch markers in head
  2. streamHTMLUnsafe targeting body patches markers in body without touching head
  3. streamAppendHTMLUnsafe targeting body does not patch markers in head
  4. streamAppendHTMLUnsafe targeting body patches markers in body without touching head
  5. streamPrependHTMLUnsafe targeting body does not patch markers in head
  6. streamPrependHTMLUnsafe targeting body patches markers in body without touching head
  7. streamBeforeHTMLUnsafe targeting body does not patch markers in head
  8. streamBeforeHTMLUnsafe targeting body patches markers in body without touching head
  9. streamAfterHTMLUnsafe targeting body does not patch markers in head
  10. streamAfterHTMLUnsafe targeting body patches markers in body without touching head
  11. streamReplaceWithHTMLUnsafe targeting body does not patch markers in head
  12. streamReplaceWithHTMLUnsafe targeting body patches markers in body without touching head
  13. streamHTMLUnsafe on documentElement allows template in body to patch head
template-for-append-element.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> appending element
template-for-append-text-and-element.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> with text
template-for-append-to-head.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - append to head
template-for-case-sensitive-dom-inserted.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. marker/end/start PI targets are parsed as lower case, but attributes are case-sensitive
template-for-case-sensitive.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. marker/end/start PI targets, attributes and their values are case-sensitive
template-for-empty-hash.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. empty hash matches marker without name attribute
template-for-empty.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. A template with an empty for attribute is ignored and attached to the DOM
template-for-foster-parenting.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Foster parenting inside <template for> keeps content in the target (iframe)
  2. Foster parenting inside <template for> keeps content in the target (innerHTML)
  3. Foster parenting inside <template for> keeps content in the target (stream)
  4. Foster parenting out of a tr inside <template for> keeps content in the target (iframe)
  5. Foster parenting out of a tr inside <template for> keeps content in the target (innerHTML)
  6. Foster parenting out of a tr inside <template for> keeps content in the target (stream)
template-for-gradual-append.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Multiple <template for>
template-for-html-setters.html28 / 28 passingChrome 28 / 280 failedClean
Standing
Clean runner status OK
Chrome
Clean 28 / 28 WPT subtests passing runner status OK
28 passing subtests
  1. Setter innerHTML should not patch existing target in head
  2. Setter innerHTML should patch targets inside the fragment
  3. Setter outerHTML should not patch existing target in head
  4. Setter outerHTML should patch targets inside the fragment
  5. Setter outerHTML should not patch existing target in body
  6. Setter setHTMLUnsafe should not patch existing target in head
  7. Setter setHTMLUnsafe should patch targets inside the fragment
  8. Setter insertAdjacentHTML should not patch existing target in head
  9. Setter insertAdjacentHTML should patch targets inside the fragment
  10. Setter insertAdjacentHTML should not patch existing target in body
  11. Setter appendHTMLUnsafe should not patch existing target in head
  12. Setter appendHTMLUnsafe should patch targets inside the fragment
  13. Setter appendHTMLUnsafe should not patch existing target in body
  14. Setter prependHTMLUnsafe should not patch existing target in head
  15. Setter prependHTMLUnsafe should patch targets inside the fragment
  16. Setter prependHTMLUnsafe should not patch existing target in body
  17. Setter beforeHTMLUnsafe should not patch existing target in head
  18. Setter beforeHTMLUnsafe should patch targets inside the fragment
  19. Setter beforeHTMLUnsafe should not patch existing target in body
  20. Setter afterHTMLUnsafe should not patch existing target in head
  21. Setter afterHTMLUnsafe should patch targets inside the fragment
  22. Setter afterHTMLUnsafe should not patch existing target in body
  23. Setter replaceWithHTMLUnsafe should not patch existing target in head
  24. Setter replaceWithHTMLUnsafe should patch targets inside the fragment
  25. Setter replaceWithHTMLUnsafe should not patch existing target in body
  26. Setter createContextualFragment should not patch existing target in head
  27. Setter createContextualFragment should patch targets inside the fragment
  28. Setter createContextualFragment should not patch existing target in body
template-for-innerHTML-ambiguous.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> in innerHTML patching inner element
template-for-innerHTML-outside.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> in innerHTML should not patch outer element
template-for-innerHTML-within.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> in innerHTML patching inner element
template-for-invalid.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> with a nonexistent ID should attach
template-for-invokes-pagehide-with-end.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Patching only removes elements that were present when patching is prepared (with <?end>)
template-for-invokes-pagehide-without-end.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Patching only removes elements that were present when patching is prepared
template-for-move-cross-document.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

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
  1. 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.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Multiple <template for>
template-for-move-marker-while-appending.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Multiple <template for>
template-for-move-start-while-appending.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - move <?start> while appending has no effect
template-for-move-while-appending.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Multiple <template for>
template-for-multiple-cases.html396 / 414 passingChrome 396 / 41418 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 396 / 414 WPT subtests passing runner status OK
  1. 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>"
  2. 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>"
  3. 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>"
  4. 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>"
  5. 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>"
  6. 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>"
  7. 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>"
  8. 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>"
  9. 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>"
  10. 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>"
  11. 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>"
  12. 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>"
  13. 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>"
  14. 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>"
  15. 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>"
  16. 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>"
  17. 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>"
  18. 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
  1. Simple replacement with only start - innerHTML
  2. Simple replacement with only start - innerHTML with 2 chunks
  3. Simple replacement with only start - innerHTML with 4 chunks
  4. Simple replacement with only start - iframe
  5. Simple replacement with only start - iframe with 2 chunks
  6. Simple replacement with only start - iframe with 4 chunks
  7. Simple replacement with only start - template
  8. Simple replacement with only start - template with 2 chunks
  9. Simple replacement with only start - template with 4 chunks
  10. Simple replacement with only start - parse
  11. Simple replacement with only start - parse with 2 chunks
  12. Simple replacement with only start - parse with 4 chunks
  13. Simple replacement with only start - contextualFragment
  14. Simple replacement with only start - contextualFragment with 2 chunks
  15. Simple replacement with only start - contextualFragment with 4 chunks
  16. Simple replacement with only start - stream
  17. Simple replacement with only start - stream with 2 chunks
  18. Simple replacement with only start - stream with 4 chunks
  19. Simple replacement with start and end - innerHTML
  20. Simple replacement with start and end - innerHTML with 2 chunks
  21. Simple replacement with start and end - innerHTML with 4 chunks
  22. Simple replacement with start and end - iframe
  23. Simple replacement with start and end - iframe with 2 chunks
  24. Simple replacement with start and end - iframe with 4 chunks
  25. Simple replacement with start and end - template
  26. Simple replacement with start and end - template with 2 chunks
  27. Simple replacement with start and end - template with 4 chunks
  28. Simple replacement with start and end - parse
  29. Simple replacement with start and end - parse with 2 chunks
  30. Simple replacement with start and end - parse with 4 chunks
  31. Simple replacement with start and end - contextualFragment
  32. Simple replacement with start and end - contextualFragment with 2 chunks
  33. Simple replacement with start and end - contextualFragment with 4 chunks
  34. Simple replacement with start and end - stream
  35. Simple replacement with start and end - stream with 2 chunks
  36. Simple replacement with start and end - stream with 4 chunks
  37. Void marker at start - innerHTML
  38. Void marker at start - innerHTML with 2 chunks
  39. Void marker at start - innerHTML with 4 chunks
  40. Void marker at start - iframe
  41. Void marker at start - iframe with 2 chunks
  42. Void marker at start - iframe with 4 chunks
  43. Void marker at start - template
  44. Void marker at start - template with 2 chunks
  45. Void marker at start - template with 4 chunks
  46. Void marker at start - parse
  47. Void marker at start - parse with 2 chunks
  48. Void marker at start - parse with 4 chunks
  49. Void marker at start - contextualFragment
  50. Void marker at start - contextualFragment with 2 chunks
  51. Void marker at start - contextualFragment with 4 chunks
  52. Void marker at start - stream
  53. Void marker at start - stream with 2 chunks
  54. Void marker at start - stream with 4 chunks
  55. Void marker at end - innerHTML
  56. Void marker at end - innerHTML with 2 chunks
  57. Void marker at end - innerHTML with 4 chunks
  58. Void marker at end - iframe
  59. Void marker at end - iframe with 2 chunks
  60. Void marker at end - iframe with 4 chunks
  61. Void marker at end - template
  62. Void marker at end - template with 2 chunks
  63. Void marker at end - template with 4 chunks
  64. Void marker at end - parse
  65. Void marker at end - parse with 2 chunks
  66. Void marker at end - parse with 4 chunks
  67. Void marker at end - contextualFragment
  68. Void marker at end - contextualFragment with 2 chunks
  69. Void marker at end - contextualFragment with 4 chunks
  70. Void marker at end - stream
  71. Void marker at end - stream with 2 chunks
  72. Void marker at end - stream with 4 chunks
  73. Void marker in the middle - innerHTML
  74. Void marker in the middle - innerHTML with 2 chunks
  75. Void marker in the middle - innerHTML with 4 chunks
  76. Void marker in the middle - iframe
  77. Void marker in the middle - iframe with 2 chunks
  78. Void marker in the middle - iframe with 4 chunks
  79. Void marker in the middle - template
  80. Void marker in the middle - template with 2 chunks
  81. Void marker in the middle - template with 4 chunks
  82. Void marker in the middle - parse
  83. Void marker in the middle - parse with 2 chunks
  84. Void marker in the middle - parse with 4 chunks
  85. Void marker in the middle - contextualFragment
  86. Void marker in the middle - contextualFragment with 2 chunks
  87. Void marker in the middle - contextualFragment with 4 chunks
  88. Void marker in the middle - stream
  89. Void marker in the middle - stream with 2 chunks
  90. Void marker in the middle - stream with 4 chunks
  91. Multiple named markers - innerHTML
  92. Multiple named markers - innerHTML with 2 chunks
  93. Multiple named markers - innerHTML with 4 chunks
  94. Multiple named markers - iframe
  95. Multiple named markers - iframe with 2 chunks
  96. Multiple named markers - iframe with 4 chunks
  97. Multiple named markers - template
  98. Multiple named markers - template with 2 chunks
  99. Multiple named markers - template with 4 chunks
  100. Multiple named markers - parse
  101. Multiple named markers - parse with 2 chunks
  102. Multiple named markers - parse with 4 chunks
  103. Multiple named markers - contextualFragment
  104. Multiple named markers - contextualFragment with 2 chunks
  105. Multiple named markers - contextualFragment with 4 chunks
  106. Multiple named markers - stream
  107. Multiple named markers - stream with 2 chunks
  108. Multiple named markers - stream with 4 chunks
  109. Multiple named markers with same name only replaces first one - innerHTML
  110. Multiple named markers with same name only replaces first one - innerHTML with 2 chunks
  111. Multiple named markers with same name only replaces first one - innerHTML with 4 chunks
  112. Multiple named markers with same name only replaces first one - iframe
  113. Multiple named markers with same name only replaces first one - iframe with 2 chunks
  114. Multiple named markers with same name only replaces first one - iframe with 4 chunks
  115. Multiple named markers with same name only replaces first one - template
  116. Multiple named markers with same name only replaces first one - template with 2 chunks
  117. Multiple named markers with same name only replaces first one - template with 4 chunks
  118. Multiple named markers with same name only replaces first one - parse
  119. Multiple named markers with same name only replaces first one - parse with 2 chunks
  120. Multiple named markers with same name only replaces first one - parse with 4 chunks
  121. Multiple named markers with same name only replaces first one - contextualFragment
  122. Multiple named markers with same name only replaces first one - contextualFragment with 2 chunks
  123. Multiple named markers with same name only replaces first one - contextualFragment with 4 chunks
  124. Multiple named markers with same name only replaces first one - stream
  125. Multiple named markers with same name only replaces first one - stream with 2 chunks
  126. Multiple named markers with same name only replaces first one - stream with 4 chunks
  127. Multiple templates for same marker - innerHTML
  128. Multiple templates for same marker - innerHTML with 2 chunks
  129. Multiple templates for same marker - innerHTML with 4 chunks
  130. Multiple templates for same marker - iframe
  131. Multiple templates for same marker - iframe with 2 chunks
  132. Multiple templates for same marker - iframe with 4 chunks
  133. Multiple templates for same marker - template
  134. Multiple templates for same marker - template with 2 chunks
  135. Multiple templates for same marker - template with 4 chunks
  136. Multiple templates for same marker - parse
  137. Multiple templates for same marker - parse with 2 chunks
  138. Multiple templates for same marker - parse with 4 chunks
  139. Multiple templates for same marker - contextualFragment
  140. Multiple templates for same marker - contextualFragment with 2 chunks
  141. Multiple templates for same marker - contextualFragment with 4 chunks
  142. Multiple templates for same marker - stream
  143. Multiple templates for same marker - stream with 2 chunks
  144. Multiple templates for same marker - stream with 4 chunks
  145. Nested named markers - replace outer - innerHTML
  146. Nested named markers - replace outer - innerHTML with 2 chunks
  147. Nested named markers - replace outer - innerHTML with 4 chunks
  148. Nested named markers - replace outer - iframe
  149. Nested named markers - replace outer - iframe with 2 chunks
  150. Nested named markers - replace outer - iframe with 4 chunks
  151. Nested named markers - replace outer - template
  152. Nested named markers - replace outer - template with 2 chunks
  153. Nested named markers - replace outer - template with 4 chunks
  154. Nested named markers - replace outer - parse
  155. Nested named markers - replace outer - parse with 2 chunks
  156. Nested named markers - replace outer - parse with 4 chunks
  157. Nested named markers - replace outer - contextualFragment
  158. Nested named markers - replace outer - contextualFragment with 2 chunks
  159. Nested named markers - replace outer - contextualFragment with 4 chunks
  160. Nested named markers - replace outer - stream
  161. Nested named markers - replace outer - stream with 2 chunks
  162. Nested named markers - replace outer - stream with 4 chunks
  163. Nested named markers - replace inner - innerHTML
  164. Nested named markers - replace inner - innerHTML with 2 chunks
  165. Nested named markers - replace inner - innerHTML with 4 chunks
  166. Nested named markers - replace inner - iframe
  167. Nested named markers - replace inner - iframe with 2 chunks
  168. Nested named markers - replace inner - iframe with 4 chunks
  169. Nested named markers - replace inner - template
  170. Nested named markers - replace inner - template with 2 chunks
  171. Nested named markers - replace inner - template with 4 chunks
  172. Nested named markers - replace inner - parse
  173. Nested named markers - replace inner - parse with 2 chunks
  174. Nested named markers - replace inner - parse with 4 chunks
  175. Nested named markers - replace inner - contextualFragment
  176. Nested named markers - replace inner - contextualFragment with 2 chunks
  177. Nested named markers - replace inner - contextualFragment with 4 chunks
  178. Nested named markers - replace inner - stream
  179. Nested named markers - replace inner - stream with 2 chunks
  180. Nested named markers - replace inner - stream with 4 chunks
  181. Interleaved markers (a) - innerHTML
  182. Interleaved markers (a) - innerHTML with 2 chunks
  183. Interleaved markers (a) - innerHTML with 4 chunks
  184. Interleaved markers (a) - iframe
  185. Interleaved markers (a) - iframe with 2 chunks
  186. Interleaved markers (a) - iframe with 4 chunks
  187. Interleaved markers (a) - template
  188. Interleaved markers (a) - template with 2 chunks
  189. Interleaved markers (a) - template with 4 chunks
  190. Interleaved markers (a) - parse
  191. Interleaved markers (a) - parse with 2 chunks
  192. Interleaved markers (a) - parse with 4 chunks
  193. Interleaved markers (a) - contextualFragment
  194. Interleaved markers (a) - contextualFragment with 2 chunks
  195. Interleaved markers (a) - contextualFragment with 4 chunks
  196. Interleaved markers (a) - stream
  197. Interleaved markers (a) - stream with 2 chunks
  198. Interleaved markers (a) - stream with 4 chunks
  199. Interleaved markers (b) - innerHTML
  200. Interleaved markers (b) - innerHTML with 2 chunks
  201. Interleaved markers (b) - innerHTML with 4 chunks
  202. Interleaved markers (b) - iframe
  203. Interleaved markers (b) - iframe with 2 chunks
  204. Interleaved markers (b) - iframe with 4 chunks
  205. Interleaved markers (b) - template
  206. Interleaved markers (b) - template with 2 chunks
  207. Interleaved markers (b) - template with 4 chunks
  208. Interleaved markers (b) - parse
  209. Interleaved markers (b) - parse with 2 chunks
  210. Interleaved markers (b) - parse with 4 chunks
  211. Interleaved markers (b) - contextualFragment
  212. Interleaved markers (b) - contextualFragment with 2 chunks
  213. Interleaved markers (b) - contextualFragment with 4 chunks
  214. Interleaved markers (b) - stream
  215. Interleaved markers (b) - stream with 2 chunks
  216. Interleaved markers (b) - stream with 4 chunks
  217. Hash in marker name - innerHTML
  218. Hash in marker name - innerHTML with 2 chunks
  219. Hash in marker name - innerHTML with 4 chunks
  220. Hash in marker name - iframe
  221. Hash in marker name - iframe with 2 chunks
  222. Hash in marker name - iframe with 4 chunks
  223. Hash in marker name - template
  224. Hash in marker name - template with 2 chunks
  225. Hash in marker name - template with 4 chunks
  226. Hash in marker name - parse
  227. Hash in marker name - parse with 2 chunks
  228. Hash in marker name - parse with 4 chunks
  229. Hash in marker name - contextualFragment
  230. Hash in marker name - contextualFragment with 2 chunks
  231. Hash in marker name - contextualFragment with 4 chunks
  232. Hash in marker name - stream
  233. Hash in marker name - stream with 2 chunks
  234. Hash in marker name - stream with 4 chunks
  235. Empty marker name with <?start> and <?end> - innerHTML
  236. Empty marker name with <?start> and <?end> - innerHTML with 2 chunks
  237. Empty marker name with <?start> and <?end> - innerHTML with 4 chunks
  238. Empty marker name with <?start> and <?end> - iframe
  239. Empty marker name with <?start> and <?end> - iframe with 2 chunks
  240. Empty marker name with <?start> and <?end> - iframe with 4 chunks
  241. Empty marker name with <?start> and <?end> - template
  242. Empty marker name with <?start> and <?end> - template with 2 chunks
  243. Empty marker name with <?start> and <?end> - template with 4 chunks
  244. Empty marker name with <?start> and <?end> - parse
  245. Empty marker name with <?start> and <?end> - parse with 2 chunks
  246. Empty marker name with <?start> and <?end> - parse with 4 chunks
  247. Empty marker name with <?start> and <?end> - contextualFragment
  248. Empty marker name with <?start> and <?end> - contextualFragment with 2 chunks
  249. Empty marker name with <?start> and <?end> - contextualFragment with 4 chunks
  250. Empty marker name with <?start> and <?end> - stream
  251. Empty marker name with <?start> and <?end> - stream with 2 chunks
  252. Empty marker name with <?start> and <?end> - stream with 4 chunks
  253. Empty marker name with <?marker> - innerHTML
  254. Empty marker name with <?marker> - innerHTML with 2 chunks
  255. Empty marker name with <?marker> - innerHTML with 4 chunks
  256. Empty marker name with <?marker> - iframe
  257. Empty marker name with <?marker> - iframe with 2 chunks
  258. Empty marker name with <?marker> - iframe with 4 chunks
  259. Empty marker name with <?marker> - template
  260. Empty marker name with <?marker> - template with 2 chunks
  261. Empty marker name with <?marker> - template with 4 chunks
  262. Empty marker name with <?marker> - parse
  263. Empty marker name with <?marker> - parse with 2 chunks
  264. Empty marker name with <?marker> - parse with 4 chunks
  265. Empty marker name with <?marker> - contextualFragment
  266. Empty marker name with <?marker> - contextualFragment with 2 chunks
  267. Empty marker name with <?marker> - contextualFragment with 4 chunks
  268. Empty marker name with <?marker> - stream
  269. Empty marker name with <?marker> - stream with 2 chunks
  270. Empty marker name with <?marker> - stream with 4 chunks
  271. Unclosed element in template content with start and end - innerHTML
  272. Unclosed element in template content with start and end - innerHTML with 2 chunks
  273. Unclosed element in template content with start and end - innerHTML with 4 chunks
  274. Unclosed element in template content with start and end - iframe
  275. Unclosed element in template content with start and end - iframe with 2 chunks
  276. Unclosed element in template content with start and end - iframe with 4 chunks
  277. Unclosed element in template content with start and end - template
  278. Unclosed element in template content with start and end - template with 2 chunks
  279. Unclosed element in template content with start and end - template with 4 chunks
  280. Unclosed element in template content with start and end - parse
  281. Unclosed element in template content with start and end - parse with 2 chunks
  282. Unclosed element in template content with start and end - parse with 4 chunks
  283. Unclosed element in template content with start and end - contextualFragment
  284. Unclosed element in template content with start and end - contextualFragment with 2 chunks
  285. Unclosed element in template content with start and end - contextualFragment with 4 chunks
  286. Unclosed element in template content with start and end - stream
  287. Unclosed element in template content with start and end - stream with 2 chunks
  288. Unclosed element in template content with start and end - stream with 4 chunks
  289. Unclosed element in template content with void marker - innerHTML
  290. Unclosed element in template content with void marker - innerHTML with 2 chunks
  291. Unclosed element in template content with void marker - innerHTML with 4 chunks
  292. Unclosed element in template content with void marker - iframe
  293. Unclosed element in template content with void marker - iframe with 2 chunks
  294. Unclosed element in template content with void marker - iframe with 4 chunks
  295. Unclosed element in template content with void marker - template
  296. Unclosed element in template content with void marker - template with 2 chunks
  297. Unclosed element in template content with void marker - template with 4 chunks
  298. Unclosed element in template content with void marker - parse
  299. Unclosed element in template content with void marker - parse with 2 chunks
  300. Unclosed element in template content with void marker - parse with 4 chunks
  301. Unclosed element in template content with void marker - contextualFragment
  302. Unclosed element in template content with void marker - contextualFragment with 2 chunks
  303. Unclosed element in template content with void marker - contextualFragment with 4 chunks
  304. Unclosed element in template content with void marker - stream
  305. Unclosed element in template content with void marker - stream with 2 chunks
  306. Unclosed element in template content with void marker - stream with 4 chunks
  307. Empty patch with start and end deletes the range - innerHTML
  308. Empty patch with start and end deletes the range - innerHTML with 2 chunks
  309. Empty patch with start and end deletes the range - innerHTML with 4 chunks
  310. Empty patch with start and end deletes the range - iframe
  311. Empty patch with start and end deletes the range - iframe with 2 chunks
  312. Empty patch with start and end deletes the range - iframe with 4 chunks
  313. Empty patch with start and end deletes the range - template
  314. Empty patch with start and end deletes the range - template with 2 chunks
  315. Empty patch with start and end deletes the range - template with 4 chunks
  316. Empty patch with start and end deletes the range - parse
  317. Empty patch with start and end deletes the range - parse with 2 chunks
  318. Empty patch with start and end deletes the range - parse with 4 chunks
  319. Empty patch with start and end deletes the range - contextualFragment
  320. Empty patch with start and end deletes the range - contextualFragment with 2 chunks
  321. Empty patch with start and end deletes the range - contextualFragment with 4 chunks
  322. Empty patch with start and end deletes the range - stream
  323. Empty patch with start and end deletes the range - stream with 2 chunks
  324. Empty patch with start and end deletes the range - stream with 4 chunks
  325. Empty patch with only start deletes to the end of the parent - innerHTML
  326. Empty patch with only start deletes to the end of the parent - innerHTML with 2 chunks
  327. Empty patch with only start deletes to the end of the parent - innerHTML with 4 chunks
  328. Empty patch with only start deletes to the end of the parent - iframe
  329. Empty patch with only start deletes to the end of the parent - iframe with 2 chunks
  330. Empty patch with only start deletes to the end of the parent - iframe with 4 chunks
  331. Empty patch with only start deletes to the end of the parent - template
  332. Empty patch with only start deletes to the end of the parent - template with 2 chunks
  333. Empty patch with only start deletes to the end of the parent - template with 4 chunks
  334. Empty patch with only start deletes to the end of the parent - parse
  335. Empty patch with only start deletes to the end of the parent - parse with 2 chunks
  336. Empty patch with only start deletes to the end of the parent - parse with 4 chunks
  337. Empty patch with only start deletes to the end of the parent - contextualFragment
  338. Empty patch with only start deletes to the end of the parent - contextualFragment with 2 chunks
  339. Empty patch with only start deletes to the end of the parent - contextualFragment with 4 chunks
  340. Empty patch with only start deletes to the end of the parent - stream
  341. Empty patch with only start deletes to the end of the parent - stream with 2 chunks
  342. Empty patch with only start deletes to the end of the parent - stream with 4 chunks
  343. Empty patch with void marker inserts nothing - innerHTML
  344. Empty patch with void marker inserts nothing - innerHTML with 2 chunks
  345. Empty patch with void marker inserts nothing - innerHTML with 4 chunks
  346. Empty patch with void marker inserts nothing - iframe
  347. Empty patch with void marker inserts nothing - iframe with 2 chunks
  348. Empty patch with void marker inserts nothing - iframe with 4 chunks
  349. Empty patch with void marker inserts nothing - template
  350. Empty patch with void marker inserts nothing - template with 2 chunks
  351. Empty patch with void marker inserts nothing - template with 4 chunks
  352. Empty patch with void marker inserts nothing - parse
  353. Empty patch with void marker inserts nothing - parse with 2 chunks
  354. Empty patch with void marker inserts nothing - parse with 4 chunks
  355. Empty patch with void marker inserts nothing - contextualFragment
  356. Empty patch with void marker inserts nothing - contextualFragment with 2 chunks
  357. Empty patch with void marker inserts nothing - contextualFragment with 4 chunks
  358. Empty patch with void marker inserts nothing - stream
  359. Empty patch with void marker inserts nothing - stream with 2 chunks
  360. Empty patch with void marker inserts nothing - stream with 4 chunks
  361. Non-marker processing instruction with matching name is ignored - innerHTML
  362. Non-marker processing instruction with matching name is ignored - innerHTML with 2 chunks
  363. Non-marker processing instruction with matching name is ignored - innerHTML with 4 chunks
  364. Non-marker processing instruction with matching name is ignored - iframe
  365. Non-marker processing instruction with matching name is ignored - iframe with 2 chunks
  366. Non-marker processing instruction with matching name is ignored - iframe with 4 chunks
  367. Non-marker processing instruction with matching name is ignored - template
  368. Non-marker processing instruction with matching name is ignored - template with 2 chunks
  369. Non-marker processing instruction with matching name is ignored - template with 4 chunks
  370. Non-marker processing instruction with matching name is ignored - parse
  371. Non-marker processing instruction with matching name is ignored - parse with 2 chunks
  372. Non-marker processing instruction with matching name is ignored - parse with 4 chunks
  373. Non-marker processing instruction with matching name is ignored - contextualFragment
  374. Non-marker processing instruction with matching name is ignored - contextualFragment with 2 chunks
  375. Non-marker processing instruction with matching name is ignored - contextualFragment with 4 chunks
  376. Non-marker processing instruction with matching name is ignored - stream
  377. Non-marker processing instruction with matching name is ignored - stream with 2 chunks
  378. Non-marker processing instruction with matching name is ignored - stream with 4 chunks
  379. Stray end processing instruction with matching name is ignored - innerHTML
  380. Stray end processing instruction with matching name is ignored - innerHTML with 2 chunks
  381. Stray end processing instruction with matching name is ignored - innerHTML with 4 chunks
  382. Stray end processing instruction with matching name is ignored - iframe
  383. Stray end processing instruction with matching name is ignored - iframe with 2 chunks
  384. Stray end processing instruction with matching name is ignored - iframe with 4 chunks
  385. Stray end processing instruction with matching name is ignored - template
  386. Stray end processing instruction with matching name is ignored - template with 2 chunks
  387. Stray end processing instruction with matching name is ignored - template with 4 chunks
  388. Stray end processing instruction with matching name is ignored - parse
  389. Stray end processing instruction with matching name is ignored - parse with 2 chunks
  390. Stray end processing instruction with matching name is ignored - parse with 4 chunks
  391. Stray end processing instruction with matching name is ignored - contextualFragment
  392. Stray end processing instruction with matching name is ignored - contextualFragment with 2 chunks
  393. Stray end processing instruction with matching name is ignored - contextualFragment with 4 chunks
  394. Stray end processing instruction with matching name is ignored - stream
  395. Stray end processing instruction with matching name is ignored - stream with 2 chunks
  396. Stray end processing instruction with matching name is ignored - stream with 4 chunks
template-for-multiple.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Multiple <template for>
template-for-mutation-records.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - mutation records for removal
template-for-nested-patch.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Nested <template for> patches via the shared target (iframe)
  2. Nested <template for> patches via the shared target (innerHTML)
  3. Nested <template for> patches via the shared target (stream)
template-for-only-html-001.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

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
  1. FAILHTML partial updates: template with contentmethod does not work in XHTML
    assert_not_equals: got disallowed value null
template-for-pagehide-dynamic-markup-insertion.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. document.open() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
  2. document.open() in pagehide throws InvalidStateError during prepare content patching (via document.write)
  3. document.write() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
  4. document.write() in pagehide throws InvalidStateError during prepare content patching (via document.write)
  5. document.writeln() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
  6. document.writeln() in pagehide throws InvalidStateError during prepare content patching (via document.write)
  7. document.close() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe)
  8. document.close() in pagehide throws InvalidStateError during prepare content patching (via document.write)
template-for-parsing-only.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Creating a template and appending it does not trigger declarative partial update
  2. Setting 'for' dynamically on an existing template does not trigger update
  3. Inserting an already parsed template for element does not trigger update
  4. Inserting a template element via insertAdjacentElement does not trigger update
template-for-prepend-element.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> prepend element
template-for-prepend-text.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> prepend text
template-for-replace-children-with-element.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> replace children with element
template-for-replace-children-with-text.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template for> replace children with text
template-for-replace.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. <template for> replace
  2. <template for> should work when chunked
  3. <template for> should work when elements are sliced in the middle
template-for-reverse.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates: patch should appear after its target
template-for-sanitization.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. <template for> is sanitized away with removeElements when streaming
  2. <template for> is sanitized away with removeAttributes when streaming
  3. <template for> is sanitized away with removeElements in a fragment
  4. <template for> attribute is sanitized away with removeAttributes in a fragment
template-for-script-children.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - a script inside a patch should execute
template-for-script-eval.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - template for can create a new executable script
template-for-script-replace.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - a script replaced with a patch should execute
template-for-scripting-nested.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - a script inside a template inside a patch should not execute
template-for-shadow-nested.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template contentmethod> inside a <template shadowrootmode><div> should apply directly to its target
template-for-shadow-root.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. markers are respected in declarative shadow root
  2. markers are respected in imperative shadow root with streaming
template-for-shadow.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <template contentmethod> inside a <template shadowrootmode> should apply directly to its target
template-for-style-in-head.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - patch updates style with plain text
template-for-style.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates - patch updates style with plain text
template-for-superseded-by-shadowrootmode.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates: shadowrootmode supersedes for
template-for-supersedes-invalid-shadowrootmode.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML partial updates: invalid shadowrootmode superseded by for
template-for-title.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. New title
template-for-unclosed-content.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. Unclosed element in <template for> with <?start>/<?end> still removes markers (iframe)
  2. Unclosed element in <template for> with <?marker> still removes markers (iframe)
  3. Unclosed element in <template for> with <?start>/<?end> still removes markers (innerHTML)
  4. Unclosed element in <template for> with <?marker> still removes markers (innerHTML)
  5. Unclosed element in <template for> with <?start>/<?end> still removes markers (template)
  6. Unclosed element in <template for> with <?marker> still removes markers (template)
  7. Unclosed element in <template for> with <?start>/<?end> still removes markers (DOMParser)
  8. Unclosed element in <template for> with <?marker> still removes markers (DOMParser)
  9. Unclosed element in <template for> with <?start>/<?end> still removes markers (stream)
  10. Unclosed element in <template for> with <?marker> still removes markers (stream)

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.