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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/rootNode-expected.txt

Issue 1999243002: Import wpt@5df9b57edb3307a87d5187804b29c8ddd2aa14e1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add expectations files (using run-webkit-tests --new-baseline) Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/rootNode-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/rootNode-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/rootNode-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e67e87d9c215ba4578429203d5900ecdc1d58bd6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/rootNode-expected.txt
@@ -0,0 +1,7 @@
+This is a testharness.js-based test.
+FAIL rootNode attribute must return the context object when it does not have any parent assert_equals: rootNode on an element without a parent must return the element itself expected (object) Element node <div></div> but got (undefined) undefined
+FAIL rootNode attribute must return the parent node of the context object when the context object has a single ancestor not in a document assert_equals: rootNode on an element with a single ancestor must return the parent node expected (object) Element node <div><div></div></div> but got (undefined) undefined
+FAIL rootNode attribute must return the document when a node is in document assert_equals: rootNode on an element inside a document must return the document expected (object) Document node with 2 children but got (undefined) undefined
+FAIL rootNode attribute must return a document fragment when a node is in the fragment assert_equals: rootNode on an element inside a document fragment must return the fragment expected (object) DocumentFragment node with 1 child but got (undefined) undefined
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698