1 <!-- This test was derived from a real case inside the Mail application, bug 3812471.-->
3 <blockquote id=
"start"><span id=
"end">Heck, son, you're a failure
</span></blockquote>
5 <p>The result appears below here; should not include any text:
</p>
7 <p id=
"destination">Original text, should not be seen.
</p>
11 var start
= document
.getElementById("start");
12 var end
= document
.getElementById("end");
13 var destination
= document
.getElementById("destination");
15 var r
= document
.createRange();
19 while (destination
.firstChild
)
20 destination
.removeChild(destination
.firstChild
);
21 destination
.appendChild(r
.cloneContents());