blob: 5690fede249826968f0ea99ab0fc6420d4245ccf [file] [log] [blame]
<style>
blockquote {
color: blue;
border-left: 2px solid blue;
margin: 0px;
padding: 0 0 0 20px;
}
</style>
<p>This tests pasting a blockquote into an empty paragraph.</p>
<div id="div" contenteditable="true"></div>
<script>
var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 0);
document.execCommand("InsertHTML", false, "<blockquote type='cite'>This should be blockquoted.</blockquote>");
</script>