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 57: 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 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: |
3 * treeScopes[0] = document | 3 * treeScopes[0] = document |
4 * treeScopes[1] = OLDER SHADOW ROOT | 4 * treeScopes[1] = OLDER SHADOW ROOT |
5 * treeScopes[2] = YOUNGER SHADOW ROOT | 5 * treeScopes[2] = YOUNGER SHADOW ROOT |
6 * treeScopes[3] = NESTED SHADOW ROOT IN OLDER SHADOW ROOT | 6 * treeScopes[3] = NESTED SHADOW ROOT IN OLDER SHADOW ROOT |
7 * treeScopes[4] = NESTED SHADOW ROOT IN YOUNGER SHADOW ROOT | 7 * treeScopes[4] = NESTED SHADOW ROOT IN YOUNGER SHADOW ROOT |
8 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. |
9 | 9 |
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 Dragged from (DIV 2 IN NESTED SHADOW DOM OF OLDER SHADOW ROOT) to (DIV 2 IN NEST
ED SHADOW DOM OF YOUNGER SHADOW ROOT) |
11 | 11 |
(...skipping 26 matching lines...) Expand all Loading... |
38 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. |
39 PASS treeScopes[4].getSelection().anchorNode is null | 39 PASS treeScopes[4].getSelection().anchorNode is null |
40 PASS treeScopes[4].getSelection().focusNode is null | 40 PASS treeScopes[4].getSelection().focusNode is null |
41 PASS treeScopes[4].getSelection().baseNode is null | 41 PASS treeScopes[4].getSelection().baseNode is null |
42 PASS treeScopes[4].getSelection().extentNode is null | 42 PASS treeScopes[4].getSelection().extentNode is null |
43 | 43 |
44 PASS successfullyParsed is true | 44 PASS successfullyParsed is true |
45 | 45 |
46 TEST COMPLETE | 46 TEST COMPLETE |
47 | 47 |
OLD | NEW |