Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-images-in-pre-x-crash.html
blob260f9e93af23c352c757ec03e2b28fe5de5b2998
1 <pre id="x"><x style="white-space: pre-wrap;"><br></x></pre>
2 <script>
4 // Adding DOCTYPE, html, or body prevents the crash to reproduce.
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var x = document.getElementById("x");
10 document.execCommand("selectall",false);
11 document.designMode="on";
12 document.execCommand("InsertImage");
13 document.execCommand("InsertImage");
14 document.execCommand("InsertImage");
16 document.open();
17 document.writeln('This test ensures WebKit does not crash.<br><br>PASS');
19 </script>
20 </body>
21 </html>