| <!DOCTYPE html> |
| <html> |
| <head> |
| <link href="../generic.css" rel="stylesheet"/> |
| <script type="text/javascript" src="OutlineTest.js"></script> |
| <script> |
| function performTest() |
| { |
| Outline_init(); |
| PostponedActions_perform(); |
| |
| // Create a series of figures |
| createTestFigures(4); |
| |
| // Add a list of figures |
| Selection_set(document.body,0,document.body,0); |
| Outline_insertListOfFigures(); |
| PostponedActions_perform(); |
| |
| // Delete all figures |
| var current = document.getElementsByTagName("figure")[0]; |
| var next; |
| for (; current != null; current = next) { |
| next = current.nextSibling; |
| DOM_deleteNode(current); |
| } |
| PostponedActions_perform(); |
| } |
| </script> |
| </head> |
| <body> |
| </body> |
| </html> |