OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 This test verifies that deleting DOM elements in a DOMSubtreeModified handler tr
iggered by and execCommand('bold') does not produce a crash. | 4 This test verifies that deleting DOM elements in a DOMSubtreeModified handler tr
iggered by and execCommand('bold') does not produce a crash. |
5 <div id="test" contenteditable style="border: 1px solid red"> | 5 <div id="test" contenteditable style="border: 1px solid red"> |
6 <b class="x" id="inlined"> | 6 <b class="x" id="inlined"> |
7 <u></u> | 7 <u></u> |
8 x | 8 x |
9 </b> | 9 </b> |
10 </div> | 10 </div> |
(...skipping 22 matching lines...) Expand all Loading... |
33 document.execCommand('bold', false, null); | 33 document.execCommand('bold', false, null); |
34 } | 34 } |
35 | 35 |
36 if (window.testRunner) | 36 if (window.testRunner) |
37 testRunner.dumpAsText(); | 37 testRunner.dumpAsText(); |
38 | 38 |
39 runtest(); | 39 runtest(); |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |