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 In this test, we create a complex Shadow DOM and try to drag from a div in neste
d shadow root of older shadow root to a div in nested shadow root of younger sha
dow root. Then we get selection from the following TreeScopes: | 2 In this test, we create a complex Shadow DOM and try to drag from a div in neste
d shadow root of older shadow root to a div in nested shadow root of younger sha
dow root. Then we get selection from the following TreeScopes: |
2 * treeScopes[0] = document | 3 * treeScopes[0] = document |
3 * treeScopes[1] = OLDER SHADOW ROOT | 4 * treeScopes[1] = OLDER SHADOW ROOT |
4 * treeScopes[2] = YOUNGER SHADOW ROOT | 5 * treeScopes[2] = YOUNGER SHADOW ROOT |
5 * treeScopes[3] = NESTED SHADOW ROOT IN OLDER SHADOW ROOT | 6 * treeScopes[3] = NESTED SHADOW ROOT IN OLDER SHADOW ROOT |
6 * treeScopes[4] = NESTED SHADOW ROOT IN YOUNGER SHADOW ROOT | 7 * treeScopes[4] = NESTED SHADOW ROOT IN YOUNGER SHADOW ROOT |
7 and check selection.anchorNode, selection.focusNode, selection.baseNode, and sel
ection.extentNode are null or in the same treescope. | 8 and check selection.anchorNode, selection.focusNode, selection.baseNode, and sel
ection.extentNode are null or in the same treescope. |
8 | 9 |
9 Dragged from (DIV 2 IN NESTED SHADOW DOM OF OLDER SHADOW ROOT) to (DIV 2 IN NEST
ED SHADOW DOM OF YOUNGER SHADOW ROOT) | 10 Dragged from (DIV 2 IN NESTED SHADOW DOM OF OLDER SHADOW ROOT) to (DIV 2 IN NEST
ED SHADOW DOM OF YOUNGER SHADOW ROOT) |
10 | 11 |
(...skipping 26 matching lines...) Expand all Loading... |
37 Since treeScope[4] is outside of selection start point, no node should not be ta
ken. | 38 Since treeScope[4] is outside of selection start point, no node should not be ta
ken. |
38 PASS treeScopes[4].getSelection().anchorNode is null | 39 PASS treeScopes[4].getSelection().anchorNode is null |
39 PASS treeScopes[4].getSelection().focusNode is null | 40 PASS treeScopes[4].getSelection().focusNode is null |
40 PASS treeScopes[4].getSelection().baseNode is null | 41 PASS treeScopes[4].getSelection().baseNode is null |
41 PASS treeScopes[4].getSelection().extentNode is null | 42 PASS treeScopes[4].getSelection().extentNode is null |
42 | 43 |
43 PASS successfullyParsed is true | 44 PASS successfullyParsed is true |
44 | 45 |
45 TEST COMPLETE | 46 TEST COMPLETE |
46 | 47 |
OLD | NEW |