| <!DOCTYPE html> |
| <html> |
| <head> |
| <link href="../generic.css" rel="stylesheet"/> |
| <script type="text/javascript" src="OutlineTest.js"></script> |
| <script> |
| function performTest() |
| { |
| Outline_init(); |
| if (Outline_detectSectionNumbering()) |
| setupOutlineNumbering(); |
| PostponedActions_perform(); |
| |
| // Create a series of headings |
| createTestSections([2,[2,2]]); |
| |
| // Add a table of contents |
| Selection_set(document.body,0,document.body,0); |
| Outline_insertTableOfContents(); |
| PostponedActions_perform(); |
| |
| // Turn numbering off for all headings |
| setNumbering(false); |
| PostponedActions_perform(); |
| } |
| </script> |
| </head> |
| <body> |
| </body> |
| </html> |