OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <p>This test ensures WebKit adjusts the selection under document mutation.</p> | 4 <p>This test ensures WebKit adjusts the selection under document mutation.</p> |
5 <p> Examples are from:<br> http://www.w3.org/TR/DOM-Level-2-Traversal-Range/rang
es.html#Level-2-Range-Mutation</p> | 5 <p> Examples are from:<br> http://www.w3.org/TR/DOM-Level-2-Traversal-Range/rang
es.html#Level-2-Range-Mutation</p> |
6 <div id="test" contenteditable></div> | 6 <div id="test" contenteditable></div> |
7 <pre> | 7 <pre> |
8 <script> | 8 <script> |
9 | 9 |
10 var test = document.getElementById('test'); | 10 var test = document.getElementById('test'); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 document.write('\n\nExtent is first\n\n'); | 83 document.write('\n\nExtent is first\n\n'); |
84 runTests(); | 84 runTests(); |
85 | 85 |
86 test.style.display = 'none'; | 86 test.style.display = 'none'; |
87 document.write('\nDONE'); | 87 document.write('\nDONE'); |
88 </script> | 88 </script> |
89 </pre> | 89 </pre> |
90 </body> | 90 </body> |
91 </html> | 91 </html> |
OLD | NEW |