diff options
-rw-r--r-- | tests/content/test_document_adoptNode.html | 23 | ||||
-rw-r--r-- | tests/content/test_document_compatMode.html | 20 |
2 files changed, 0 insertions, 43 deletions
diff --git a/tests/content/test_document_adoptNode.html b/tests/content/test_document_adoptNode.html deleted file mode 100644 index 41481b56af7..00000000000 --- a/tests/content/test_document_adoptNode.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <script src="harness.js"></script> - </head> - <body> - <div id="foo"><div id="bar"></div></div> - <script> - let foo = document.getElementById("foo"); - let doc = document.implementation.createHTMLDocument("title"); - - is(foo.ownerDocument, document); - - let adopted_foo = doc.adoptNode(foo); - is(document.getElementById("foo"), null); - - is(foo, adopted_foo); - is(foo.ownerDocument, doc); - is(foo.parentNode, null); - is(foo.childNodes.length, 1); - </script> - </body> -</html> diff --git a/tests/content/test_document_compatMode.html b/tests/content/test_document_compatMode.html deleted file mode 100644 index 92ba6644218..00000000000 --- a/tests/content/test_document_compatMode.html +++ /dev/null @@ -1,20 +0,0 @@ -<html> - <head> - <script src="harness.js"></script> - <script> - // test1: BackCompat - { - is(document.compatMode, "BackCompat", "test1-0, BackCompat"); - } - - // test2: Non-parsed documents - { - var xmldoc = new Document; - is(xmldoc.compatMode, "CSS1Compat", "test2-0, Non-parsed documents"); - - var htmldoc = document.implementation.createHTMLDocument("title"); - is(htmldoc.compatMode, "CSS1Compat", "test2-1, Non-parsed documents"); - } - </script> - </head> -</html> |