| 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 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. |
| 2 | 3 |
| 3 Adds a div to ShadowRoot. | 4 Adds a div to ShadowRoot. |
| 4 PASS content.getDistributedNodes().length is 2 | 5 PASS content.getDistributedNodes().length is 2 |
| 5 PASS content.getDistributedNodes().item(0) is div1 | 6 PASS content.getDistributedNodes().item(0) is div1 |
| 6 PASS content.getDistributedNodes().item(1) is addedDiv | 7 PASS content.getDistributedNodes().item(1) is addedDiv |
| 7 | 8 |
| 8 Adds a div as fallback content, which should not be used. | 9 Adds a div as fallback content, which should not be used. |
| 9 PASS content.getDistributedNodes().length is 2 | 10 PASS content.getDistributedNodes().length is 2 |
| 10 PASS content.getDistributedNodes().item(0) is div1 | 11 PASS content.getDistributedNodes().item(0) is div1 |
| 11 PASS content.getDistributedNodes().item(1) is addedDiv | 12 PASS content.getDistributedNodes().item(1) is addedDiv |
| 12 | 13 |
| 13 Removes the first added div | 14 Removes the first added div |
| 14 PASS content.getDistributedNodes().length is 1 | 15 PASS content.getDistributedNodes().length is 1 |
| 15 PASS content.getDistributedNodes().item(0) is div1 | 16 PASS content.getDistributedNodes().item(0) is div1 |
| 16 | 17 |
| 17 Removes the second added div | 18 Removes the second added div |
| 18 PASS content.getDistributedNodes().length is 1 | 19 PASS content.getDistributedNodes().length is 1 |
| 19 PASS content.getDistributedNodes().item(0) is div1 | 20 PASS content.getDistributedNodes().item(0) is div1 |
| 20 | 21 |
| 21 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
| 22 | 23 |
| 23 TEST COMPLETE | 24 TEST COMPLETE |
| 24 | 25 |
| OLD | NEW |