mirror of
https://github.com/servo/servo.git
synced 2025-07-16 03:43:38 +01:00
Implement adopting and cloning steps for HTMLTemplateElement
This commit is contained in:
parent
663f1d65e3
commit
a5cefe41d0
6 changed files with 43 additions and 31 deletions
|
@ -1,5 +0,0 @@
|
|||
[template-clone-children.html]
|
||||
type: testharness
|
||||
[Clone template node. Test call to cloneNode(true)]
|
||||
expected: FAIL
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue