4 <p id=
"description">This tests copying and pasting text does not strip inline styles that overrides UA style rules.
5 To manually test, copy and paste
"hello world" below. The pasted text should not be bolded.
</p>
6 <div id=
"test" contenteditable
><b style=
"font-weight: normal">hello world
</b></div>
7 <script src=
"../../resources/dump-as-markup.js"></script>
10 testRunner
.dumpAsText();
12 Markup
.description(document
.getElementById('description').textContent
);
14 document
.getElementById('test').focus();
16 Markup
.dump('test', 'Before copy-paste');
17 document
.execCommand('SelectAll', false, null);
18 document
.execCommand('Copy', false, null);
19 document
.execCommand('Paste', false, null);
20 Markup
.dump('test', 'After copy-paste');