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>
5 if (window.layoutTestController)
6 window.layoutTestController.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.layoutTestController)
14 document.body.innerText = description.innerText + "\n\n" + edit.innerHTML;