Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassIgnore HEAD token. Test empty HEAD element assigned to template innerHTML
Asserts run
Pass
assert_equals(0, 0, "Template cannot contain HEAD element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:33:5)
PassIgnore HEAD token. Test not empty HEAD element assigned to template innerHTML
Asserts run
Pass
assert_equals(1, 1, "Wrong number of template content children")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:47:5)
Pass
assert_equals("TITLE", "TITLE", "Template should contain children of ignored HEAD element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:49:5)
PassIgnore HEAD token. Test HEAD element and some valid element before it, assigned to template innerHTML
Asserts run
Pass
assert_equals(2, 2, "Wrong number of template content children")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:63:5)
Pass
assert_not_equals(Element node <div id="div1">Some text</div>, null, "Template should contain valid element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:65:5)
Pass
assert_equals("TITLE", "TITLE", "Template should contain children of ignored HEAD element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:67:5)
PassIgnore HEAD token. Test HEAD element and some valid element after it, assigned to template innerHTML
Asserts run
Pass
assert_equals(2, 2, "Wrong number of template content children")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:82:5)
Pass
assert_equals("TITLE", "TITLE", "Template should contain children of ignored HEAD element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:84:5)
Pass
assert_not_equals(Element node <div id="div1">Some text</div>, null, "Template should contain valid element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:86:5)
PassIgnore HEAD token. Test HEAD tag inside template tag assigned to another template's innerHTML
Asserts run
Pass
assert_equals(1, 1, "Template should contain nested template")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:101:5)
Pass
assert_not_equals(Element node <template id="t2"><title>test</title></template>, null, "Template should contain nested element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:103:5)
Pass
assert_equals(1, 1, "Wrong number of template content children")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:108:5)
Pass
assert_equals("TITLE", "TITLE", "Template should contain children of ignored HEAD element")
    at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:110:5)
PassIgnore HEAD token. Test loading a HTML file with HEAD tag inside template
Asserts run
Pass
assert_true(true, "Failed to create new rendered document")
    at newIFrame ( /html/resources/common.js:97:5)
Pass
assert_equals(0, 0, "Template cannot contain HEAD element")
    at  /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-head-token.html:122:5