Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5700414-1.html
blobc2a8f1a17d0c424279492ca3bbfc0beb60116a7e
1 <div id="outerdiv" contenteditable="true">
2 <div>There should be a single H1 block with a single BR below.</div>
3 <div id="div"><br></div>
4 <div id="div">There should be a single H1 block with a single BR above.</div>
5 </div>
6 <p id="console"></p>
8 <script>
10 if (window.testRunner)
11 testRunner.dumpAsText();
13 function log(message) {
14 var console = document.getElementById("console");
15 var text = document.createTextNode(message);
16 console.appendChild(text);
19 div = document.getElementById("div");
20 window.getSelection().collapse(div, 0);
21 document.execCommand("FormatBlock", false, "h1");
23 log(document.getElementById('outerdiv').innerHTML);
25 </script>