blob: 9927b51176995202c205e348e5c330dd661ea8ee [file] [log] [blame]
<html>
<head>
<style>
blockquote {
color: blue;
border-left: 2px solid blue;
margin: 0px;
padding: 0 0 0 20px;
}
</style>
</head>
<body>
<p>This test passes if nothing is double-quoted, and "Two" and "Four" aren't quoted at all.</p>
<div contenteditable="true"><blockquote type='cite' id="block">Paste<br>Here</blockquote></div>
<script>
var sel = window.getSelection();
var block = document.getElementById("block");
sel.setPosition(block, 3);
document.execCommand("InsertHTML", false, "<blockquote type='cite'>One</blockquote>Two<blockquote type='cite'>Three</blockquote>Four");
</script>
</body>
</html>