| 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 <p>When selecting from a child of shadow host to an element in Shadow DOM, a cra
sh should not be caused. | 7 <p>When selecting from a child of shadow host to an element in Shadow DOM, a cra
sh should not be caused. |
| 8 This is because the start position of Selection comes after the end position of
Selection.</p> | 8 This is because the start position of Selection comes after the end position of
Selection.</p> |
| 9 | 9 |
| 10 <div contenteditable> | 10 <div contenteditable> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // This should not cause a crash. | 23 // This should not cause a crash. |
| 24 eventSender.mouseMoveTo(target.offsetLeft - 10, target.offsetTop + target.offset
Height / 2); | 24 eventSender.mouseMoveTo(target.offsetLeft - 10, target.offsetTop + target.offset
Height / 2); |
| 25 eventSender.mouseDown(); | 25 eventSender.mouseDown(); |
| 26 eventSender.mouseMoveTo(nestedShadowHost.offsetLeft + 10, nestedShadowHost.offse
tTop + nestedShadowHost.offsetHeight / 2); | 26 eventSender.mouseMoveTo(nestedShadowHost.offsetLeft + 10, nestedShadowHost.offse
tTop + nestedShadowHost.offsetHeight / 2); |
| 27 eventSender.mouseUp(); | 27 eventSender.mouseUp(); |
| 28 debug('PASS'); | 28 debug('PASS'); |
| 29 | 29 |
| 30 var successfullyParsed = true; | 30 var successfullyParsed = true; |
| 31 </script> | 31 </script> |
| 32 | 32 |
| 33 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| OLD | NEW |