Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
PassContent attribute of template element is read-only. Test empty template
Asserts run
Pass
assert_readonly(Element node <template></template>, "content", "Content attribute of template element should be read-only")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:21:5)
PassContent attribute of template element is read-only. Test not empty template populated by appendchild()
Asserts run
Pass
assert_readonly(Element node <template><div><span></span></div></template>, "content", "Content attribute of template element should be read-only")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:37:5)
PassContent attribute of template element is read-only. Test not empty template populated by innerHTML
Asserts run
Pass
assert_readonly(Element node <template>Text<div>DIV</div></template>, "content", "Content attribute of template element should be read-only")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:50:5)
PassContent attribute of template element is read-only. Test that custom content attribute named 'content' doesn't make content IDL attribute writable
Asserts run
Pass
assert_readonly(Element node <template id="template1" content="Some text as a content"..., "content", "Content attribute of template element should be read-only")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:63:5)
PassContent attribute of template element is read-only. Test that custom content attribute named 'content' doesn't affect content IDL attribute
Asserts run
Pass
assert_readonly(Element node <template id="template1" content="<div id=div1>Div conten..., "content", "Content attribute of template element should be read-only")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:77:5)
Pass
assert_equals(0, 0, "Content attribute of template element should be read-only")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:80:5)
PassContent attribute of template element is read-only. Text value of content attribute of template tag should be ignored, when loading 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_readonly(Element node <template content="some text"></template>, "content", "Content attribute of template element should be read-only")
    at  /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:93:5
PassContent attribute of template element is read-only. Test content attribute of a document loaded 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_readonly(Element node <template>         <div>Hello, template</div>     </templ..., "content", "Content attribute of template element should be read-only")
    at  /html/semantics/scripting-1/the-template-element/template-element/content-attribute.html:106:5