OLD | NEW |
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. | 1 CONSOLE WARNING: line 20: Calling Element.createShadowRoot() for an element whic
h already hosts a shadow root is deprecated. See https://www.chromestatus.com/fe
atures/4668884095336448 for more details. |
2 When we modify host children and get distributed nodes in nested ShadowDOM, dist
ribution should occur from the host. | 2 When we modify host children and get distributed nodes in nested ShadowDOM, dist
ribution should occur from the host. |
3 | 3 |
4 Adds a div to ShadowRoot. | 4 Adds a div to ShadowRoot. |
5 PASS content.getDistributedNodes().length is 2 | 5 PASS content.getDistributedNodes().length is 2 |
6 PASS content.getDistributedNodes().item(0) is div1 | 6 PASS content.getDistributedNodes().item(0) is div1 |
7 PASS content.getDistributedNodes().item(1) is addedDiv | 7 PASS content.getDistributedNodes().item(1) is addedDiv |
8 | 8 |
9 Adds a div as fallback content, which should not be used. | 9 Adds a div as fallback content, which should not be used. |
10 PASS content.getDistributedNodes().length is 2 | 10 PASS content.getDistributedNodes().length is 2 |
11 PASS content.getDistributedNodes().item(0) is div1 | 11 PASS content.getDistributedNodes().item(0) is div1 |
12 PASS content.getDistributedNodes().item(1) is addedDiv | 12 PASS content.getDistributedNodes().item(1) is addedDiv |
13 | 13 |
14 Removes the first added div | 14 Removes the first added div |
15 PASS content.getDistributedNodes().length is 1 | 15 PASS content.getDistributedNodes().length is 1 |
16 PASS content.getDistributedNodes().item(0) is div1 | 16 PASS content.getDistributedNodes().item(0) is div1 |
17 | 17 |
18 Removes the second added div | 18 Removes the second added div |
19 PASS content.getDistributedNodes().length is 1 | 19 PASS content.getDistributedNodes().length is 1 |
20 PASS content.getDistributedNodes().item(0) is div1 | 20 PASS content.getDistributedNodes().item(0) is div1 |
21 | 21 |
22 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
23 | 23 |
24 TEST COMPLETE | 24 TEST COMPLETE |
25 | 25 |
OLD | NEW |