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 d2d9c14d8e62716d3a2a620f054aba09c77c3b2d..5e88ef1091cc9ebae9d3ce919a3ce2182899d961 100644 |
--- a/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt |
+++ b/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt |
@@ -1,9 +1,27 @@ |
-getDistributedNodes() shouldn't work unless it is inDocument |
+getDistributedNodes() should work out of Document |
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 |