Pass | Ignore BODY token. Test empty BODY element assigned to template innerHTML | Asserts runPass | assert_equals(0, 0, "Template cannot contain BODY element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:34:5) |
|
Pass | Ignore BODY token. Test not empty BODY element assigned to template innerHTML | Asserts runPass | 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-body-token.html:48:5) | Pass | assert_equals("DIV", "DIV", "Template should contain children of ignored BODY element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:50:5) |
|
Pass | Ignore BODY token. Test BODY element and some valid element after BODY tag assigned to template innerHTML | Asserts runPass | 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-body-token.html:64:5) | Pass | assert_not_equals(Element node <div <div="" id="div1">Some content</div>, null, "Template should contain children of the ignored BODY element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:66:5) | Pass | assert_not_equals(Element node <div id="div2">Some valid content</div>, null, "Template should contain valid element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:68:5) |
|
Pass | Ignore BODY token. Test BODY element and some valid element before BODY tag assigned to template innerHTML | Asserts runPass | assert_equals(2, 2, "Template cannot contain BODY element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:83:5) | Pass | assert_not_equals(Element node <div id="div1">Some valid content</div>, null, "Template should contain valid element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:85:5) | Pass | assert_not_equals(Element node <div id="div2">Some content</div>, null, "Template should contain children of the ignored BODY element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:87:5) |
|
Pass | Ignore BODY token. Test template with not empty BODY element inside assigned to another template's innerHTML | Asserts runPass | assert_equals(1, 1, "Template should contain nested template")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:102:5) | Pass | assert_not_equals(Element node <template id="t2"><span>Body!<span></span></span></template>, null, "Template should contain nested element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:104:5) | Pass | assert_equals(1, 1, "Template cannot contain BODY element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:109:5) | Pass | assert_equals("SPAN", "SPAN", "Template cannot contain BODY element")
at Test.<anonymous> ( /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:111:5) |
|
Pass | Ignore BODY token. Test loading a HTML file with BODY tag inside template | Asserts runPass | 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 BODY element")
at /html/syntax/parsing/template/additions-to-the-in-body-insertion-mode/ignore-body-token.html:124:5 |
|