OLD | NEW |
1 CONSOLE WARNING: Calling Element.createShadowRoot() for an element which already
hosts a user-agent shadow root is deprecated. See https://www.chromestatus.com/
features/4668884095336448 for more details. | |
2 CONSOLE WARNING: <shadow> doesn't work for DETAILS element host. | |
3 CONSOLE WARNING: Calling Element.createShadowRoot() for an element which already
hosts a shadow root is deprecated. See https://www.chromestatus.com/features/46
68884095336448 for more details. | 1 CONSOLE WARNING: Calling Element.createShadowRoot() for an element which already
hosts a shadow root is deprecated. See https://www.chromestatus.com/features/46
68884095336448 for more details. |
4 Tests for a shadow element's getDistributedNodes(). | 2 Tests for a shadow element's getDistributedNodes(). |
5 | 3 |
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
7 | 5 |
8 | 6 |
9 | 7 |
10 getDistributedNodes() for "shadow" should return [] | 8 getDistributedNodes() for "shadow" should return [] |
11 PASS distributedNodes.length is expectedDistributedNodes.length | 9 PASS distributedNodes.length is expectedDistributedNodes.length |
12 | 10 |
13 getDistributedNodes() for "host/shadow" should return [] | 11 getDistributedNodes() for "host/shadow" should return [] |
14 PASS distributedNodes.length is expectedDistributedNodes.length | 12 PASS distributedNodes.length is expectedDistributedNodes.length |
15 | 13 |
16 getDistributedNodes() for "host/shadow" should return [] | 14 getDistributedNodes() for "host/shadow" should return [] |
17 PASS distributedNodes.length is expectedDistributedNodes.length | 15 PASS distributedNodes.length is expectedDistributedNodes.length |
18 | 16 |
19 getDistributedNodes() for "host/shadow" should return [host-child] | 17 getDistributedNodes() for "host/shadow" should return [host-child] |
20 PASS distributedNodes.length is expectedDistributedNodes.length | 18 PASS distributedNodes.length is expectedDistributedNodes.length |
21 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) | 19 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) |
22 | 20 |
23 getDistributedNodes() for "host/shadow" should return [host-child] | 21 getDistributedNodes() for "host/shadow" should return [host-child] |
24 PASS distributedNodes.length is expectedDistributedNodes.length | 22 PASS distributedNodes.length is expectedDistributedNodes.length |
25 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) | 23 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) |
26 | 24 |
27 getDistributedNodes() for "details//shadow" should return [] | |
28 PASS distributedNodes.length is expectedDistributedNodes.length | |
29 Since shadow insertion points don't work for DETAILS elements, this causes a war
ning message. | |
30 | |
31 getDistributedNodes() for "host//shadow" should return [host/older-child] | 25 getDistributedNodes() for "host//shadow" should return [host/older-child] |
32 PASS distributedNodes.length is expectedDistributedNodes.length | 26 PASS distributedNodes.length is expectedDistributedNodes.length |
33 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) | 27 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) |
34 | 28 |
35 getDistributedNodes() for "host//shadow" should return [host/older-child-1,host-
child,host/older-child-2] | 29 getDistributedNodes() for "host//shadow" should return [host/older-child-1,host-
child,host/older-child-2] |
36 PASS distributedNodes.length is expectedDistributedNodes.length | 30 PASS distributedNodes.length is expectedDistributedNodes.length |
37 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) | 31 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) |
38 PASS distributedNodes.item(1) is getNodeInComposedTree(expectedDistributedNodes[
1]) | 32 PASS distributedNodes.item(1) is getNodeInComposedTree(expectedDistributedNodes[
1]) |
39 PASS distributedNodes.item(2) is getNodeInComposedTree(expectedDistributedNodes[
2]) | 33 PASS distributedNodes.item(2) is getNodeInComposedTree(expectedDistributedNodes[
2]) |
40 | 34 |
(...skipping 24 matching lines...) Expand all Loading... |
65 PASS distributedNodes.length is expectedDistributedNodes.length | 59 PASS distributedNodes.length is expectedDistributedNodes.length |
66 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) | 60 PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[
0]) |
67 PASS distributedNodes.item(1) is getNodeInComposedTree(expectedDistributedNodes[
1]) | 61 PASS distributedNodes.item(1) is getNodeInComposedTree(expectedDistributedNodes[
1]) |
68 PASS distributedNodes.item(2) is getNodeInComposedTree(expectedDistributedNodes[
2]) | 62 PASS distributedNodes.item(2) is getNodeInComposedTree(expectedDistributedNodes[
2]) |
69 PASS distributedNodes.item(3) is getNodeInComposedTree(expectedDistributedNodes[
3]) | 63 PASS distributedNodes.item(3) is getNodeInComposedTree(expectedDistributedNodes[
3]) |
70 PASS distributedNodes.item(4) is getNodeInComposedTree(expectedDistributedNodes[
4]) | 64 PASS distributedNodes.item(4) is getNodeInComposedTree(expectedDistributedNodes[
4]) |
71 PASS successfullyParsed is true | 65 PASS successfullyParsed is true |
72 | 66 |
73 TEST COMPLETE | 67 TEST COMPLETE |
74 | 68 |
OLD | NEW |