Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassinnerHTML of template element replaces all referenced by the content attribute
Asserts run
Pass
assert_not_equals(Element node <div id="div1"></div>, null, "Element should present in template content")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:25:5)
Pass
assert_equals(null, null, "Template content should be replaced by innerHTML")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:30:5)
Pass
assert_not_equals(Element node <div id="div2"></div>, null, "Element should present in template content")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:32:5)
PassinnerHTML of template element replaces all referenced by the content attribute. Test empty HTML string
Asserts run
Pass
assert_not_equals(Element node <div id="div1"></div>, null, "Element should present in template content")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:46:5)
Pass
assert_false(false, "Template content should be removed by innerHTML")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:51:5)
PassinnerHTML of template element replaces all referenced by the content attribute. Test nested template
Asserts run
Pass
assert_not_equals(Element node <div id="div1"></div>, null, "Element should present in template content")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:69:5)
Pass
assert_equals(null, null, "Template content should be replaced by innerHTML")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:74:5)
Pass
assert_not_equals(Element node <div id="div2"></div>, null, "Element should present in template content")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:76:5)
PassinnerHTML of template element replaces all referenced by the content attribute. Test loading of HTML document from a file
Asserts run
Pass
assert_true(true, "Failed to create new rendered document")
    at newIFrame ( /html/resources/common.js:97:5)
Pass
assert_not_equals(Element node <div>Hello, template</div>, null, "Div element should present in template content")
    at  /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:87:5
Pass
assert_equals(null, null, "div element should be replaced by span in template content")
    at  /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:92:5
Pass
assert_not_equals(Element node <span>span internals</span>, null, "span element should present in template content")
    at  /html/semantics/scripting-1/the-template-element/innerhtml-on-templates/innerhtml.html:95:5