Implement adopting and cloning steps for HTMLTemplateElement

This commit is contained in:
Anthony Ramine 2015-09-02 23:50:20 +02:00
parent 663f1d65e3
commit a5cefe41d0
6 changed files with 43 additions and 31 deletions

View file

@ -1,5 +0,0 @@
[template-clone-children.html]
type: testharness
[Clone template node. Test call to cloneNode(true)]
expected: FAIL

View file

@ -1,17 +1,5 @@
[templates-copy-document-owner.html]
type: testharness
[ownerDocument of cloned template content is set to template content owner. Test cloning with children]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test cloning without children]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test cloneNode() with no arguments (false by default)]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test cloning nested template]
expected: FAIL
[ownerDocument of cloned template content is set to template content owner. Test loading HTML document from file]
expected: FAIL

View file

@ -1,8 +1,5 @@
[template-contents.html]
type: testharness
[The template contents must be a DocumentFragment (nested template containing a text node)]
expected: FAIL
[The template contents must be a DocumentFragment (the empty template tag inside HTML file loaded in iframe)]
expected: FAIL

View file

@ -1,14 +1,5 @@
[node-document-changes.html]
type: testharness
[Changing of template element's node document. Test that ownerDocument of an empty template and its content changes]
expected: FAIL
[Changing of template element's node document. Test that ownerDocument of a not empty template and its content changes]
expected: FAIL
[Changing of template element's node document. Test that ownerDocument of nested template and its content changes]
expected: FAIL
[Changing of template element's node document. Test document loaded from a file]
expected: FAIL