4 <p>This tests copy/paste of an unrendered select. The options inside of it should not be pasted.
</p>
5 <div id=
"copy" contenteditable=
"true">Hello
<span style=
"display:none;"><select><option>1</option></select></span> World
</div>
6 <div id=
"paste" contenteditable=
"true"></div>
7 <script src=
"../../resources/dump-as-markup.js"></script>
9 var copy
= document
.getElementById("copy");
11 document
.execCommand("SelectAll");
12 document
.execCommand("Copy");
14 var paste
= document
.getElementById("paste");
16 document
.execCommand("Paste");
18 Markup
.description(document
.getElementsByTagName('p')[0].textContent
);