summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt
blob: 5e88ef1091cc9ebae9d3ce919a3ce2182899d961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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

TEST COMPLETE