4 <p>This tests copying an element with a background color specified in a style rule that conflicts with the background color of a wrapping style.
5 The pasted text should have lightgreen background color.</p>
7 <div contenteditable><div style="background-color: lightgreen;">Copy this line</div>
8 <span id="target"></span><br>
11 var target = document.getElementById('target');
12 target.parentNode.focus();
13 getSelection().collapse(target, 0);