Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script> | |
| 5 if (window.testRunner) | |
| 6 testRunner.dumpAsText(); | |
| 7 | |
| 8 onload = function() { | |
| 9 document.replaceChild(document.body.firstElementChild, document.documentElem ent); | |
| 10 var selection = getSelection(); | |
| 11 document.execCommand('SelectAll'); | |
| 12 document.getElementById('target').contentEditable = true; | |
| 13 document.execCommand('Delete'); | |
| 14 document.documentElement.textContent = 'PASS if Blink doesn\'t crash.'; | |
| 15 }; | |
| 16 </script> | |
| 17 </head> | |
| 18 <body> | |
| 19 <div><span id="target">mnop</span>xyz</div> | |
| 20 </body> | |
| 21 </html> | |
| OLD | NEW |