Re: [html-tests] [Reland #1] Don't create layout objects for children of display-none iframes. (#5273)

*This report has been truncated because the total content is 180199 characters in length, which is in excess of GitHub.com's limit for comments (65536 characters).

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/216869242)

# Chrome (unstable channel) #
Testing web-platform-tests at revision 3987d644408765eacc79c1bce4888597bfc39e0f
Using browser at version 59.0.3053.3 dev
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>100 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html">/html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html</a></summary>


|                                                                                 Subtest                                                                                 | Results |                                                      Messages                                                     |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                                         | OK      |                                                                                                                   |
| `Parsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test empty template`                                              | FAIL    | `assert_not_equals: Content attribute of template element should not be undefined got disallowed value undefined` |
| `Parsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test not empty template`                                          | FAIL    | `assert_not_equals: Content attribute of template element should not be undefined got disallowed value undefined` |
| `Parsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test nested templates`                                            | FAIL    | `assert_not_equals: Content attribute of template element should not be undefined got disallowed value undefined` |
| `Parsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test loading XHTML document from a file`                          | PASS    |                                                                                                                   |
| `Parsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test loading of XHTML document with nested templates from a file` | PASS    |                                                                                                                   |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/template-child-nodes.html">/html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/template-child-nodes.html</a></summary>


|                                                                  Subtest                                                                  | Results |                                  Messages                                  |
|-------------------------------------------------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------|
|                                                                                                                                           | OK      |                                                                            |
| `Child nodes of template element in XHTML documents must be appended to template content`                                                 | FAIL    | `assert_equals: Wrong number of template child nodes expected 0 but got 2` |
| `Child nodes of nested template element in XHTML documents must be appended to template content`                                          | FAIL    | `assert_equals: Wrong number of template child nodes expected 0 but got 3` |
| `Child nodes of template element in XHTML documents must be appended to template content. Test loading XHTML document from a file`        | PASS    |                                                                            |
| `Child nodes of nested template element in XHTML documents must be appended to template content. Test loading XHTML document from a file` | PASS    |                                                                            |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/additions-to-serializing-xhtml-documents/outerhtml.html">/html/semantics/scripting-1/the-template-element/additions-to-serializing-xhtml-documents/outerhtml.html</a></summary>


|                                                                Subtest                                                                | Results | Messages |
|---------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                       | OK      |          |
| `Template contents should be serialized instead of template element if serializing template element`                                  | PASS    |          |
| `Template contents should be serialized instead of template element if serializing template element. Test nested template`            | PASS    |          |
| `Template contents should be serialized instead of template element if serializing template element. Test serializing whole document` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/additions-to-the-steps-to-clone-a-node/template-clone-children.html">/html/semantics/scripting-1/the-template-element/additions-to-the-steps-to-clone-a-node/template-clone-children.html</a></summary>


|                                            Subtest                                            | Results | Messages |
|-----------------------------------------------------------------------------------------------|---------|----------|
|                                                                                               | OK      |          |
| `Clone template node. Test call to cloneNode(true)`                                           | PASS    |          |
| `Clone template node. Test call to cloneNode() with the default parameter (false by default)` | PASS    |          |
| `Clone template node. Test call to cloneNode(false)`                                          | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/additions-to-the-steps-to-clone-a-node/templates-copy-document-owner.html">/html/semantics/scripting-1/the-template-element/additions-to-the-steps-to-clone-a-node/templates-copy-document-owner.html</a></summary>


|                                                              Subtest                                                               | Results | Messages |
|------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                    | OK      |          |
| `ownerDocument of cloned template content is set to template content owner. Test cloning with children`                            | PASS    |          |
| `ownerDocument of cloned template content is set to template content owner. Test cloning without children`                         | PASS    |          |
| `ownerDocument of cloned template content is set to template content owner. Test cloneNode() with no arguments (false by default)` | PASS    |          |
| `ownerDocument of cloned template content is set to template content owner. Test cloning nested template`                          | PASS    |          |
| `ownerDocument of cloned template content is set to template content owner. Test loading HTML document from file`                  | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/definitions/template-contents-owner-document-type.html">/html/semantics/scripting-1/the-template-element/definitions/template-contents-owner-document-type.html</a></summary>


|                                                                         Subtest                                                                          | Results |                                                          Messages                                                         |
|----------------------------------------------------------------------------------------------------------------------------------------------------------|---------|---------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                                                          | OK      |                                                                                                                           |
| `The template contents owner document type is HTML document (case when document has browsing context and the template is created by HTML parser)`        | FAIL    | `assert_equals: Template content owner should be a document expected "[object Document]" but got "[object HTMLDocument]"` |
| `The template contents owner document type is HTML document (case when document has browsing context and the template is created by createElement())`    | FAIL    | `assert_equals: Template content owner should be a document expected "[object Document]" but got "[object HTMLDocument]"` |
| `The template contents owner document type is HTML document (case when document has no browsing context and the template is created by createElement())` | FAIL    | `assert_equals: Template content owner should be a document expected "[object Document]" but got "[object HTMLDocument]"` |
| `The template contents owner document type is HTML document (case when document has no browsing context and the template is created via innerHTML)`      | FAIL    | `assert_equals: Template content owner should be a document expected "[object Document]" but got "[object HTMLDocument]"` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/definitions/template-contents-owner-test-001.html">/html/semantics/scripting-1/the-template-element/definitions/template-contents-owner-test-001.html</a></summary>


|                                                                   Subtest                                                                   | Results | Messages |
|---------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                             | OK      |          |
| `Test the template contents owner document when enclosing document has no browsing content. Template element is created by createElement()` | PASS    |          |
| `Test the template contents owner document when enclosing document has no browsing content. Template element is created by innerHTML`       | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/definitions/template-contents-owner-test-002.html">/html/semantics/scripting-1/the-template-element/definitions/template-contents-owner-test-002.html</a></summary>


|                                                                              Subtest                                                                              | Results | Messages |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                                                   | OK      |          |
| `The template contents owner document must be different from template owner document, which has browsing context. Template element is created by createElement()` | PASS    |          |
| `The template contents owner document must be different from template owner document, which has browsing context. Template element is created via innerHTML`      | PASS    |          |
| `The template contents owner document must be different from template owner document, which has browsing context. Template element is created by HTML parser`     | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/definitions/template-contents.html">/html/semantics/scripting-1/the-template-element/definitions/template-contents.html</a></summary>


|                                                             Subtest                                                              | Results | Messages |
|----------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                  | OK      |          |
| `The template contents must be a DocumentFragment (empty template)`                                                              | PASS    |          |
| `The template contents must be a DocumentFragment (non empty template)`                                                          | PASS    |          |
| `The template contents must be a DocumentFragment (non empty template containing div which is an Element instance)`              | PASS    |          |
| `The template contents must be a DocumentFragment (not empty template containing text node)`                                     | PASS    |          |
| `The template contents must be a DocumentFragment (nested template containing a text node)`                                      | PASS    |          |
| `The template contents must be a DocumentFragment (the empty template tag inside HTML file loaded in iframe)`                    | PASS    |          |
| `The template contents must be a DocumentFragment (non empty template tag inside HTML file loaded in iframe)`                    | PASS    |          |
| `The template contents must be a DocumentFragment (the template tag with some text inside HTML file loaded in iframe)`           | PASS    |          |
| `The template contents must be a DocumentFragment (the template tag with nested template tag inside HTML file loaded in iframe)` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html">/html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html</a></summary>


|                                                           Subtest                                                           | Results | Messages |
|-----------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                             | OK      |          |
| `innerHTML of template element replaces all referenced by the content attribute`                                            | PASS    |          |
| `innerHTML of template element replaces all referenced by the content attribute. Test nested template`                      | PASS    |          |
| `innerHTML of template element replaces all referenced by the content attribute. Test loading of HTML document from a file` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/serializing-html-templates/outerhtml.html">/html/semantics/scripting-1/the-template-element/serializing-html-templates/outerhtml.html</a></summary>


|                                                                Subtest                                                                | Results | Messages |
|---------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                       | OK      |          |
| `Template contents should be serialized instead of template element if serializing template element`                                  | PASS    |          |
| `Template contents should be serialized instead of template element if serializing template element. Test nested template`            | PASS    |          |
| `Template contents should be serialized instead of template element if serializing template element. Test serializing whole document` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/content-attribute.html">/html/semantics/scripting-1/the-template-element/template-element/content-attribute.html</a></summary>


|                                                                          Subtest                                                                           | Results | Messages |
|------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                                            | OK      |          |
| `Content attribute of template element is read-only. Test empty template`                                                                                  | PASS    |          |
| `Content attribute of template element is read-only. Test not empty template populated by appendchild()`                                                   | PASS    |          |
| `Content attribute of template element is read-only. Test not empty template populated by innerHTML`                                                       | PASS    |          |
| `Content attribute of template element is read-only. Test that custom content attribute named 'content' doesn't make content IDL attribute writable`       | PASS    |          |
| `Content attribute of template element is read-only. Test that custom content attribute named 'content' doesn't affect content IDL attribute`              | PASS    |          |
| `Content attribute of template element is read-only. Text value of content attribute of template tag should be ignored, when loading document from a file` | PASS    |          |
| `Content attribute of template element is read-only. Test content attribute of a document loaded from a file`                                              | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html">/html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html</a></summary>


|                                                                    Subtest                                                                    | Results | Messages |
|-----------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                               | OK      |          |
| `Changing of template element's node document. Test that ownerDocument of an empty template and its content changes`                          | PASS    |          |
| `Changing of template element's node document. Test that ownerDocument of a not empty template and its content changes`                       | PASS    |          |
| `Changing of template element's node document. Test that ownerDocument of nested template and its content changes`                            | PASS    |          |
| `Changing of template element's node document. Test document loaded from a file`                                                              | PASS    |          |
| `Changing of template element's node document. Adobt template element into a document that has a browsing context`                            | PASS    |          |
| `Changing of template element's node document. Test the case when both old and new owner documents of template element have browsing context` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/template-as-a-descendant.html">/html/semantics/scripting-1/the-template-element/template-element/template-as-a-descendant.html</a></summary>


|                                                       Subtest                                                        | Results |                                                                                 Messages                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                      | OK      |                                                                                                                                                                          |
| `Template element as a descendant of the BODY element. Template element is created by innerHTML`                     | PASS    |                                                                                                                                                                          |
| `Template element as a descendant of the HEAD element. Template element is created by innerHTML`                     | PASS    |                                                                                                                                                                          |
| `Template element as a descendant of the FRAMESET element. Template element is created by innerHTML`                 | FAIL    | `assert_equals: Template element should not be allowed as a descendant of the FRAMESET element expected null but got Element node <template>some text</template>`        |
| `Template element as an indirect descendant of the BODY element. Template element is created by innerHTML`           | PASS    |                                                                                                                                                                          |
| `Template element as an indirect descendant of the HEAD element. Template element is created by innerHTML`           | PASS    |                                                                                                                                                                          |
| `Template element as an indirect descendant of the FRAMESET element. Template element is created by innerHTML`       | FAIL    | `assert_equals: Template element should not be allowed as indirect descendant of the FRAMESET element expected null but got Element node <template>some text</template>` |
| `Template element as a descendant of the BODY element. Template element is appended by appendChild()`                | PASS    |                                                                                                                                                                          |
| `Template element as a descendant of the HEAD element. Template element is appended by appendChild()`                | PASS    |                                                                                                                                                                          |
| `Template element as a descendant of the FRAMESET element. Template element is  appended by appendChild()`           | PASS    |                                                                                                                                                                          |
| `Template element as an indirect descendant of the BODY element. Template element is appended by appendChild()`      | PASS    |                                                                                                                                                                          |
| `Template element as an indirect descendant of the HEAD element. Template element is appended by appendChild()`      | PASS    |                                                                                                                                                                          |
| `Template element as an indirect descendant of the FRAMESET element. Template element is  appended by appendChild()` | PASS    |                                                                                                                                                                          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/template-content-node-document.html">/html/semantics/scripting-1/the-template-element/template-element/template-content-node-document.html</a></summary>


|                                                               Subtest                                                               | Results | Messages |
|-------------------------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                                     | OK      |          |
| `Node document of the template content attribute must be template contents owner. Nested template element created by createElement` | PASS    |          |
| `Node document of the template content attribute must be template contents owner. Nested template element created by innerHTML`     | PASS    |          |
| `Node document of the template content attribute must be template contents owner. Load HTML file with multiple template elements`   | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/template-content.html">/html/semantics/scripting-1/the-template-element/template-element/template-content.html</a></summary>


|                                                  Subtest                                                  | Results | Messages |
|-----------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                           | OK      |          |
| `Template may contain a element`                                                                          | PASS    |          |
| `Template may contain abbr element`                                                                       | PASS    |          |
| `Template may contain address element`                                                                    | PASS    |          |
| `Template may contain area element`                                                                       | PASS    |          |
| `Template may contain article element`                                                                    | PASS    |          |
| `Template may contain aside element`                                                                      | PASS    |          |
| `Template may contain audio element`                                                                      | PASS    |          |
| `Template may contain b element`                                                                          | PASS    |          |
| `Template may contain base element`                                                                       | PASS    |          |
| `Template may contain bdi element`                                                                        | PASS    |          |
| `Template may contain bdo element`                                                                        | PASS    |          |
| `Template may contain blockquote element`                                                                 | PASS    |          |
| `Template may contain br element`                                                                         | PASS    |          |
| `Template may contain button element`                                                                     | PASS    |          |
| `Template may contain canvas element`                                                                     | PASS    |          |
| `Template may contain caption element`                                                                    | PASS    |          |
| `Template may contain cite element`                                                                       | PASS    |          |
| `Template may contain code element`                                                                       | PASS    |          |
| `Template may contain col element`                                                                        | PASS    |          |
| `Template may contain colgroup element`                                                                   | PASS    |          |
| `Template may contain command element`                                                                    | PASS    |          |
| `Template may contain datalist element`                                                                   | PASS    |          |
| `Template may contain dd element`                                                                         | PASS    |          |
| `Template may contain del element`                                                                        | PASS    |          |
| `Template may contain details element`                                                                    | PASS    |          |
| `Template may contain dfn element`                                                                        | PASS    |          |
| `Template may contain dialog element`                                                                     | PASS    |          |
| `Template may contain div element`                                                                        | PASS    |          |
| `Template may contain dl element`                                                                         | PASS    |          |
| `Template may contain dt element`                                                                         | PASS    |          |
| `Template may contain em element`                                                                         | PASS    |          |
| `Template may contain embed element`                                                                      | PASS    |          |
| `Template may contain fieldset element`                                                                   | PASS    |          |
| `Template may contain figcaption element`                                                                 | PASS    |          |
| `Template may contain figure element`                                                                     | PASS    |          |
| `Template may contain footer element`                                                                     | PASS    |          |
| `Template may contain form element`                                                                       | PASS    |          |
| `Template may contain h1 element`                                                                         | PASS    |          |
| `Template may contain h2 element`                                                                         | PASS    |          |
| `Template may contain h3 element`                                                                         | PASS    |          |
| `Template may contain h4 element`                                                                         | PASS    |          |
| `Template may contain h5 element`                                                                         | PASS    |          |
| `Template may contain h6 element`                                                                         | PASS    |          |
| `Template may contain header element`                                                                     | PASS    |          |
| `Template may contain hgroup element`                                                                     | PASS    |          |
| `Template may contain hr element`                                                                         | PASS    |          |
| `Template may contain i element`                                                                          | PASS    |          |
| `Template may contain iframe element`                                                                     | PASS    |          |
| `Template may contain img element`                                                                        | PASS    |          |
| `Template may contain input element`                                                                      | PASS    |          |
| `Template may contain ins element`                                                                        | PASS    |          |
| `Template may contain kbd element`                                                                        | PASS    |          |
| `Template may contain keygen element`                                                                     | PASS    |          |
| `Template may contain label element`                                                                      | PASS    |          |
| `Template may contain legend element`                                                                     | PASS    |          |
| `Template may contain li element`                                                                         | PASS    |          |
| `Template may contain link element`                                                                       | PASS    |          |
| `Template may contain map element`                                                                        | PASS    |          |
| `Template may contain mark element`                                                                       | PASS    |          |
| `Template may contain menu element`                                                                       | PASS    |          |
| `Template may contain meta element`                                                                       | PASS    |          |
| `Template may contain meter element`                                                                      | PASS    |          |
| `Template may contain nav element`                                                                        | PASS    |          |
| `Template may contain noscript element`                                                                   | PASS    |          |
| `Template may contain object element`                                                                     | PASS    |          |
| `Template may contain ol element`                                                                         | PASS    |          |
| `Template may contain optgroup element`                                                                   | PASS    |          |
| `Template may contain option element`                                                                     | PASS    |          |
| `Template may contain output element`                                                                     | PASS    |          |
| `Template may contain p element`                                                                          | PASS    |          |
| `Template may contain param element`                                                                      | PASS    |          |
| `Template may contain pre element`                                                                        | PASS    |          |
| `Template may contain progress element`                                                                   | PASS    |          |
| `Template may contain q element`                                                                          | PASS    |          |
| `Template may contain rp element`                                                                         | PASS    |          |
| `Template may contain rt element`                                                                         | PASS    |          |
| `Template may contain ruby element`                                                                       | PASS    |          |
| `Template may contain s element`                                                                          | PASS    |          |
| `Template may contain samp element`                                                                       | PASS    |          |
| `Template may contain script element`                                                                     | PASS    |          |
| `Template may contain section element`                                                                    | PASS    |          |
| `Template may contain select element`                                                                     | PASS    |          |
| `Template may contain small element`                                                                      | PASS    |          |
| `Template may contain source element`                                                                     | PASS    |          |
| `Template may contain span element`                                                                       | PASS    |          |
| `Template may contain strong element`                                                                     | PASS    |          |
| `Template may contain style element`                                                                      | PASS    |          |
| `Template may contain sub element`                                                                        | PASS    |          |
| `Template may contain table element`                                                                      | PASS    |          |
| `Template may contain tbody element`                                                                      | PASS    |          |
| `Template may contain td element`                                                                         | PASS    |          |
| `Template may contain textarea element`                                                                   | PASS    |          |
| `Template may contain tfoot element`                                                                      | PASS    |          |
| `Template may contain th element`                                                                         | PASS    |          |
| `Template may contain thead element`                                                                      | PASS    |          |
| `Template may contain time element`                                                                       | PASS    |          |
| `Template may contain title element`                                                                      | PASS    |          |
| `Template may contain tr element`                                                                         | PASS    |          |
| `Template may contain track element`                                                                      | PASS    |          |
| `Template may contain u element`                                                                          | PASS    |          |
| `Template may contain ul element`                                                                         | PASS    |          |
| `Template may contain var element`                                                                        | PASS    |          |
| `Template may contain video element`                                                                      | PASS    |          |
| `Template may contain wbr element`                                                                        | PASS    |          |
| `Template may contain a element. The template element and contents are added via body.innerHTML`          | PASS    |          |
| `Template may contain abbr element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain address element. The template element and contents are added via body.innerHTML`    | PASS    |          |
| `Template may contain area element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain article element. The template element and contents are added via body.innerHTML`    | PASS    |          |
| `Template may contain aside element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain audio element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain b element. The template element and contents are added via body.innerHTML`          | PASS    |          |
| `Template may contain base element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain bdi element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain bdo element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain blockquote element. The template element and contents are added via body.innerHTML` | PASS    |          |
| `Template may contain br element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain button element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain canvas element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain caption element. The template element and contents are added via body.innerHTML`    | PASS    |          |
| `Template may contain cite element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain code element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain col element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain colgroup element. The template element and contents are added via body.innerHTML`   | PASS    |          |
| `Template may contain command element. The template element and contents are added via body.innerHTML`    | PASS    |          |
| `Template may contain datalist element. The template element and contents are added via body.innerHTML`   | PASS    |          |
| `Template may contain dd element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain del element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain details element. The template element and contents are added via body.innerHTML`    | PASS    |          |
| `Template may contain dfn element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain dialog element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain div element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain dl element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain dt element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain em element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain embed element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain fieldset element. The template element and contents are added via body.innerHTML`   | PASS    |          |
| `Template may contain figcaption element. The template element and contents are added via body.innerHTML` | PASS    |          |
| `Template may contain figure element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain footer element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain form element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain h1 element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain h2 element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain h3 element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain h4 element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain h5 element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain h6 element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain header element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain hgroup element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain hr element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain i element. The template element and contents are added via body.innerHTML`          | PASS    |          |
| `Template may contain iframe element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain img element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain input element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain ins element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain kbd element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain keygen element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain label element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain legend element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain li element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain link element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain map element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain mark element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain menu element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain meta element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain meter element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain nav element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain noscript element. The template element and contents are added via body.innerHTML`   | PASS    |          |
| `Template may contain object element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain ol element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain optgroup element. The template element and contents are added via body.innerHTML`   | PASS    |          |
| `Template may contain option element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain output element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain p element. The template element and contents are added via body.innerHTML`          | PASS    |          |
| `Template may contain param element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain pre element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain progress element. The template element and contents are added via body.innerHTML`   | PASS    |          |
| `Template may contain q element. The template element and contents are added via body.innerHTML`          | PASS    |          |
| `Template may contain rp element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain rt element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain ruby element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain s element. The template element and contents are added via body.innerHTML`          | PASS    |          |
| `Template may contain samp element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain script element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain section element. The template element and contents are added via body.innerHTML`    | PASS    |          |
| `Template may contain select element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain small element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain source element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain span element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain strong element. The template element and contents are added via body.innerHTML`     | PASS    |          |
| `Template may contain style element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain sub element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain table element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain tbody element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain td element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain textarea element. The template element and contents are added via body.innerHTML`   | PASS    |          |
| `Template may contain tfoot element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain th element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain thead element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain time element. The template element and contents are added via body.innerHTML`       | PASS    |          |
| `Template may contain title element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain tr element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain track element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain u element. The template element and contents are added via body.innerHTML`          | PASS    |          |
| `Template may contain ul element. The template element and contents are added via body.innerHTML`         | PASS    |          |
| `Template may contain var element. The template element and contents are added via body.innerHTML`        | PASS    |          |
| `Template may contain video element. The template element and contents are added via body.innerHTML`      | PASS    |          |
| `Template may contain wbr element. The template element and contents are added via body.innerHTML`        | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/template-descendant-body.html">/html/semantics/scripting-1/the-template-element/template-element/template-descendant-body.html</a></summary>


|                                     Subtest                                      | Results | Messages |
|----------------------------------------------------------------------------------|---------|----------|
|                                                                                  | OK      |          |
| `Template element as a descendant of the body element. Test loading from a file` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html">/html/semantics/scripting-1/the-template-element/template-element/template-descendant-frameset.html</a></summary>


|                                                         Subtest                                                         | Results |                                                                                        Messages                                                                                        |
|-------------------------------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                         | OK      |                                                                                                                                                                                        |
| `Template element as a descendant of the frameset element. Test loading from a file`                                    | FAIL    | `assert_equals: Template element should not be a descendant of the frameset element expected null but got Element node <template>\n        <div>Hello, template</div>\n    </templ...` |
| `Template element as a descendant of the frameset element. Test template element is assigned to frameset's innerHTML)`  | FAIL    | `assert_equals: Template element should not be a descendant of the frameset element expected null but got Element node <template>some text</template>`                                 |
| `Template element as a descendant of the frameset element. Test template element appended to frameset by appendChild()` | FAIL    | `assert_equals: Template element should be a descendant of the frameset element expected 1 but got 2`                                                                                  |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/semantics/scripting-1/the-template-element/template-element/template-descendant-head.html">/html/semantics/scripting-1/the-template-element/template-element/template-descendant-head.html</a></summary>


|                                     Subtest                                      | Results | Messages |
|----------------------------------------------------------------------------------|---------|----------|
|                                                                                  | OK      |          |
| `Template element as a descendant of the head element. Test loading from a file` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/syntax/parsing/template/additions-to-foster-parenting/template-is-a-foster-parent-element.html">/html/syntax/parsing/template/additions-to-foster-parenting/template-is-a-foster-parent-element.html</a></summary>


|                                     Subtest                                      | Results | Messages |
|----------------------------------------------------------------------------------|---------|----------|
|                                                                                  | OK      |          |
| `Template is a foster parent element. Test <table> immediately below <template>` | PASS    |          |
| `Template is a foster parent element. Test <template> element without <table>`   | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/syntax/parsing/template/additions-to-foster-parenting/template-is-not-a-foster-parent-element.html">/html/syntax/parsing/template/additions-to-foster-parenting/template-is-not-a-foster-parent-element.html</a></summary>


|                                                   Subtest                                                    | Results | Messages |
|--------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                              | OK      |          |
| `Template is not a foster parent element. Test the case when <template> is higher in stack of open elements` | PASS    |          |
| `Template is not a foster parent element. Test the case when <template> is lower in stack of open elements`  | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/generating-of-implied-end-tags.html">/html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/generating-of-implied-end-tags.html</a></summary>


|                                           Subtest                                           | Results | Messages |
|---------------------------------------------------------------------------------------------|---------|----------|
|                                                                                             | OK      |          |
| `Generating of implied end tags. Test table elements`                                       | PASS    |          |
| `Generating of implied end tags. Test div element`                                          | PASS    |          |
| `Generating of implied end tags. Test some text and DIV element`                            | PASS    |          |
| `Generating of implied end tags. Test wrong end tag`                                        | PASS    |          |
| `Generating of implied end tags. Test table elements. Loading of HTML document from a file` | PASS    |          |
| `Generating of implied end tags. Test div element. Loading of HTML document from a file`    | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html">/html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html</a></summary>


|                                                    Subtest                                                     | Results | Messages |
|----------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                | OK      |          |
| `Ignore BODY token. Test empty BODY element assigned to template innerHTML`                                    | PASS    |          |
| `Ignore BODY token. Test not empty BODY element assigned to template innerHTML`                                | PASS    |          |
| `Ignore BODY token. Test BODY element and some valid element after BODY tag assigned to template innerHTML`    | PASS    |          |
| `Ignore BODY token. Test BODY element and some valid element before BODY tag assigned to template innerHTML`   | PASS    |          |
| `Ignore BODY token. Test template with not empty BODY element inside assigned to another template's innerHTML` | PASS    |          |
| `Ignore BODY token. Test loading a HTML file with BODY tag inside template`                                    | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5273/html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-frameset-token.html">/html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-frameset-token.html</a></summary>


|                                                        Subtest                                                        | Results | Messages |
|-----------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                       | OK      |          |
| `Ignore frameset token. Test FRAMESET element assigned to template innerHTML`                                         | PASS    |          |
| `Ignore frameset token. Test FRAMESET element and some valid element before it, assigned to the template's innerHTML` | PASS    |          |
| `Ignore frameset token. Test FRAMESET element and some valid ele

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5273#issuecomment-290501199

Received on Thursday, 30 March 2017 18:25:38 UTC