OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 | 7 |
8 <pre id="console"></pre> | 8 <pre id="console"></pre> |
9 <div id="container"></div> | 9 <div id="container"></div> |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 dragFromTo(div4, div6); | 45 dragFromTo(div4, div6); |
46 var selection = window.getSelection(); | 46 var selection = window.getSelection(); |
47 | 47 |
48 // If anchodeNode and focusNode are not in Shadow tree, document is returned | 48 // If anchodeNode and focusNode are not in Shadow tree, document is returned |
49 // by internals.treeScopeRootNode(). | 49 // by internals.treeScopeRootNode(). |
50 shouldBe('internals.treeScopeRootNode(selection.anchorNode)', 'document'); | 50 shouldBe('internals.treeScopeRootNode(selection.anchorNode)', 'document'); |
51 shouldBe('internals.treeScopeRootNode(selection.focusNode)', 'document'); | 51 shouldBe('internals.treeScopeRootNode(selection.focusNode)', 'document'); |
52 | 52 |
53 var successfullyParsed = true; | 53 var successfullyParsed = true; |
54 </script> | 54 </script> |
55 <script src="../../js/resources/js-test-post.js"></script> | |
56 </body> | 55 </body> |
57 </html> | 56 </html> |
OLD | NEW |