You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/14 18:10:25 UTC

[18/51] [abbrv] [partial] incubator-corinthia git commit: added js test files

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures06-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures06-input.html
new file mode 100644
index 0000000..77120bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures06-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    Outline_detectSectionNumbering();
+    PostponedActions_perform();
+
+    // Add a list of figures
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<figure>
+(figure content)
+<figcaption>Test figure A</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Test figure B</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Test figure C</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Test figure D</figcaption>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures07-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures07-expected.html
new file mode 100644
index 0000000..d182840
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures07-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1"><a href="#item1">Test figure A</a></p>
+      <p class="toc1"><a href="#item2">Test figure B</a></p>
+      <p class="toc1"><a href="#item3">Test figure C</a></p>
+      <p class="toc1"><a href="#item4">Test figure D</a></p>
+    </nav>
+    <figure id="item1">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure A</figcaption>
+    </figure>
+    <figure id="item2">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure B</figcaption>
+    </figure>
+    <figure id="item3">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure C</figcaption>
+    </figure>
+    <figure id="item4">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure D</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures07-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures07-input.html
new file mode 100644
index 0000000..bafd7d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures07-input.html
@@ -0,0 +1,28 @@
+<!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);
+
+    // Turn numbering off for all figures
+    setNumbering(false);
+    PostponedActions_perform();
+
+    // Add a list of figures
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures08-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures08-expected.html
new file mode 100644
index 0000000..d182840
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures08-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1"><a href="#item1">Test figure A</a></p>
+      <p class="toc1"><a href="#item2">Test figure B</a></p>
+      <p class="toc1"><a href="#item3">Test figure C</a></p>
+      <p class="toc1"><a href="#item4">Test figure D</a></p>
+    </nav>
+    <figure id="item1">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure A</figcaption>
+    </figure>
+    <figure id="item2">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure B</figcaption>
+    </figure>
+    <figure id="item3">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure C</figcaption>
+    </figure>
+    <figure id="item4">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure D</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures08-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures08-input.html
new file mode 100644
index 0000000..23a589a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures08-input.html
@@ -0,0 +1,28 @@
+<!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();
+
+    // Turn numbering off for all figures
+    setNumbering(false);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures09-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures09-expected.html
new file mode 100644
index 0000000..91189e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures09-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1"><a href="#item1">Test figure A</a></p>
+      <p class="toc1"><a href="#item2">Test figure B</a></p>
+      <p class="toc1">
+        <a href="#item3">
+          1
+          Test figure C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          2
+          Test figure D
+        </a>
+      </p>
+    </nav>
+    <figure id="item1">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure A</figcaption>
+    </figure>
+    <figure id="item2">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure B</figcaption>
+    </figure>
+    <figure id="item3">
+      (figure content)
+      <figcaption>Test figure C</figcaption>
+    </figure>
+    <figure id="item4">
+      (figure content)
+      <figcaption>Test figure D</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures09-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures09-input.html
new file mode 100644
index 0000000..3016e7b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures09-input.html
@@ -0,0 +1,34 @@
+<!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);
+
+    // Turn numbering off for all figures
+    setNumbering(false);
+    PostponedActions_perform();
+
+    // Add a list of figures
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+
+    // Turn numbering on for the last two figures
+    var figcaptions = document.getElementsByTagName("figure");
+    Outline_setNumbered(figcaptions[2].getAttribute("id"),true);
+    Outline_setNumbered(figcaptions[3].getAttribute("id"),true);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-expected.html
new file mode 100644
index 0000000..34e9a8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-expected.html
@@ -0,0 +1,49 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Test figure A
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          Test figure B
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Test figure C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          4
+          Test figure D
+        </a>
+      </p>
+    </nav>
+    <figure id="item1">
+      (figure content)
+      <figcaption>Test figure A</figcaption>
+    </figure>
+    <figure id="item2">
+      (figure content)
+      <figcaption>Test figure B</figcaption>
+    </figure>
+    <figure id="item3">
+      (figure content)
+      <figcaption>Test figure C</figcaption>
+    </figure>
+    <figure id="item4">
+      (figure content)
+      <figcaption>Test figure D</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-input.html
new file mode 100644
index 0000000..e1c0bc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures09a-input.html
@@ -0,0 +1,40 @@
+<!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);
+
+    // Turn numbering off for all figures
+    setNumbering(false);
+    PostponedActions_perform();
+
+    // Add a list of figures
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+
+    // Turn numbering on for the last two figures
+    var figcaptions = document.getElementsByTagName("figure");
+    Outline_setNumbered(figcaptions[2].getAttribute("id"),true);
+    Outline_setNumbered(figcaptions[3].getAttribute("id"),true);
+    PostponedActions_perform();
+
+    // Now turn numbering on for the first two figures - the numbers for the others
+    // should be adjusted
+    Outline_setNumbered(figcaptions[0].getAttribute("id"),true);
+    Outline_setNumbered(figcaptions[1].getAttribute("id"),true);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures10-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures10-expected.html
new file mode 100644
index 0000000..d2216f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures10-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1">[No figures defined]</p>
+    </nav>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures10-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures10-input.html
new file mode 100644
index 0000000..e658a51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures10-input.html
@@ -0,0 +1,21 @@
+<!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();
+
+    // Add a list of figures
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures11-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures11-expected.html
new file mode 100644
index 0000000..d2216f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures11-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1">[No figures defined]</p>
+    </nav>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures11-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures11-input.html
new file mode 100644
index 0000000..ea94624
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures11-input.html
@@ -0,0 +1,33 @@
+<!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>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables01-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables01-expected.html
new file mode 100644
index 0000000..431c04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables01-expected.html
@@ -0,0 +1,69 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Test table A
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          Test table B
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Test table C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          4
+          Test table D
+        </a>
+      </p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption>Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>Test table B</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption>Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption>Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables01-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables01-input.html
new file mode 100644
index 0000000..a55383c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables01-input.html
@@ -0,0 +1,24 @@
+<!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();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables02-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables02-expected.html
new file mode 100644
index 0000000..56cb8d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables02-expected.html
@@ -0,0 +1,72 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Test table A
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          Test table BXYZ
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Test table C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          4
+          Test table D
+        </a>
+      </p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption>Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>
+        Test table B
+        XYZ
+      </caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption>Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption>Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables02-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables02-input.html
new file mode 100644
index 0000000..c510ecc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables02-input.html
@@ -0,0 +1,29 @@
+<!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_appendChild(caption,DOM_createTextNode(document,"XYZ"));
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables03-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables03-expected.html
new file mode 100644
index 0000000..8d55a43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables03-expected.html
@@ -0,0 +1,69 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Test table A
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          TeXYZst table B
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Test table C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          4
+          Test table D
+        </a>
+      </p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption>Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>TeXYZst table B</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption>Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption>Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables03-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables03-input.html
new file mode 100644
index 0000000..05bdc92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables03-input.html
@@ -0,0 +1,29 @@
+<!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>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables04-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables04-expected.html
new file mode 100644
index 0000000..b6b451b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables04-expected.html
@@ -0,0 +1,69 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Test table A
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          Teble B
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Test table C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          4
+          Test table D
+        </a>
+      </p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption>Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>Teble B</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption>Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption>Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables04-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables04-input.html
new file mode 100644
index 0000000..a747fd1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables04-input.html
@@ -0,0 +1,29 @@
+<!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_deleteCharacters(caption.lastChild,2,7);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables05-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables05-expected.html
new file mode 100644
index 0000000..d630969
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables05-expected.html
@@ -0,0 +1,77 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Test table A
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          Test table B
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Test table C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          4
+          Test table D
+        </a>
+      </p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption>Test table A</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>Test table B</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption>Test table C</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption>Test table D</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables05-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables05-input.html
new file mode 100644
index 0000000..79bccc9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables05-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    Outline_detectSectionNumbering();
+    PostponedActions_perform();
+
+    // Add a list of tables
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<table id="item1" style="width: 100%">
+  <caption>Table 9: Test table A</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item2" style="width: 100%">
+  <caption>Table 9: Test table B</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item3" style="width: 100%">
+  <caption>Table 9: Test table C</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item4" style="width: 100%">
+  <caption>Table 9: Test table D</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables06-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables06-expected.html
new file mode 100644
index 0000000..fa069fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables06-expected.html
@@ -0,0 +1,57 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1"><a href="#item1">Test table A</a></p>
+      <p class="toc1"><a href="#item2">Test table B</a></p>
+      <p class="toc1"><a href="#item3">Test table C</a></p>
+      <p class="toc1"><a href="#item4">Test table D</a></p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption class="Unnumbered">Test table A</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption class="Unnumbered">Test table B</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption class="Unnumbered">Test table C</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption class="Unnumbered">Test table D</caption>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables06-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables06-input.html
new file mode 100644
index 0000000..276b22b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables06-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    Outline_detectSectionNumbering();
+    PostponedActions_perform();
+
+    // Add a list of tables
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<table id="item1" style="width: 100%">
+  <caption>Test table A</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item2" style="width: 100%">
+  <caption>Test table B</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item3" style="width: 100%">
+  <caption>Test table C</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item4" style="width: 100%">
+  <caption>Test table D</caption>
+  <col width="100%"/>
+  <tr><td><p><br/></p></td></tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables07-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables07-expected.html
new file mode 100644
index 0000000..7e6c405
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables07-expected.html
@@ -0,0 +1,49 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1"><a href="#item1">Test table A</a></p>
+      <p class="toc1"><a href="#item2">Test table B</a></p>
+      <p class="toc1"><a href="#item3">Test table C</a></p>
+      <p class="toc1"><a href="#item4">Test table D</a></p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption class="Unnumbered">Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption class="Unnumbered">Test table B</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption class="Unnumbered">Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption class="Unnumbered">Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables07-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables07-input.html
new file mode 100644
index 0000000..80c4f39
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables07-input.html
@@ -0,0 +1,28 @@
+<!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);
+
+    // Turn numbering off for all tables
+    setNumbering(false);
+    PostponedActions_perform();
+
+    // Add a list of tables
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables08-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables08-expected.html
new file mode 100644
index 0000000..7e6c405
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables08-expected.html
@@ -0,0 +1,49 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1"><a href="#item1">Test table A</a></p>
+      <p class="toc1"><a href="#item2">Test table B</a></p>
+      <p class="toc1"><a href="#item3">Test table C</a></p>
+      <p class="toc1"><a href="#item4">Test table D</a></p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption class="Unnumbered">Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption class="Unnumbered">Test table B</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption class="Unnumbered">Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption class="Unnumbered">Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables08-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables08-input.html
new file mode 100644
index 0000000..13928e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables08-input.html
@@ -0,0 +1,28 @@
+<!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();
+
+    // Turn numbering off for all tables
+    setNumbering(false);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables09-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables09-expected.html
new file mode 100644
index 0000000..22f283e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables09-expected.html
@@ -0,0 +1,59 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1"><a href="#item1">Test table A</a></p>
+      <p class="toc1"><a href="#item2">Test table B</a></p>
+      <p class="toc1">
+        <a href="#item3">
+          1
+          Test table C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          2
+          Test table D
+        </a>
+      </p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption class="Unnumbered">Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption class="Unnumbered">Test table B</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption>Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption>Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables09-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables09-input.html
new file mode 100644
index 0000000..0b32d03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables09-input.html
@@ -0,0 +1,34 @@
+<!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);
+
+    // Turn numbering off for all tables
+    setNumbering(false);
+    PostponedActions_perform();
+
+    // Add a list of tables
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+
+    // Turn numbering on for the last two tables
+    var tables = document.getElementsByTagName("table");
+    Outline_setNumbered(tables[2].getAttribute("id"),true);
+    Outline_setNumbered(tables[3].getAttribute("id"),true);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables09a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables09a-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables09a-expected.html
new file mode 100644
index 0000000..431c04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables09a-expected.html
@@ -0,0 +1,69 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Test table A
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          Test table B
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Test table C
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item4">
+          4
+          Test table D
+        </a>
+      </p>
+    </nav>
+    <table id="item1" style="width: 100%">
+      <caption>Test table A</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>Test table B</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item3" style="width: 100%">
+      <caption>Test table C</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item4" style="width: 100%">
+      <caption>Test table D</caption>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables09a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables09a-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables09a-input.html
new file mode 100644
index 0000000..3200635
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables09a-input.html
@@ -0,0 +1,40 @@
+<!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);
+
+    // Turn numbering off for all tables
+    setNumbering(false);
+    PostponedActions_perform();
+
+    // Add a list of tables
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+
+    // Turn numbering on for the last two tables
+    var tables = document.getElementsByTagName("table");
+    Outline_setNumbered(tables[2].getAttribute("id"),true);
+    Outline_setNumbered(tables[3].getAttribute("id"),true);
+    PostponedActions_perform();
+
+    // Now turn numbering on for the first two tables - the numbers for the others
+    // should be adjusted
+    Outline_setNumbered(tables[0].getAttribute("id"),true);
+    Outline_setNumbered(tables[1].getAttribute("id"),true);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables10-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables10-expected.html
new file mode 100644
index 0000000..a2bb877
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables10-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">[No tables defined]</p>
+    </nav>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables10-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables10-input.html
new file mode 100644
index 0000000..3b27566
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables10-input.html
@@ -0,0 +1,21 @@
+<!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();
+
+    // Add a list of tables
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables11-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfTables11-expected.html
new file mode 100644
index 0000000..a2bb877
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables11-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">[No tables defined]</p>
+    </nav>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfTables11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfTables11-input.html b/experiments/editorFramework/test/Layer0/outline/listOfTables11-input.html
new file mode 100644
index 0000000..01b5de2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfTables11-input.html
@@ -0,0 +1,33 @@
+<!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();
+
+    // Delete all tables
+    var current = document.getElementsByTagName("table")[0];
+    var next;
+    for (; current != null; current = next) {
+        next = current.nextSibling;
+        DOM_deleteNode(current);
+    }
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-expected.html
new file mode 100644
index 0000000..429b869
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-input.html
new file mode 100644
index 0000000..0942dc9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item2","item1","item5");
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-expected.html
new file mode 100644
index 0000000..d7156c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item5">1.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item2">1.2 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.2.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.2.2 Section 4</a></p>
+      <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-input.html
new file mode 100644
index 0000000..66df792
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item2","item1","item8");
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-expected.html
new file mode 100644
index 0000000..8bc2598
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item5">1.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">1.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.2.2 Section 10</a></p>
+      <p class="toc2"><a href="#item2">1.3 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.3.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.3.2 Section 4</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-input.html
new file mode 100644
index 0000000..57495a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item2","item1",null);
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-expected.html
new file mode 100644
index 0000000..d7156c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item5">1.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item2">1.2 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.2.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.2.2 Section 4</a></p>
+      <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-input.html
new file mode 100644
index 0000000..0d8a5e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item5","item1","item2");
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-expected.html
new file mode 100644
index 0000000..429b869
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-input.html
new file mode 100644
index 0000000..67bd46b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item5","item1","item8");
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-expected.html
new file mode 100644
index 0000000..4c27a51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+      <p class="toc2"><a href="#item8">1.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.2.2 Section 10</a></p>
+      <p class="toc2"><a href="#item5">1.3 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.3.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.3.2 Section 7</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-input.html
new file mode 100644
index 0000000..aef8959
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner06-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item5","item1",null);
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-expected.html
new file mode 100644
index 0000000..8fbc95d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item8">1.1 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.1.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.1.2 Section 10</a></p>
+      <p class="toc2"><a href="#item2">1.2 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.2.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.2.2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">1.3 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.3.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.3.2 Section 7</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-input.html
new file mode 100644
index 0000000..90aa504
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner07-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item8","item1","item2");
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-expected.html
new file mode 100644
index 0000000..4c27a51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+      <p class="toc2"><a href="#item8">1.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.2.2 Section 10</a></p>
+      <p class="toc2"><a href="#item5">1.3 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.3.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.3.2 Section 7</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-input.html
new file mode 100644
index 0000000..1b886a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner08-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item8","item1","item5");
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-expected.html
new file mode 100644
index 0000000..429b869
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-expected.html
@@ -0,0 +1,58 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
+      <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
+      <p class="toc1"><a href="#item11">2 Section 11</a></p>
+      <p class="toc1"><a href="#item12">3 Section 12</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h1 id="item11">Section 11</h1>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h1 id="item12">Section 12</h1>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-input.html
new file mode 100644
index 0000000..17882f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-inner09-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2,2],0,0]);
+
+    Outline_moveSection("item8","item1",null);
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-expected.html
new file mode 100644
index 0000000..f902343
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-expected.html
@@ -0,0 +1,94 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+      <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+      <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
+      <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
+      <p class="toc1"><a href="#item8">2 Section 8</a></p>
+      <p class="toc2"><a href="#item9">2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">2.1.1 Section 10</a></p>
+      <p class="toc3"><a href="#item11">2.1.2 Section 11</a></p>
+      <p class="toc2"><a href="#item12">2.2 Section 12</a></p>
+      <p class="toc3"><a href="#item13">2.2.1 Section 13</a></p>
+      <p class="toc3"><a href="#item14">2.2.2 Section 14</a></p>
+      <p class="toc1"><a href="#item15">3 Section 15</a></p>
+      <p class="toc2"><a href="#item16">3.1 Section 16</a></p>
+      <p class="toc3"><a href="#item17">3.1.1 Section 17</a></p>
+      <p class="toc3"><a href="#item18">3.1.2 Section 18</a></p>
+      <p class="toc2"><a href="#item19">3.2 Section 19</a></p>
+      <p class="toc3"><a href="#item20">3.2.1 Section 20</a></p>
+      <p class="toc3"><a href="#item21">3.2.2 Section 21</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h3 id="item3">Section 3</h3>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h3 id="item4">Section 4</h3>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h1 id="item8">Section 8</h1>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h2 id="item9">Section 9</h2>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+    <h3 id="item11">Section 11</h3>
+    <p>Content 11 A</p>
+    <p>Content 11 B</p>
+    <h2 id="item12">Section 12</h2>
+    <p>Content 12 A</p>
+    <p>Content 12 B</p>
+    <h3 id="item13">Section 13</h3>
+    <p>Content 13 A</p>
+    <p>Content 13 B</p>
+    <h3 id="item14">Section 14</h3>
+    <p>Content 14 A</p>
+    <p>Content 14 B</p>
+    <h1 id="item15">Section 15</h1>
+    <p>Content 15 A</p>
+    <p>Content 15 B</p>
+    <h2 id="item16">Section 16</h2>
+    <p>Content 16 A</p>
+    <p>Content 16 B</p>
+    <h3 id="item17">Section 17</h3>
+    <p>Content 17 A</p>
+    <p>Content 17 B</p>
+    <h3 id="item18">Section 18</h3>
+    <p>Content 18 A</p>
+    <p>Content 18 B</p>
+    <h2 id="item19">Section 19</h2>
+    <p>Content 19 A</p>
+    <p>Content 19 B</p>
+    <h3 id="item20">Section 20</h3>
+    <p>Content 20 A</p>
+    <p>Content 20 B</p>
+    <h3 id="item21">Section 21</h3>
+    <p>Content 21 A</p>
+    <p>Content 21 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-input.html
new file mode 100644
index 0000000..c0ffa73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-nested01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([[2,2],[2,2],[2,2]]);
+
+    Outline_moveSection("item1","item0","item8");
+
+    cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>