| .scenario { margin-bottom: 16px;} |
| .scenario:first-line { font-weight: bold; margin-bottom: 16px;} |
| .expected-results:first-line { font-weight: bold } |
| <script src=../editing.js></script> |
| <script src="../../resources/dump-as-markup.js"></script> |
| Markup.dump('test', 'Markup before'); |
| Markup.dump('test', 'Markup after'); |
| <title>Editing Test</title> |
| <div class="explanation"> |
| <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. |
| <div class="expected-results"> |
| The markup before and after should be identical. |
| <div contenteditable id="test" class="editing"> |
| <b><i>hello bold and italic</i></b><div><i>hello italic</I></div><div><font color="#ff0000">hello red</font></div> |