OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../../fast/dom/resources/event-sender-util.js"></script> | 4 <script src="../../fast/dom/resources/event-sender-util.js"></script> |
5 <script src="../../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../../fast/js/resources/js-test-pre.js"></script> |
6 | 6 |
7 <div id="host1"></div> | 7 <div id="host1"></div> |
8 <div id="host2"></div> | 8 <div id="host2"></div> |
9 <pre id="console"></pre> | 9 <pre id="console"></pre> |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 var selection2 = nestedShadowRoot2.getSelection(); | 44 var selection2 = nestedShadowRoot2.getSelection(); |
45 shouldBe('selection2.anchorNode', 'selection2.focusNode'); | 45 shouldBe('selection2.anchorNode', 'selection2.focusNode'); |
46 | 46 |
47 shouldBe('selection2.anchorOffset', '5'); | 47 shouldBe('selection2.anchorOffset', '5'); |
48 shouldBe('selection2.focusOffset', '0'); | 48 shouldBe('selection2.focusOffset', '0'); |
49 } | 49 } |
50 | 50 |
51 var successfullyParsed = true; | 51 var successfullyParsed = true; |
52 </script> | 52 </script> |
53 | 53 |
54 <script src="../../fast/js/resources/js-test-post.js"></script> | |
55 </body> | 54 </body> |
56 </html> | 55 </html> |
OLD | NEW |