| <script src="../editing.js"></script> |
| <script src="../../resources/dump-as-markup.js"></script> |
| <h2 id="source" contenteditable="true">Copy This Text</h2> |
| <h2 id="destination" contenteditable="true">Paste Here</h2> |
| var source = document.getElementById("source"); |
| var destination = document.getElementById("destination"); |
| Markup.description("The following test does a copy and a paste from one heading to another heading. The test is successful if there is no crash."); |
| Markup.dump(destination, 'Destination should say Copy This Text'); |