<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> | |