OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script src="../../fast/dom/resources/event-sender-util.js"></script> | 5 <script src="../../fast/dom/resources/event-sender-util.js"></script> |
6 | 6 |
7 <p>This test confirms that selecting an element having Shadow DOM doesn't cross
editing boundaries errornously.</p> | 7 <p>This test confirms that selecting an element having Shadow DOM doesn't cross
editing boundaries errornously.</p> |
8 | 8 |
9 <div> | 9 <div> |
10 <div id="before">BEFORE</div> | 10 <div id="before">BEFORE</div> |
11 <div id="host" contenteditable>HOST</div> | 11 <div id="host" contenteditable>HOST</div> |
12 <div id="after">AFTER</div> | 12 <div id="after">AFTER</div> |
13 </div> | 13 </div> |
14 | 14 |
(...skipping 30 matching lines...) Expand all Loading... |
45 shouldBeNull('selection.focusNode'); | 45 shouldBeNull('selection.focusNode'); |
46 // Check crash won't happen. | 46 // Check crash won't happen. |
47 document.execCommand('delete'); | 47 document.execCommand('delete'); |
48 debug('PASS document.execCommand("delete") did not crash.'); | 48 debug('PASS document.execCommand("delete") did not crash.'); |
49 | 49 |
50 var successfullyParsed = true; | 50 var successfullyParsed = true; |
51 </script> | 51 </script> |
52 </body> | 52 </body> |
53 | 53 |
54 </html> | 54 </html> |
OLD | NEW |