Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5604313.html
blob79d4dfe306f4fcfa02bd48f283201642d163f255
1 <div id="description">This tests for a bug where FormatBlock in a p element would leave one letter with the wrong style.</div>
2 <div id="edit" contentEditable="true"><p>This should be in a p element.</p><p id="p">This should be in an H2.</p></div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
8 p = document.getElementById("p");
9 s = window.getSelection();
10 s.collapse(p, 0);
12 document.execCommand("FormatBlock", false, "h2");
13 if (window.testRunner)
14 document.body.innerText = document.getElementById("description").innerText + "\n\n" + document.getElementById("edit").innerHTML;
15 </script>