Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: LayoutTests/fast/dom/createDocumentType-ownerDocument-expected.txt

Issue 22880019: [DOM4] Doctypes now always have a node document and can be moved across document boundaries (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Improve tests Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/createDocumentType-ownerDocument-expected.txt
diff --git a/LayoutTests/fast/dom/createDocumentType-ownerDocument-expected.txt b/LayoutTests/fast/dom/createDocumentType-ownerDocument-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e629077f17d04f25514e9742c90f1f0cb10201c2
--- /dev/null
+++ b/LayoutTests/fast/dom/createDocumentType-ownerDocument-expected.txt
@@ -0,0 +1,13 @@
+Tests that DOMImplementation.createDocumentType() properly sets the node's document to the associated document of the context object.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS docType.ownerDocument is document
+PASS newDocument = document.implementation.createDocument('', null, docType) did not throw exception.
+PASS newDocument.doctype is docType
+PASS newDocument.doctype.ownerDocument is newDocument
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/createDocumentType-ownerDocument.html ('k') | LayoutTests/fast/dom/move-nodes-across-documents.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698