OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <p>This test ensures WebKit adjusts or clears the selection when either the star
t or the end container was modified.</p> | 4 <p>This test ensures WebKit adjusts or clears the selection when either the star
t or the end container was modified.</p> |
5 <div id="test" contenteditable></div> | 5 <div id="test" contenteditable></div> |
6 <pre> | 6 <pre> |
7 <script> | 7 <script> |
8 | 8 |
9 var test = document.getElementById('test'); | 9 var test = document.getElementById('test'); |
10 test.focus(); | 10 test.focus(); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 document.write('\nExtent is first:\n'); | 98 document.write('\nExtent is first:\n'); |
99 runTests(); | 99 runTests(); |
100 | 100 |
101 test.style.display = 'none'; | 101 test.style.display = 'none'; |
102 | 102 |
103 document.write('\nDONE'); | 103 document.write('\nDONE'); |
104 </script> | 104 </script> |
105 </pre> | 105 </pre> |
106 </body> | 106 </body> |
107 </html> | 107 </html> |
OLD | NEW |