6 background: transparent;
9 overflow-x: auto; overflow-y:auto;
10 text-decoration: underline;
14 <body style=
"color: rgb(51, 51, 51); " contenteditable=
"true">
16 <li>hello, world
<a href=
"http://www.webkit.org/">WebKit
</a></li>
17 <li>Copied content
</li>
19 <script src=
"../../resources/dump-as-markup.js"></script>
22 document
.body
.focus();
23 document
.execCommand('SelectAll', false, null);
24 document
.execCommand('Copy', false, null);
25 getSelection().modify('Move', 'Forward', 'Character');
26 document
.execCommand('Paste', false, null);
28 while (script
= document
.querySelector('script'))
29 script
.parentNode
.removeChild(script
);
31 Markup
.description('This test copies and pastes content inside a body with background and text-decoration properties. WebKit should not nest body.');
32 Markup
.dump(document
.body
);