11 border: 2px solid blue;
16 .scenario { margin-bottom: 16px;}
17 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
18 .expected-results:first-line { font-weight: bold }
20 <script src=../editing.js></script>
21 <script src="../../resources/dump-as-markup.js"></script>
24 if (window.testRunner)
25 testRunner.dumpAsText();
27 function editingTest() {
28 Markup.dump('test', 'Markup before');
32 Markup.dump('test', 'Markup after');
36 <title>Editing Test</title>
39 <div class="explanation">
40 <div class="scenario">
44 <a href="https://bugs.webkit.org/show_bug.cgi?id=56874"><https://bugs.webkit.org/show_bug.cgi?id=56874></a> Repeated copy and paste-in-place operation results in increasingly verbose HTML.
46 <div class="expected-results">
49 The markup before and after should be identical.
52 <div contenteditable id="test" class="editing">
53 <b><i>hello bold and italic</i></b><div><i>hello italic</I></div><div><font color="#ff0000">hello red</font></div>