OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <body> | |
3 PASS if Blink doesn't crash. | |
4 <div id="sample" contenteditable="true"><ol><li><br></li></ol></div> | |
5 </body> | |
6 <script> | |
7 if (window.testRunner) | |
8 testRunner.dumpAsText(); | |
9 var sample = document.getElementById('sample'); | |
10 getSelection().selectAllChildren(sample); | |
11 document.execCommand('InsertHTML', false, '<ul>'); | |
12 sample.outerHTML = ''; | |
13 </script> | |
OLD | NEW |