Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / format-block-without-body-crash.html
blob8b1f640da1f9a7045979219d8e7ba91746104c2b
1 <!DOCTYPE html>
2 <body>
3 </body>
4 <script type="text/javascript">
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 document.designMode = 'on';
10 document.execCommand("SelectAll");
11 document.documentElement.removeChild(document.body);
12 document.execCommand("FormatBlock", false, "div");
14 document.documentElement.appendChild(document.createElement('body'));
15 document.body.innerText = 'This tests executing FormatBlock command without body element.\n'
16 + 'The passes if WebKit does not crash.\n\n'
17 + 'PASS\n\n';
19 </script>