| <!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 tables |
| createTestTables(4); |
| |
| // Add a list of tables |
| Selection_set(document.body,0,document.body,0); |
| Outline_insertListOfTables(); |
| PostponedActions_perform(); |
| |
| // Modify the second table caption, to verify that the change is reflected in the LOT |
| var caption = document.getElementsByTagName("caption")[1]; |
| DOM_insertCharacters(caption.lastChild,2,"XYZ"); |
| PostponedActions_perform(); |
| } |
| </script> |
| </head> |
| <body> |
| </body> |
| </html> |