<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function performTest() | |
{ | |
Outline_init(); | |
PostponedActions_perform(); | |
UndoManager_clear(); | |
Selection_selectAll(); | |
PostponedActions_perform(); | |
Clipboard_cut(); | |
PostponedActions_perform(); | |
UndoManager_undo(); | |
PostponedActions_perform(); | |
Outline_deleteItem("item1"); | |
} | |
</script> | |
</head> | |
<body> | |
<h1 id="item1">First section</h1> | |
<a href="#item2">ref</a> | |
<h1 id="item2">Second section</h1> | |
</body> | |
</html> |