Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / remove-format-non-html-element-crash.html
blobbac556002fc0238504549093ec0428dfbd9a1f91
1 <html>
2 <body>
3 Test passes if it does not crash.
4 <div id="test" contenteditable="true">
5 <ins><math>ABCD</math></ins>
6 </div>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 var test = document.getElementById("test");
12 test.focus();
13 document.execCommand("SelectAll");
14 document.execCommand("RemoveFormat");
15 document.body.removeChild(test);
16 </script>
17 </body>
18 </html>