blob: 5c0fcc85e357734f544c46580ce38d69ff8224c8 [file] [log] [blame]
<html>
<head>
<style>
blockquote {
color: blue;
border-left: 2px solid blue;
margin: 0px;
padding: 0 0 0 20px;
}
</style>
<script src="resources/paste-blockquote-before-blockquote.js"></script>
<script>
function test() {
if (window.testRunner)
testRunner.dumpAsText();
copyAndPasteNode("singleNestedNodeToCopy");
}
</script>
</head>
<body onload="test()">
<p>This tests pasting a singly nested blockquote before, and outside of, another blockquote. This test does not work outside of DRT.</p>
<div id="pasteDiv" contenteditable="true"></div>
<div>
<blockquote type='cite'>
<div>line 1</div>
<div id="singleNestedNodeToCopy">line 2</div>
<div>line 3</div>
<blockquote type='cite'>
<div id="doubleNestedNodeToCopy">line 4</div>
</blockquote>
<div>line 5</div>
</blockquote>
<br>
</div>
</body>
</html>