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

Unified Diff: LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt

Issue 133213008: Either content elements or shadow elements should not be treated as insertion points if they are no… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 11 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/shadow/get-distributed-nodes-orphan-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt b/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt
index 5e88ef1091cc9ebae9d3ce919a3ce2182899d961..d2d9c14d8e62716d3a2a620f054aba09c77c3b2d 100644
--- a/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt
+++ b/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt
@@ -1,27 +1,9 @@
-getDistributedNodes() should work out of Document
+getDistributedNodes() shouldn't work unless it is inDocument
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-getDistributedNodes() should work out of Document
PASS nodeList.length is expectedNodes.length
-PASS nodeList.item(0) is expectedNodes[0]
-
-When a content element is disconnected from ShadowRoot, it should not work.
-PASS nodeList.length is expectedNodes.length
-
-Reprojection case
-PASS nodeList.length is expectedNodes.length
-PASS nodeList.item(0) is expectedNodes[0]
-PASS nodeList.length is expectedNodes.length
-PASS nodeList.item(0) is expectedNodes[0]
-PASS nodeList.item(1) is expectedNodes[1]
-
-rootChild is disconnected. Now content became inactive, so content element itself should be distributed.
-PASS nodeList.length is expectedNodes.length
-PASS nodeList.length is expectedNodes.length
-PASS nodeList.item(0) is expectedNodes[0]
-PASS nodeList.item(1) is expectedNodes[1]
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan.html ('k') | Source/core/dom/shadow/InsertionPoint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698