Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / format-block-at-root.html
blob47e25a75c9fd0e675237768bdab633a870a7e09c
1 <style>* { display: table; }</style>
2 <body>Test passes if it does not crash.</body>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 document.designMode = "on";
8 range = document.createRange();
9 range.selectNodeContents(document.body);
10 window.getSelection().addRange(range);
11 document.execCommand("FormatBlock", false, "h1");
12 </script>