<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/dump-as-markup.js"></script>
<style>
blockquote {
    color: blue;
    border-left: 2px solid blue;
    margin: 0px;
    padding: 0 0 0 20px;
}
</style>
</head>
<body>
<div id="div" contenteditable="true"></div>
<script src="../../resources/dump-as-markup.js"></script>
<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>");

Markup.description('This tests pasting a blockquote into an empty paragraph.');
Markup.dump('div');

</script>
</body>
</html>
