Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 6444148.html
blobd16503819aff3bc7eba67adb54ed31b6e6835aee
1 <div id="description">This tests applying style to a selection that ends with a line break. Only the first paragraph should be styled.</div>
2 <div id="edit" contentEditable="true"><blockquote id="blockquote" type="cite">hello</blockquote>world</div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
7 blockquote = document.getElementById("blockquote");
8 edit = document.getElementById("edit");
9 description = document.getElementById("description");
11 window.getSelection().setBaseAndExtent(blockquote, 0, edit, 1);
12 document.execCommand("Bold");
13 if (window.testRunner)
14 document.body.innerText = description.innerText + "\n\n" + edit.innerHTML;
15 </script>