| <!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(); |
| |
| // Modify the second figure caption, to verify that the change is reflected in the LOF |
| var figcaption = document.getElementsByTagName("figcaption")[1]; |
| DOM_insertCharacters(figcaption.lastChild,2,"XYZ"); |
| PostponedActions_perform(); |
| } |
| </script> |
| </head> |
| <body> |
| </body> |
| </html> |