Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / deleteFromDocument-undo-crash.html
blob88638f681224a4219ed45b81dab546894d61a285
1 <html>
2 <head>
3 <script id="script1"></script>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 window.onload = function () {
9 document.designMode = "on";
10 var selection = window.getSelection();
11 document.execCommand("SelectAll", false)
12 var range = selection.getRangeAt(0);
14 range.insertNode(document.getElementById("script1"));
15 document.execCommand('InsertText', false, 'efgh');
16 document.execCommand('JustifyFull', false, false);
18 selection.deleteFromDocument();
19 document.execCommand("Undo", false, false);
21 document.execCommand("Delete");
23 document.documentElement.innerHTML = "PASS. Blink didn't crash.";
25 </script>
26 </head>
27 <body>
28 <h1>abcd</h1>
29 </body>
30 </html>