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:08 UTC

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

Repository: incubator-corinthia
Updated Branches:
  refs/heads/editorFramework 565a6caae -> 0633908a7


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged03f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03f-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03f-expected.html
new file mode 100644
index 0000000..1118ba1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03f-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td rowspan="2">A</td>
+          <td rowspan="2">B[]</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>


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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-input.html
new file mode 100644
index 0000000..41f6a46
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var figcaptions = document.getElementsByTagName("figcaption");
+
+    // Change figure caption
+    for (var i = 0; i < figcaptions.length; i++) {
+        DOM_setNodeValue(figcaptions[i].lastChild,"Figure "+String.fromCharCode(65+i));
+    }
+
+    // Add another set of references
+    for (var i = 0; i < figcaptions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
+<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
+<figure id="item3"><figcaption>Third figure</figcaption></figure>
+<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
+<p>First ref: Figure <a href="#item1"></a></p>
+<p>Second ref: Figure <a href="#item2"></a></p>
+<p>Third ref: Figure <a href="#item3"></a></p>
+<p>Fourth ref: Figure <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-expected.html
new file mode 100644
index 0000000..15d7200
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-expected.html
@@ -0,0 +1,41 @@
+Sections:
+Figures:
+    1 First figure (item1)
+    Second figure (item2)
+    Third figure (item3)
+    Fourth figure (item4)
+Tables:
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption class="Unnumbered">Second figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Third figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Fourth figure</figcaption>
+    </figure>
+    <p>
+      First ref: Figure
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Figure
+      <a href="#item2">Second figure</a>
+    </p>
+    <p>
+      Third ref: Figure
+      <a href="#item3">Third figure</a>
+    </p>
+    <p>
+      Fourth ref: Figure
+      <a href="#item4">Fourth figure</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-input.html
new file mode 100644
index 0000000..56c3435
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure06-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    Outline_setNumbered("item2",false);
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
+<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
+<figure id="item3"><figcaption>Third figure</figcaption></figure>
+<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
+<p>First ref: Figure <a href="#item1"></a></p>
+<p>Second ref: Figure <a href="#item2"></a></p>
+<p>Third ref: Figure <a href="#item3"></a></p>
+<p>Fourth ref: Figure <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-expected.html
new file mode 100644
index 0000000..d6bc652
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-expected.html
@@ -0,0 +1,41 @@
+Sections:
+Figures:
+    1 First figure (item1)
+    2 Second figure (item2)
+    3 Third figure (item3)
+    Fourth figure (item4)
+Tables:
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Second figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption>Third figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Fourth figure</figcaption>
+    </figure>
+    <p>
+      First ref: Figure
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Figure
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Figure
+      <a href="#item3">3</a>
+    </p>
+    <p>
+      Fourth ref: Figure
+      <a href="#item4">Fourth figure</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-input.html
new file mode 100644
index 0000000..0a51714
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure07-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    Outline_setNumbered("item3",true);
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
+<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
+<figure id="item3"><figcaption>Third figure</figcaption></figure>
+<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
+<p>First ref: Figure <a href="#item1"></a></p>
+<p>Second ref: Figure <a href="#item2"></a></p>
+<p>Third ref: Figure <a href="#item3"></a></p>
+<p>Fourth ref: Figure <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section01-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section01-expected.html
new file mode 100644
index 0000000..efd80dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section01-expected.html
@@ -0,0 +1,39 @@
+Sections:
+    1 First heading (item1)
+    2 Second heading (item2)
+    Third heading (item3)
+    Fourth heading (item4)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">First heading</h1>
+    <h1 id="item2">Second heading</h1>
+    <h1 class="Unnumbered" id="item3">Third heading</h1>
+    <h1 class="Unnumbered" id="item4">Fourth heading</h1>
+    <p>
+      First ref: Section
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Section
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Section
+      <a href="#item3">Third heading</a>
+    </p>
+    <p>
+      Fourth ref: Section
+      <a href="#item4">Fourth heading</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Third heading</a></p>
+    <p><a href="#item4">Fourth heading</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section01-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section01-input.html
new file mode 100644
index 0000000..524886f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section01-input.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var headings = document.getElementsByTagName("h1");
+
+    // Add another set of references
+    for (var i = 0; i < headings.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<h1 id="item2">9 Second heading</h1>
+<h1 id="item3">Third heading</h1>
+<h1 id="item4">Fourth heading</h1>
+<p>First ref: Section <a href="#item1"></a></p>
+<p>Second ref: Section <a href="#item2"></a></p>
+<p>Third ref: Section <a href="#item3"></a></p>
+<p>Fourth ref: Section <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section02-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section02-expected.html
new file mode 100644
index 0000000..6a82676
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section02-expected.html
@@ -0,0 +1,51 @@
+Sections:
+    1 First headingXYZ (item1)
+    2 Second headingXYZ (item2)
+    Third headingXYZ (item3)
+    Fourth headingXYZ (item4)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">
+      First heading
+      XYZ
+    </h1>
+    <h1 id="item2">
+      Second heading
+      XYZ
+    </h1>
+    <h1 class="Unnumbered" id="item3">
+      Third heading
+      XYZ
+    </h1>
+    <h1 class="Unnumbered" id="item4">
+      Fourth heading
+      XYZ
+    </h1>
+    <p>
+      First ref: Section
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Section
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Section
+      <a href="#item3">Third headingXYZ</a>
+    </p>
+    <p>
+      Fourth ref: Section
+      <a href="#item4">Fourth headingXYZ</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Third headingXYZ</a></p>
+    <p><a href="#item4">Fourth headingXYZ</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section02-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section02-input.html
new file mode 100644
index 0000000..627c12a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section02-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var headings = document.getElementsByTagName("h1");
+
+    // Change heading text
+    for (var i = 0; i < headings.length; i++) {
+        DOM_appendChild(headings[i],DOM_createTextNode(document,"XYZ"));
+    }
+
+    // Add another set of references
+    for (var i = 0; i < headings.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<h1 id="item2">9 Second heading</h1>
+<h1 id="item3">Third heading</h1>
+<h1 id="item4">Fourth heading</h1>
+<p>First ref: Section <a href="#item1"></a></p>
+<p>Second ref: Section <a href="#item2"></a></p>
+<p>Third ref: Section <a href="#item3"></a></p>
+<p>Fourth ref: Section <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section03-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section03-expected.html
new file mode 100644
index 0000000..f12c26d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section03-expected.html
@@ -0,0 +1,39 @@
+Sections:
+    1 FiXYZrst heading (item1)
+    2 SeXYZcond heading (item2)
+    ThXYZird heading (item3)
+    FoXYZurth heading (item4)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">FiXYZrst heading</h1>
+    <h1 id="item2">SeXYZcond heading</h1>
+    <h1 class="Unnumbered" id="item3">ThXYZird heading</h1>
+    <h1 class="Unnumbered" id="item4">FoXYZurth heading</h1>
+    <p>
+      First ref: Section
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Section
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Section
+      <a href="#item3">ThXYZird heading</a>
+    </p>
+    <p>
+      Fourth ref: Section
+      <a href="#item4">FoXYZurth heading</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">ThXYZird heading</a></p>
+    <p><a href="#item4">FoXYZurth heading</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section03-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section03-input.html
new file mode 100644
index 0000000..47a41e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section03-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var headings = document.getElementsByTagName("h1");
+
+    // Change heading text
+    for (var i = 0; i < headings.length; i++) {
+        DOM_insertCharacters(headings[i].lastChild,2,"XYZ");
+    }
+
+    // Add another set of references
+    for (var i = 0; i < headings.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<h1 id="item2">9 Second heading</h1>
+<h1 id="item3">Third heading</h1>
+<h1 id="item4">Fourth heading</h1>
+<p>First ref: Section <a href="#item1"></a></p>
+<p>Second ref: Section <a href="#item2"></a></p>
+<p>Third ref: Section <a href="#item3"></a></p>
+<p>Fourth ref: Section <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section04-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section04-expected.html
new file mode 100644
index 0000000..58af1fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section04-expected.html
@@ -0,0 +1,39 @@
+Sections:
+    1 Fit heading (item1)
+    2 Send heading (item2)
+    Thd heading (item3)
+    Foth heading (item4)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">Fit heading</h1>
+    <h1 id="item2">Send heading</h1>
+    <h1 class="Unnumbered" id="item3">Thd heading</h1>
+    <h1 class="Unnumbered" id="item4">Foth heading</h1>
+    <p>
+      First ref: Section
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Section
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Section
+      <a href="#item3">Thd heading</a>
+    </p>
+    <p>
+      Fourth ref: Section
+      <a href="#item4">Foth heading</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Thd heading</a></p>
+    <p><a href="#item4">Foth heading</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section04-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section04-input.html
new file mode 100644
index 0000000..6a92318
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section04-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var headings = document.getElementsByTagName("h1");
+
+    // Change heading text
+    for (var i = 0; i < headings.length; i++) {
+        DOM_deleteCharacters(headings[i].lastChild,2,4);
+    }
+
+    // Add another set of references
+    for (var i = 0; i < headings.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<h1 id="item2">9 Second heading</h1>
+<h1 id="item3">Third heading</h1>
+<h1 id="item4">Fourth heading</h1>
+<p>First ref: Section <a href="#item1"></a></p>
+<p>Second ref: Section <a href="#item2"></a></p>
+<p>Third ref: Section <a href="#item3"></a></p>
+<p>Fourth ref: Section <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section05-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section05-expected.html
new file mode 100644
index 0000000..5c98afe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section05-expected.html
@@ -0,0 +1,39 @@
+Sections:
+    1 Heading A (item1)
+    2 Heading B (item2)
+    Heading C (item3)
+    Heading D (item4)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">Heading A</h1>
+    <h1 id="item2">Heading B</h1>
+    <h1 class="Unnumbered" id="item3">Heading C</h1>
+    <h1 class="Unnumbered" id="item4">Heading D</h1>
+    <p>
+      First ref: Section
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Section
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Section
+      <a href="#item3">Heading C</a>
+    </p>
+    <p>
+      Fourth ref: Section
+      <a href="#item4">Heading D</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Heading C</a></p>
+    <p><a href="#item4">Heading D</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section05-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section05-input.html
new file mode 100644
index 0000000..50489f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section05-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var headings = document.getElementsByTagName("h1");
+
+    // Change heading text
+    for (var i = 0; i < headings.length; i++) {
+        DOM_setNodeValue(headings[i].lastChild,"Heading "+String.fromCharCode(65+i));
+    }
+
+    // Add another set of references
+    for (var i = 0; i < headings.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<h1 id="item2">9 Second heading</h1>
+<h1 id="item3">Third heading</h1>
+<h1 id="item4">Fourth heading</h1>
+<p>First ref: Section <a href="#item1"></a></p>
+<p>Second ref: Section <a href="#item2"></a></p>
+<p>Third ref: Section <a href="#item3"></a></p>
+<p>Fourth ref: Section <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section06-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section06-expected.html
new file mode 100644
index 0000000..31c6336
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section06-expected.html
@@ -0,0 +1,35 @@
+Sections:
+    1 First heading (item1)
+    Second heading (item2)
+    Third heading (item3)
+    Fourth heading (item4)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">First heading</h1>
+    <h1 class="Unnumbered" id="item2">Second heading</h1>
+    <h1 class="Unnumbered" id="item3">Third heading</h1>
+    <h1 class="Unnumbered" id="item4">Fourth heading</h1>
+    <p>
+      First ref: Section
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Section
+      <a href="#item2">Second heading</a>
+    </p>
+    <p>
+      Third ref: Section
+      <a href="#item3">Third heading</a>
+    </p>
+    <p>
+      Fourth ref: Section
+      <a href="#item4">Fourth heading</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section06-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section06-input.html
new file mode 100644
index 0000000..3875b13
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section06-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    Outline_setNumbered("item2",false);
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<h1 id="item2">9 Second heading</h1>
+<h1 id="item3">Third heading</h1>
+<h1 id="item4">Fourth heading</h1>
+<p>First ref: Section <a href="#item1"></a></p>
+<p>Second ref: Section <a href="#item2"></a></p>
+<p>Third ref: Section <a href="#item3"></a></p>
+<p>Fourth ref: Section <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section07-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section07-expected.html
new file mode 100644
index 0000000..eb74edd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section07-expected.html
@@ -0,0 +1,35 @@
+Sections:
+    1 First heading (item1)
+    2 Second heading (item2)
+    3 Third heading (item3)
+    Fourth heading (item4)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">First heading</h1>
+    <h1 id="item2">Second heading</h1>
+    <h1 id="item3">Third heading</h1>
+    <h1 class="Unnumbered" id="item4">Fourth heading</h1>
+    <p>
+      First ref: Section
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Section
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Section
+      <a href="#item3">3</a>
+    </p>
+    <p>
+      Fourth ref: Section
+      <a href="#item4">Fourth heading</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-section07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-section07-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-section07-input.html
new file mode 100644
index 0000000..582283e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-section07-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    Outline_setNumbered("item3",true);
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<h1 id="item2">9 Second heading</h1>
+<h1 id="item3">Third heading</h1>
+<h1 id="item4">Fourth heading</h1>
+<p>First ref: Section <a href="#item1"></a></p>
+<p>Second ref: Section <a href="#item2"></a></p>
+<p>Third ref: Section <a href="#item3"></a></p>
+<p>Fourth ref: Section <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table01-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table01-expected.html
new file mode 100644
index 0000000..0b7d604
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table01-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+Tables:
+    1 First table (item1)
+    2 Second table (item2)
+    Third table (item3)
+    Fourth table (item4)
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="item1">
+      <caption>First table</caption>
+    </table>
+    <table id="item2">
+      <caption>Second table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Third table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Fourth table</caption>
+    </table>
+    <p>
+      First ref: Table
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Table
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Table
+      <a href="#item3">Third table</a>
+    </p>
+    <p>
+      Fourth ref: Table
+      <a href="#item4">Fourth table</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Third table</a></p>
+    <p><a href="#item4">Fourth table</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table01-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table01-input.html
new file mode 100644
index 0000000..2b7d451
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table01-input.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var captions = document.getElementsByTagName("caption");
+
+    // Add another set of references
+    for (var i = 0; i < captions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<table id="item1"><caption>Table 9: First table</caption></table>
+<table id="item2"><caption>Table 9: Second table</caption></table>
+<table id="item3"><caption>Third table</caption></table>
+<table id="item4"><caption>Fourth table</caption></table>
+<p>First ref: Table <a href="#item1"></a></p>
+<p>Second ref: Table <a href="#item2"></a></p>
+<p>Third ref: Table <a href="#item3"></a></p>
+<p>Fourth ref: Table <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table02-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table02-expected.html
new file mode 100644
index 0000000..d917488
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table02-expected.html
@@ -0,0 +1,57 @@
+Sections:
+Figures:
+Tables:
+    1 First tableXYZ (item1)
+    2 Second tableXYZ (item2)
+    Third tableXYZ (item3)
+    Fourth tableXYZ (item4)
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="item1">
+      <caption>
+        First table
+        XYZ
+      </caption>
+    </table>
+    <table id="item2">
+      <caption>
+        Second table
+        XYZ
+      </caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">
+        Third table
+        XYZ
+      </caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">
+        Fourth table
+        XYZ
+      </caption>
+    </table>
+    <p>
+      First ref: Table
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Table
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Table
+      <a href="#item3">Third tableXYZ</a>
+    </p>
+    <p>
+      Fourth ref: Table
+      <a href="#item4">Fourth tableXYZ</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Third tableXYZ</a></p>
+    <p><a href="#item4">Fourth tableXYZ</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table02-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table02-input.html
new file mode 100644
index 0000000..efc605a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table02-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var captions = document.getElementsByTagName("caption");
+
+    // Change table caption
+    for (var i = 0; i < captions.length; i++) {
+        DOM_appendChild(captions[i],DOM_createTextNode(document,"XYZ"));
+    }
+
+    // Add another set of references
+    for (var i = 0; i < captions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<table id="item1"><caption>Table 9: First table</caption></table>
+<table id="item2"><caption>Table 9: Second table</caption></table>
+<table id="item3"><caption>Third table</caption></table>
+<table id="item4"><caption>Fourth table</caption></table>
+<p>First ref: Table <a href="#item1"></a></p>
+<p>Second ref: Table <a href="#item2"></a></p>
+<p>Third ref: Table <a href="#item3"></a></p>
+<p>Fourth ref: Table <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table03-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table03-expected.html
new file mode 100644
index 0000000..dd48fea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table03-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+Tables:
+    1 FiXYZrst table (item1)
+    2 SeXYZcond table (item2)
+    ThXYZird table (item3)
+    FoXYZurth table (item4)
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="item1">
+      <caption>FiXYZrst table</caption>
+    </table>
+    <table id="item2">
+      <caption>SeXYZcond table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">ThXYZird table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">FoXYZurth table</caption>
+    </table>
+    <p>
+      First ref: Table
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Table
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Table
+      <a href="#item3">ThXYZird table</a>
+    </p>
+    <p>
+      Fourth ref: Table
+      <a href="#item4">FoXYZurth table</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">ThXYZird table</a></p>
+    <p><a href="#item4">FoXYZurth table</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table03-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table03-input.html
new file mode 100644
index 0000000..cabd662
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table03-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var captions = document.getElementsByTagName("caption");
+
+    // Change table caption
+    for (var i = 0; i < captions.length; i++) {
+        DOM_insertCharacters(captions[i].lastChild,2,"XYZ");
+    }
+
+    // Add another set of references
+    for (var i = 0; i < captions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<table id="item1"><caption>Table 9: First table</caption></table>
+<table id="item2"><caption>Table 9: Second table</caption></table>
+<table id="item3"><caption>Third table</caption></table>
+<table id="item4"><caption>Fourth table</caption></table>
+<p>First ref: Table <a href="#item1"></a></p>
+<p>Second ref: Table <a href="#item2"></a></p>
+<p>Third ref: Table <a href="#item3"></a></p>
+<p>Fourth ref: Table <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table04-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table04-expected.html
new file mode 100644
index 0000000..9d59ed2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table04-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+Tables:
+    1 Fit table (item1)
+    2 Send table (item2)
+    Thd table (item3)
+    Foth table (item4)
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="item1">
+      <caption>Fit table</caption>
+    </table>
+    <table id="item2">
+      <caption>Send table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Thd table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Foth table</caption>
+    </table>
+    <p>
+      First ref: Table
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Table
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Table
+      <a href="#item3">Thd table</a>
+    </p>
+    <p>
+      Fourth ref: Table
+      <a href="#item4">Foth table</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Thd table</a></p>
+    <p><a href="#item4">Foth table</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table04-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table04-input.html
new file mode 100644
index 0000000..6307603
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table04-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var captions = document.getElementsByTagName("caption");
+
+    // Change table caption
+    for (var i = 0; i < captions.length; i++) {
+        DOM_deleteCharacters(captions[i].lastChild,2,4);
+    }
+
+    // Add another set of references
+    for (var i = 0; i < captions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<table id="item1"><caption>Table 9: First table</caption></table>
+<table id="item2"><caption>Table 9: Second table</caption></table>
+<table id="item3"><caption>Third table</caption></table>
+<table id="item4"><caption>Fourth table</caption></table>
+<p>First ref: Table <a href="#item1"></a></p>
+<p>Second ref: Table <a href="#item2"></a></p>
+<p>Third ref: Table <a href="#item3"></a></p>
+<p>Fourth ref: Table <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table05-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table05-expected.html
new file mode 100644
index 0000000..6aff79a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table05-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+Tables:
+    1 Table A (item1)
+    2 Table B (item2)
+    Table C (item3)
+    Table D (item4)
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="item1">
+      <caption>Table A</caption>
+    </table>
+    <table id="item2">
+      <caption>Table B</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Table C</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Table D</caption>
+    </table>
+    <p>
+      First ref: Table
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Table
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Table
+      <a href="#item3">Table C</a>
+    </p>
+    <p>
+      Fourth ref: Table
+      <a href="#item4">Table D</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Table C</a></p>
+    <p><a href="#item4">Table D</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table05-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table05-input.html
new file mode 100644
index 0000000..f1951d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table05-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var captions = document.getElementsByTagName("caption");
+
+    // Change table caption
+    for (var i = 0; i < captions.length; i++) {
+        DOM_setNodeValue(captions[i].lastChild,"Table "+String.fromCharCode(65+i));
+    }
+
+    // Add another set of references
+    for (var i = 0; i < captions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<table id="item1"><caption>Table 9: First table</caption></table>
+<table id="item2"><caption>Table 9: Second table</caption></table>
+<table id="item3"><caption>Third table</caption></table>
+<table id="item4"><caption>Fourth table</caption></table>
+<p>First ref: Table <a href="#item1"></a></p>
+<p>Second ref: Table <a href="#item2"></a></p>
+<p>Third ref: Table <a href="#item3"></a></p>
+<p>Fourth ref: Table <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table06-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table06-expected.html
new file mode 100644
index 0000000..08b25ff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table06-expected.html
@@ -0,0 +1,41 @@
+Sections:
+Figures:
+Tables:
+    1 First table (item1)
+    Second table (item2)
+    Third table (item3)
+    Fourth table (item4)
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="item1">
+      <caption>First table</caption>
+    </table>
+    <table id="item2">
+      <caption class="Unnumbered">Second table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Third table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Fourth table</caption>
+    </table>
+    <p>
+      First ref: Table
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Table
+      <a href="#item2">Second table</a>
+    </p>
+    <p>
+      Third ref: Table
+      <a href="#item3">Third table</a>
+    </p>
+    <p>
+      Fourth ref: Table
+      <a href="#item4">Fourth table</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table06-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table06-input.html
new file mode 100644
index 0000000..84641ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table06-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    Outline_setNumbered("item2",false);
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<table id="item1"><caption>Table 9: First table</caption></table>
+<table id="item2"><caption>Table 9: Second table</caption></table>
+<table id="item3"><caption>Third table</caption></table>
+<table id="item4"><caption>Fourth table</caption></table>
+<p>First ref: Table <a href="#item1"></a></p>
+<p>Second ref: Table <a href="#item2"></a></p>
+<p>Third ref: Table <a href="#item3"></a></p>
+<p>Fourth ref: Table <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table07-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table07-expected.html
new file mode 100644
index 0000000..5458f4e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table07-expected.html
@@ -0,0 +1,41 @@
+Sections:
+Figures:
+Tables:
+    1 First table (item1)
+    2 Second table (item2)
+    3 Third table (item3)
+    Fourth table (item4)
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="item1">
+      <caption>First table</caption>
+    </table>
+    <table id="item2">
+      <caption>Second table</caption>
+    </table>
+    <table id="item3">
+      <caption>Third table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Fourth table</caption>
+    </table>
+    <p>
+      First ref: Table
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Table
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Table
+      <a href="#item3">3</a>
+    </p>
+    <p>
+      Fourth ref: Table
+      <a href="#item4">Fourth table</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-table07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-table07-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-table07-input.html
new file mode 100644
index 0000000..da88517
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-table07-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    Outline_setNumbered("item3",true);
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<table id="item1"><caption>Table 9: First table</caption></table>
+<table id="item2"><caption>Table 9: Second table</caption></table>
+<table id="item3"><caption>Third table</caption></table>
+<table id="item4"><caption>Fourth table</caption></table>
+<p>First ref: Table <a href="#item1"></a></p>
+<p>Second ref: Table <a href="#item2"></a></p>
+<p>Third ref: Table <a href="#item3"></a></p>
+<p>Fourth ref: Table <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-expected.html b/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-expected.html
new file mode 100644
index 0000000..5a1732e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      (figure content)
+      <figcaption>Test figure</figcaption>
+    </figure>
+    <p>
+      Default
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      uxwrite-ref-num
+      <a class="uxwrite-ref-num" href="#item1">1</a>
+    </p>
+    <p>
+      uxwrite-ref-text
+      <a class="uxwrite-ref-text" href="#item1">Figure 1: Test figure</a>
+    </p>
+    <p>
+      uxwrite-ref-caption-text
+      <a class="uxwrite-ref-caption-text" href="#item1">Test figure</a>
+    </p>
+    <p>
+      uxwrite-ref-label-num
+      <a class="uxwrite-ref-label-num" href="#item1">Figure 1</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-input.html b/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-input.html
new file mode 100644
index 0000000..5bd54bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-figure-numbered-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<figure>
+  (figure content)
+  <figcaption>Figure 3: Test figure</figcaption>
+</figure>
+<p>Default <a href="#item1"></a></p>
+<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
+<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
+<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
+<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-expected.html b/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-expected.html
new file mode 100644
index 0000000..f2be451
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      (figure content)
+      <figcaption class="Unnumbered">Test figure</figcaption>
+    </figure>
+    <p>
+      Default
+      <a href="#item1">Test figure</a>
+    </p>
+    <p>
+      uxwrite-ref-num
+      <a class="uxwrite-ref-num" href="#item1">?</a>
+    </p>
+    <p>
+      uxwrite-ref-text
+      <a class="uxwrite-ref-text" href="#item1">Test figure</a>
+    </p>
+    <p>
+      uxwrite-ref-caption-text
+      <a class="uxwrite-ref-caption-text" href="#item1">Test figure</a>
+    </p>
+    <p>
+      uxwrite-ref-label-num
+      <a class="uxwrite-ref-label-num" href="#item1">?</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-input.html b/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-input.html
new file mode 100644
index 0000000..e0ed328
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-figure-unnumbered-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<figure>
+  (figure content)
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Default <a href="#item1"></a></p>
+<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
+<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
+<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
+<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-expected.html b/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-expected.html
new file mode 100644
index 0000000..6f69902
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">First heading</h1>
+    <p>
+      Default
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      uxwrite-ref-num
+      <a class="uxwrite-ref-num" href="#item1">1</a>
+    </p>
+    <p>
+      uxwrite-ref-text
+      <a class="uxwrite-ref-text" href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-caption-text
+      <a class="uxwrite-ref-caption-text" href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-label-num
+      <a class="uxwrite-ref-label-num" href="#item1">Section 1</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-input.html b/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-input.html
new file mode 100644
index 0000000..340b96a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-section-numbered-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<h1 id="item1">9 First heading</h1>
+<p>Default <a href="#item1"></a></p>
+<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
+<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
+<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
+<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-expected.html b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-expected.html
new file mode 100644
index 0000000..c676aa1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">First heading</h1>
+    <p>
+      Default
+      <a href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-num
+      <a class="uxwrite-ref-num" href="#item1">?</a>
+    </p>
+    <p>
+      uxwrite-ref-text
+      <a class="uxwrite-ref-text" href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-caption-text
+      <a class="uxwrite-ref-caption-text" href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-label-num
+      <a class="uxwrite-ref-label-num" href="#item1">?</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-input.html b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-input.html
new file mode 100644
index 0000000..eda432f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<h1 id="item1">First heading</h1>
+<p>Default <a href="#item1"></a></p>
+<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
+<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
+<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
+<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-expected.html b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-expected.html
new file mode 100644
index 0000000..5b0758c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 class="Unnumbered" id="item1">First heading</h1>
+    <p>
+      Default
+      <a href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-num
+      <a class="uxwrite-ref-num" href="#item1">?</a>
+    </p>
+    <p>
+      uxwrite-ref-text
+      <a class="uxwrite-ref-text" href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-caption-text
+      <a class="uxwrite-ref-caption-text" href="#item1">First heading</a>
+    </p>
+    <p>
+      uxwrite-ref-label-num
+      <a class="uxwrite-ref-label-num" href="#item1">?</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-input.html b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-input.html
new file mode 100644
index 0000000..83474fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-section-unnumbered2-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<h1 class="Unnumbered" id="item1">First heading</h1>
+<p>Default <a href="#item1"></a></p>
+<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
+<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
+<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
+<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-expected.html b/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-expected.html
new file mode 100644
index 0000000..f960949
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <style>
+td { border: thin solid black; }
+table { caption-side: bottom; }
+    </style>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>Test table</caption>
+      <tbody>
+        <tr>
+          <td>a</td>
+          <td>a</td>
+        </tr>
+        <tr>
+          <td>a</td>
+          <td>a</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      Default
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      uxwrite-ref-num
+      <a class="uxwrite-ref-num" href="#item1">1</a>
+    </p>
+    <p>
+      uxwrite-ref-text
+      <a class="uxwrite-ref-text" href="#item1">Table 1: Test table</a>
+    </p>
+    <p>
+      uxwrite-ref-caption-text
+      <a class="uxwrite-ref-caption-text" href="#item1">Test table</a>
+    </p>
+    <p>
+      uxwrite-ref-label-num
+      <a class="uxwrite-ref-label-num" href="#item1">Table 1</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-input.html b/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-input.html
new file mode 100644
index 0000000..086f619
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-table-numbered-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+td { border: thin solid black; }
+table { caption-side: bottom; }
+</style>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<table id="item1" style="width: 100%">
+  <caption>Table 3: Test table</caption>
+  <tr>
+    <td>a</td>
+    <td>a</td>
+  </tr>
+  <tr>
+    <td>a</td>
+    <td>a</td>
+  </tr>
+</table>
+<p>Default <a href="#item1"></a></p>
+<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
+<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
+<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
+<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-expected.html b/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-expected.html
new file mode 100644
index 0000000..7e8367c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <style>
+td { border: thin solid black; }
+table { caption-side: bottom; }
+    </style>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption class="Unnumbered">Test table</caption>
+      <tbody>
+        <tr>
+          <td>a</td>
+          <td>a</td>
+        </tr>
+        <tr>
+          <td>a</td>
+          <td>a</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      Default
+      <a href="#item1">Test table</a>
+    </p>
+    <p>
+      uxwrite-ref-num
+      <a class="uxwrite-ref-num" href="#item1">?</a>
+    </p>
+    <p>
+      uxwrite-ref-text
+      <a class="uxwrite-ref-text" href="#item1">Test table</a>
+    </p>
+    <p>
+      uxwrite-ref-caption-text
+      <a class="uxwrite-ref-caption-text" href="#item1">Test table</a>
+    </p>
+    <p>
+      uxwrite-ref-label-num
+      <a class="uxwrite-ref-label-num" href="#item1">?</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-input.html b/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-input.html
new file mode 100644
index 0000000..1a440ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refType-table-unnumbered-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+td { border: thin solid black; }
+table { caption-side: bottom; }
+</style>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<table id="item1" style="width: 100%">
+  <caption>Test table</caption>
+  <tr>
+    <td>a</td>
+    <td>a</td>
+  </tr>
+  <tr>
+    <td>a</td>
+    <td>a</td>
+  </tr>
+</table>
+<p>Default <a href="#item1"></a></p>
+<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
+<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
+<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
+<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-insert01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-insert01-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-insert01-expected.html
new file mode 100644
index 0000000..5572628
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-insert01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="one">One</h1>
+    <h1 id="two">Two</h1>
+    <h1 id="three">Three</h1>
+    <a href="#one">1</a>
+    <a href="#two">2</a>
+    <a href="#three">3</a>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-insert01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-insert01-input.html b/experiments/editorFramework/test/Layer0/outline/reference-insert01-input.html
new file mode 100644
index 0000000..e2dac14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-insert01-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var ref1 = DOM_createElement(document,"A");
+    var ref2 = DOM_createElement(document,"A");
+    var ref3 = DOM_createElement(document,"A");
+    DOM_setAttribute(ref1,"href","#one");
+    DOM_setAttribute(ref2,"href","#two");
+    DOM_setAttribute(ref3,"href","#three");
+
+    Clipboard_pasteNodes([ref1,ref2,ref3]);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<h1 id="one">4 One</h1>
+<h1 id="two">4 Two</h1>
+<h1 id="three">4 Three</h1>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-insert02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-insert02-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-insert02-expected.html
new file mode 100644
index 0000000..d24c302
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-insert02-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="one">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="two">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="three">
+      <figcaption></figcaption>
+    </figure>
+    <a href="#one">1</a>
+    <a href="#two">2</a>
+    <a href="#three">3</a>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-insert02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-insert02-input.html b/experiments/editorFramework/test/Layer0/outline/reference-insert02-input.html
new file mode 100644
index 0000000..f7c4146
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-insert02-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var ref1 = DOM_createElement(document,"A");
+    var ref2 = DOM_createElement(document,"A");
+    var ref3 = DOM_createElement(document,"A");
+    DOM_setAttribute(ref1,"href","#one");
+    DOM_setAttribute(ref2,"href","#two");
+    DOM_setAttribute(ref3,"href","#three");
+
+    Clipboard_pasteNodes([ref1,ref2,ref3]);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<figure id="one"><figcaption>Figure 4</figcaption></figure>
+<figure id="two"><figcaption>Figure 4</figcaption></figure>
+<figure id="three"><figcaption>Figure 4</figcaption></figure>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-insert03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-insert03-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-insert03-expected.html
new file mode 100644
index 0000000..a1db37e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-insert03-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table id="one">
+      <caption></caption>
+    </table>
+    <table id="two">
+      <caption></caption>
+    </table>
+    <table id="three">
+      <caption></caption>
+    </table>
+    <a href="#one">1</a>
+    <a href="#two">2</a>
+    <a href="#three">3</a>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-insert03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-insert03-input.html b/experiments/editorFramework/test/Layer0/outline/reference-insert03-input.html
new file mode 100644
index 0000000..38026ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-insert03-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var ref1 = DOM_createElement(document,"A");
+    var ref2 = DOM_createElement(document,"A");
+    var ref3 = DOM_createElement(document,"A");
+    DOM_setAttribute(ref1,"href","#one");
+    DOM_setAttribute(ref2,"href","#two");
+    DOM_setAttribute(ref3,"href","#three");
+
+    Clipboard_pasteNodes([ref1,ref2,ref3]);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<table id="one"><caption>Table 4</caption></table>
+<table id="two"><caption>Table 4</caption></table>
+<table id="three"><caption>Table 4</caption></table>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-static01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-static01-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-static01-expected.html
new file mode 100644
index 0000000..d4e03ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-static01-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">2</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">3</a>
+    </p>
+    <h1 id="one">One</h1>
+    <h1 id="two">Two</h1>
+    <h1 id="three">Three</h1>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">2</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">3</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-static01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-static01-input.html b/experiments/editorFramework/test/Layer0/outline/reference-static01-input.html
new file mode 100644
index 0000000..17bc6e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-static01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+<h1 id="one">4 One</h1>
+<h1 id="two">4 Two</h1>
+<h1 id="three">4 Three</h1>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-static02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-static02-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-static02-expected.html
new file mode 100644
index 0000000..bba4355
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-static02-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">2</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">3</a>
+    </p>
+    <figure id="one">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="two">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="three">
+      <figcaption></figcaption>
+    </figure>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">2</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">3</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-static02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-static02-input.html b/experiments/editorFramework/test/Layer0/outline/reference-static02-input.html
new file mode 100644
index 0000000..37f7837
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-static02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+<figure id="one"><figcaption>Figure 4</figcaption></figure>
+<figure id="two"><figcaption>Figure 4</figcaption></figure>
+<figure id="three"><figcaption>Figure 4</figcaption></figure>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-static03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-static03-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-static03-expected.html
new file mode 100644
index 0000000..b2638e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-static03-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">2</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">3</a>
+    </p>
+    <table id="one">
+      <caption></caption>
+    </table>
+    <table id="two">
+      <caption></caption>
+    </table>
+    <table id="three">
+      <caption></caption>
+    </table>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">2</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">3</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-static03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-static03-input.html b/experiments/editorFramework/test/Layer0/outline/reference-static03-input.html
new file mode 100644
index 0000000..0573746
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-static03-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+<table id="one"><caption>Table 4</caption></table>
+<table id="two"><caption>Table 4</caption></table>
+<table id="three"><caption>Table 4</caption></table>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-update01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-update01-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-update01-expected.html
new file mode 100644
index 0000000..d96de51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-update01-expected.html
@@ -0,0 +1,36 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">3</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">4</a>
+    </p>
+    <h1 id="one">One</h1>
+    <h1 id="item1">New Heading</h1>
+    <h1 id="two">Two</h1>
+    <h1 id="three">Three</h1>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">3</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">4</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-update01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-update01-input.html b/experiments/editorFramework/test/Layer0/outline/reference-update01-input.html
new file mode 100644
index 0000000..69e0b5c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-update01-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var two = document.getElementById("two");
+    var h1 = DOM_createElement(document,"h1");
+    DOM_appendChild(h1,DOM_createTextNode(document,"New Heading"));
+    DOM_insertBefore(document.body,h1,two);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+<h1 id="one">4 One</h1>
+<h1 id="two">4 Two</h1>
+<h1 id="three">4 Three</h1>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li08-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li08-expected.html
new file mode 100644
index 0000000..98b998e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li08-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>
+        ST
+        <u>AR</u>
+        T
+      </li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>
+        MI
+        <u>DD</u>
+        LE
+      </li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>
+        E
+        <u>N</u>
+        D[]
+      </li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li08-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li08-input.html
new file mode 100644
index 0000000..879753d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li08-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "ST<u>AR</u>T"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "MI<u>DD</u>LE"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "E<u>N</u>D"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li09-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li09-expected.html
new file mode 100644
index 0000000..52b67d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li09-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>START</p></li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li><p>MIDDLE</p></li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li><p>END[]</p></li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li09-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li09-input.html
new file mode 100644
index 0000000..9893272
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li09-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "<ul>"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "</ul>"+
+                        "MIDDLE"+
+                        "<ul>"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "</ul>"+
+                        "END"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li10-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li10-expected.html
new file mode 100644
index 0000000..52b67d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li10-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>START</p></li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li><p>MIDDLE</p></li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li><p>END[]</p></li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li10-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li10-input.html
new file mode 100644
index 0000000..d05c861
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li10-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "MIDDLE"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "END"
+                        );
+   showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li11-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li11-expected.html
new file mode 100644
index 0000000..4cb1823
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li11-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>BeforeSTART</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]After</li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li11-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li11-input.html
new file mode 100644
index 0000000..560a1f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li11-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "<ul>"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "</ul>"+
+                        "MIDDLE"+
+                        "<ul>"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "</ul>"+
+                        "END"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li>Before[Two]After</li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li12-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li12-expected.html
new file mode 100644
index 0000000..4cb1823
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li12-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>BeforeSTART</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]After</li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li12-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li12-input.html
new file mode 100644
index 0000000..2e5f772
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li12-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "MIDDLE"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "END"
+                        );
+   showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li>Before[Two]After</li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li13-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li13-expected.html
new file mode 100644
index 0000000..e77ca5c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li13-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <b>bold</b>
+        <i>italic</i>
+        START
+      </li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>
+        END[]
+        <u>underline</u>
+        <code>code</code>
+      </li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li13-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li13-input.html
new file mode 100644
index 0000000..6cac403
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li13-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "<ul>"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "</ul>"+
+                        "MIDDLE"+
+                        "<ul>"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "</ul>"+
+                        "END"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><b>bold</b><i>italic</i>[Two]<u>underline</u><code>code</code></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li14-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li14-expected.html
new file mode 100644
index 0000000..e77ca5c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li14-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <b>bold</b>
+        <i>italic</i>
+        START
+      </li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>
+        END[]
+        <u>underline</u>
+        <code>code</code>
+      </li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li14-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li14-input.html
new file mode 100644
index 0000000..8be78cb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li14-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "MIDDLE"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "END"
+                        );
+   showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><b>bold</b><i>italic</i>[Two]<u>underline</u><code>code</code></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list01-expected.html
new file mode 100644
index 0000000..c326ce8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list01-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list01-input.html
new file mode 100644
index 0000000..7ce5ba5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<ul>"+
+                        "  <li>First</li>"+
+                        "  <li>Second</li>"+
+                        "  <li>Third</li>"+
+                        "</ul>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list02-expected.html
new file mode 100644
index 0000000..c326ce8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list02-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list02-input.html
new file mode 100644
index 0000000..09ad21a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<li>First</li>"+
+                        "<li>Second</li>"+
+                        "<li>Third</li>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list03-expected.html
new file mode 100644
index 0000000..d531810
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third[]</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list03-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list03-input.html
new file mode 100644
index 0000000..decf8d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list03-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<ul>"+
+                        "  <li>First</li>"+
+                        "  <li>Second</li>"+
+                        "  <li>Third</li>"+
+                        "</ul>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list04-expected.html
new file mode 100644
index 0000000..d531810
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third[]</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list04-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list04-input.html
new file mode 100644
index 0000000..9dc3ba4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<li>First</li>"+
+                        "<li>Second</li>"+
+                        "<li>Third</li>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list05-expected.html
new file mode 100644
index 0000000..d531810
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list05-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third[]</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list05-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list05-input.html
new file mode 100644
index 0000000..2d550f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list05-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<ol>"+
+                        "  <li>First</li>"+
+                        "  <li>Second</li>"+
+                        "  <li>Third</li>"+
+                        "</ol>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list06-expected.html
new file mode 100644
index 0000000..a6569f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third[]</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-list06-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-list06-input.html
new file mode 100644
index 0000000..c8984ea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-list06-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<ul>"+
+                        "  <li>First</li>"+
+                        "  <li>Second</li>"+
+                        "  <li>Third</li>"+
+                        "</ul>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-expected.html
new file mode 100644
index 0000000..b890c68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-expected.html
@@ -0,0 +1,44 @@
+<html>
+  <head></head>
+  <body>
+    <h2 id="usingthistool">Using this tool</h2>
+    <p>This page lets you create HTML by entering text in a simple format that's easy to read and write.</p>
+    <ul>
+      <li>Type Markdown text in the left window</li>
+      <li>See the HTML in the right</li>
+    </ul>
+    <p>
+      Markdown is a lightweight markup language based on the formatting conventions that people naturally use in email.  As
+      <a href="http://daringfireball.net/">John Gruber</a>
+      writes on the
+      <a href="http://daringfireball.net/projects/markdown/">Markdown site</a>
+      :
+    </p>
+    <p>The overriding design goal for Markdown's
+  formatting syntax is to make it as readable 
+  as possible. The idea is that a
+  Markdown-formatted document should be
+  publishable as-is, as plain text, without
+  looking like it's been marked up with tags
+  or formatting instructions.</p>
+    <p>
+      This document is written in Markdown; you can see the plain-text version on the left.  To get a feel for Markdown's syntax, type some text into the left window and watch the results in the right.  You can see a Markdown syntax guide by switching the right-hand window from
+      <em>Preview</em>
+      to
+      <em>Syntax Guide</em>
+      .
+    </p>
+    <p>
+      Showdown is a Javascript port of Markdown.  You can get the full
+      <a href="http://www.attacklab.net/showdown-v0.9.zip">source code</a>
+      by clicking on the version number at the bottom of the page.
+    </p>
+    <p>
+      <strong>
+        Start with a
+        <a href="?blank=1" title="Clear all text">blank page</a>
+        or edit this document in the left window.[]
+      </strong>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-input.html
new file mode 100644
index 0000000..9da5336
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-markdown-input.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html>
+<head>
+<!--
+
+Using this tool
+---------------
+
+
+This page lets you create HTML by entering text in a simple format that's easy to read and write.
+
+  - Type Markdown text in the left window
+  - See the HTML in the right
+
+Markdown is a lightweight markup language based on the formatting conventions that people naturally use in email.  As [John Gruber] writes on the [Markdown site] [1]:
+
+> The overriding design goal for Markdown's
+> formatting syntax is to make it as readable 
+> as possible. The idea is that a
+> Markdown-formatted document should be
+> publishable as-is, as plain text, without
+> looking like it's been marked up with tags
+> or formatting instructions.
+
+This document is written in Markdown; you can see the plain-text version on the left.  To get a feel for Markdown's syntax, type some text into the left window and watch the results in the right.  You can see a Markdown syntax guide by switching the right-hand window from *Preview* to *Syntax Guide*.
+
+Showdown is a Javascript port of Markdown.  You can get the full [source code] by clicking on the version number at the bottom of the page.
+
+**Start with a [blank page] or edit this document in the left window.**
+
+  [john gruber]: http://daringfireball.net/
+  [1]: http://daringfireball.net/projects/markdown/
+  [source code]: http://www.attacklab.net/showdown-v0.9.zip
+  [blank page]: ?blank=1 "Clear all text"
+
+
+-->
+<script>
+function getComment()
+{
+    var head = DOM_documentHead(document);
+    var comment = null;
+    for (var child = head.firstChild; child != null; child = child.nextSibling) {
+        if (child.nodeType == Node.COMMENT_NODE) {
+            DOM_deleteNode(child);
+            return child.nodeValue;
+        }
+    }
+    return null;
+}
+function performTest()
+{
+    var comment = getComment();
+    Clipboard_pasteText(comment);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table01-expected.html
new file mode 100644
index 0000000..f97c2df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>First</td>
+          <td>Second</td>
+          <td>Third[]</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table01-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table01-input.html
new file mode 100644
index 0000000..51cd535
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<td>First</td>"+
+                        "<td>Second</td>"+
+                        "<td>Third</td>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table02-expected.html
new file mode 100644
index 0000000..af4b3fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <th>First</th>
+          <th>Second</th>
+          <th>Third[]</th>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table02-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table02-input.html
new file mode 100644
index 0000000..b3b6537
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<th>First</th>"+
+                        "<th>Second</th>"+
+                        "<th>Third</th>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table03-expected.html
new file mode 100644
index 0000000..c504bff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four[]</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table03-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table03-input.html
new file mode 100644
index 0000000..85514f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table03-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<tr>"+
+                        "  <td>One</td>"+
+                        "  <td>Two</td>"+
+                        "</tr>"+
+                        "<tr>"+
+                        "  <td>Three</td>"+
+                        "  <td>Four</td>"+
+                        "</tr>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table04-expected.html
new file mode 100644
index 0000000..501c1a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <thead>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four[]</td>
+        </tr>
+      </thead>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table04-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table04-input.html
new file mode 100644
index 0000000..6b588b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<thead>"+
+                        "  <tr>"+
+                        "    <td>One</td>"+
+                        "    <td>Two</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>Three</td>"+
+                        "    <td>Four</td>"+
+                        "  </tr>"+
+                        "</thead>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table05-expected.html
new file mode 100644
index 0000000..c504bff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four[]</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table05-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table05-input.html
new file mode 100644
index 0000000..034d352
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table05-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<tbody>"+
+                        "  <tr>"+
+                        "    <td>One</td>"+
+                        "    <td>Two</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>Three</td>"+
+                        "    <td>Four</td>"+
+                        "  </tr>"+
+                        "</tbody>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table06-expected.html
new file mode 100644
index 0000000..ee01c81
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table06-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tfoot>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four[]</td>
+        </tr>
+      </tfoot>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table06-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table06-input.html
new file mode 100644
index 0000000..2b74c91
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table06-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<tfoot>"+
+                        "  <tr>"+
+                        "    <td>One</td>"+
+                        "    <td>Two</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>Three</td>"+
+                        "    <td>Four</td>"+
+                        "  </tr>"+
+                        "</tfoot>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table07-expected.html
new file mode 100644
index 0000000..d7d3fbc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table07-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <thead>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+      </thead>
+      <tbody>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+      <tfoot>
+        <tr>
+          <td>Five</td>
+          <td>Six[]</td>
+        </tr>
+      </tfoot>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-table07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-table07-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-table07-input.html
new file mode 100644
index 0000000..71b8e66
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-table07-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<thead>"+
+                        "  <tr>"+
+                        "    <td>One</td>"+
+                        "    <td>Two</td>"+
+                        "  </tr>"+
+                        "</thead>"+
+                        "<tbody>"+
+                        "  <tr>"+
+                        "    <td>Three</td>"+
+                        "    <td>Four</td>"+
+                        "  </tr>"+
+                        "</tbody>"+
+                        "<tfoot>"+
+                        "  <tr>"+
+                        "    <td>Five</td>"+
+                        "    <td>Six</td>"+
+                        "  </tr>"+
+                        "</tfoot>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste01-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste01-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste01-input.html
new file mode 100644
index 0000000..3e136ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("Sample text");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste02-expected.html
new file mode 100644
index 0000000..f3ebde4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>ASample text[]B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste02-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste02-input.html
new file mode 100644
index 0000000..aca7e13
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("Sample text");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>A[]B</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste03-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste03-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste03-input.html
new file mode 100644
index 0000000..16dd338
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("Sample text");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[Existing text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste04-expected.html
new file mode 100644
index 0000000..f3ebde4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>ASample text[]B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste04-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste04-input.html
new file mode 100644
index 0000000..b17785b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("Sample text");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>A[Existing text]B</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste05-expected.html
new file mode 100644
index 0000000..65722ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      A
+      <b><i><u>Sample</u></i></b>
+      text[]B
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste05-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste05-input.html
new file mode 100644
index 0000000..5b1f384
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<b><i><u>Sample</u></i></b> text");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>A[Existing text]B</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-input.html b/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-input.html
new file mode 100644
index 0000000..017f4f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/pasteText-whitespace01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteText("\n");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-expected.html
new file mode 100644
index 0000000..6ebd8c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p1"><span id="s1">One</span></p>
+    <p id="p5"><span id="s5">Five</span></p>
+    <p id="p6"><span id="s6">Six</span></p>
+    <p id="p2"><span id="s2">Two</span></p>
+    <p id="p3"><span id="s3">Three</span></p>
+    <p id="p4"><span id="s4">Four[]</span></p>
+    <p id="p7"><span id="s7">Seven</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-input.html b/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-input.html
new file mode 100644
index 0000000..8840cac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/preserve-cutpaste01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var dest = document.getElementById("s6");
+    var clip = Clipboard_cut();
+    Selection_set(dest,dest.childNodes.length,dest,dest.childNodes.length);
+    Clipboard_pasteHTML(clip["text/html"]);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p id="p1"><span id="s1">One</span></p>
+  <p id="p2"><span id="s2">[Two</span></p>
+  <p id="p3"><span id="s3">Three</span></p>
+  <p id="p4"><span id="s4">Four]</span></p>
+  <p id="p5"><span id="s5">Five</span></p>
+  <p id="p6"><span id="s6">Six</span></p>
+  <p id="p7"><span id="s7">Seven</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-expected.html
new file mode 100644
index 0000000..6b29d99
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading[]List item</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-input.html
new file mode 100644
index 0000000..4dc5240
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul><li><p>[]List item</p></li></ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-expected.html
new file mode 100644
index 0000000..56b2016
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]item</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-input.html
new file mode 100644
index 0000000..ed562f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list01a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<ul><li><p>List ]item</p></li></ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-expected.html
new file mode 100644
index 0000000..8913a47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading</h1>
+    <ul>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-input.html
new file mode 100644
index 0000000..6185567
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul><li><p>[List item]</p></li></ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-expected.html
new file mode 100644
index 0000000..cb02a93
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading[]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-input.html
new file mode 100644
index 0000000..3a49428
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list02a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul><li><p>[List item]</p></li></ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-expected.html
new file mode 100644
index 0000000..dcf5952
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading[]One</h1>
+    <ul>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-input.html
new file mode 100644
index 0000000..419232f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul>
+  <li><p>[]One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-expected.html
new file mode 100644
index 0000000..f71834a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]o</h1>
+    <ul>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-input.html
new file mode 100644
index 0000000..f117a5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list03a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Tw]o</p></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-expected.html
new file mode 100644
index 0000000..6005276
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading[]One</h1>
+    <ul>
+      <li>
+        <p>Two</p>
+        <p>Three</p>
+      </li>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-input.html
new file mode 100644
index 0000000..23c3a4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul>
+  <li>
+    <p>[]One</p>
+    <p>Two</p>
+    <p>Three</p>
+  </li>
+  <li>
+    <p>Four</p>
+    <p>Five</p>
+    <p>Six</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-expected.html
new file mode 100644
index 0000000..66e1319
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]o</h1>
+    <ul>
+      <li><p>Three</p></li>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-input.html
new file mode 100644
index 0000000..c8fa609
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list04a-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<ul>
+  <li>
+    <p>One</p>
+    <p>Tw]o</p>
+    <p>Three</p>
+  </li>
+  <li>
+    <p>Four</p>
+    <p>Five</p>
+    <p>Six</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-expected.html
new file mode 100644
index 0000000..bbea153
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <h1>
+      Heading[]One
+      <i>italic</i>
+      normal
+    </h1>
+    <ul>
+      <li>
+        <p>Two</p>
+        <p>Three</p>
+      </li>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-input.html
new file mode 100644
index 0000000..ec6a01f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul>
+  <li>
+    <p>[]One <i>italic</i> normal</p>
+    <p>Two</p>
+    <p>Three</p>
+  </li>
+  <li>
+    <p>Four</p>
+    <p>Five</p>
+    <p>Six</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-expected.html
new file mode 100644
index 0000000..66e1319
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]o</h1>
+    <ul>
+      <li><p>Three</p></li>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-input.html
new file mode 100644
index 0000000..e88f485
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list05a-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<ul>
+  <li>
+    <p>One <i>italic</i> normal</p>
+    <p>Tw]o</p>
+    <p>Three</p>
+  </li>
+  <li>
+    <p>Four</p>
+    <p>Five</p>
+    <p>Six</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-expected.html
new file mode 100644
index 0000000..bbea153
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <h1>
+      Heading[]One
+      <i>italic</i>
+      normal
+    </h1>
+    <ul>
+      <li>
+        <p>Two</p>
+        <p>Three</p>
+      </li>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-input.html
new file mode 100644
index 0000000..69ae308
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul>
+  <li>
+    []One <i>italic</i> normal
+    <p>Two</p>
+    <p>Three</p>
+  </li>
+  <li>
+    <p>Four</p>
+    <p>Five</p>
+    <p>Six</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-expected.html
new file mode 100644
index 0000000..66e1319
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]o</h1>
+    <ul>
+      <li><p>Three</p></li>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-input.html
new file mode 100644
index 0000000..c0ac737
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-list06a-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<ul>
+  <li>
+    One <i>italic</i> normal
+    <p>Tw]o</p>
+    <p>Three</p>
+  </li>
+  <li>
+    <p>Four</p>
+    <p>Five</p>
+    <p>Six</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-expected.html
new file mode 100644
index 0000000..b4f5896
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <h1>
+      Heading[]Here
+      <u>is</u>
+      a
+      <i>sublist</i>
+      :
+    </h1>
+    <ul>
+      <li>
+        <ul>
+          <li>One</li>
+          <li>Two</li>
+          <li>Three</li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-input.html
new file mode 100644
index 0000000..009ed50
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul>
+  <li>
+    <p>[]Here <u>is</u> a <i>sublist</i>:</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-expected.html
new file mode 100644
index 0000000..b4f5896
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <h1>
+      Heading[]Here
+      <u>is</u>
+      a
+      <i>sublist</i>
+      :
+    </h1>
+    <ul>
+      <li>
+        <ul>
+          <li>One</li>
+          <li>Two</li>
+          <li>Three</li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-input.html
new file mode 100644
index 0000000..b5981ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul>
+  <li>
+    []Here <u>is</u> a <i>sublist</i>:
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-expected.html
new file mode 100644
index 0000000..bc0a68e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading[]List item</h1>
+    <ul>
+      <li>
+        <ul>
+          <li>One</li>
+          <li>Two</li>
+          <li>Three</li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-input.html
new file mode 100644
index 0000000..01c2c9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<ul>
+  <li>
+    <p>[]List item</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-expected.html
new file mode 100644
index 0000000..e79f391
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]item</h1>
+    <ul>
+      <li>
+        <ul>
+          <li>One</li>
+          <li>Two</li>
+          <li>Three</li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-input.html
new file mode 100644
index 0000000..e4a9a40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph-sublist03a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<ul>
+  <li>
+    <p>List ]item</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-expected.html
new file mode 100644
index 0000000..a6d4d90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading[]Paragraph</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-input.html
new file mode 100644
index 0000000..a22fa6a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<p>[]Paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-expected.html
new file mode 100644
index 0000000..ffab8d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]aph</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-input.html
new file mode 100644
index 0000000..4e06a85
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph01a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<p>Paragr]aph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-expected.html
new file mode 100644
index 0000000..a6d4d90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Heading[]Paragraph</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-input.html
new file mode 100644
index 0000000..1e3e9b0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Heading</h1>
+<div><p>[]Paragraph</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-expected.html
new file mode 100644
index 0000000..ffab8d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Head[]aph</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-input.html
new file mode 100644
index 0000000..cb2ebda
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteBeforeParagraph02a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Head[ing</h1>
+<div><p>Paragr]aph</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-expected.html
new file mode 100644
index 0000000..856246e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>Tes[]</caption>
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-input.html
new file mode 100644
index 0000000..6c379d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption01-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("CAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,4,last,4);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <caption>Test</caption>
+    <col width="50%">
+    <col width="50%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-expected.html
new file mode 100644
index 0000000..2f9cc8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>Te[]t</caption>
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-input.html
new file mode 100644
index 0000000..36eaeed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="text-align: center">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html
new file mode 100644
index 0000000..3525404
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="text-indent: 20%">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-input.html
new file mode 100644
index 0000000..d418f3d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="text-indent: 20%">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html
new file mode 100644
index 0000000..629058d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="line-height: 150%">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-input.html
new file mode 100644
index 0000000..f71a941
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="line-height: 150%">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html
new file mode 100644
index 0000000..782112f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="display: block">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-input.html
new file mode 100644
index 0000000..4c33719
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="display: block">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html
new file mode 100644
index 0000000..d38c4bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="width: 100px">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-input.html
new file mode 100644
index 0000000..f8133dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="width: 100px">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html
new file mode 100644
index 0000000..034b150
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="height: 100px">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-input.html
new file mode 100644
index 0000000..c4f9814
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="height: 100px">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html
new file mode 100644
index 0000000..d1777b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: red">First</span>
+      <span style="color: red">line</span>
+    </p>
+    <p style="color: green">Second line</p>
+    <p>
+      <span style="color: blue">Third</span>
+      <span style="color: blue">line</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html
new file mode 100644
index 0000000..24724cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First [line</p>
+<p style="color: green">Second line</p>
+<p style="color: blue">Third] line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html
new file mode 100644
index 0000000..bc9f796
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red">First line</p>
+    <p>
+      <span style="color: green">Second</span>
+      <span style="color: green">line</span>
+    </p>
+    <p>
+      <span style="color: blue">Third</span>
+      <span style="color: blue">line</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html
new file mode 100644
index 0000000..c657cc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First line</p>
+<p style="color: green">Second [line</p>
+<p style="color: blue">Third] line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html
new file mode 100644
index 0000000..2f03506
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: red">First</span>
+      <span style="color: red">line</span>
+    </p>
+    <p>
+      <span style="color: green">Second</span>
+      <span style="color: green">line</span>
+    </p>
+    <p style="color: blue">Third line</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html
new file mode 100644
index 0000000..9b1b596
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First [line</p>
+<p style="color: green">Second] line</p>
+<p style="color: blue">Third line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html
new file mode 100644
index 0000000..6b8c6e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: red">First</span>
+      <span style="color: red">line</span>
+    </p>
+    <p style="color: green">Second line</p>
+    <p style="color: blue">Third line</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html
new file mode 100644
index 0000000..b5a32ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First [line</p>
+<p style="color: green">Second line</p>]
+<p style="color: blue">Third line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html
new file mode 100644
index 0000000..4f79d28
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red">First line</p>
+    <p style="color: green">Second line</p>
+    <p style="color: blue">Third line</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html
new file mode 100644
index 0000000..5ffb71f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First line</p>
+[<p style="color: green">Second line</p>
+<p style="color: blue">Third line</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html
new file mode 100644
index 0000000..3da76cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <span style="color: red; font-size: 18pt">First</span>
+        <span style="color: red; font-size: 18pt">line</span>
+      </p>
+      <p style="color: green; font-size: 18pt">Second line</p>
+      <p style="color: blue; font-size: 18pt">Third line</p>
+    </div>
+    <div>
+      <p style="color: yellow; font-size: 24pt">Fourth line</p>
+      <p>
+        <span style="color: fuchsia; font-size: 24pt">Fifth</span>
+        <span style="color: fuchsia; font-size: 24pt">line</span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html
new file mode 100644
index 0000000..70b00ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-size: 18pt">
+  <p style="color: red">First [line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth] line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html
new file mode 100644
index 0000000..5442e31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p style="color: red; font-size: 18pt">First line</p>
+      <p style="color: green; font-size: 18pt">Second line</p>
+      <p style="color: blue; font-size: 18pt">Third line</p>
+    </div>
+    <div>
+      <p style="color: yellow; font-size: 24pt">Fourth line</p>
+      <p style="color: fuchsia; font-size: 24pt">Fifth line</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html
new file mode 100644
index 0000000..2f81f2c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-size: 18pt">
+  <p style="color: red">First line</p>
+  [<p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>]
+  <p style="color: fuchsia">Fifth line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html
new file mode 100644
index 0000000..5442e31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p style="color: red; font-size: 18pt">First line</p>
+      <p style="color: green; font-size: 18pt">Second line</p>
+      <p style="color: blue; font-size: 18pt">Third line</p>
+    </div>
+    <div>
+      <p style="color: yellow; font-size: 24pt">Fourth line</p>
+      <p style="color: fuchsia; font-size: 24pt">Fifth line</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html
new file mode 100644
index 0000000..b49c2c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-size: 18pt">
+  [<p style="color: red">First line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth line</p>]
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html
new file mode 100644
index 0000000..469ea2d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div style="font-size: 18pt">
+      <p style="color: red">First line</p>
+      <p style="color: green">Second line</p>
+      <p style="color: blue">Third line</p>
+    </div>
+    <div style="font-size: 24pt">
+      <p style="color: yellow">Fourth line</p>
+      <p style="color: fuchsia">Fifth line</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html
new file mode 100644
index 0000000..fa02a24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+[<div style="font-size: 18pt">
+  <p style="color: red">First line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth line</p>
+</div>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html
new file mode 100644
index 0000000..5b8579d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <span style="color: red"><b>First</b></span>
+        <span style="color: red"><b>line</b></span>
+      </p>
+      <p style="color: green"><b>Second line</b></p>
+      <p style="color: blue"><b>Third line</b></p>
+    </div>
+    <div>
+      <p style="color: yellow"><i>Fourth line</i></p>
+      <p>
+        <span style="color: fuchsia"><i>Fifth</i></span>
+        <span style="color: fuchsia"><i>line</i></span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html
new file mode 100644
index 0000000..83fc4df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-weight: bold">
+  <p style="color: red">First [line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-style: italic">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth] line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html
new file mode 100644
index 0000000..3b02ced
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <span style="color: red"><b><i><u>First</u></i></b></span>
+        <span style="color: red"><b><i><u>line</u></i></b></span>
+      </p>
+      <p style="color: green"><b><i><u>Second line</u></i></b></p>
+      <p style="color: blue"><b><i><u>Third line</u></i></b></p>
+    </div>
+    <div>
+      <p style="color: yellow"><b><i><u>Fourth line</u></i></b></p>
+      <p>
+        <span style="color: fuchsia"><b><i><u>Fifth</u></i></b></span>
+        <span style="color: fuchsia"><b><i><u>line</u></i></b></span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html
new file mode 100644
index 0000000..05c8ea7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <p style="color: red">First [line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth] line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html
new file mode 100644
index 0000000..afbdbb8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <span style="color: red; font-size: 18pt">First</span>
+        <span style="color: red; font-size: 18pt">line</span>
+      </li>
+      <li style="color: green; font-size: 18pt">Second line</li>
+      <li style="color: blue; font-size: 18pt">Third line</li>
+    </ul>
+    <ul>
+      <li style="color: yellow; font-size: 24pt">Fourth line</li>
+      <li>
+        <span style="color: fuchsia; font-size: 24pt">Fifth</span>
+        <span style="color: fuchsia; font-size: 24pt">line</span>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html
new file mode 100644
index 0000000..fe1fa91
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-size: 18pt">
+  <li style="color: red">First [line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth] line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html
new file mode 100644
index 0000000..8099c5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li style="color: red; font-size: 18pt">First line</li>
+      <li style="color: green; font-size: 18pt">Second line</li>
+      <li style="color: blue; font-size: 18pt">Third line</li>
+    </ul>
+    <ul>
+      <li style="color: yellow; font-size: 24pt">Fourth line</li>
+      <li style="color: fuchsia; font-size: 24pt">Fifth line</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html
new file mode 100644
index 0000000..41fda14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-size: 18pt">
+  <li style="color: red">First line</li>
+  [<li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>]
+  <li style="color: fuchsia">Fifth line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html
new file mode 100644
index 0000000..8099c5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li style="color: red; font-size: 18pt">First line</li>
+      <li style="color: green; font-size: 18pt">Second line</li>
+      <li style="color: blue; font-size: 18pt">Third line</li>
+    </ul>
+    <ul>
+      <li style="color: yellow; font-size: 24pt">Fourth line</li>
+      <li style="color: fuchsia; font-size: 24pt">Fifth line</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html
new file mode 100644
index 0000000..32ec48b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-size: 18pt">
+  [<li style="color: red">First line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth line</li>]
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html
new file mode 100644
index 0000000..f8756d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul style="font-size: 18pt">
+      <li style="color: red">First line</li>
+      <li style="color: green">Second line</li>
+      <li style="color: blue">Third line</li>
+    </ul>
+    <ul style="font-size: 24pt">
+      <li style="color: yellow">Fourth line</li>
+      <li style="color: fuchsia">Fifth line</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html
new file mode 100644
index 0000000..c587ef1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+[<ul style="font-size: 18pt">
+  <li style="color: red">First line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth line</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html
new file mode 100644
index 0000000..14820cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <span style="color: red"><b>First</b></span>
+        <span style="color: red"><b>line</b></span>
+      </li>
+      <li style="color: green"><b>Second line</b></li>
+      <li style="color: blue"><b>Third line</b></li>
+    </ul>
+    <ul>
+      <li style="color: yellow"><i>Fourth line</i></li>
+      <li>
+        <span style="color: fuchsia"><i>Fifth</i></span>
+        <span style="color: fuchsia"><i>line</i></span>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html
new file mode 100644
index 0000000..ac105e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-weight: bold">
+  <li style="color: red">First [line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-style: italic">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth] line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html
new file mode 100644
index 0000000..84c884a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <span style="color: red"><b><i><u>First</u></i></b></span>
+        <span style="color: red"><b><i><u>line</u></i></b></span>
+      </li>
+      <li style="color: green"><b><i><u>Second line</u></i></b></li>
+      <li style="color: blue"><b><i><u>Third line</u></i></b></li>
+    </ul>
+    <ul>
+      <li style="color: yellow"><b><i><u>Fourth line</u></i></b></li>
+      <li>
+        <span style="color: fuchsia"><b><i><u>Fifth</u></i></b></span>
+        <span style="color: fuchsia"><b><i><u>line</u></i></b></span>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html
new file mode 100644
index 0000000..90d444f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <li style="color: red">First [line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth] line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html
new file mode 100644
index 0000000..8dd2a9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue">Here</span>
+      <span style="color: blue">is some text</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html
new file mode 100644
index 0000000..36fa73b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">[Here] is some text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html
new file mode 100644
index 0000000..7e36f7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue">Here</span>
+      <span style="color: blue">is some</span>
+      <span style="color: blue">text</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-input.html
new file mode 100644
index 0000000..6dc2cb4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html
new file mode 100644
index 0000000..5c00041
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue">Here is some</span>
+      <span style="color: blue">text</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-input.html
new file mode 100644
index 0000000..4653aaa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">Here is some [text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html
new file mode 100644
index 0000000..ac8ebee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>Here</b>
+      <b>is some</b>
+      <b>text</b>
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html
new file mode 100644
index 0000000..86b8046
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="font-weight: bold">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html
new file mode 100644
index 0000000..33637dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <i>Here</i>
+      <i>is some</i>
+      <i>text</i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html
new file mode 100644
index 0000000..7cd3dfb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="font-style: italic">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html
new file mode 100644
index 0000000..ebb26a9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <u>Here</u>
+      <u>is some</u>
+      <u>text</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html
new file mode 100644
index 0000000..cde0e96
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="text-decoration: underline">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html
new file mode 100644
index 0000000..da59302
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="text-decoration: overline line-through"><u>Here</u></span>
+      <span style="text-decoration: overline line-through"><u>is some</u></span>
+      <span style="text-decoration: overline line-through"><u>text</u></span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html
new file mode 100644
index 0000000..3088e65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="text-decoration: underline overline line-through">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html
new file mode 100644
index 0000000..0d7b30d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="text-decoration: overline line-through"><b><i><u>Here</u></i></b></span>
+      <span style="text-decoration: overline line-through"><b><i><u>is some</u></i></b></span>
+      <span style="text-decoration: overline line-through"><b><i><u>text</u></i></b></span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-input.html
new file mode 100644
index 0000000..d27c82f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="font-weight: bold; font-style: italic; text-decoration: underline overline line-through">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html
new file mode 100644
index 0000000..56866e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 20%">
+      <span style="color: blue">Here</span>
+      <span style="color: blue">is some</span>
+      <span style="color: blue">text</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-input.html
new file mode 100644
index 0000000..3249e3b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 20%; color: blue">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html
new file mode 100644
index 0000000..82e91fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-right: 15%">
+      <p style="margin-left: 20%">
+        <span style="color: blue; font-size: 24pt">Here</span>
+        <span style="color: blue; font-size: 24pt">is some</span>
+        <span style="color: blue; font-size: 24pt">text</span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html
new file mode 100644
index 0000000..d9366ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="margin-right: 15%; font-size: 24pt">
+  <p style="margin-left: 20%; color: blue">Here [is some] text</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html
new file mode 100644
index 0000000..451f8d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue"><s><s>O</s></s></s>
+      <s>
+        <s>
+          <s><span style="color: blue">ne</span></s>
+          <s style="color: blue">Two</s>
+          <s style="color: blue">Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s>
+        <s style="color: blue">Seven</s>
+        <s style="color: blue">Eight</s>
+        <s><span style="color: blue">Nin</span></s>
+      </s>
+      <s style="color: blue"><s>e</s></s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html
new file mode 100644
index 0000000..81d6ebb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      <s>O[ne</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nin]e</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html
new file mode 100644
index 0000000..f6a7db3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s>
+          <s style="color: blue">One</s>
+          <s style="color: blue">Two</s>
+          <s style="color: blue">Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html
new file mode 100644
index 0000000..18f0485
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      <s>One</s>
+      [<s>Two</s>]
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html
new file mode 100644
index 0000000..f6a7db3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s>
+          <s style="color: blue">One</s>
+          <s style="color: blue">Two</s>
+          <s style="color: blue">Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html
new file mode 100644
index 0000000..6b9e5de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      [<s>One</s>
+      <s>Two</s>
+      <s>Three</s>]
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html
new file mode 100644
index 0000000..3cb2757
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html
new file mode 100644
index 0000000..f04d8d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    [<s>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>]
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html
new file mode 100644
index 0000000..a7ef87d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue">
+        <s>
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html
new file mode 100644
index 0000000..b154d7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  [<s>
+    <s>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>]
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html
new file mode 100644
index 0000000..287abd3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s style="color: blue">Four</s>
+          <s style="color: blue">Five</s>
+          <s style="color: blue">Six</s>
+        </s>
+      </s>
+      <s>
+        <s style="color: blue">Seven</s>
+        <s style="color: blue">Eight</s>
+        <s style="color: blue">Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html
new file mode 100644
index 0000000..f99bde2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      [<s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>]
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html
new file mode 100644
index 0000000..d6af9e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue; font-family: monospace; font-size: 18pt">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline">Four</s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: line-through">Five</s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline line-through">Six</s>
+        </s>
+      </s>
+      <s style="color: blue; font-family: sans-serif">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html
new file mode 100644
index 0000000..2043978
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s style="font-size: 18pt">
+    <s style="font-family: monospace">
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s style="font-family: fantasy">
+      <s style="text-decoration: overline">Four</s>
+      [<s style="text-decoration: line-through">Five</s>]
+      <s style="text-decoration: overline line-through">Six</s>
+    </s>
+  </s>
+  <s style="font-family: sans-serif">
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html
new file mode 100644
index 0000000..72e521b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue; font-family: monospace; font-size: 18pt">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline">Four</s>
+          <s><span style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: line-through">Five</span></s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline line-through">Six</s>
+        </s>
+      </s>
+      <s style="color: blue; font-family: sans-serif">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html
new file mode 100644
index 0000000..de538cb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s style="font-size: 18pt">
+    <s style="font-family: monospace">
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s style="font-family: fantasy">
+      <s style="text-decoration: overline">Four</s>
+      <s style="text-decoration: line-through">[Five]</s>
+      <s style="text-decoration: overline line-through">Six</s>
+    </s>
+  </s>
+  <s style="font-family: sans-serif">
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html
new file mode 100644
index 0000000..88bbaa7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 20%">
+      <p style="margin-right: 15%">
+        <s>
+          <s style="color: blue">
+            <s>One</s>
+            <s>Two</s>
+            <s>Three</s>
+          </s>
+          <s>
+            <s style="color: yellow">Four</s>
+            <s style="color: black">Five</s>
+            <s style="color: yellow">Six</s>
+          </s>
+        </s>
+        <s style="color: green">
+          <s>Seven</s>
+          <s>Eight</s>
+          <s>Nine</s>
+        </s>
+      </p>
+      <p style="color: red">Ten</p>
+    </div>
+  </body>
+</html>
\ No newline at end of file



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-input.html
new file mode 100644
index 0000000..b6de159
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-caption02-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("CAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,3,last,3);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <caption>Test</caption>
+    <col width="50%">
+    <col width="50%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-expected.html
new file mode 100644
index 0000000..2576290
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-input.html
new file mode 100644
index 0000000..b8b0437
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>🌏[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-expected.html
new file mode 100644
index 0000000..77c9d9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>😃👿[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-input.html
new file mode 100644
index 0000000..64566a9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>😃👿🌏[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-expected.html
new file mode 100644
index 0000000..4969443
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-input.html
new file mode 100644
index 0000000..e30cb0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before🌏[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-expected.html
new file mode 100644
index 0000000..bca34fc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before😃👿[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-input.html
new file mode 100644
index 0000000..ad096b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before😃👿🌏[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-expected.html
new file mode 100644
index 0000000..6bc2dfc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-input.html
new file mode 100644
index 0000000..3396b64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>🌏[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-expected.html
new file mode 100644
index 0000000..be7725c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>😃👿[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-input.html
new file mode 100644
index 0000000..0dae400
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>😃👿🌏[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-expected.html
new file mode 100644
index 0000000..b830d5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-input.html
new file mode 100644
index 0000000..1e23217
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before🌏[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-expected.html
new file mode 100644
index 0000000..fd1ee55
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before😃👿[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-input.html
new file mode 100644
index 0000000..a74ca8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-emoji08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before😃👿🌏[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-input.html
new file mode 100644
index 0000000..0757734
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-input.html
new file mode 100644
index 0000000..b55d7d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"><b>[]</b></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-expected.html
new file mode 100644
index 0000000..895cd24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-input.html
new file mode 100644
index 0000000..d94a572
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">[]</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-expected.html
new file mode 100644
index 0000000..88dd17b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-input.html
new file mode 100644
index 0000000..f6ad6e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p><span class="endnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-expected.html
new file mode 100644
index 0000000..0abd902
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>Initial paragraph</p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-input.html
new file mode 100644
index 0000000..0f82b31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>Initial paragraph</p>
+  <p><span class="endnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-input.html
new file mode 100644
index 0000000..bcaeeb1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-input.html
new file mode 100644
index 0000000..efd68bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"><b></b></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-expected.html
new file mode 100644
index 0000000..e2952bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-input.html
new file mode 100644
index 0000000..bff2f51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"></span>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-expected.html
new file mode 100644
index 0000000..88dd17b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-input.html
new file mode 100644
index 0000000..ab3f8ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p><span class="endnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-expected.html
new file mode 100644
index 0000000..0abd902
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>Initial paragraph</p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-input.html
new file mode 100644
index 0000000..8f7aa92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-endnote10-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>Initial paragraph</p>
+  <p><span class="endnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-expected.html
new file mode 100644
index 0000000..ddf7db9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png"/>
+      <figcaption>Tes[]</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-input.html
new file mode 100644
index 0000000..2f2a4df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("FIGCAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,4,last,4);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption>Test</figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-expected.html
new file mode 100644
index 0000000..5bd3d26
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png"/>
+      <figcaption>Te[]t</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-input.html
new file mode 100644
index 0000000..5ce66a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("FIGCAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,3,last,3);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption>Test</figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-expected.html
new file mode 100644
index 0000000..f1ab352
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-input.html
new file mode 100644
index 0000000..0b9dced
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption>[]</figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-expected.html
new file mode 100644
index 0000000..f1ab352
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-input.html
new file mode 100644
index 0000000..9aa4617
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figcaption04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption><b>[]</b></figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-expected.html
new file mode 100644
index 0000000..dfd81a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-input.html
new file mode 100644
index 0000000..85e31a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+[]
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-expected.html
new file mode 100644
index 0000000..6bc7589
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before[]</p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+      <figcaption>Test figure</figcaption>
+    </figure>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-input.html
new file mode 100644
index 0000000..cc38df5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+[]
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-expected.html
new file mode 100644
index 0000000..dfd81a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-input.html
new file mode 100644
index 0000000..6227eca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure03-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var figure = document.getElementsByTagName("FIGURE")[0];
+    var offset = DOM_nodeOffset(figure);
+    Cursor_set(figure.parentNode,offset+1,figure.parentNode,offset+1);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-expected.html
new file mode 100644
index 0000000..6bc7589
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before[]</p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+      <figcaption>Test figure</figcaption>
+    </figure>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-input.html
new file mode 100644
index 0000000..257679b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-figure04-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var figure = document.getElementsByTagName("FIGURE")[0];
+    var offset = DOM_nodeOffset(figure);
+    Cursor_set(figure.parentNode,offset,figure.parentNode,offset);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-input.html
new file mode 100644
index 0000000..cf02a9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-input.html
new file mode 100644
index 0000000..495be1c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"><b>[]</b></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-expected.html
new file mode 100644
index 0000000..895cd24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-input.html
new file mode 100644
index 0000000..6ecd381
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">[]</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-expected.html
new file mode 100644
index 0000000..88dd17b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-input.html
new file mode 100644
index 0000000..c84d178
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p><span class="footnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-expected.html
new file mode 100644
index 0000000..0abd902
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>Initial paragraph</p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-input.html
new file mode 100644
index 0000000..5f7eb34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>Initial paragraph</p>
+  <p><span class="footnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-input.html
new file mode 100644
index 0000000..3496595
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-expected.html
new file mode 100644
index 0000000..225c9b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-input.html
new file mode 100644
index 0000000..141f5d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"><b></b></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-expected.html
new file mode 100644
index 0000000..e2952bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      []
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-input.html
new file mode 100644
index 0000000..9b637e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"></span>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-expected.html
new file mode 100644
index 0000000..88dd17b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-input.html
new file mode 100644
index 0000000..6f74db3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p><span class="footnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-expected.html
new file mode 100644
index 0000000..0abd902
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>Initial paragraph</p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-input.html
new file mode 100644
index 0000000..ad5a014
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-footnote10-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>Initial paragraph</p>
+  <p><span class="footnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-expected.html
new file mode 100644
index 0000000..46a6a7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-input.html
new file mode 100644
index 0000000..e3d17d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>S[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-expected.html
new file mode 100644
index 0000000..49521c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>First paragraph</p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-input.html
new file mode 100644
index 0000000..c146296
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>S[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-expected.html
new file mode 100644
index 0000000..461e9a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[]</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-input.html
new file mode 100644
index 0000000..9dc86bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>O[]</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-expected.html
new file mode 100644
index 0000000..c50dd7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-input.html
new file mode 100644
index 0000000..eefc685
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>O[]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-expected.html
new file mode 100644
index 0000000..63b28df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li>[]</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-input.html
new file mode 100644
index 0000000..9c94260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>O[]</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-expected.html
new file mode 100644
index 0000000..ecd9ac5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-input.html
new file mode 100644
index 0000000..044d635
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last04a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li><p>O[]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-expected.html
new file mode 100644
index 0000000..59d486b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li>One</li>
+      <li>[]</li>
+      <li>Three</li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-input.html
new file mode 100644
index 0000000..8e096e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>One</li>
+  <li>T[]</li>
+  <li>Three</li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-expected.html
new file mode 100644
index 0000000..e45487c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+      <li><p>Three</p></li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-input.html
new file mode 100644
index 0000000..ae26a7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last05a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li><p>One</p></li>
+  <li><p>T[]</p></li>
+  <li><p>Three</p></li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-expected.html
new file mode 100644
index 0000000..c13c337
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>[]</li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-input.html
new file mode 100644
index 0000000..aa957db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>T[]</li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-expected.html
new file mode 100644
index 0000000..a612d17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-input.html
new file mode 100644
index 0000000..ccba53e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last06a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>T[]</p></li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-expected.html
new file mode 100644
index 0000000..1963c32
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-input.html
new file mode 100644
index 0000000..d65ff5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+<p>A[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-expected.html
new file mode 100644
index 0000000..28897bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ul>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-input.html
new file mode 100644
index 0000000..977ba7a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last07a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+<p>A[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-expected.html
new file mode 100644
index 0000000..5ce18b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-input.html
new file mode 100644
index 0000000..c13c7e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>A[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-expected.html
new file mode 100644
index 0000000..33ed21a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td><p>One</p></td>
+          <td><p>Two</p></td>
+        </tr>
+        <tr>
+          <td><p>Three</p></td>
+          <td><p>Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-input.html
new file mode 100644
index 0000000..6648c77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last08a-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td><p>One</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</table>
+<p>A[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-expected.html
new file mode 100644
index 0000000..32940d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>[]</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-input.html
new file mode 100644
index 0000000..4d1a285
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>F[]</td>
+  </tr>
+</table>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-expected.html
new file mode 100644
index 0000000..d266c4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td><p>One</p></td>
+          <td><p>Two</p></td>
+        </tr>
+        <tr>
+          <td><p>Three</p></td>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-input.html
new file mode 100644
index 0000000..b185e35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last09a-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td><p>One</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>F[]</p></td>
+  </tr>
+</table>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-expected.html
new file mode 100644
index 0000000..37f0479
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>[]</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-input.html
new file mode 100644
index 0000000..74353d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>T[]</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-expected.html
new file mode 100644
index 0000000..21a2308
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td><p>One</p></td>
+          <td><p>Two</p></td>
+        </tr>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p>Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>After</p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements11-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements11-expected.html
new file mode 100644
index 0000000..8cc966e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements11-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="80px"/>
+        <col width="2cm"/>
+        <col width="1in"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements11-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements11-input.html
new file mode 100644
index 0000000..c025a4c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements11-input.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1" style="width: 100%">
+    <colgroup>
+      <col width="80px"/>
+      <col width="2cm"/>
+      <col width="1in"/>
+      <col width="25%"/>
+      <col width="25%"/>
+    </colgroup>
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>0, 3</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td>1, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td>2, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <td>3, 3</td>
+        <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/tables/deleteColElements12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements12-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements12-expected.html
new file mode 100644
index 0000000..e91ce02
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements12-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="80px"/>
+        <col width="2cm"/>
+        <col width="1in"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements12-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements12-input.html
new file mode 100644
index 0000000..103f841
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements12-input.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1" style="width: 100%">
+    <colgroup>
+      <col width="25%"/>
+      <col width="80px"/>
+      <col width="2cm"/>
+      <col width="1in"/>
+      <col width="1in"/>
+    </colgroup>
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>0, 3</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td>1, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td>2, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <td>3, 3</td>
+        <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/tables/deleteColumns01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns01-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns01-expected.html
new file mode 100644
index 0000000..49a4c7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns01-expected.html
@@ -0,0 +1,47 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns01-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns01-input.html
new file mode 100644
index 0000000..1849821
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns01-input.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0]</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns02-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns02-expected.html
new file mode 100644
index 0000000..8fa5338
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns02-expected.html
@@ -0,0 +1,47 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns02-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns02-input.html
new file mode 100644
index 0000000..1c0eafe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns02-input.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>[0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2]</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns03-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns03-expected.html
new file mode 100644
index 0000000..a356000
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns03-expected.html
@@ -0,0 +1,47 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns03-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns03-input.html
new file mode 100644
index 0000000..2b315f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns03-input.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>[0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns04-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns04-expected.html
new file mode 100644
index 0000000..e30fa60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns04-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 3</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns04-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns04-input.html
new file mode 100644
index 0000000..6bcca5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns04-input.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2]</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns05-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns05-expected.html
new file mode 100644
index 0000000..cfea135
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns05-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns05-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns05-input.html
new file mode 100644
index 0000000..f90b2db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns05-input.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>[0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3]</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns06-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns06-expected.html
new file mode 100644
index 0000000..daa1657
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns06-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns06-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns06-input.html
new file mode 100644
index 0000000..240bbb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns06-input.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>[0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns07-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns07-expected.html
new file mode 100644
index 0000000..cfea135
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns07-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColumns07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColumns07-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColumns07-input.html
new file mode 100644
index 0000000..c054499
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColumns07-input.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>[0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td colspan="3">2, 1</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2]</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows01-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteRows01-expected.html
new file mode 100644
index 0000000..661de9c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows01-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows01-input.html b/experiments/editorFramework/test/Layer0/tables/deleteRows01-input.html
new file mode 100644
index 0000000..03d8bb6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows01-input.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4]</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows02-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteRows02-expected.html
new file mode 100644
index 0000000..fdf3fde
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows02-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows02-input.html b/experiments/editorFramework/test/Layer0/tables/deleteRows02-input.html
new file mode 100644
index 0000000..0933059
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows02-input.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>[2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4]</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows03-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteRows03-expected.html
new file mode 100644
index 0000000..32e8895
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows03-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows03-input.html b/experiments/editorFramework/test/Layer0/tables/deleteRows03-input.html
new file mode 100644
index 0000000..d340498
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows03-input.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>[4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows04-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteRows04-expected.html
new file mode 100644
index 0000000..fbf937b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows04-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows04-input.html b/experiments/editorFramework/test/Layer0/tables/deleteRows04-input.html
new file mode 100644
index 0000000..678375e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows04-input.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4]</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows05-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteRows05-expected.html
new file mode 100644
index 0000000..5e5ccea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows05-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows05-input.html b/experiments/editorFramework/test/Layer0/tables/deleteRows05-input.html
new file mode 100644
index 0000000..4691a6b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows05-input.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>[1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4]</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows06-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteRows06-expected.html
new file mode 100644
index 0000000..900e079
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows06-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows06-input.html b/experiments/editorFramework/test/Layer0/tables/deleteRows06-input.html
new file mode 100644
index 0000000..3a62999
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows06-input.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>[2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows07-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteRows07-expected.html
new file mode 100644
index 0000000..5e5ccea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows07-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteRows07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteRows07-input.html b/experiments/editorFramework/test/Layer0/tables/deleteRows07-input.html
new file mode 100644
index 0000000..ab3b6a9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteRows07-input.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td rowspan="3">1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>[2, 0</td>
+      <td>2, 1</td>
+      <td>2, 3</td>
+      <td>2, 4]</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable01-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable01-expected.html
new file mode 100644
index 0000000..a97a7b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable01-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>B</td>
+          <td>C</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 1x1 "A"
+Cell at (0,1) = 1x1 ""
+Cell at (1,0) = 1x1 "B"
+Cell at (1,1) = 1x1 "C"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable01-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable01-input.html
new file mode 100644
index 0000000..97c4df3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable01-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td>A</td>
+    </tr>
+    <tr>
+      <td>B</td>
+      <td>C</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable02-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable02-expected.html
new file mode 100644
index 0000000..a14d9fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable02-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td colspan="2">A</td>
+        </tr>
+        <tr>
+          <td>B</td>
+          <td>C</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 1x2 "A"
+Cell at (0,1) = 1x2 "A"
+Cell at (1,0) = 1x1 "B"
+Cell at (1,1) = 1x1 "C"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable02-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable02-input.html
new file mode 100644
index 0000000..8578f16
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable02-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td colspan="2">A</td>
+    </tr>
+    <tr>
+      <td>B</td>
+      <td>C</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable03-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable03-expected.html
new file mode 100644
index 0000000..1fda674
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable03-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td colspan="3">A</td>
+        </tr>
+        <tr>
+          <td>B</td>
+          <td>C</td>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 1x3 "A"
+Cell at (0,1) = 1x3 "A"
+Cell at (0,2) = 1x3 "A"
+Cell at (1,0) = 1x1 "B"
+Cell at (1,1) = 1x1 "C"
+Cell at (1,2) = 1x1 ""

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable03-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable03-input.html
new file mode 100644
index 0000000..011141f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable03-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td colspan="3">A</td>
+    </tr>
+    <tr>
+      <td>B</td>
+      <td>C</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable04-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable04-expected.html
new file mode 100644
index 0000000..95cc2aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable04-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 1x1 "A"
+Cell at (0,1) = 1x1 "B"
+Cell at (1,0) = 1x1 "C"
+Cell at (1,1) = 1x1 ""

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable04-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable04-input.html
new file mode 100644
index 0000000..590b905
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable04-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td>A</td>
+      <td>B</td>
+    </tr>
+    <tr>
+      <td>C</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable05-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable05-expected.html
new file mode 100644
index 0000000..df344b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable05-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+        </tr>
+        <tr>
+          <td colspan="2">C</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 1x1 "A"
+Cell at (0,1) = 1x1 "B"
+Cell at (1,0) = 1x2 "C"
+Cell at (1,1) = 1x2 "C"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable05-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable05-input.html
new file mode 100644
index 0000000..465364b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable05-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td>A</td>
+      <td>B</td>
+    </tr>
+    <tr>
+      <td colspan="2">C</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable06-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable06-expected.html
new file mode 100644
index 0000000..826350f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable06-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td colspan="3">C</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 1x1 "A"
+Cell at (0,1) = 1x1 "B"
+Cell at (0,2) = 1x1 ""
+Cell at (1,0) = 1x3 "C"
+Cell at (1,1) = 1x3 "C"
+Cell at (1,2) = 1x3 "C"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable06-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable06-input.html
new file mode 100644
index 0000000..9c61eb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable06-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td>A</td>
+      <td>B</td>
+    </tr>
+    <tr>
+      <td colspan="3">C</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable07-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable07-expected.html
new file mode 100644
index 0000000..795de49
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable07-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="2">A</td>
+          <td rowspan="2">B</td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 2x1 "A"
+Cell at (0,1) = 2x1 "B"
+Cell at (0,2) = 1x1 ""
+Cell at (0,3) = 1x1 ""
+Cell at (1,0) = 2x1 "A"
+Cell at (1,1) = 2x1 "B"
+Cell at (1,2) = 1x1 "C"
+Cell at (1,3) = 1x1 "D"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable07-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable07-input.html
new file mode 100644
index 0000000..88cf9db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable07-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="2">A</td>
+      <td rowspan="2">B</td>
+    </tr>
+    <tr>
+      <td>C</td>
+      <td>D</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable08-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable08-expected.html
new file mode 100644
index 0000000..f5da051
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable08-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="2">A</td>
+          <td>B</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 2x1 "A"
+Cell at (0,1) = 1x1 "B"
+Cell at (0,2) = 1x1 ""
+Cell at (1,0) = 2x1 "A"
+Cell at (1,1) = 1x1 "C"
+Cell at (1,2) = 1x1 "D"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable08-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable08-input.html
new file mode 100644
index 0000000..acd7f79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable08-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="2">A</td>
+      <td>B</td>
+    </tr>
+    <tr>
+      <td>C</td>
+      <td>D</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable09-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable09-expected.html
new file mode 100644
index 0000000..c01c190
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable09-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td rowspan="2">B</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 1x1 "A"
+Cell at (0,1) = 2x1 "B"
+Cell at (0,2) = 1x1 ""
+Cell at (1,0) = 1x1 "C"
+Cell at (1,1) = 2x1 "B"
+Cell at (1,2) = 1x1 "D"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable09-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable09-input.html
new file mode 100644
index 0000000..c8441fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable09-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td>A</td>
+      <td rowspan="2">B</td>
+    </tr>
+    <tr>
+      <td>C</td>
+      <td>D</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable10-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable10-expected.html
new file mode 100644
index 0000000..982d54a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable10-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="2">A</td>
+          <td rowspan="2">B</td>
+          <td>C</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 2x1 "A"
+Cell at (0,1) = 2x1 "B"
+Cell at (0,2) = 1x1 "C"
+Cell at (1,0) = 2x1 "A"
+Cell at (1,1) = 2x1 "B"
+Cell at (1,2) = 1x1 ""

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable10-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable10-input.html
new file mode 100644
index 0000000..dfebd65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable10-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="2">A</td>
+      <td rowspan="2">B</td>
+      <td>C</td>
+    </tr>
+    <tr>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable11-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable11-expected.html
new file mode 100644
index 0000000..10a3881
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable11-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="2">A</td>
+          <td rowspan="2">B</td>
+        </tr>
+        <tr/>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 2x1 "A"
+Cell at (0,1) = 2x1 "B"
+Cell at (1,0) = 2x1 "A"
+Cell at (1,1) = 2x1 "B"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable11-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable11-input.html
new file mode 100644
index 0000000..2f96e7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable11-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="2">A</td>
+      <td rowspan="2">B</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable12-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable12-expected.html
new file mode 100644
index 0000000..d093ef1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable12-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="3">A</td>
+          <td rowspan="3">B</td>
+        </tr>
+        <tr>
+        </tr>
+        <tr/>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 3x1 "A"
+Cell at (0,1) = 3x1 "B"
+Cell at (1,0) = 3x1 "A"
+Cell at (1,1) = 3x1 "B"
+Cell at (2,0) = 3x1 "A"
+Cell at (2,1) = 3x1 "B"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable12-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable12-input.html
new file mode 100644
index 0000000..a31ae8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable12-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="3">A</td>
+      <td rowspan="3">B</td>
+    </tr>
+    <tr>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable13-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable13-expected.html
new file mode 100644
index 0000000..fe8ddfd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable13-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="2">A</td>
+          <td rowspan="2">B</td>
+          <td>C</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 2x1 "A"
+Cell at (0,1) = 2x1 "B"
+Cell at (0,2) = 1x1 "C"
+Cell at (1,0) = 2x1 "A"
+Cell at (1,1) = 2x1 "B"
+Cell at (1,2) = 1x1 ""
+    
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable13-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable13-input.html
new file mode 100644
index 0000000..9643515
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable13-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="2">A</td>
+      <td rowspan="2">B</td>
+      <td>C</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable14-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable14-expected.html
new file mode 100644
index 0000000..24775ec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable14-expected.html
@@ -0,0 +1,31 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="3">A</td>
+          <td rowspan="3">B</td>
+          <td>C</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 3x1 "A"
+Cell at (0,1) = 3x1 "B"
+Cell at (0,2) = 1x1 "C"
+Cell at (1,0) = 3x1 "A"
+Cell at (1,1) = 3x1 "B"
+Cell at (1,2) = 1x1 ""
+Cell at (2,0) = 3x1 "A"
+Cell at (2,1) = 3x1 "B"
+Cell at (2,2) = 1x1 ""

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable14-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable14-input.html
new file mode 100644
index 0000000..121bad0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable14-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="3">A</td>
+      <td rowspan="3">B</td>
+      <td>C</td>
+    </tr>
+    <tr>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable15-expected.html b/experiments/editorFramework/test/Layer0/tables/fixTable15-expected.html
new file mode 100644
index 0000000..0fa26c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable15-expected.html
@@ -0,0 +1,31 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <table border="1" width="100%">
+      <tbody>
+        <tr>
+          <td rowspan="3">A</td>
+          <td rowspan="3">B</td>
+          <td>C</td>
+        </tr>
+        <tr>
+          <td>D</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+Cell at (0,0) = 3x1 "A"
+Cell at (0,1) = 3x1 "B"
+Cell at (0,2) = 1x1 "C"
+Cell at (1,0) = 3x1 "A"
+Cell at (1,1) = 3x1 "B"
+Cell at (1,2) = 1x1 "D"
+Cell at (2,0) = 3x1 "A"
+Cell at (2,1) = 3x1 "B"
+Cell at (2,2) = 1x1 ""

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/fixTable15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/fixTable15-input.html b/experiments/editorFramework/test/Layer0/tables/fixTable15-input.html
new file mode 100644
index 0000000..d3bafa4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/fixTable15-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    return showTableStructure();
+}
+</script>
+</head>
+<body>
+  <table border="1" width="100%">
+    <tr>
+      <td rowspan="3">A</td>
+      <td rowspan="3">B</td>
+      <td>C</td>
+    </tr>
+    <tr>
+      <td>D</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/formattingInCell01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/formattingInCell01-expected.html b/experiments/editorFramework/test/Layer0/tables/formattingInCell01-expected.html
new file mode 100644
index 0000000..485f9a0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/formattingInCell01-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              <span style="background-color: red">[]</span>
+              <br/>
+            </p>
+          </td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/formattingInCell01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/formattingInCell01-input.html b/experiments/editorFramework/test/Layer0/tables/formattingInCell01-input.html
new file mode 100644
index 0000000..d08626a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/formattingInCell01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(2,2,"100%",false,null);
+    PostponedActions_perform();
+
+    Formatting_applyFormattingChanges(null,{"background-color": "red"});
+    PostponedActions_perform();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/formattingInCell02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/formattingInCell02-expected.html b/experiments/editorFramework/test/Layer0/tables/formattingInCell02-expected.html
new file mode 100644
index 0000000..bef132b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/formattingInCell02-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td>
+            <p style="text-align: center">
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/formattingInCell02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/formattingInCell02-input.html b/experiments/editorFramework/test/Layer0/tables/formattingInCell02-input.html
new file mode 100644
index 0000000..770a8d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/formattingInCell02-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(2,2,"100%",false,null);
+    PostponedActions_perform();
+
+    Formatting_applyFormattingChanges(null,{"text-align": "center"});
+    PostponedActions_perform();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths01-expected.html b/experiments/editorFramework/test/Layer0/tables/getColWidths01-expected.html
new file mode 100644
index 0000000..6620841
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths01-expected.html
@@ -0,0 +1 @@
+[50,50]

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths01-input.html b/experiments/editorFramework/test/Layer0/tables/getColWidths01-input.html
new file mode 100644
index 0000000..f2a6aae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths01-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    var element = document.getElementsByTagName("table")[0];
+    var structure = Tables_analyseStructure(element);
+    return JSON.stringify(Tables_getColWidths(structure));
+}
+</script>
+</head>
+<body>
+  <table id="table1" border="1" width="100%">
+    <col width="50%">
+    <col width="50%">
+    <tr>
+      <td>0,0</td>
+      <td>0,1</td>
+    </tr>
+    <tr>
+      <td>1,0</td>
+      <td>1,1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths02-expected.html b/experiments/editorFramework/test/Layer0/tables/getColWidths02-expected.html
new file mode 100644
index 0000000..92abc0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths02-expected.html
@@ -0,0 +1 @@
+[33.333333333333336,66.66666666666667]

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths02-input.html b/experiments/editorFramework/test/Layer0/tables/getColWidths02-input.html
new file mode 100644
index 0000000..1e4b21a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    var element = document.getElementsByTagName("table")[0];
+    var structure = Tables_analyseStructure(element);
+    return JSON.stringify(Tables_getColWidths(structure));
+}
+</script>
+</head>
+<body>
+  <table id="table1" border="1" width="100%">
+    <col width="33%">
+    <col width="66%">
+    <tr>
+      <td>0,0</td>
+      <td>0,1</td>
+    </tr>
+    <tr>
+      <td>1,0</td>
+      <td>1,1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths03-expected.html b/experiments/editorFramework/test/Layer0/tables/getColWidths03-expected.html
new file mode 100644
index 0000000..6620841
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths03-expected.html
@@ -0,0 +1 @@
+[50,50]

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths03-input.html b/experiments/editorFramework/test/Layer0/tables/getColWidths03-input.html
new file mode 100644
index 0000000..5a73a46
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths03-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    var element = document.getElementsByTagName("table")[0];
+    var structure = Tables_analyseStructure(element);
+    return JSON.stringify(Tables_getColWidths(structure));
+}
+</script>
+</head>
+<body>
+  <table id="table1" border="1" width="100%">
+    <tr>
+      <td>0,0</td>
+      <td>0,1</td>
+    </tr>
+    <tr>
+      <td>1,0</td>
+      <td>1,1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths04-expected.html b/experiments/editorFramework/test/Layer0/tables/getColWidths04-expected.html
new file mode 100644
index 0000000..b294e57
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths04-expected.html
@@ -0,0 +1 @@
+[33.333333333333336,33.333333333333336,33.333333333333336]

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths04-input.html b/experiments/editorFramework/test/Layer0/tables/getColWidths04-input.html
new file mode 100644
index 0000000..d3a2e14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths04-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    var element = document.getElementsByTagName("table")[0];
+    var structure = Tables_analyseStructure(element);
+    return JSON.stringify(Tables_getColWidths(structure));
+}
+</script>
+</head>
+<body>
+  <table id="table1" border="1" width="100%">
+    <tr>
+      <td>0,0</td>
+      <td>0,1</td>
+      <td>0,2</td>
+    </tr>
+    <tr>
+      <td>1,0</td>
+      <td>1,1</td>
+      <td>1,2</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths05-expected.html b/experiments/editorFramework/test/Layer0/tables/getColWidths05-expected.html
new file mode 100644
index 0000000..6620841
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths05-expected.html
@@ -0,0 +1 @@
+[50,50]

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths05-input.html b/experiments/editorFramework/test/Layer0/tables/getColWidths05-input.html
new file mode 100644
index 0000000..8437ee7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    var element = document.getElementsByTagName("table")[0];
+    var structure = Tables_analyseStructure(element);
+    return JSON.stringify(Tables_getColWidths(structure));
+}
+</script>
+</head>
+<body>
+  <table id="table1" border="1" width="100%">
+    <col width="25%">
+    <tr>
+      <td>0,0</td>
+      <td>0,1</td>
+    </tr>
+    <tr>
+      <td>1,0</td>
+      <td>1,1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths06-expected.html b/experiments/editorFramework/test/Layer0/tables/getColWidths06-expected.html
new file mode 100644
index 0000000..314e445
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths06-expected.html
@@ -0,0 +1 @@
+[22.22222222222222,44.44444444444444,33.333333333333336]

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths06-input.html b/experiments/editorFramework/test/Layer0/tables/getColWidths06-input.html
new file mode 100644
index 0000000..43f2048
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths06-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    var element = document.getElementsByTagName("table")[0];
+    var structure = Tables_analyseStructure(element);
+    return JSON.stringify(Tables_getColWidths(structure));
+}
+</script>
+</head>
+<body>
+  <table id="table1" border="1" width="100%">
+    <col width="25%">
+    <col width="50%">
+    <tr>
+      <td>0,0</td>
+      <td>0,1</td>
+      <td>0,2</td>
+    </tr>
+    <tr>
+      <td>1,0</td>
+      <td>1,1</td>
+      <td>1,2</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths07-expected.html b/experiments/editorFramework/test/Layer0/tables/getColWidths07-expected.html
new file mode 100644
index 0000000..344da26
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths07-expected.html
@@ -0,0 +1 @@
+[20,30,25,25]

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/getColWidths07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/getColWidths07-input.html b/experiments/editorFramework/test/Layer0/tables/getColWidths07-input.html
new file mode 100644
index 0000000..a385944
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/getColWidths07-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="TableTests.js"></script>
+<script>
+function performTest()
+{
+    var element = document.getElementsByTagName("table")[0];
+    var structure = Tables_analyseStructure(element);
+    return JSON.stringify(Tables_getColWidths(structure));
+}
+</script>
+</head>
+<body>
+  <table id="table1" border="1" width="100%">
+    <col width="40%">
+    <col width="60%">
+    <tr>
+      <td>0,0</td>
+      <td>0,1</td>
+      <td>0,2</td>
+      <td>0,3</td>
+    </tr>
+    <tr>
+      <td>1,0</td>
+      <td>1,1</td>
+      <td>1,2</td>
+      <td>1,3</td>
+    </tr>
+  </table>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-expected.html
new file mode 100644
index 0000000..59292ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three]</td>
+          <td><p><br/></p></td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td colspan="3" rowspan="2">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td><p><br/></p></td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-input.html
new file mode 100644
index 0000000..356ec8e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn15-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three]</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="2" colspan="2">Seven</td>
+   </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+   </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-expected.html
new file mode 100644
index 0000000..88e61ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two]</td>
+          <td><p><br/></p></td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td><p><br/></p></td>
+          <td colspan="2" rowspan="2">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td><p><br/></p></td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-input.html
new file mode 100644
index 0000000..b182542
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn16-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two]</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="2" colspan="2">Seven</td>
+   </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+   </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn17-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn17-expected.html
new file mode 100644
index 0000000..90066ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn17-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <th>Four</th>
+          <th><p><br/></p></th>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <th>Twelve</th>
+          <th><p><br/></p></th>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen]</td>
+          <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/tables/addAdjacentColumn17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn17-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn17-input.html
new file mode 100644
index 0000000..31d7c3f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn17-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <th>Four</th>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <th>Twelve</th>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn18-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn18-expected.html
new file mode 100644
index 0000000..276629b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn18-expected.html
@@ -0,0 +1,44 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <th rowspan="2">Eight</th>
+          <th rowspan="2"><p><br/></p></th>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen]</td>
+          <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/tables/addAdjacentColumn18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn18-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn18-input.html
new file mode 100644
index 0000000..d03778a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn18-input.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <th rowspan="2">Eight</th>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+   </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-expected.html
new file mode 100644
index 0000000..e0db777
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-expected.html
@@ -0,0 +1,47 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    []
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-input.html
new file mode 100644
index 0000000..c322356
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn19-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  []<table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn20-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn20-expected.html
new file mode 100644
index 0000000..53a204e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn20-expected.html
@@ -0,0 +1,47 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+          <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/tables/addAdjacentColumn20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn20-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn20-input.html
new file mode 100644
index 0000000..4e38d64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn20-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow01-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow01-expected.html
new file mode 100644
index 0000000..fc73649
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow01-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen]</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/addAdjacentRow01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow01-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow01-input.html
new file mode 100644
index 0000000..90c77fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow01-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-expected.html
new file mode 100644
index 0000000..c4c8bf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve]</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-input.html
new file mode 100644
index 0000000..6f69946
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow02-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve]</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-expected.html
new file mode 100644
index 0000000..95f6a28
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four]</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-input.html
new file mode 100644
index 0000000..3506432
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow03-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four]</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow04-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow04-expected.html
new file mode 100644
index 0000000..68654ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow04-expected.html
@@ -0,0 +1,38 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td rowspan="3">Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td rowspan="2">Ten</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen]</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/addAdjacentRow04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow04-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow04-input.html
new file mode 100644
index 0000000..deb74d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow04-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td rowspan="2">Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-expected.html
new file mode 100644
index 0000000..4f73100
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-expected.html
@@ -0,0 +1,36 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td rowspan="4">Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine]</td>
+          <td rowspan="3">Ten</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-input.html
new file mode 100644
index 0000000..127ed7a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow05-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine]</td>
+      <td rowspan="2">Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-expected.html
new file mode 100644
index 0000000..6414f2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-expected.html
@@ -0,0 +1,37 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five]</td>
+          <td>Six</td>
+          <td rowspan="4">Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td rowspan="2">Ten</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-input.html
new file mode 100644
index 0000000..540d66d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow06-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five]</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td rowspan="2">Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-expected.html
new file mode 100644
index 0000000..620b516
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-expected.html
@@ -0,0 +1,38 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One]</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td rowspan="3">Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td rowspan="2">Ten</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-input.html
new file mode 100644
index 0000000..0723ced
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow07-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One]</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td rowspan="2">Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow08-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow08-expected.html
new file mode 100644
index 0000000..8797a86
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow08-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td rowspan="4">Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td rowspan="3">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td rowspan="2">Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen]</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/addAdjacentRow08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow08-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow08-input.html
new file mode 100644
index 0000000..6b85708
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow08-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td rowspan="4">Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td rowspan="2">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-expected.html
new file mode 100644
index 0000000..6e56678
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-expected.html
@@ -0,0 +1,32 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td rowspan="5">Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td rowspan="4">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine]</td>
+          <td rowspan="3">Ten</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-input.html
new file mode 100644
index 0000000..b4dd92f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow09-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td rowspan="4">Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine]</td>
+      <td rowspan="2">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-expected.html
new file mode 100644
index 0000000..eea0889
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-expected.html
@@ -0,0 +1,33 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td rowspan="5">Four</td>
+        </tr>
+        <tr>
+          <td>Five]</td>
+          <td>Six</td>
+          <td rowspan="4">Seven</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td rowspan="2">Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-input.html
new file mode 100644
index 0000000..1f9d4c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow10-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td rowspan="4">Four</td>
+    </tr>
+    <tr>
+      <td>Five]</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td rowspan="2">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-expected.html
new file mode 100644
index 0000000..30d4d73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-expected.html
@@ -0,0 +1,34 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One]</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td rowspan="5">Four</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td rowspan="3">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td rowspan="2">Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-input.html
new file mode 100644
index 0000000..9a5b27f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow11-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One]</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td rowspan="4">Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="3">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td rowspan="2">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow12-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow12-expected.html
new file mode 100644
index 0000000..ab8811a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow12-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen]</td>
+          <td colspan="2">Fourteen</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td colspan="2"><p><br/></p></td>
+          <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/tables/addAdjacentRow12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow12-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow12-input.html
new file mode 100644
index 0000000..b2c875e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow12-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen]</td>
+      <td colspan="2">Fourteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-expected.html
new file mode 100644
index 0000000..621d4cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-expected.html
@@ -0,0 +1,40 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine]</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td colspan="2">Fourteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-input.html
new file mode 100644
index 0000000..e87258b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow13-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine]</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td colspan="2">Fourteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow14-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow14-expected.html
new file mode 100644
index 0000000..7ae8830
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow14-expected.html
@@ -0,0 +1,37 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="2" rowspan="2">Ten</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen]</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td colspan="2"><p><br/></p></td>
+          <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/tables/addAdjacentRow14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow14-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow14-input.html
new file mode 100644
index 0000000..dfd3210
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow14-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="2" rowspan="2">Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-expected.html
new file mode 100644
index 0000000..1e2149b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-expected.html
@@ -0,0 +1,36 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine]</td>
+          <td colspan="2" rowspan="3">Ten</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-input.html
new file mode 100644
index 0000000..a2525bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow15-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine]</td>
+      <td colspan="2" rowspan="2">Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-expected.html
new file mode 100644
index 0000000..3bcaa2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-expected.html
@@ -0,0 +1,38 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five]</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="2" rowspan="2">Ten</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-input.html
new file mode 100644
index 0000000..f16bdbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow16-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five]</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="2" rowspan="2">Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow17-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow17-expected.html
new file mode 100644
index 0000000..0dd1683
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow17-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <th>Thirteen</th>
+          <td>Fourteen</td>
+          <th>Fifteen</th>
+          <td>Sixteen]</td>
+        </tr>
+        <tr>
+          <th><p><br/></p></th>
+          <td><p><br/></p></td>
+          <th><p><br/></p></th>
+          <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/tables/addAdjacentRow17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow17-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow17-input.html
new file mode 100644
index 0000000..57c4916
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow17-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <th>Thirteen</th>
+      <td>Fourteen</td>
+      <th>Fifteen</th>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow18-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow18-expected.html
new file mode 100644
index 0000000..8ac78b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow18-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <th colspan="2">Fourteen</th>
+          <td>Sixteen]</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <th colspan="2"><p><br/></p></th>
+          <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/tables/addAdjacentRow18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow18-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow18-input.html
new file mode 100644
index 0000000..4729df1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow18-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <th colspan="2">Fourteen</th>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-expected.html
new file mode 100644
index 0000000..c67b18f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-expected.html
@@ -0,0 +1,42 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    []
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-input.html
new file mode 100644
index 0000000..f87369a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow19-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  []<table style="width: 100%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow20-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow20-expected.html
new file mode 100644
index 0000000..2fb326a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow20-expected.html
@@ -0,0 +1,42 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/addAdjacentRow20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentRow20-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow20-input.html
new file mode 100644
index 0000000..83921d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentRow20-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement01-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement01-expected.html
new file mode 100644
index 0000000..e7ead65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement01-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <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/tables/addColElement01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement01-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement01-input.html
new file mode 100644
index 0000000..fbb49f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement01-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement02-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement02-expected.html
new file mode 100644
index 0000000..5cab571
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement02-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <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/tables/addColElement02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement02-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement02-input.html
new file mode 100644
index 0000000..03e69b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement02-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement03-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement03-expected.html
new file mode 100644
index 0000000..e7ead65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement03-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <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/tables/addColElement03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement03-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement03-input.html
new file mode 100644
index 0000000..c969769
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement03-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="11%">
+    <col width="11%">
+    <col width="11%">
+    <col width="11%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement04-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement04-expected.html
new file mode 100644
index 0000000..e7ead65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement04-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <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/tables/addColElement04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement04-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement04-input.html
new file mode 100644
index 0000000..de6e9f4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement04-input.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="117%">
+    <col width="117%">
+    <col width="117%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement05-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement05-expected.html
new file mode 100644
index 0000000..087c08e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement05-expected.html
@@ -0,0 +1,56 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="12%"/>
+        <col width="12%"/>
+        <col width="12%"/>
+        <col width="12%"/>
+        <col width="12%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+          <td>0, 5</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+          <td>1, 5</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+          <td>2, 5</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+          <td>3, 5]</td>
+          <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/tables/addColElement05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement05-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement05-input.html
new file mode 100644
index 0000000..02fb765
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement05-input.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="15%">
+    <col width="15%">
+    <col width="15%">
+    <col width="15%">
+    <col width="15%">
+    <col width="25%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+      <td>0, 5</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+      <td>1, 5</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+      <td>2, 5</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+      <td>3, 5]</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement06-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement06-expected.html
new file mode 100644
index 0000000..650537f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement06-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="40%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2]</td>
+          <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/tables/addColElement06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement06-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement06-input.html
new file mode 100644
index 0000000..431c56f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement06-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="50%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2]</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement07-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement07-expected.html
new file mode 100644
index 0000000..93c7abe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement07-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1">
+      <colgroup>
+        <col width="80px"/>
+        <col width="80px"/>
+        <col width="80px"/>
+        <col width="80px"/>
+        <col width="80px"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents18-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents18-input.html
new file mode 100644
index 0000000..74545ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents18-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[<p>Here <b><i><u>is some</u></i></b>] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents19-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents19-expected.html
new file mode 100644
index 0000000..838dc52
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents19-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><u>is some</u></i></b>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents19-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents19-input.html
new file mode 100644
index 0000000..c170bc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents19-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here [<b><i><u>is some</u></i></b> text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents20-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents20-expected.html
new file mode 100644
index 0000000..74d757e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents20-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>some text</p>
+    <p>And more text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents20-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents20-input.html
new file mode 100644
index 0000000..9e1d63b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents20-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here is [some text</p>
+<p>And more text] in another paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText01-expected.html b/experiments/editorFramework/test/Layer0/range/getText01-expected.html
new file mode 100644
index 0000000..f1aeccd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText01-expected.html
@@ -0,0 +1 @@
+"Here is some text"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText01-input.html b/experiments/editorFramework/test/Layer0/range/getText01-input.html
new file mode 100644
index 0000000..b3ca344
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText02-expected.html b/experiments/editorFramework/test/Layer0/range/getText02-expected.html
new file mode 100644
index 0000000..7dcad30
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText02-expected.html
@@ -0,0 +1 @@
+"is some"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText02-input.html b/experiments/editorFramework/test/Layer0/range/getText02-input.html
new file mode 100644
index 0000000..57d00a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText03-expected.html b/experiments/editorFramework/test/Layer0/range/getText03-expected.html
new file mode 100644
index 0000000..1dfaab6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText03-expected.html
@@ -0,0 +1 @@
+" is some "

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText03-input.html b/experiments/editorFramework/test/Layer0/range/getText03-input.html
new file mode 100644
index 0000000..5860eeb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here[ is some ]text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText04-expected.html b/experiments/editorFramework/test/Layer0/range/getText04-expected.html
new file mode 100644
index 0000000..bf9fd33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText04-expected.html
@@ -0,0 +1 @@
+"Here is some text\nAnd some more"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText04-input.html b/experiments/editorFramework/test/Layer0/range/getText04-input.html
new file mode 100644
index 0000000..2452223
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text</p>
+<p>And some more]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText05-expected.html b/experiments/editorFramework/test/Layer0/range/getText05-expected.html
new file mode 100644
index 0000000..0d2c6ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText05-expected.html
@@ -0,0 +1 @@
+"text\nAnd some"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText05-input.html b/experiments/editorFramework/test/Layer0/range/getText05-input.html
new file mode 100644
index 0000000..e15aadf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here is some [text</p>
+<p>And some] more</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText06-expected.html b/experiments/editorFramework/test/Layer0/range/getText06-expected.html
new file mode 100644
index 0000000..81f9138
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText06-expected.html
@@ -0,0 +1 @@
+" text\nAnd some "

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText06-input.html b/experiments/editorFramework/test/Layer0/range/getText06-input.html
new file mode 100644
index 0000000..41f177e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here is some[ text</p>
+<p>And some ]more</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText07-expected.html b/experiments/editorFramework/test/Layer0/range/getText07-expected.html
new file mode 100644
index 0000000..15b463a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText07-expected.html
@@ -0,0 +1 @@
+"Here is some text\n"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText07-input.html b/experiments/editorFramework/test/Layer0/range/getText07-input.html
new file mode 100644
index 0000000..e84e03e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text</p>
+<p>]And some more</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText08-expected.html b/experiments/editorFramework/test/Layer0/range/getText08-expected.html
new file mode 100644
index 0000000..25af782
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText08-expected.html
@@ -0,0 +1 @@
+"\nAnd some more"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText08-input.html b/experiments/editorFramework/test/Layer0/range/getText08-input.html
new file mode 100644
index 0000000..6c0580c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here is some text[</p>
+<p>And some more]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText09-expected.html b/experiments/editorFramework/test/Layer0/range/getText09-expected.html
new file mode 100644
index 0000000..bf9fd33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText09-expected.html
@@ -0,0 +1 @@
+"Here is some text\nAnd some more"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText09-input.html b/experiments/editorFramework/test/Layer0/range/getText09-input.html
new file mode 100644
index 0000000..9a655ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText09-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text</p>
+        
+<p>And some more]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText10-expected.html b/experiments/editorFramework/test/Layer0/range/getText10-expected.html
new file mode 100644
index 0000000..b4e560c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText10-expected.html
@@ -0,0 +1 @@
+"Here is some text\n x \nAnd some more"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText10-input.html b/experiments/editorFramework/test/Layer0/range/getText10-input.html
new file mode 100644
index 0000000..7d865b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText10-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text</p>
+   x     
+<p>And some more]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText11-expected.html b/experiments/editorFramework/test/Layer0/range/getText11-expected.html
new file mode 100644
index 0000000..bf9fd33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText11-expected.html
@@ -0,0 +1 @@
+"Here is some text\nAnd some more"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText11-input.html b/experiments/editorFramework/test/Layer0/range/getText11-input.html
new file mode 100644
index 0000000..8283d95
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText11-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p><b><i>[Here is some text</i></b></p>
+<p><u><s>And some more]</s></u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText12-expected.html b/experiments/editorFramework/test/Layer0/range/getText12-expected.html
new file mode 100644
index 0000000..15b463a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText12-expected.html
@@ -0,0 +1 @@
+"Here is some text\n"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText12-input.html b/experiments/editorFramework/test/Layer0/range/getText12-input.html
new file mode 100644
index 0000000..14b4fe8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText12-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p><b><i>[Here is some text</i></b></p>
+<p><u><s>]And some more</s></u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText13-expected.html b/experiments/editorFramework/test/Layer0/range/getText13-expected.html
new file mode 100644
index 0000000..25af782
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText13-expected.html
@@ -0,0 +1 @@
+"\nAnd some more"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText13-input.html b/experiments/editorFramework/test/Layer0/range/getText13-input.html
new file mode 100644
index 0000000..ed462dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText13-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p><b><i>Here is some text[</i></b></p>
+<p><u><s>And some more]</s></u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText14-expected.html b/experiments/editorFramework/test/Layer0/range/getText14-expected.html
new file mode 100644
index 0000000..063ee22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText14-expected.html
@@ -0,0 +1 @@
+"Here is some text\nAnd some more\nNow the final paragraph"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText14-input.html b/experiments/editorFramework/test/Layer0/range/getText14-input.html
new file mode 100644
index 0000000..7d866a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText14-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text</p>
+<p>And some more</p>
+<p>Now the final paragraph]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText15-expected.html b/experiments/editorFramework/test/Layer0/range/getText15-expected.html
new file mode 100644
index 0000000..a443d62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText15-expected.html
@@ -0,0 +1 @@
+"Here is some text\nAnd some more\n"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText15-input.html b/experiments/editorFramework/test/Layer0/range/getText15-input.html
new file mode 100644
index 0000000..673baf9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText15-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text</p>
+<p>And some more</p>
+<p>]Now the final paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText16-expected.html b/experiments/editorFramework/test/Layer0/range/getText16-expected.html
new file mode 100644
index 0000000..6a891e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText16-expected.html
@@ -0,0 +1 @@
+"\nAnd some more\nNow the final paragraph"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText16-input.html b/experiments/editorFramework/test/Layer0/range/getText16-input.html
new file mode 100644
index 0000000..7e03b4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText16-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here is some text[</p>
+<p>And some more</p>
+<p>Now the final paragraph]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText17-expected.html b/experiments/editorFramework/test/Layer0/range/getText17-expected.html
new file mode 100644
index 0000000..8e63e56
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText17-expected.html
@@ -0,0 +1 @@
+"some text\nAnd some more\nNow the final paragraph"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText17-input.html b/experiments/editorFramework/test/Layer0/range/getText17-input.html
new file mode 100644
index 0000000..17fa4ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText17-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here is [some text</p>
+<p>And some more</p>
+<p>Now the final paragraph]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText18-expected.html b/experiments/editorFramework/test/Layer0/range/getText18-expected.html
new file mode 100644
index 0000000..0a4b29e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText18-expected.html
@@ -0,0 +1 @@
+"Here is some text\nAnd some more\nNow the final"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText18-input.html b/experiments/editorFramework/test/Layer0/range/getText18-input.html
new file mode 100644
index 0000000..c9a4625
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText18-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text</p>
+<p>And some more</p>
+<p>Now the final] paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText19-expected.html b/experiments/editorFramework/test/Layer0/range/getText19-expected.html
new file mode 100644
index 0000000..2de0c30
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText19-expected.html
@@ -0,0 +1 @@
+"some text\nAnd some more\nNow the final"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText19-input.html b/experiments/editorFramework/test/Layer0/range/getText19-input.html
new file mode 100644
index 0000000..35a988a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText19-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here is [some text</p>
+<p>And some more</p>
+<p>Now the final] paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText20-expected.html b/experiments/editorFramework/test/Layer0/range/getText20-expected.html
new file mode 100644
index 0000000..25f009d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText20-expected.html
@@ -0,0 +1 @@
+"some text\none two \nAnd some more\nthree \nNow the final"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText20-input.html b/experiments/editorFramework/test/Layer0/range/getText20-input.html
new file mode 100644
index 0000000..d52006d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText20-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var text = Range_getText(range);
+    return JSON.stringify(text);
+}
+</script>
+</head>
+<body>
+<p>Here is [some text</p>
+
+  <span>one</span>
+  <span>two</span>
+
+<p>And some more</p>
+
+  <span>three</span>
+
+<p>Now the final] paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText21-expected.html b/experiments/editorFramework/test/Layer0/range/getText21-expected.html
new file mode 100644
index 0000000..8028402
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText21-expected.html
@@ -0,0 +1,6 @@
+At offset 0: ""
+At offset 1: ""
+At offset 2: ""
+At offset 3: ""
+At offset 4: ""
+At offset 5: ""

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/getText21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/getText21-input.html b/experiments/editorFramework/test/Layer0/range/getText21-input.html
new file mode 100644
index 0000000..a4752d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/getText21-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var output = new Array();
+    for (var i = 0; i <= p.childNodes.length; i++) {
+        var range = new Range(p,i,p,i);
+        output.push("At offset "+i+": "+JSON.stringify(Range_getText(range)));
+    }
+    return output.join("\n");
+}
+</script>
+</head>
+<body>
+<p>One <b>two</b> three <i>four</i> five</p>
+<p>Here is some text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent01-expected.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent01-expected.html
new file mode 100644
index 0000000..27ba77d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent01-expected.html
@@ -0,0 +1 @@
+true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent01-input.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent01-input.html
new file mode 100644
index 0000000..b0786a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    return ""+Range_hasContent(range);
+}
+</script>
+</head>
+<body>
+<p>[This is a test]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent02-expected.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent02-expected.html
new file mode 100644
index 0000000..27ba77d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent02-expected.html
@@ -0,0 +1 @@
+true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent02-input.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent02-input.html
new file mode 100644
index 0000000..a72791a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    return ""+Range_hasContent(range);
+}
+</script>
+</head>
+<body>
+<p>This is [a] test</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent03-expected.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent03-expected.html
new file mode 100644
index 0000000..c508d53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent03-expected.html
@@ -0,0 +1 @@
+false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent03-input.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent03-input.html
new file mode 100644
index 0000000..17ab443
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    return ""+Range_hasContent(range);
+}
+</script>
+</head>
+<body>
+<p>This is a[ ]test</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent04-expected.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent04-expected.html
new file mode 100644
index 0000000..27ba77d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent04-expected.html
@@ -0,0 +1 @@
+true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent04-input.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent04-input.html
new file mode 100644
index 0000000..329cf1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    return ""+Range_hasContent(range);
+}
+</script>
+</head>
+<body>
+<p><b>This [is   </b><b>   a] test</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent05-expected.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent05-expected.html
new file mode 100644
index 0000000..27ba77d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent05-expected.html
@@ -0,0 +1 @@
+true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent05-input.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent05-input.html
new file mode 100644
index 0000000..c4d3c18
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    return ""+Range_hasContent(range);
+}
+</script>
+</head>
+<body>
+<p><b>This is[   </b><b>   a] test</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent06-expected.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent06-expected.html
new file mode 100644
index 0000000..27ba77d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent06-expected.html
@@ -0,0 +1 @@
+true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent06-input.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent06-input.html
new file mode 100644
index 0000000..7a30453
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    return ""+Range_hasContent(range);
+}
+</script>
+</head>
+<body>
+<p><b>This [is   </b><b>   ]a test</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent07-expected.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent07-expected.html
new file mode 100644
index 0000000..c508d53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent07-expected.html
@@ -0,0 +1 @@
+false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/rangeHasContent07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/rangeHasContent07-input.html b/experiments/editorFramework/test/Layer0/range/rangeHasContent07-input.html
new file mode 100644
index 0000000..e1800ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/rangeHasContent07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    return ""+Range_hasContent(range);
+}
+</script>
+</head>
+<body>
+<p><b>This is[   </b><b>   ]a test</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/ScanTests.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/ScanTests.js b/experiments/editorFramework/test/Layer0/scan/ScanTests.js
new file mode 100644
index 0000000..15fb875
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/ScanTests.js
@@ -0,0 +1,34 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function testNext()
+{
+    var result = new Array();
+    Scan_reset();
+    var index = 0;
+    while (true) {
+        var paragraph = Scan_next();
+        if (paragraph == null)
+            break;
+        if (paragraph.sectionId != null)
+            result.push(index+" ("+paragraph.sectionId+"): "+JSON.stringify(paragraph.text));
+        else
+            result.push(index+": "+JSON.stringify(paragraph.text));
+        index++;
+    }
+    return result.join("\n");
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next01-expected.html b/experiments/editorFramework/test/Layer0/scan/next01-expected.html
new file mode 100644
index 0000000..fab096d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next01-expected.html
@@ -0,0 +1,4 @@
+0: "Paragraph 1"
+1: "Paragraph 2"
+2: "Paragraph 3"
+3: "Paragraph 4"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next01-input.html b/experiments/editorFramework/test/Layer0/scan/next01-input.html
new file mode 100644
index 0000000..f18246d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    return testNext();
+}
+</script>
+</head>
+<body>
+<p>Paragraph 1</p>
+<p>Paragraph 2</p>
+<p>Paragraph 3</p>
+<p>Paragraph 4</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next02-expected.html b/experiments/editorFramework/test/Layer0/scan/next02-expected.html
new file mode 100644
index 0000000..fab096d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next02-expected.html
@@ -0,0 +1,4 @@
+0: "Paragraph 1"
+1: "Paragraph 2"
+2: "Paragraph 3"
+3: "Paragraph 4"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next02-input.html b/experiments/editorFramework/test/Layer0/scan/next02-input.html
new file mode 100644
index 0000000..706ef07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next02-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    return testNext();
+}
+</script>
+</head>
+<body>
+
+<p>Paragraph 1</p>
+
+<p>Paragraph 2</p>
+
+<p>Paragraph 3</p>
+
+<p>Paragraph 4</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next03-expected.html b/experiments/editorFramework/test/Layer0/scan/next03-expected.html
new file mode 100644
index 0000000..7d6e3e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next03-expected.html
@@ -0,0 +1,7 @@
+0: "Paragraph 1"
+1: "\n\none\n\n"
+2: "Paragraph 2"
+3: "\n\none\ntwo\n\n"
+4: "Paragraph 3"
+5: "\n\none\ntwo\nthree\n\n"
+6: "Paragraph 4"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next03-input.html b/experiments/editorFramework/test/Layer0/scan/next03-input.html
new file mode 100644
index 0000000..e6cc426
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next03-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    return testNext();
+}
+</script>
+</head>
+<body>
+
+<p>Paragraph 1</p>
+
+one
+
+<p>Paragraph 2</p>
+
+<b>one</b>
+two
+
+<p>Paragraph 3</p>
+
+<b>one</b>
+two
+<i>three</i>
+
+<p>Paragraph 4</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next04-expected.html b/experiments/editorFramework/test/Layer0/scan/next04-expected.html
new file mode 100644
index 0000000..57f32de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next04-expected.html
@@ -0,0 +1,5 @@
+0: "\n\nBefore\n\n"
+1: "Item 1"
+2: "Item 2"
+3: "Item 3"
+4: "\n\nAfter\n\n\n\n"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next04-input.html b/experiments/editorFramework/test/Layer0/scan/next04-input.html
new file mode 100644
index 0000000..c09a938
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next04-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    return testNext();
+}
+</script>
+</head>
+<body>
+
+Before
+
+<ul>
+  <li>Item 1</li>
+  <li>Item 2</li>
+  <li>Item 3</li>
+</ul>
+
+After
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next05-expected.html b/experiments/editorFramework/test/Layer0/scan/next05-expected.html
new file mode 100644
index 0000000..182255b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next05-expected.html
@@ -0,0 +1,7 @@
+0: "\n\nBefore\n\n"
+1: "Cell 1,1"
+2: "Cell 1,2"
+3: "Cell 2,1"
+4: "Cell 2,2"
+5: "Table caption"
+6: "\n\nAfter\n\n\n\n"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next05-input.html b/experiments/editorFramework/test/Layer0/scan/next05-input.html
new file mode 100644
index 0000000..b8b2bf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next05-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    return testNext();
+}
+</script>
+</head>
+<body>
+
+Before
+
+<table>
+  <caption>Table caption</caption>
+  <tr>
+    <td>Cell 1,1</td>
+  </tr>
+  <tr>
+    <td>Cell 1,2</td>
+  </tr>
+  <tr>
+    <td>Cell 2,1</td>
+  </tr>
+  <tr>
+    <td>Cell 2,2</td>
+  </tr>
+</table>
+
+After
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next06-expected.html b/experiments/editorFramework/test/Layer0/scan/next06-expected.html
new file mode 100644
index 0000000..0af6556
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next06-expected.html
@@ -0,0 +1,3 @@
+0: "\n\nBefore\n\n"
+1: "Figure caption"
+2: "\n\nAfter\n\n\n\n"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next06-input.html b/experiments/editorFramework/test/Layer0/scan/next06-input.html
new file mode 100644
index 0000000..272c2c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next06-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    return testNext();
+}
+</script>
+</head>
+<body>
+
+Before
+
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Figure caption</figcaption>
+</figure>
+
+After
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next07-expected.html b/experiments/editorFramework/test/Layer0/scan/next07-expected.html
new file mode 100644
index 0000000..0df7a06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next07-expected.html
@@ -0,0 +1,4 @@
+0 (item1): "Section 1"
+1: "Content 1"
+2 (item2): "Section 2"
+3: "Content 2"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/next07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/next07-input.html b/experiments/editorFramework/test/Layer0/scan/next07-input.html
new file mode 100644
index 0000000..26dd1c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/next07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    return testNext();
+}
+</script>
+</head>
+<body>
+<h1 id="item1">Section 1</h1>
+<p>Content 1</p>
+<h1 id="item2">Section 2</h1>
+<p>Content 2</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch01-expected.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch01-expected.html
new file mode 100644
index 0000000..a058d93
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>FIRST quick brown</p>
+    <p>fox SECOND over</p>
+    <p>the lazy THIRD</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch01-input.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch01-input.html
new file mode 100644
index 0000000..a7543fc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch01-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+
+    Scan_replaceMatch(id1,"FIRST");
+    Scan_replaceMatch(id2,"SECOND");
+    Scan_replaceMatch(id3,"THIRD");
+}
+</script>
+</head>
+<body>
+<p>The quick brown</p>
+<p>fox jumps over</p>
+<p>the lazy dog</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch02-expected.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch02-expected.html
new file mode 100644
index 0000000..20c6760
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>FIRST quick SECOND</p>
+    <p>THIRD jumps FOURTH</p>
+    <p>FIFTH lazy SIXTH</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch02-input.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch02-input.html
new file mode 100644
index 0000000..46f4412
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch02-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    var id2 = Scan_addMatch(10,15);
+    Scan_showMatch(id1);
+    Scan_showMatch(id2);
+
+    Scan_next();
+    var id3 = Scan_addMatch(0,3);
+    var id4 = Scan_addMatch(10,14);
+    Scan_showMatch(id3);
+    Scan_showMatch(id4);
+
+    Scan_next();
+    var id5 = Scan_addMatch(0,3);
+    var id6 = Scan_addMatch(9,12);
+    Scan_showMatch(id5);
+    Scan_showMatch(id6);
+
+    Scan_replaceMatch(id1,"FIRST");
+    Scan_replaceMatch(id2,"SECOND");
+    Scan_replaceMatch(id3,"THIRD");
+    Scan_replaceMatch(id4,"FOURTH");
+    Scan_replaceMatch(id5,"FIFTH");
+    Scan_replaceMatch(id6,"SIXTH");
+}
+</script>
+</head>
+<body>
+<p>The quick brown</p>
+<p>fox jumps over</p>
+<p>the lazy dog</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch03-expected.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch03-expected.html
new file mode 100644
index 0000000..f3e8b8d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch03-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <u>FIRST</u>
+      quick brown
+    </p>
+    <p>
+      fox
+      <u>SECOND</u>
+      over
+    </p>
+    <p>
+      the lazy
+      <u>THIRD</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch03-input.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch03-input.html
new file mode 100644
index 0000000..461ba78
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch03-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+
+    Scan_replaceMatch(id1,"FIRST");
+    Scan_replaceMatch(id2,"SECOND");
+    Scan_replaceMatch(id3,"THIRD");
+}
+</script>
+</head>
+<body>
+<p><u>The</u> quick brown</p>
+<p>fox <u>jumps</u> over</p>
+<p>the lazy <u>dog</u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch04-expected.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch04-expected.html
new file mode 100644
index 0000000..29cd44c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch04-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <u>FIRST quick</u>
+      brown
+    </p>
+    <p><u>fox SECOND over</u></p>
+    <p>
+      the
+      <u>lazy THIRD</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch04-input.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch04-input.html
new file mode 100644
index 0000000..3b50989
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch04-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+
+    Scan_replaceMatch(id1,"FIRST");
+    Scan_replaceMatch(id2,"SECOND");
+    Scan_replaceMatch(id3,"THIRD");
+}
+</script>
+</head>
+<body>
+<p><u>The quick</u> brown</p>
+<p><u>fox jumps over</u></p>
+<p>the <u>lazy dog</u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch05-expected.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch05-expected.html
new file mode 100644
index 0000000..eecf8a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch05-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <u>FIRST</u>
+      quick brown
+    </p>
+    <p>fox SECOND over</p>
+    <p>the lazy THIRD</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/replaceMatch05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/replaceMatch05-input.html b/experiments/editorFramework/test/Layer0/scan/replaceMatch05-input.html
new file mode 100644
index 0000000..1ee73ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/replaceMatch05-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+
+    Scan_replaceMatch(id1,"FIRST");
+    Scan_replaceMatch(id2,"SECOND");
+    Scan_replaceMatch(id3,"THIRD");
+}
+</script>
+</head>
+<body>
+<p><u>Th</u>e quick brown</p>
+<p>fox j<u>ump</u>s over</p>
+<p>the lazy d<u>og</u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch01-expected.html b/experiments/editorFramework/test/Layer0/scan/showMatch01-expected.html
new file mode 100644
index 0000000..838844f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch01-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <span class="uxwrite-match">The</span>
+      quick brown
+    </p>
+    <p>
+      fox
+      <span class="uxwrite-match">jumps</span>
+      over
+    </p>
+    <p>
+      the lazy
+      <span class="uxwrite-match">dog</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch01-input.html b/experiments/editorFramework/test/Layer0/scan/showMatch01-input.html
new file mode 100644
index 0000000..409468f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+}
+</script>
+</head>
+<body>
+<p>The quick brown</p>
+<p>fox jumps over</p>
+<p>the lazy dog</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch02-expected.html b/experiments/editorFramework/test/Layer0/scan/showMatch02-expected.html
new file mode 100644
index 0000000..3e28704
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch02-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <span class="uxwrite-match">The</span>
+      quick
+      <span class="uxwrite-match">brown</span>
+    </p>
+    <p>
+      <span class="uxwrite-match">fox</span>
+      jumps
+      <span class="uxwrite-match">over</span>
+    </p>
+    <p>
+      <span class="uxwrite-match">the</span>
+      lazy
+      <span class="uxwrite-match">dog</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch02-input.html b/experiments/editorFramework/test/Layer0/scan/showMatch02-input.html
new file mode 100644
index 0000000..c0b29ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch02-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    var id2 = Scan_addMatch(10,15);
+    Scan_showMatch(id1);
+    Scan_showMatch(id2);
+
+    Scan_next();
+    var id3 = Scan_addMatch(0,3);
+    var id4 = Scan_addMatch(10,14);
+    Scan_showMatch(id3);
+    Scan_showMatch(id4);
+
+    Scan_next();
+    var id5 = Scan_addMatch(0,3);
+    var id6 = Scan_addMatch(9,12);
+    Scan_showMatch(id5);
+    Scan_showMatch(id6);
+}
+</script>
+</head>
+<body>
+<p>The quick brown</p>
+<p>fox jumps over</p>
+<p>the lazy dog</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch03-expected.html b/experiments/editorFramework/test/Layer0/scan/showMatch03-expected.html
new file mode 100644
index 0000000..74daee2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch03-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <u><span class="uxwrite-match">The</span></u>
+      quick brown
+    </p>
+    <p>
+      fox
+      <u><span class="uxwrite-match">jumps</span></u>
+      over
+    </p>
+    <p>
+      the lazy
+      <u><span class="uxwrite-match">dog</span></u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch03-input.html b/experiments/editorFramework/test/Layer0/scan/showMatch03-input.html
new file mode 100644
index 0000000..a8a2fb2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch03-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+}
+</script>
+</head>
+<body>
+<p><u>The</u> quick brown</p>
+<p>fox <u>jumps</u> over</p>
+<p>the lazy <u>dog</u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch04-expected.html b/experiments/editorFramework/test/Layer0/scan/showMatch04-expected.html
new file mode 100644
index 0000000..4987119
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch04-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <u><span class="uxwrite-match">The</span></u>
+      <u>quick</u>
+      brown
+    </p>
+    <p>
+      <u>fox</u>
+      <u><span class="uxwrite-match">jumps</span></u>
+      <u>over</u>
+    </p>
+    <p>
+      the
+      <u>lazy</u>
+      <u><span class="uxwrite-match">dog</span></u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch04-input.html b/experiments/editorFramework/test/Layer0/scan/showMatch04-input.html
new file mode 100644
index 0000000..42e7efb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+}
+</script>
+</head>
+<body>
+<p><u>The quick</u> brown</p>
+<p><u>fox jumps over</u></p>
+<p>the <u>lazy dog</u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch05-expected.html b/experiments/editorFramework/test/Layer0/scan/showMatch05-expected.html
new file mode 100644
index 0000000..73bfded
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch05-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <u><span class="uxwrite-match">Th</span></u>
+      <span class="uxwrite-match">e</span>
+      quick brown
+    </p>
+    <p>
+      fox
+      <span class="uxwrite-match">j</span>
+      <span class="uxwrite-match"><u>ump</u></span>
+      <span class="uxwrite-match">s</span>
+      over
+    </p>
+    <p>
+      the lazy
+      <span class="uxwrite-match">d</span>
+      <u><span class="uxwrite-match">og</span></u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/scan/showMatch05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/scan/showMatch05-input.html b/experiments/editorFramework/test/Layer0/scan/showMatch05-input.html
new file mode 100644
index 0000000..256fac6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/scan/showMatch05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script src="ScanTests.js"></script>
+<script>
+function performTest()
+{
+    Scan_reset();
+    Scan_next();
+    var id1 = Scan_addMatch(0,3);
+    Scan_showMatch(id1);
+    Scan_next();
+    var id2 = Scan_addMatch(4,9);
+    Scan_showMatch(id2);
+    Scan_next();
+    var id3 = Scan_addMatch(9,12);
+    Scan_showMatch(id3);
+}
+</script>
+</head>
+<body>
+<p><u>Th</u>e quick brown</p>
+<p>fox j<u>ump</u>s over</p>
+<p>the lazy d<u>og</u></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/PositionTests.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/PositionTests.js b/experiments/editorFramework/test/Layer0/selection/PositionTests.js
new file mode 100644
index 0000000..5b7810e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/PositionTests.js
@@ -0,0 +1,147 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function pad(str,length)
+{
+    str = ""+str;
+    while (str.length < length)
+        str += " ";
+    return str;
+}
+
+function selectRange(p,start,end)
+{
+    var paragraph = Text_analyseParagraph(new Position(p,0));
+    var startPos = Paragraph_positionAtOffset(paragraph,start);
+    var endPos = Paragraph_positionAtOffset(paragraph,end);
+    Selection_set(startPos.node,startPos.offset,endPos.node,endPos.offset);
+}
+
+function makeStringArray(input)
+{
+    var result = new Array();
+    for (var i = 0; i < input.length; i++)
+        result.push(input[i].toString());
+    return result;
+}
+
+function createTable(arrays)
+{
+    var maxLength = 0;
+    for (var col = 0; col < arrays.length; col++) {
+        if (maxLength < arrays[col].length)
+            maxLength = arrays[col].length;
+    }
+    var colWidths = new Array();
+    for (var col = 0; col < arrays.length; col++) {
+        var width = 0;
+        for (var row = 0; row < arrays[col].length; row++) {
+            if (width < arrays[col][row].length)
+                width = arrays[col][row].length;
+        }
+        colWidths.push(width);
+    }
+
+    var output = new Array();
+    var spacer = "   ->   ";
+    for (var row = 0; row < maxLength; row++) {
+        for (var col = 0; col < arrays.length; col++) {
+            if (col > 0)
+                output.push(spacer);
+            output.push(pad(arrays[col][row],colWidths[col]));
+        }
+        output.push("\n");
+    }
+    return output.join("");
+}
+
+function rangeString(text,start,end)
+{
+    return JSON.stringify(text.substring(0,start) + "[" +
+                          text.substring(start,end) + "]" +
+                          text.substring(end));
+}
+
+var positionList = null
+
+function setPositionList(newList)
+{
+    UndoManager_addAction(setPositionList,positionList);
+    if (newList == null)
+        positionList = null;
+    else
+        positionList = newList.map(function (pos) { return new Position(pos.node,pos.offset); });
+}
+
+function getPositionList()
+{
+    return positionList;
+}
+
+function positionTest(start1,end1,start2,end2)
+{
+    var ps = document.getElementsByTagName("P");
+
+    var p = ps[0];
+    var text = p.firstChild;
+
+    var testDescription = "From "+rangeString(text.nodeValue,start1,end1) + "\n" +
+                          "To   "+rangeString(text.nodeValue,start2,end2) + "\n";
+
+    var positions = new Array();
+    for (var i = 0; i <= text.length; i++)
+        positions.push(new Position(text,i));
+    setPositionList(positions);
+
+    var origStrings = makeStringArray(positions);
+    UndoManager_newGroup();
+
+    Position_trackWhileExecuting(positions,function() { selectRange(p,start1,end1); });
+    setPositionList(positions);
+    var strings1 = makeStringArray(positions);
+
+    UndoManager_newGroup();
+
+    Position_trackWhileExecuting(positions,function() { selectRange(p,start2,end2); });
+    setPositionList(positions);
+    var strings2 = makeStringArray(positions);
+
+    UndoManager_undo();
+    positions = getPositionList();
+    var undo1 = makeStringArray(positions);
+
+    UndoManager_undo();
+    positions = getPositionList();
+    var undo2 = makeStringArray(positions);
+
+    var checks = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        var str = "";
+        if (undo1[i] == strings1[i])
+            str += "YES";
+        else
+            str += "NO";
+
+        if (undo2[i] == origStrings[i])
+            str += "/YES";
+        else
+            str += "/NO";
+        checks.push(str);
+    }
+
+    return testDescription + "\n" + createTable([origStrings,strings1,strings2,checks]);
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table01-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table01-expected.html
new file mode 100644
index 0000000..a10ae78
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table01-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text [before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table01-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table01-input.html
new file mode 100644
index 0000000..3d4a006
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Tw]o</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table02-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table02-expected.html
new file mode 100644
index 0000000..81c8769
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table02-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text] after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table02-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table02-input.html
new file mode 100644
index 0000000..86fcafc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Tw[o</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text] after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table03-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table03-expected.html
new file mode 100644
index 0000000..492d9d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table03-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Tw[o</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>F]our</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table03-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table03-input.html
new file mode 100644
index 0000000..3e08247
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Tw[o</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>F]our</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table04-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table04-expected.html
new file mode 100644
index 0000000..1e5725f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table04-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text [before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text] after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table04-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table04-input.html
new file mode 100644
index 0000000..6b97c8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table04-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text] after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table05-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table05-expected.html
new file mode 100644
index 0000000..334ceb0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table05-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            [
+            <table>
+              <tbody>
+                <tr>
+                  <td>One</td>
+                  <td>Two</td>
+                </tr>
+                <tr>
+                  <td>Three</td>
+                  <td>Four</td>
+                </tr>
+              </tbody>
+            </table>
+            <table>
+              <tbody>
+                <tr>
+                  <td>Five</td>
+                  <td>Six</td>
+                </tr>
+                <tr>
+                  <td>Seven</td>
+                  <td>Eight</td>
+                </tr>
+              </tbody>
+            </table>
+            ]
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table05-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table05-input.html
new file mode 100644
index 0000000..2ec8be1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table05-input.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+
+<p>Text before</p>
+
+<table>
+  <tbody>
+    <tr>
+      <td>
+
+        <table>
+          <tbody>
+            <tr>
+              <td>One</td>
+              <td>T[wo</td>
+            </tr>
+            <tr>
+              <td>Three</td>
+              <td>Four</td>
+            </tr>
+          </tbody>
+        </table>
+
+        <table>
+          <tbody>
+            <tr>
+              <td>Five</td>
+              <td>Six</td>
+            </tr>
+            <tr>
+              <td>S]even</td>
+              <td>Eight</td>
+            </tr>
+          </tbody>
+        </table>
+
+      </td>
+    </tr>
+  </tbody>
+</table>
+
+<p>Text after</p>
+
+</body>
+</html>



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

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-nested07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-nested07-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-nested07-input.html
new file mode 100644
index 0000000..f087928
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-nested07-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("item15","item0","item1");
+
+    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-nested08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-nested08-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-nested08-expected.html
new file mode 100644
index 0000000..8849556
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-nested08-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="#item15">2 Section 15</a></p>
+      <p class="toc2"><a href="#item16">2.1 Section 16</a></p>
+      <p class="toc3"><a href="#item17">2.1.1 Section 17</a></p>
+      <p class="toc3"><a href="#item18">2.1.2 Section 18</a></p>
+      <p class="toc2"><a href="#item19">2.2 Section 19</a></p>
+      <p class="toc3"><a href="#item20">2.2.1 Section 20</a></p>
+      <p class="toc3"><a href="#item21">2.2.2 Section 21</a></p>
+      <p class="toc1"><a href="#item8">3 Section 8</a></p>
+      <p class="toc2"><a href="#item9">3.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">3.1.1 Section 10</a></p>
+      <p class="toc3"><a href="#item11">3.1.2 Section 11</a></p>
+      <p class="toc2"><a href="#item12">3.2 Section 12</a></p>
+      <p class="toc3"><a href="#item13">3.2.1 Section 13</a></p>
+      <p class="toc3"><a href="#item14">3.2.2 Section 14</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="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>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-nested08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-nested08-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-nested08-input.html
new file mode 100644
index 0000000..a0b11ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-nested08-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("item15","item0","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-nested09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-nested09-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-nested09-expected.html
new file mode 100644
index 0000000..f902343
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-nested09-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-nested09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-nested09-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-nested09-input.html
new file mode 100644
index 0000000..2fc53b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-nested09-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("item15","item0",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-newparent01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent01-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent01-expected.html
new file mode 100644
index 0000000..1fab687
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent01-expected.html
@@ -0,0 +1,42 @@
+<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="#item3">1.1 Section 3</a></p>
+      <p class="toc2"><a href="#item4">1.2 Section 4</a></p>
+      <p class="toc1"><a href="#item5">2 Section 5</a></p>
+      <p class="toc2"><a href="#item2">2.1 Section 2</a></p>
+      <p class="toc2"><a href="#item6">2.2 Section 6</a></p>
+      <p class="toc2"><a href="#item7">2.3 Section 7</a></p>
+      <p class="toc2"><a href="#item8">2.4 Section 8</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h2 id="item4">Section 4</h2>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h1 id="item5">Section 5</h1>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h2 id="item6">Section 6</h2>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h2 id="item7">Section 7</h2>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent01-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent01-input.html
new file mode 100644
index 0000000..042e104
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([3,3]);
+
+    Outline_moveSection("item2","item5","item6");
+
+    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-newparent02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent02-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent02-expected.html
new file mode 100644
index 0000000..6ce8c9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent02-expected.html
@@ -0,0 +1,42 @@
+<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="#item3">1.1 Section 3</a></p>
+      <p class="toc2"><a href="#item4">1.2 Section 4</a></p>
+      <p class="toc1"><a href="#item5">2 Section 5</a></p>
+      <p class="toc2"><a href="#item6">2.1 Section 6</a></p>
+      <p class="toc2"><a href="#item7">2.2 Section 7</a></p>
+      <p class="toc2"><a href="#item2">2.3 Section 2</a></p>
+      <p class="toc2"><a href="#item8">2.4 Section 8</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h2 id="item4">Section 4</h2>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h1 id="item5">Section 5</h1>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h2 id="item6">Section 6</h2>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h2 id="item7">Section 7</h2>
+    <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>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent02-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent02-input.html
new file mode 100644
index 0000000..a4d6de6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([3,3]);
+
+    Outline_moveSection("item2","item5","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-newparent03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent03-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent03-expected.html
new file mode 100644
index 0000000..ee72a43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent03-expected.html
@@ -0,0 +1,42 @@
+<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="#item3">1.1 Section 3</a></p>
+      <p class="toc2"><a href="#item4">1.2 Section 4</a></p>
+      <p class="toc1"><a href="#item5">2 Section 5</a></p>
+      <p class="toc2"><a href="#item6">2.1 Section 6</a></p>
+      <p class="toc2"><a href="#item7">2.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">2.3 Section 8</a></p>
+      <p class="toc2"><a href="#item2">2.4 Section 2</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h2 id="item4">Section 4</h2>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h1 id="item5">Section 5</h1>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h2 id="item6">Section 6</h2>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h2 id="item7">Section 7</h2>
+    <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>
+    <h2 id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent03-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent03-input.html
new file mode 100644
index 0000000..2562f4a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([3,3]);
+
+    Outline_moveSection("item2","item5",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-newparent04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent04-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent04-expected.html
new file mode 100644
index 0000000..92e1e8b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent04-expected.html
@@ -0,0 +1,42 @@
+<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="toc2"><a href="#item4">1.2 Section 4</a></p>
+      <p class="toc1"><a href="#item5">2 Section 5</a></p>
+      <p class="toc2"><a href="#item6">2.1 Section 6</a></p>
+      <p class="toc2"><a href="#item7">2.2 Section 7</a></p>
+      <p class="toc2"><a href="#item3">2.3 Section 3</a></p>
+      <p class="toc2"><a href="#item8">2.4 Section 8</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>
+    <h2 id="item4">Section 4</h2>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h1 id="item5">Section 5</h1>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h2 id="item6">Section 6</h2>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h2 id="item7">Section 7</h2>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h2 id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent04-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent04-input.html
new file mode 100644
index 0000000..7a5db7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([3,3]);
+
+    Outline_moveSection("item3","item5","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-newparent05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent05-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent05-expected.html
new file mode 100644
index 0000000..480e309
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent05-expected.html
@@ -0,0 +1,42 @@
+<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="toc2"><a href="#item3">1.2 Section 3</a></p>
+      <p class="toc1"><a href="#item5">2 Section 5</a></p>
+      <p class="toc2"><a href="#item6">2.1 Section 6</a></p>
+      <p class="toc2"><a href="#item7">2.2 Section 7</a></p>
+      <p class="toc2"><a href="#item4">2.3 Section 4</a></p>
+      <p class="toc2"><a href="#item8">2.4 Section 8</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>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item5">Section 5</h1>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h2 id="item6">Section 6</h2>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h2 id="item7">Section 7</h2>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 id="item4">Section 4</h2>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection-newparent05-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent05-input.html
new file mode 100644
index 0000000..19a7d12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection-newparent05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline([3,3]);
+
+    Outline_moveSection("item4","item5","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/moveSection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection01-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection01-expected.html
new file mode 100644
index 0000000..1c59c8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection01-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item2">2 Section 2</a></p>
+      <p class="toc1"><a href="#item3">3 Section 3</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection01-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection01-input.html
new file mode 100644
index 0000000..c62f03e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item1","item0","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/moveSection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection02-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection02-expected.html
new file mode 100644
index 0000000..ddd4dad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection02-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item2">1 Section 2</a></p>
+      <p class="toc1"><a href="#item1">2 Section 1</a></p>
+      <p class="toc1"><a href="#item3">3 Section 3</a></p>
+    </nav>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection02-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection02-input.html
new file mode 100644
index 0000000..cf444ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item1","item0","item3");
+
+    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/moveSection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection03-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection03-expected.html
new file mode 100644
index 0000000..3fcbe1d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection03-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item2">1 Section 2</a></p>
+      <p class="toc1"><a href="#item3">2 Section 3</a></p>
+      <p class="toc1"><a href="#item1">3 Section 1</a></p>
+    </nav>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection03-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection03-input.html
new file mode 100644
index 0000000..93bcf4e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item1","item0",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/moveSection04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection04-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection04-expected.html
new file mode 100644
index 0000000..ddd4dad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection04-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item2">1 Section 2</a></p>
+      <p class="toc1"><a href="#item1">2 Section 1</a></p>
+      <p class="toc1"><a href="#item3">3 Section 3</a></p>
+    </nav>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection04-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection04-input.html
new file mode 100644
index 0000000..2271dcb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item2","item0","item1");
+
+    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/moveSection05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection05-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection05-expected.html
new file mode 100644
index 0000000..1c59c8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection05-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item2">2 Section 2</a></p>
+      <p class="toc1"><a href="#item3">3 Section 3</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection05-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection05-input.html
new file mode 100644
index 0000000..7be9bdb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item2","item0","item3");
+
+    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/moveSection06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection06-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection06-expected.html
new file mode 100644
index 0000000..2fb4fbc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection06-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item3">2 Section 3</a></p>
+      <p class="toc1"><a href="#item2">3 Section 2</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection06-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection06-input.html
new file mode 100644
index 0000000..33d2ff9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection06-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item2","item0",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/moveSection07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection07-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection07-expected.html
new file mode 100644
index 0000000..2cb3971
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection07-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item3">1 Section 3</a></p>
+      <p class="toc1"><a href="#item1">2 Section 1</a></p>
+      <p class="toc1"><a href="#item2">3 Section 2</a></p>
+    </nav>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection07-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection07-input.html
new file mode 100644
index 0000000..869c7c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection07-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item3","item0","item1");
+
+    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/moveSection08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection08-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection08-expected.html
new file mode 100644
index 0000000..2fb4fbc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection08-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item3">2 Section 3</a></p>
+      <p class="toc1"><a href="#item2">3 Section 2</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection08-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection08-input.html
new file mode 100644
index 0000000..085c32a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection08-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item3","item0","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/moveSection09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection09-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection09-expected.html
new file mode 100644
index 0000000..1c59c8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection09-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item2">2 Section 2</a></p>
+      <p class="toc1"><a href="#item3">3 Section 3</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection09-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection09-input.html
new file mode 100644
index 0000000..1963112
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection09-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_moveSection("item3","item0",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/moveSection10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection10-expected.html b/experiments/editorFramework/test/Layer0/outline/moveSection10-expected.html
new file mode 100644
index 0000000..a5d6ee7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection10-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item3">2 Section 3</a></p>
+      <p class="toc1"><a href="#item2">3 Section 2</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item3">[]Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/moveSection10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/moveSection10-input.html b/experiments/editorFramework/test/Layer0/outline/moveSection10-input.html
new file mode 100644
index 0000000..5175204
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/moveSection10-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Selection_selectAll();
+
+    Outline_moveSection("item3",null,"item2");
+
+    Selection_preserveWhileExecuting(cleanupOutline);
+    showSelection();
+}
+</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/refTitle-figure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure01-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure01-expected.html
new file mode 100644
index 0000000..9735bee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure01-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+    1 First figure (item1)
+    2 Second figure (item2)
+    Third figure (item3)
+    Fourth figure (item4)
+Tables:
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Second figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Third figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Fourth figure</figcaption>
+    </figure>
+    <p>
+      First ref: Figure
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Figure
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Figure
+      <a href="#item3">Third figure</a>
+    </p>
+    <p>
+      Fourth ref: Figure
+      <a href="#item4">Fourth figure</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Third figure</a></p>
+    <p><a href="#item4">Fourth figure</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure01-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure01-input.html
new file mode 100644
index 0000000..8b62d5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure01-input.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var figcaptions = document.getElementsByTagName("figcaption");
+
+    // Add another set of references
+    for (var i = 0; i < figcaptions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
+<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
+<figure id="item3"><figcaption>Third figure</figcaption></figure>
+<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
+<p>First ref: Figure <a href="#item1"></a></p>
+<p>Second ref: Figure <a href="#item2"></a></p>
+<p>Third ref: Figure <a href="#item3"></a></p>
+<p>Fourth ref: Figure <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-expected.html
new file mode 100644
index 0000000..593bc82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-expected.html
@@ -0,0 +1,57 @@
+Sections:
+Figures:
+    1 First figureXYZ (item1)
+    2 Second figureXYZ (item2)
+    Third figureXYZ (item3)
+    Fourth figureXYZ (item4)
+Tables:
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      <figcaption>
+        First figure
+        XYZ
+      </figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>
+        Second figure
+        XYZ
+      </figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">
+        Third figure
+        XYZ
+      </figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">
+        Fourth figure
+        XYZ
+      </figcaption>
+    </figure>
+    <p>
+      First ref: Figure
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Figure
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Figure
+      <a href="#item3">Third figureXYZ</a>
+    </p>
+    <p>
+      Fourth ref: Figure
+      <a href="#item4">Fourth figureXYZ</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Third figureXYZ</a></p>
+    <p><a href="#item4">Fourth figureXYZ</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-input.html
new file mode 100644
index 0000000..2fdb7bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure02-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var figcaptions = document.getElementsByTagName("figcaption");
+
+    // Change figure caption
+    for (var i = 0; i < figcaptions.length; i++) {
+        DOM_appendChild(figcaptions[i],DOM_createTextNode(document,"XYZ"));
+    }
+
+    // Add another set of references
+    for (var i = 0; i < figcaptions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
+<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
+<figure id="item3"><figcaption>Third figure</figcaption></figure>
+<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
+<p>First ref: Figure <a href="#item1"></a></p>
+<p>Second ref: Figure <a href="#item2"></a></p>
+<p>Third ref: Figure <a href="#item3"></a></p>
+<p>Fourth ref: Figure <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-expected.html
new file mode 100644
index 0000000..bc2d68b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+    1 FiXYZrst figure (item1)
+    2 SeXYZcond figure (item2)
+    ThXYZird figure (item3)
+    FoXYZurth figure (item4)
+Tables:
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      <figcaption>FiXYZrst figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>SeXYZcond figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">ThXYZird figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">FoXYZurth figure</figcaption>
+    </figure>
+    <p>
+      First ref: Figure
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Figure
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Figure
+      <a href="#item3">ThXYZird figure</a>
+    </p>
+    <p>
+      Fourth ref: Figure
+      <a href="#item4">FoXYZurth figure</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">ThXYZird figure</a></p>
+    <p><a href="#item4">FoXYZurth figure</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-input.html
new file mode 100644
index 0000000..4e9e446
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure03-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var figcaptions = document.getElementsByTagName("figcaption");
+
+    // Change figure caption
+    for (var i = 0; i < figcaptions.length; i++) {
+        DOM_insertCharacters(figcaptions[i].lastChild,2,"XYZ");
+    }
+
+    // Add another set of references
+    for (var i = 0; i < figcaptions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
+<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
+<figure id="item3"><figcaption>Third figure</figcaption></figure>
+<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
+<p>First ref: Figure <a href="#item1"></a></p>
+<p>Second ref: Figure <a href="#item2"></a></p>
+<p>Third ref: Figure <a href="#item3"></a></p>
+<p>Fourth ref: Figure <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-expected.html
new file mode 100644
index 0000000..e1a3cba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+    1 Fit figure (item1)
+    2 Send figure (item2)
+    Thd figure (item3)
+    Foth figure (item4)
+Tables:
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      <figcaption>Fit figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Send figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Thd figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Foth figure</figcaption>
+    </figure>
+    <p>
+      First ref: Figure
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Figure
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Figure
+      <a href="#item3">Thd figure</a>
+    </p>
+    <p>
+      Fourth ref: Figure
+      <a href="#item4">Foth figure</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Thd figure</a></p>
+    <p><a href="#item4">Foth figure</a></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-input.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-input.html
new file mode 100644
index 0000000..6460bdd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure04-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var figcaptions = document.getElementsByTagName("figcaption");
+
+    // Change figure caption
+    for (var i = 0; i < figcaptions.length; i++) {
+        DOM_deleteCharacters(figcaptions[i].lastChild,2,4);
+    }
+
+    // Add another set of references
+    for (var i = 0; i < figcaptions.length; i++) {
+        var a = DOM_createElement(document,"A");
+        DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,a);
+        DOM_appendChild(document.body,p);
+    }
+
+    PostponedActions_perform();
+
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
+<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
+<figure id="item3"><figcaption>Third figure</figcaption></figure>
+<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
+<p>First ref: Figure <a href="#item1"></a></p>
+<p>Second ref: Figure <a href="#item2"></a></p>
+<p>Third ref: Figure <a href="#item3"></a></p>
+<p>Fourth ref: Figure <a href="#item4"></a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-expected.html b/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-expected.html
new file mode 100644
index 0000000..c32c9a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refTitle-figure05-expected.html
@@ -0,0 +1,45 @@
+Sections:
+Figures:
+    1 Figure A (item1)
+    2 Figure B (item2)
+    Figure C (item3)
+    Figure D (item4)
+Tables:
+<html>
+  <head>
+  </head>
+  <body>
+    <figure id="item1">
+      <figcaption>Figure A</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Figure B</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Figure C</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Figure D</figcaption>
+    </figure>
+    <p>
+      First ref: Figure
+      <a href="#item1">1</a>
+    </p>
+    <p>
+      Second ref: Figure
+      <a href="#item2">2</a>
+    </p>
+    <p>
+      Third ref: Figure
+      <a href="#item3">Figure C</a>
+    </p>
+    <p>
+      Fourth ref: Figure
+      <a href="#item4">Figure D</a>
+    </p>
+    <p><a href="#item1">1</a></p>
+    <p><a href="#item2">2</a></p>
+    <p><a href="#item3">Figure C</a></p>
+    <p><a href="#item4">Figure D</a></p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html
new file mode 100644
index 0000000..bc01f0d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]One</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html
new file mode 100644
index 0000000..3bb52c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html
new file mode 100644
index 0000000..44ecebc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>[]<br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html
new file mode 100644
index 0000000..3155de9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = __none
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html
new file mode 100644
index 0000000..c51de10
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li>[]</li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html
new file mode 100644
index 0000000..8df8306
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li></li></ul>
+<p>[]<br></p>
+<ol><li></li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html
new file mode 100644
index 0000000..bc4d838
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html
new file mode 100644
index 0000000..b1c736d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li>[]</li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html
new file mode 100644
index 0000000..d8606cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p>[]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html
new file mode 100644
index 0000000..3029f0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ol = true
+-uxwrite-in-ul = true
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html
new file mode 100644
index 0000000..5e967e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>[<br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p>]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html
new file mode 100644
index 0000000..4a533c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>[]One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html
new file mode 100644
index 0000000..066b825
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>[]Two</p>
+    <p>Three</p>
+    <p>Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html
new file mode 100644
index 0000000..b002e66
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>[]Three</p>
+    <p>Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html
new file mode 100644
index 0000000..22a8b15
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <p>[]Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html
new file mode 100644
index 0000000..6d0c59a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>[]Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html
new file mode 100644
index 0000000..a9084e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>[]Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html
new file mode 100644
index 0000000..533813c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>[]Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html
new file mode 100644
index 0000000..484ea8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>[]Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html
new file mode 100644
index 0000000..80f9bdd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>[]Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html
new file mode 100644
index 0000000..7528b72
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>[Four</p>
+        <p>Five</p>
+        <p>]Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html
new file mode 100644
index 0000000..04de696
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>color = blue</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html
new file mode 100644
index 0000000..e661b40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">One</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html
new file mode 100644
index 0000000..f2ad17d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html
new file mode 100644
index 0000000..2ebab16
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">One</span>
+  <span style="color: red">One</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html
new file mode 100644
index 0000000..f2ad17d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html
new file mode 100644
index 0000000..1913cdc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">One</span>
+  <span>One</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html
new file mode 100644
index 0000000..9fd1834
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>font-weight = bold</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html
new file mode 100644
index 0000000..1b0fb37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<b>One</b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html
new file mode 100644
index 0000000..d528395
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>font-style = italic</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html
new file mode 100644
index 0000000..a07ee13
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<i>One</i>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html
new file mode 100644
index 0000000..10929f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>text-decoration = underline</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html
new file mode 100644
index 0000000..80da476
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<u>One</u>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html
new file mode 100644
index 0000000..923b4c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>background-color = silver</p>
+    <p>color = blue</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html
new file mode 100644
index 0000000..41fbe35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p style="color: blue; background-color: silver">
+  [<span>One</span>
+  <span>Two</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html
new file mode 100644
index 0000000..6237be6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>background-color = silver</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html
new file mode 100644
index 0000000..28ea495
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p style="color: blue; background-color: silver">
+  [<span>One</span>
+  <span style="color: red">Two</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html
new file mode 100644
index 0000000..418a5c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>border-bottom-color = red</p>
+    <p>border-bottom-style = solid</p>
+    <p>border-left-color = red</p>
+    <p>border-left-style = solid</p>
+    <p>border-right-color = red</p>
+    <p>border-right-style = solid</p>
+    <p>border-top-color = red</p>
+    <p>border-top-style = solid</p>
+    <p>font-weight = bold</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html
new file mode 100644
index 0000000..8fcbff6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        if (names[i].match(/^border-image-/)) // Extra properties present in Chrome
+            continue;
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p style="border: 2px solid red">
+  [<b>One</b>
+</p>
+<p style="border: 1px solid red">
+  <b>Two</b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html
new file mode 100644
index 0000000..21a0838
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p.test</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html
new file mode 100644
index 0000000..207c566
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p class="test">[One]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html
new file mode 100644
index 0000000..2e704f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = h1</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html
new file mode 100644
index 0000000..d628c26
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<h1>[One]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html
new file mode 100644
index 0000000..3dc0859
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body/>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html
new file mode 100644
index 0000000..2b5408b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>[One</p>
+<h1>Two]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html
new file mode 100644
index 0000000..e6c71e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+.custom { border: 1px solid red }
+    </style>
+  </head>
+  <body>
+    <div>
+      <p>One</p>
+      <p class="custom">Two[]</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html
new file mode 100644
index 0000000..0744224
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.custom { border: 1px solid red }
+</style>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".custom",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html
new file mode 100644
index 0000000..fd1ba82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+.custom { border: 1px solid red }
+    </style>
+  </head>
+  <body>
+    <div>
+      <p class="custom">[One</p>
+      <p class="custom">Two</p>
+      <p class="custom">Three]</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html
new file mode 100644
index 0000000..8ac32d7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.custom { border: 1px solid red }
+</style>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".custom",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv02a-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv02a-expected.html
new file mode 100644
index 0000000..d1c7255
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv02a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <h1>Two[]</h1>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html
new file mode 100644
index 0000000..c12040d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv02b-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv02b-expected.html
new file mode 100644
index 0000000..1e76306
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv02b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <h1>[One</h1>
+      <h1>Two</h1>
+      <h1>Three]</h1>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html
new file mode 100644
index 0000000..a09aa19
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html
new file mode 100644
index 0000000..0981834
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <p style="text-align: center">Two[]</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html
new file mode 100644
index 0000000..001975d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-align": "center"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html
new file mode 100644
index 0000000..c2de6f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p style="text-align: center">[One</p>
+      <p style="text-align: center">Two</p>
+      <p style="text-align: center">Three]</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html
new file mode 100644
index 0000000..dddeda2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-align": "center"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html
new file mode 100644
index 0000000..b7e8db1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  <s style="color: blue">[Text]</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html
new file mode 100644
index 0000000..3566deb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue">Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html
new file mode 100644
index 0000000..e747faf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red"><s>Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html
new file mode 100644
index 0000000..5a36311
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+[<p>
+  <s style="color: blue">Text</s>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html
new file mode 100644
index 0000000..7a1be0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>[Text]</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html
new file mode 100644
index 0000000..f0dd4b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  [<s>Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html
new file mode 100644
index 0000000..e747faf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red"><s>Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html
new file mode 100644
index 0000000..7300b0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+[<p style="color: blue">
+  <s>Text</s>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html
new file mode 100644
index 0000000..2370b38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue">One</s>
+      <s style="color: red">Two</s>
+      <s style="color: blue">Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html
new file mode 100644
index 0000000..5145372
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  <s style="color: blue">One</s>
+  [<s style="color: blue">Two</s>]
+  <s style="color: blue">Three</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html
new file mode 100644
index 0000000..58ac194
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: red">One</s>
+      <s style="color: red">Two</s>
+      <s style="color: red">Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html
new file mode 100644
index 0000000..b65ea31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue">One</s>
+  <s style="color: blue">Two</s>
+  <s style="color: blue">Three</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html
new file mode 100644
index 0000000..4b6704a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red">
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html
new file mode 100644
index 0000000..e464f53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+[<p>
+  <s style="color: blue">One</s>
+  <s style="color: blue">Two</s>
+  <s style="color: blue">Three</s>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html
new file mode 100644
index 0000000..2370b38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue">One</s>
+      <s style="color: red">Two</s>
+      <s style="color: blue">Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html
new file mode 100644
index 0000000..11c8ebf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>One</s>
+  [<s>Two</s>]
+  <s>Three</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html
new file mode 100644
index 0000000..b6f62d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <i>Two</i>
+      <u>Three</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html
new file mode 100644
index 0000000..e0f4a5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+[<p>
+  <b>One</b>
+  <i>Two</i>
+  <u>Three</u>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html
new file mode 100644
index 0000000..992bc62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>One</b>
+      Two
+      <u>Three</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html
new file mode 100644
index 0000000..b87ad18
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": null});
+}
+</script>
+</head>
+<body>
+[<p>
+  <b>One</b>
+  <i>Two</i>
+  <u>Three</u>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html
new file mode 100644
index 0000000..2ac84c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>One</b>
+      <i>Two</i>
+      Three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html
new file mode 100644
index 0000000..752ae0a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-decoration": null});
+}
+</script>
+</head>
+<body>
+[<p>
+  <b>One</b>
+  <i>Two</i>
+  <u>Three</u>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html
new file mode 100644
index 0000000..4fcd27e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>One</s></b>
+      <s>Two</s>
+      <b><s>Three</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html
new file mode 100644
index 0000000..0f71544
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>One</s>
+    [<s>Two</s>]
+    <s>Three</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html
new file mode 100644
index 0000000..0143e4f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>One</s>
+    <s>Two</s>
+    <s>Three</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html
new file mode 100644
index 0000000..11d80d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<b>
+    <s>One</s>
+    <s>Two</s>
+    <s>Three</s>
+  </b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html
new file mode 100644
index 0000000..9f34271
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 18pt"><s>One</s></span>
+      <span style="font-size: 18pt"><s>Two</s></span>
+      <span style="color: blue; font-size: 18pt"><s>Three</s></span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html
new file mode 100644
index 0000000..d852e9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <span style="color: blue; font-size: 18pt">
+    <s>One</s>
+    [<s>Two</s>]
+    <s>Three</s>
+  </span>
+</p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-input.html
new file mode 100644
index 0000000..67dbe53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u.firstChild,2,u.firstChild,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three <u>Four</u></b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html
new file mode 100644
index 0000000..2ce8c68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+        </u>
+      </b>
+      <b><u>[]</u></b>
+      <b>
+        <u>
+          Four
+          <br/>
+          Five
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html
new file mode 100644
index 0000000..9d72929
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,2,u,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html
new file mode 100644
index 0000000..30e33ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b><u>[]</u></b>
+      <b>
+        <u>
+          Three
+          <br/>
+          Four
+          <br/>
+          Five
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html
new file mode 100644
index 0000000..668288a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html
new file mode 100644
index 0000000..20aba8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+          Four
+          <br/>
+          Five
+        </u>
+      </b>
+      <b><u>[]</u></b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html
new file mode 100644
index 0000000..7b0b3d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,5,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html
new file mode 100644
index 0000000..bee2071
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+        </u>
+      </b>
+      <b>
+        <u>
+          [Four
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>
+          Five
+          <br/>
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html
new file mode 100644
index 0000000..3696e5c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,2,u,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five<br></u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html
new file mode 100644
index 0000000..d60fec1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        <u>
+          [Three
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>
+          Four
+          <br/>
+          Five
+          <br/>
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html
new file mode 100644
index 0000000..941b295
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five<br></u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html
new file mode 100644
index 0000000..044db5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+          Four
+          <br/>
+        </u>
+      </b>
+      <b>
+        <u>
+          [Five
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html
new file mode 100644
index 0000000..e0f04d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,4,u,6);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five<br></u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html
new file mode 100644
index 0000000..9b485e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Three</u>
+      </b>
+      <b>
+        <u>
+          [
+          <br/>
+          Four
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>Five</u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html
new file mode 100644
index 0000000..4a37f40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,1,u,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html
new file mode 100644
index 0000000..6b492b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        <u>
+          [Three
+          <br/>
+          Four
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>Five</u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html
new file mode 100644
index 0000000..d101094
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html
new file mode 100644
index 0000000..f7e5904
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Three</u>
+      </b>
+      <b>
+        <u>
+          [
+          <br/>
+          Four
+          <br/>
+          Five]
+        </u>
+      </b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html
new file mode 100644
index 0000000..f95d420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,1,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html
new file mode 100644
index 0000000..cded002
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        <u>
+          [Three
+          <br/>
+          Four
+          <br/>
+          Five]
+        </u>
+      </b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html
new file mode 100644
index 0000000..4f655fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html
new file mode 100644
index 0000000..29b775a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">
+        Two
+        <a href="#">Thr</a>
+      </span>
+      <span style="color: red"><a href="#">[]</a></span>
+      <span style="color: red">
+        <a href="#">ee</a>
+        Four
+      </span>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html
new file mode 100644
index 0000000..c80eee6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a.firstChild,3,a.firstChild,3);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#">Three</a> Four</span> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html
new file mode 100644
index 0000000..12f3656
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">
+        Two
+        <a href="#">
+          Three
+          <br/>
+        </a>
+      </span>
+      <span style="color: red"><a href="#" id="testlink">[Four]</a></span>
+      <span style="color: red">
+        <a href="#">
+          <br/>
+          Five
+        </a>
+        Six
+      </span>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html
new file mode 100644
index 0000000..ee62a5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a,2,a,3);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#" id="testlink">Three<br>Four<br>Five</a> Six</span> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html
new file mode 100644
index 0000000..aa5b470
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">Two</span>
+      <span style="color: red">
+        <a href="#" id="testlink">
+          [Three
+          <br/>
+          ]
+        </a>
+      </span>
+      <span style="color: red">
+        <a href="#">
+          Four
+          <br/>
+          Five
+        </a>
+        Six
+      </span>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html
new file mode 100644
index 0000000..2c7c3e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a,0,a,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#" id="testlink">Three<br>Four<br>Five</a> Six</span> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html
new file mode 100644
index 0000000..549f5f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">
+        Two
+        <a href="#">
+          Three
+          <br/>
+          Four
+        </a>
+      </span>
+      <span style="color: red">
+        <a href="#" id="testlink">
+          [
+          <br/>
+          Five]
+        </a>
+      </span>
+      <span style="color: red">Six</span>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html
new file mode 100644
index 0000000..ea75034
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a,3,a,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#" id="testlink">Three<br>Four<br>Five</a> Six</span> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html
new file mode 100644
index 0000000..49e722f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <i>Fo</i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>
+            [ur
+            <br/>
+            Five
+          </i>
+          S]
+        </u>
+      </b>
+      <b>
+        <u>ix</u>
+        Seven
+      </b>
+      Eight
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html
new file mode 100644
index 0000000..70d1544
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(i.firstChild,2,u.lastChild,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three <i>Four<br>Five</i> Six</u> Seven</b> Eight</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html
new file mode 100644
index 0000000..f8e10c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Thr</u>
+      </b>
+      <b>
+        <u>
+          [ee
+          <i>
+            Four
+            <br/>
+            Fi]
+          </i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>ve</i>
+          Six
+        </u>
+        Seven
+      </b>
+      Eight
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html
new file mode 100644
index 0000000..8c00da8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u.firstChild,3,i.lastChild,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three <i>Four<br>Five</i> Six</u> Seven</b> Eight</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html
new file mode 100644
index 0000000..72260c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html
@@ -0,0 +1,37 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Three</u>
+      </b>
+      <b>
+        <u>
+          [
+          <br/>
+          Four
+          <i>
+            Five
+            <br/>
+            Six]
+          </i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>
+            <br/>
+            Seven
+          </i>
+          Eight
+          <br/>
+          Nine
+        </u>
+        Ten
+      </b>
+      Eleven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html
new file mode 100644
index 0000000..8691274
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,1,i,3);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four <i>Five<br>Six<br>Seven</i> Eight<br>Nine</u> Ten</b> Eleven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html
new file mode 100644
index 0000000..a34e2a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html
@@ -0,0 +1,38 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+          Four
+          <i>
+            Five
+            <br/>
+          </i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>
+            [Six
+            <br/>
+            Seven
+          </i>
+          Eight]
+        </u>
+      </b>
+      <b>
+        <u>
+          <br/>
+          Nine
+        </u>
+        Ten
+      </b>
+      Eleven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html
new file mode 100644
index 0000000..a73b844
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(i,2,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four <i>Five<br>Six<br>Seven</i> Eight<br>Nine</u> Ten</b> Eleven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html
new file mode 100644
index 0000000..165e68c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three]</b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html
new file mode 100644
index 0000000..8171d29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,4,b.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html
new file mode 100644
index 0000000..e6cbe37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[Two Three]</b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html
new file mode 100644
index 0000000..9c3af1d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,0,b.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html
new file mode 100644
index 0000000..8e08479
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html
new file mode 100644
index 0000000..ccd8543
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,4,b.firstChild,14);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html
new file mode 100644
index 0000000..cdb7e62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[Two Three Four]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html
new file mode 100644
index 0000000..d7bff68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,0,b.firstChild,14);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html
new file mode 100644
index 0000000..0be2f25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[]</b>
+      <b>Two Three Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html
new file mode 100644
index 0000000..751c2b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,0,b.firstChild,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html
new file mode 100644
index 0000000..1d0541a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[]</b>
+      <b>Three Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html
new file mode 100644
index 0000000..3691170
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,4,b.firstChild,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html
new file mode 100644
index 0000000..3321d81
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two Three Four</b>
+      <b>[]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html
new file mode 100644
index 0000000..32a4b62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,14,b.firstChild,14);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html
new file mode 100644
index 0000000..9b00e16
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four</b>
+      Five
+      <b>Six Seven]</b>
+      <b>Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html
new file mode 100644
index 0000000..ef9f400
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,4,b2.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html
new file mode 100644
index 0000000..de2bad9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[Two Three Four</b>
+      Five
+      <b>Six Seven]</b>
+      <b>Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html
new file mode 100644
index 0000000..b666083
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,0,b2.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html
new file mode 100644
index 0000000..faffb83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two Three Four</b>
+      <b>[</b>
+      Five
+      <b>Six Seven]</b>
+      <b>Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html
new file mode 100644
index 0000000..569f397
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,14,b2.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html
new file mode 100644
index 0000000..388cf2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four</b>
+      Five
+      <b>]</b>
+      <b>Six Seven Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html
new file mode 100644
index 0000000..1ee8569
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,4,b2.firstChild,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html
new file mode 100644
index 0000000..36cc022
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four</b>
+      Five
+      <b>Six Seven Eight]</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html
new file mode 100644
index 0000000..d7ae253
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,4,b2.firstChild,15);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html
new file mode 100644
index 0000000..c72ef07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        [
+        <br/>
+        Three
+        <br/>
+        ]
+      </b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html
new file mode 100644
index 0000000..882950e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,1,b,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html
new file mode 100644
index 0000000..ccb4460
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        [Two
+        <br/>
+        Three
+        <br/>
+        ]
+      </b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html
new file mode 100644
index 0000000..d8e9670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,0,b,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html
new file mode 100644
index 0000000..c62fd1b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        [
+        <br/>
+        Three
+        <br/>
+        Four]
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html
new file mode 100644
index 0000000..39ea86e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,1,b,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html
new file mode 100644
index 0000000..e10e46a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[]</b>
+      <b>
+        Two
+        <br/>
+        Three
+        <br/>
+        Four
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html
new file mode 100644
index 0000000..0bd12b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,0,b,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html
new file mode 100644
index 0000000..e1cd259
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <br/>
+      </b>
+      <b>[]</b>
+      <b>
+        Three
+        <br/>
+        Four
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html
new file mode 100644
index 0000000..c19ff7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,2,b,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html
new file mode 100644
index 0000000..899897f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <br/>
+        Three
+        <br/>
+        Four
+      </b>
+      <b>[]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html
new file mode 100644
index 0000000..99298f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,5,b,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html
new file mode 100644
index 0000000..9a828d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <s>Text1</s>
+        <s>Text2</s>
+        <s>Text3</s>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html
new file mode 100644
index 0000000..ccc961e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>
+    <s>Text2</s>
+    <s>Text3</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html
new file mode 100644
index 0000000..fc44fa4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <s>Text1</s>
+        <s>Text2</s>
+      </b>
+      <b><s>Text3</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html
new file mode 100644
index 0000000..60e20d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>
+    <s>Text2</s>]
+    <s>Text3</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html
new file mode 100644
index 0000000..439796f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>Text1</s></b>
+      <b>
+        <s>Text2</s>
+        <s>Text3</s>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html
new file mode 100644
index 0000000..5ea0229
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>Text1</s>
+    [<s>Text2</s>
+    <s>Text3</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html
new file mode 100644
index 0000000..bbdc2de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <i>
+          <s>Text1</s>
+          <s>Text2</s>
+          <s>Text3</s>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html
new file mode 100644
index 0000000..11210cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <i>
+      [<s>Text1</s>
+      <s>Text2</s>
+      <s>Text3</s>]
+    </i>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html
new file mode 100644
index 0000000..de87e0e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <i>
+          <s>Text1</s>
+          <s>Text2</s>
+        </i>
+      </b>
+      <b><i><s>Text3</s></i></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html
new file mode 100644
index 0000000..a3f0e53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <i>
+      [<s>Text1</s>
+      <s>Text2</s>]
+      <s>Text3</s>
+    </i>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html
new file mode 100644
index 0000000..ce33895
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><s>Text1</s></i></b>
+      <b>
+        <i>
+          <s>Text2</s>
+          <s>Text3</s>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html
new file mode 100644
index 0000000..256f488
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <i>
+      <s>Text1</s>
+      [<s>Text2</s>
+      <s>Text3</s>]
+    </i>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html b/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html
new file mode 100644
index 0000000..6bab67c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        Three Four
+      </b>
+      Five
+    </p>
+    <ul>
+      <li>Item 1</li>
+      <li>
+        Item
+        2
+      </li>
+      <li>Item 3</li>
+    </ul>
+    <p>
+      One
+      <b>Two Three Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html b/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html
new file mode 100644
index 0000000..ed5f644
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<!-- comment 0 -->
+<head>
+<script>
+function performTest()
+{
+    Main_removeUnsupportedInput();
+}
+</script>
+</head>
+<!-- comment 1 -->
+<body>
+<!-- comment 2 -->
+<p>One <b>Two <!-- comment 3 --> Three Four</b> Five</p>
+<ul>
+  <?php a ?>
+  <li>Item 1</li>
+  <!-- comment 4 -->
+  <li>Item <!-- comment 5 --> 2</li>
+  <li>Item 3</li>
+</ul>
+<p>One <b>Two Three Four</b><!-- comment 6 --> Five</p>
+</body>
+<!-- comment 7 -->
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html
new file mode 100644
index 0000000..abf8ea8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        DOM_deleteNode(document.getElementsByTagName("P")[0]);
+    });
+    showSelection();
+}
+</script>
+</head>
+<body><p>[]</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html
new file mode 100644
index 0000000..e0e8963
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        DOM_deleteNode(document.getElementsByTagName("P")[0]);
+    });
+    showSelection();
+}
+</script>
+</head>
+<body><p><b>[]</b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html
new file mode 100644
index 0000000..4e54134
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        DOM_deleteNode(document.getElementsByTagName("P")[0]);
+    });
+    showSelection();
+}
+</script>
+</head>
+<body><p><b><u>[x]</u></b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html
new file mode 100644
index 0000000..b48aa59
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html
@@ -0,0 +1,57 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P,0)
+Before: positions[2] = (BR#br1,0)
+Before: positions[3] = (P,1)
+Before: positions[4] = "|One"
+Before: positions[5] = "O|ne"
+Before: positions[6] = "On|e"
+Before: positions[7] = "One|"
+Before: positions[8] = (P,2)
+Before: positions[9] = "|Two"
+Before: positions[10] = "T|wo"
+Before: positions[11] = "Tw|o"
+Before: positions[12] = "Two|"
+Before: positions[13] = (P,3)
+Before: positions[14] = "|Three"
+Before: positions[15] = "T|hree"
+Before: positions[16] = "Th|ree"
+Before: positions[17] = "Thr|ee"
+Before: positions[18] = "Thre|e"
+Before: positions[19] = "Three|"
+Before: positions[20] = (P,4)
+Before: positions[21] = (BR#br2,0)
+Before: positions[22] = (P,5)
+Before: positions[23] = (BODY,1)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P,0)
+After: positions[2] = (BR#br1,0)
+After: positions[3] = (P,1)
+After: positions[4] = "|OneTwoThree" - changed from "|One"
+After: positions[5] = "O|neTwoThree" - changed from "O|ne"
+After: positions[6] = "On|eTwoThree" - changed from "On|e"
+After: positions[7] = "One|TwoThree" - changed from "One|"
+After: positions[8] = "One|TwoThree" - changed from (P,2)
+After: positions[9] = "One|TwoThree" - changed from "|Two"
+After: positions[10] = "OneT|woThree" - changed from "T|wo"
+After: positions[11] = "OneTw|oThree" - changed from "Tw|o"
+After: positions[12] = "OneTwo|Three" - changed from "Two|"
+After: positions[13] = "OneTwo|Three" - changed from (P,3)
+After: positions[14] = "OneTwo|Three" - changed from "|Three"
+After: positions[15] = "OneTwoT|hree" - changed from "T|hree"
+After: positions[16] = "OneTwoTh|ree" - changed from "Th|ree"
+After: positions[17] = "OneTwoThr|ee" - changed from "Thr|ee"
+After: positions[18] = "OneTwoThre|e" - changed from "Thre|e"
+After: positions[19] = "OneTwoThree|" - changed from "Three|"
+After: positions[20] = (P,2) - changed from (P,4)
+After: positions[21] = (BR#br2,0)
+After: positions[22] = (P,3) - changed from (P,5)
+After: positions[23] = (BODY,1)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html
new file mode 100644
index 0000000..6ca71bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function performTest()
+{
+    // DOM_wrapNode() should not affect any positions, because the node itself remains in the
+    // tree unmodified.
+
+    DOM_deleteAllChildren(document.body);
+    var p = DOM_createElement(document,"P");
+    var br1 = DOM_createElement(document,"BR");
+    var br2 = DOM_createElement(document,"BR");
+    DOM_setAttribute(br1,"id","br1");
+    DOM_setAttribute(br2,"id","br2");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_appendChild(p,br1);
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,br2);
+    DOM_appendChild(document.body,p);
+
+    var result = comparePositionsBeforeAndAfter(function() {
+        Formatting_mergeWithNeighbours(text2,Formatting_MERGEABLE_INLINE);
+    });
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+result+"\n-"));
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html
new file mode 100644
index 0000000..9f592e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html
@@ -0,0 +1,71 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P,0)
+Before: positions[2] = (SPAN#span1,0)
+Before: positions[3] = (P,1)
+Before: positions[4] = (SPAN#span2,0)
+Before: positions[5] = (BR#br1,0)
+Before: positions[6] = (SPAN#span2,1)
+Before: positions[7] = (BR#br2,0)
+Before: positions[8] = (SPAN#span2,2)
+Before: positions[9] = (BR#br3,0)
+Before: positions[10] = (SPAN#span2,3)
+Before: positions[11] = (P,2)
+Before: positions[12] = (SPAN#span3,0)
+Before: positions[13] = (BR#br4,0)
+Before: positions[14] = (SPAN#span3,1)
+Before: positions[15] = (BR#br5,0)
+Before: positions[16] = (SPAN#span3,2)
+Before: positions[17] = (BR#br6,0)
+Before: positions[18] = (SPAN#span3,3)
+Before: positions[19] = (P,3)
+Before: positions[20] = (SPAN#span4,0)
+Before: positions[21] = (BR#br7,0)
+Before: positions[22] = (SPAN#span4,1)
+Before: positions[23] = (BR#br8,0)
+Before: positions[24] = (SPAN#span4,2)
+Before: positions[25] = (BR#br9,0)
+Before: positions[26] = (SPAN#span4,3)
+Before: positions[27] = (P,4)
+Before: positions[28] = (SPAN#span5,0)
+Before: positions[29] = (P,5)
+Before: positions[30] = (BODY,1)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P,0)
+After: positions[2] = (SPAN#span1,0)
+After: positions[3] = (P,1)
+After: positions[4] = (SPAN#span2,0)
+After: positions[5] = (BR#br1,0)
+After: positions[6] = (SPAN#span2,1)
+After: positions[7] = (BR#br2,0)
+After: positions[8] = (SPAN#span2,2)
+After: positions[9] = (BR#br3,0)
+After: positions[10] = (SPAN#span2,3)
+After: positions[11] = (SPAN#span2,3) - changed from (P,2)
+After: positions[12] = (SPAN#span2,3) - changed from (SPAN#span3,0)
+After: positions[13] = (BR#br4,0)
+After: positions[14] = (SPAN#span2,4) - changed from (SPAN#span3,1)
+After: positions[15] = (BR#br5,0)
+After: positions[16] = (SPAN#span2,5) - changed from (SPAN#span3,2)
+After: positions[17] = (BR#br6,0)
+After: positions[18] = (SPAN#span2,6) - changed from (SPAN#span3,3)
+After: positions[19] = (SPAN#span2,6) - changed from (P,3)
+After: positions[20] = (SPAN#span2,6) - changed from (SPAN#span4,0)
+After: positions[21] = (BR#br7,0)
+After: positions[22] = (SPAN#span2,7) - changed from (SPAN#span4,1)
+After: positions[23] = (BR#br8,0)
+After: positions[24] = (SPAN#span2,8) - changed from (SPAN#span4,2)
+After: positions[25] = (BR#br9,0)
+After: positions[26] = (SPAN#span2,9) - changed from (SPAN#span4,3)
+After: positions[27] = (P,2) - changed from (P,4)
+After: positions[28] = (SPAN#span5,0)
+After: positions[29] = (P,3) - changed from (P,5)
+After: positions[30] = (BODY,1)
+-
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/PrettyPrinter.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/PrettyPrinter.js b/experiments/editorFramework/test/Layer0/PrettyPrinter.js
new file mode 100644
index 0000000..f18d7ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/PrettyPrinter.js
@@ -0,0 +1,226 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+(function() {
+
+    // Applicable options:
+    // keepSelectionHighlights (boolean)
+    // preserveCase (boolean)
+    // showNamespaceDetails (boolean)
+    // separateLines (boolean)
+
+    function getHTML(root,options)
+    {
+        var copy;
+        UndoManager_disableWhileExecuting(function() {
+            if (options == null)
+                options = new Object();
+            copy = DOM_cloneNode(root,true);
+            if (!options.keepSelectionHighlights)
+                removeSelectionSpans(copy);
+            for (var body = copy.firstChild; body != null; body = body.nextSibling) {
+                if (body.nodeName == "BODY") {
+                    DOM_removeAttribute(body,"style");
+                    DOM_removeAttribute(body,"contentEditable");
+                }
+            }
+        });
+
+        var output = new Array();
+        prettyPrint(output,options,copy,"");
+        return output.join("");
+    }
+
+    function removeSelectionSpans(root)
+    {
+        var checkMerge = new Array();
+        recurse(root);
+
+        for (var i = 0; i < checkMerge.length; i++) {
+            if (checkMerge[i].parentNode != null) { // if not already merged
+                Formatting_mergeWithNeighbours(checkMerge[i],{});
+            }
+        }
+
+        function recurse(node) {
+            if (isSelectionHighlight(node)) {
+                checkMerge.push(node.firstChild);
+                checkMerge.push(node.lastChild);
+                DOM_removeNodeButKeepChildren(node);
+            }
+            else {
+                var next;
+                for (var child = node.firstChild; child != null; child = next) {
+                    next = child.nextSibling;
+                    recurse(child);
+                }
+            }
+        }
+    }
+
+    function entityFix(str)
+    {
+        return str.replace(/\u00a0/g,"&nbsp;");
+    }
+
+    function singleDescendents(node)
+    {
+        var count = 0;
+        for (var child = node.firstChild; child != null; child = child.nextSibling) {
+            if ((child.nodeType == Node.TEXT_NODE) && (textNodeDisplayValue(child).length == 0))
+                continue;
+            count++;
+            if (count > 1)
+                return false;
+            if (!singleDescendents(child))
+                return false;
+        }
+        return true;
+    }
+
+    function sortCSSProperties(value)
+    {
+        // Make sure the CSS properties on the "style" attribute appear in a consistent order
+        var items = value.trim().split(/\s*;\s*/);
+        if ((items.length > 0) && (items[items.length-1] == ""))
+            items.length--;
+        items.sort();
+        return items.join("; ");
+    }
+
+    function attributeString(options,node)
+    {
+        // Make sure the attributes appear in a consistent order
+        var names = new Array();
+        for (var i = 0; i < node.attributes.length; i++) {
+            names.push(node.attributes[i].nodeName);
+        }
+        names.sort();
+        var str = "";
+        for (var i = 0; i < names.length; i++) {
+            var name = names[i];
+
+            var value = node.getAttribute(name);
+            if (name == "style")
+                value = sortCSSProperties(value);
+            var attr = node.getAttributeNode(name);
+            if (options.showNamespaceDetails) {
+                if ((attr.namespaceURI != null) || (attr.prefix != null))
+                    name = "{"+attr.namespaceURI+","+attr.prefix+","+attr.localName+"}"+name;
+            }
+            str += " "+name+"=\""+value+"\"";
+        }
+        return str;
+    }
+
+    function textNodeDisplayValue(node)
+    {
+        var value = entityFix(node.nodeValue);
+        if ((node.parentNode != null) &&
+            (node.parentNode.getAttribute("xml:space") != "preserve"))
+            value = value.trim();
+        return value;
+    }
+
+    function prettyPrintOneLine(output,options,node)
+    {
+        if ((node.nodeType == Node.ELEMENT_NODE) && (node.nodeName != "SCRIPT")) {
+            var name = options.preserveCase ? node.nodeName : node.nodeName.toLowerCase();
+            if (node.firstChild == null) {
+                output.push("<" + name + attributeString(options,node) + "/>");
+            }
+            else {
+                output.push("<" + name + attributeString(options,node) + ">");
+                for (var child = node.firstChild; child != null; child = child.nextSibling)
+                    prettyPrintOneLine(output,options,child);
+                output.push("</" + name + ">");
+            }
+        }
+        else if (node.nodeType == Node.TEXT_NODE) {
+            var value = textNodeDisplayValue(node);
+            if (value.length > 0)
+                output.push(value);
+        }
+        else if (node.nodeType == Node.COMMENT_NODE) {
+            output.push("<!--" + entityFix(node.nodeValue) + "-->\n");
+        }
+    }
+
+    function isContainer(node)
+    {
+        switch (node._type) {
+        case HTML_BODY:
+        case HTML_SECTION:
+        case HTML_FIGURE:
+        case HTML_TABLE:
+        case HTML_TBODY:
+        case HTML_THEAD:
+        case HTML_TFOOT:
+        case HTML_TR:
+        case HTML_DIV:
+        case HTML_UL:
+        case HTML_OL:
+        case HTML_NAV:
+        case HTML_COLGROUP:
+            return true;
+        default:
+            return false;
+        }
+    }
+
+    function prettyPrint(output,options,node,indent)
+    {
+        if ((node.nodeType == Node.ELEMENT_NODE) && (node.nodeName != "SCRIPT")) {
+            var name = options.preserveCase ? node.nodeName : node.nodeName.toLowerCase();
+            if (node.firstChild == null) {
+                output.push(indent + "<" + name + attributeString(options,node) + "/>\n");
+            }
+            else {
+                if (node._type == HTML_STYLE) {
+                    output.push(indent + "<" + name + attributeString(options,node) + ">\n");
+                    for (var child = node.firstChild; child != null; child = child.nextSibling)
+                        prettyPrint(output,options,child,"");
+                    output.push(indent + "</" + name + ">\n");
+                }
+                else if (!options.separateLines && singleDescendents(node) && !isContainer(node)) {
+                    output.push(indent);
+                    prettyPrintOneLine(output,options,node);
+                    output.push("\n");
+                }
+                else {
+                    output.push(indent + "<" + name + attributeString(options,node) + ">\n");
+                    for (var child = node.firstChild; child != null; child = child.nextSibling)
+                        prettyPrint(output,options,child,indent+"  ");
+                    output.push(indent + "</" + name + ">\n");
+                }
+            }
+        }
+        else if (node.nodeType == Node.TEXT_NODE) {
+            var value = textNodeDisplayValue(node);
+//            var value = JSON.stringify(node.nodeValue);
+            if (value.length > 0)
+                output.push(indent + value + "\n");
+        }
+        else if (node.nodeType == Node.COMMENT_NODE) {
+            output.push(indent + "<!--" + entityFix(node.nodeValue) + "-->\n");
+        }
+    }
+
+    window.PrettyPrinter = new Object();
+    window.PrettyPrinter.getHTML = getHTML;
+
+})();

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/AutoCorrectTests.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/AutoCorrectTests.js b/experiments/editorFramework/test/Layer0/autocorrect/AutoCorrectTests.js
new file mode 100644
index 0000000..fdc771d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/AutoCorrectTests.js
@@ -0,0 +1,50 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function findTextMatching(re)
+{
+    return recurse(document.body);
+
+    function recurse(node)
+    {
+        if (node.nodeType == Node.TEXT_NODE) {
+            if (node.nodeValue.match(re))
+                return node;
+            else
+                return null;
+        }
+        else {
+            for (var child = node.firstChild; child != null; child = child.nextSibling) {
+                var result = recurse(child);
+                if (result != null)
+                    return result;
+            }
+            return null;
+        }
+    }
+}
+
+function showCorrections()
+{
+    var corrections = AutoCorrect_getCorrections();
+    var lines = new Array();
+    lines.push("Corrections:\n");
+    for (var i = 0; i < corrections.length; i++) {
+        lines.push("    "+corrections[i].original+" -> "+corrections[i].replacement+"\n");
+    }
+    return PrettyPrinter.getHTML(document.documentElement)+"\n"+lines.join("");
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-expected.html
new file mode 100644
index 0000000..3399e01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-expected.html
@@ -0,0 +1,50 @@
+<html>
+  <head>
+  </head>
+  <body>
+    ==================== Version 0 ====================
+    <body>
+      <p>
+        one
+        <span class="uxwrite-autocorrect" original="twox">two</span>
+        three
+        <span class="uxwrite-autocorrect" original="fourx">four</span>
+        five
+        <span class="uxwrite-autocorrect" original="sixx">six</span>
+        seven[]
+      </p>
+    </body>
+    ==================== Version 1 ====================
+    <body>
+      <p>
+        one
+        <span class="uxwrite-autocorrect" original="twox">two</span>
+        three
+        <span class="uxwrite-autocorrect" original="fourx">four</span>
+        five six seven[]
+      </p>
+    </body>
+    ==================== Version 2 ====================
+    <body>
+      <p>
+        one
+        <span class="uxwrite-autocorrect" original="twox">two</span>
+        three four five six seven[]
+      </p>
+    </body>
+    ==================== Version 3 ====================
+    <body>
+      <p>one two three four five six seven[]</p>
+    </body>
+    ===================================================
+    First undo to version 2: OK
+    First undo to version 1: OK
+    First undo to version 0: OK
+    Redo to version 1: OK
+    Redo to version 2: OK
+    Redo to version 3: OK
+    Second undo to version 2: OK
+    Second undo to version 1: OK
+    Second undo to version 0: OK
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-input.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-input.html
new file mode 100644
index 0000000..a0a703a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection-undo-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script src="../undo/UndoTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    UndoManager_clear();
+    var versions = new Array();
+    versions.push(DOM_cloneNode(document.body,true));
+    for (var i = 0; i < 3; i++) {
+        AutoCorrect_acceptCorrection();
+        PostponedActions_perform();
+        versions.push(DOM_cloneNode(document.body,true));
+    }
+
+    testUndo(versions,document.body);
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-expected.html
new file mode 100644
index 0000000..5311c9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three four five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-input.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-input.html
new file mode 100644
index 0000000..1fc0ff4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection01-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    AutoCorrect_acceptCorrection();
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-expected.html
new file mode 100644
index 0000000..2257b03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>one two three four five[]</p>
+  </body>
+</html>
+
+Corrections:

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-input.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-input.html
new file mode 100644
index 0000000..96e9be0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection02-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    AutoCorrect_acceptCorrection();
+    AutoCorrect_acceptCorrection();
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-expected.html
new file mode 100644
index 0000000..b1afd1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one two three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five
+      <span class="uxwrite-autocorrect" original="sixx">six</span>
+      seven[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    fourx -> four
+    sixx -> six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-input.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-input.html
new file mode 100644
index 0000000..dc26563
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection03-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching("two");
+    Selection_set(text,0,text,0);
+
+    AutoCorrect_acceptCorrection();
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-expected.html
new file mode 100644
index 0000000..9671757
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three four five
+      <span class="uxwrite-autocorrect" original="sixx">six</span>
+      seven[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two
+    sixx -> six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-input.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-input.html
new file mode 100644
index 0000000..8de93eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection04-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching("four");
+    Selection_set(text,0,text,0);
+
+    AutoCorrect_acceptCorrection();
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-expected.html
new file mode 100644
index 0000000..00fdf45
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five six seven[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two
+    fourx -> four

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-input.html b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-input.html
new file mode 100644
index 0000000..6e724b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/acceptCorrection05-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching("six");
+    Selection_set(text,0,text,0);
+
+    AutoCorrect_acceptCorrection();
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-expected.html
new file mode 100644
index 0000000..9d04b6a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one a three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    fourx -> four

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-input.html b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-input.html
new file mode 100644
index 0000000..45e7519
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection01-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching(/two/);
+    text.nodeValue = "a";
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-expected.html
new file mode 100644
index 0000000..717beb5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three a five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-input.html b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-input.html
new file mode 100644
index 0000000..d3b1943
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/changeCorrection02-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching(/four/);
+    text.nodeValue = "a";
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-expected.html
new file mode 100644
index 0000000..f8ac7aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two
+    fourx -> four

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-input.html b/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-input.html
new file mode 100644
index 0000000..7bb437e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/correctPrecedingWord01-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-expected.html
new file mode 100644
index 0000000..00dd985
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    fourx -> four

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-input.html b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-input.html
new file mode 100644
index 0000000..929d768
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection01-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching(/two/);
+    DOM_deleteNode(text.parentNode);
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-expected.html
new file mode 100644
index 0000000..350dd7d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-input.html b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-input.html
new file mode 100644
index 0000000..59ce3db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removeCorrection02-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching(/four/);
+    DOM_deleteNode(text.parentNode);
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-expected.html
new file mode 100644
index 0000000..f56d240
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>the</p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-input.html b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-input.html
new file mode 100644
index 0000000..4ce93b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan01-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("teh");
+    AutoCorrect_correctPrecedingWord(3,"the");
+    Cursor_insertCharacter(" ");
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    Cursor_enterPressed();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-expected.html
new file mode 100644
index 0000000..1815348
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>th[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-input.html b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-input.html
new file mode 100644
index 0000000..9870e03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("teh");
+    AutoCorrect_correctPrecedingWord(3,"the");
+    Cursor_insertCharacter(" ");
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-expected.html
new file mode 100644
index 0000000..b0c230d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>thex[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-input.html b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-input.html
new file mode 100644
index 0000000..71bcc2c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/removedSpan03-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("teh");
+    AutoCorrect_correctPrecedingWord(3,"the");
+    Cursor_insertCharacter(" ");
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    PostponedActions_perform();
+    Cursor_insertCharacter("x");
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-expected.html
new file mode 100644
index 0000000..badefe7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-expected.html
@@ -0,0 +1,50 @@
+<html>
+  <head>
+  </head>
+  <body>
+    ==================== Version 0 ====================
+    <body>
+      <p>
+        one
+        <span class="uxwrite-autocorrect" original="twox">two</span>
+        three
+        <span class="uxwrite-autocorrect" original="fourx">four</span>
+        five
+        <span class="uxwrite-autocorrect" original="sixx">six</span>
+        seven[]
+      </p>
+    </body>
+    ==================== Version 1 ====================
+    <body>
+      <p>
+        one
+        <span class="uxwrite-autocorrect" original="twox">two</span>
+        three
+        <span class="uxwrite-autocorrect" original="fourx">four</span>
+        five r1 seven[]
+      </p>
+    </body>
+    ==================== Version 2 ====================
+    <body>
+      <p>
+        one
+        <span class="uxwrite-autocorrect" original="twox">two</span>
+        three r2 five r1 seven[]
+      </p>
+    </body>
+    ==================== Version 3 ====================
+    <body>
+      <p>one r3 three r2 five r1 seven[]</p>
+    </body>
+    ===================================================
+    First undo to version 2: OK
+    First undo to version 1: OK
+    First undo to version 0: OK
+    Redo to version 1: OK
+    Redo to version 2: OK
+    Redo to version 3: OK
+    Second undo to version 2: OK
+    Second undo to version 1: OK
+    Second undo to version 0: OK
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-input.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-input.html
new file mode 100644
index 0000000..e08e838
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection-undo-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script src="../undo/UndoTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    UndoManager_clear();
+    var versions = new Array();
+    versions.push(DOM_cloneNode(document.body,true));
+    for (var i = 0; i < 3; i++) {
+        AutoCorrect_replaceCorrection("r"+(i+1));
+        PostponedActions_perform();
+        versions.push(DOM_cloneNode(document.body,true));
+    }
+
+    testUndo(versions,document.body);
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-expected.html
new file mode 100644
index 0000000..c253fcd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three A five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-input.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-input.html
new file mode 100644
index 0000000..04574d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection01-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    AutoCorrect_replaceCorrection("A");
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-expected.html
new file mode 100644
index 0000000..659ad6f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>one B three A five[]</p>
+  </body>
+</html>
+
+Corrections:

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-input.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-input.html
new file mode 100644
index 0000000..d6fb6d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection02-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    PostponedActions_perform();
+    showSelection();
+
+    AutoCorrect_replaceCorrection("A");
+    AutoCorrect_replaceCorrection("B");
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-expected.html
new file mode 100644
index 0000000..024b644
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one A three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five
+      <span class="uxwrite-autocorrect" original="sixx">six</span>
+      seven[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    fourx -> four
+    sixx -> six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-input.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-input.html
new file mode 100644
index 0000000..7e49201
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection03-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching("two");
+    Selection_set(text,0,text,0);
+
+    AutoCorrect_replaceCorrection("A");
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-expected.html
new file mode 100644
index 0000000..ebc4b54
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three A five
+      <span class="uxwrite-autocorrect" original="sixx">six</span>
+      seven[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two
+    sixx -> six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-input.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-input.html
new file mode 100644
index 0000000..9a47a03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection04-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching("four");
+    Selection_set(text,0,text,0);
+
+    AutoCorrect_replaceCorrection("A");
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-expected.html
new file mode 100644
index 0000000..5650843
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five A seven[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two
+    fourx -> four

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-input.html b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-input.html
new file mode 100644
index 0000000..1d3b2ea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/replaceCorrection05-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    Cursor_insertCharacter(" five");
+    Cursor_insertCharacter(" sixx");
+    AutoCorrect_correctPrecedingWord(4,"six");
+    Cursor_insertCharacter(" seven");
+    PostponedActions_perform();
+    showSelection();
+
+    var text = findTextMatching("six");
+    Selection_set(text,0,text,0);
+
+    AutoCorrect_replaceCorrection("A");
+    PostponedActions_perform();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo01-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/undo01-expected.html
new file mode 100644
index 0000000..f8ac7aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo01-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two
+    fourx -> four

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo01-input.html b/experiments/editorFramework/test/Layer0/autocorrect/undo01-input.html
new file mode 100644
index 0000000..35900a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo01-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" five");
+
+    for (var i = 0; i < 0; i++) {
+        UndoManager_undo();
+    }
+
+    showSelection();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo02-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/undo02-expected.html
new file mode 100644
index 0000000..52d8d22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      []
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo02-input.html b/experiments/editorFramework/test/Layer0/autocorrect/undo02-input.html
new file mode 100644
index 0000000..5dc1bc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo02-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" five");
+
+    for (var i = 0; i < 3; i++) {
+        UndoManager_undo();
+    }
+
+    showSelection();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo03-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/undo03-expected.html
new file mode 100644
index 0000000..0280119
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>one twox[]</p>
+  </body>
+</html>
+
+Corrections:

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo03-input.html b/experiments/editorFramework/test/Layer0/autocorrect/undo03-input.html
new file mode 100644
index 0000000..3e14c8d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo03-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" five");
+
+    for (var i = 0; i < 4; i++) {
+        UndoManager_undo();
+    }
+
+    showSelection();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo04-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/undo04-expected.html
new file mode 100644
index 0000000..f8ac7aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five[]
+    </p>
+  </body>
+</html>
+
+Corrections:
+    twox -> two
+    fourx -> four

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo04-input.html b/experiments/editorFramework/test/Layer0/autocorrect/undo04-input.html
new file mode 100644
index 0000000..84b9809
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo04-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    AutoCorrect_correctPrecedingWord(5,"four");
+    PostponedActions_perform();
+    Cursor_insertCharacter(" five");
+
+    for (var i = 0; i < 4; i++) {
+        UndoManager_undo();
+    }
+    for (var i = 0; i < 4; i++) {
+        UndoManager_redo();
+    }
+
+    showSelection();
+
+    return showCorrections();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo05-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/undo05-expected.html
new file mode 100644
index 0000000..c664a24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo05-expected.html
@@ -0,0 +1,52 @@
+<html>
+  <head>
+  </head>
+  <body>
+    ==================== Version 0 ====================
+    <p></p>
+    ==================== Version 1 ====================
+    <p>one twox</p>
+    ==================== Version 2 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+    </p>
+    ==================== Version 3 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three fourx
+    </p>
+    ==================== Version 4 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+    </p>
+    ==================== Version 5 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five
+    </p>
+    ===================================================
+    First undo to version 4: OK
+    First undo to version 3: OK
+    First undo to version 2: OK
+    First undo to version 1: OK
+    First undo to version 0: OK
+    Redo to version 1: OK
+    Redo to version 2: OK
+    Redo to version 3: OK
+    Redo to version 4: OK
+    Redo to version 5: OK
+    Second undo to version 4: OK
+    Second undo to version 3: OK
+    Second undo to version 2: OK
+    Second undo to version 1: OK
+    Second undo to version 0: OK
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo05-input.html b/experiments/editorFramework/test/Layer0/autocorrect/undo05-input.html
new file mode 100644
index 0000000..9acc3db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo05-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script src="../undo/UndoTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    UndoManager_clear();
+    var p = document.getElementsByTagName("P")[0];
+    var versions = new Array();
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    versions.push(DOM_cloneNode(p,true));
+    AutoCorrect_correctPrecedingWord(4,"two");
+    PostponedActions_perform();
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    versions.push(DOM_cloneNode(p,true));
+    AutoCorrect_correctPrecedingWord(5,"four");
+    PostponedActions_perform();
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter(" five");
+    versions.push(DOM_cloneNode(p,true));
+
+    testUndo(versions,p);
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo06-expected.html b/experiments/editorFramework/test/Layer0/autocorrect/undo06-expected.html
new file mode 100644
index 0000000..1e48a4f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo06-expected.html
@@ -0,0 +1,62 @@
+<html>
+  <head>
+  </head>
+  <body>
+    ==================== Version 0 ====================
+    <p></p>
+    ==================== Version 1 ====================
+    <p>one twox</p>
+    ==================== Version 2 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+    </p>
+    ==================== Version 3 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three fourx
+    </p>
+    ==================== Version 4 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+    </p>
+    ==================== Version 5 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five
+    </p>
+    ==================== Version 6 ====================
+    <p><br/></p>
+    ==================== Version 7 ====================
+    <p>one two three four five</p>
+    ===================================================
+    First undo to version 6: OK
+    First undo to version 5: OK
+    First undo to version 4: OK
+    First undo to version 3: OK
+    First undo to version 2: OK
+    First undo to version 1: OK
+    First undo to version 0: OK
+    Redo to version 1: OK
+    Redo to version 2: OK
+    Redo to version 3: OK
+    Redo to version 4: OK
+    Redo to version 5: OK
+    Redo to version 6: OK
+    Redo to version 7: OK
+    Second undo to version 6: OK
+    Second undo to version 5: OK
+    Second undo to version 4: OK
+    Second undo to version 3: OK
+    Second undo to version 2: OK
+    Second undo to version 1: OK
+    Second undo to version 0: OK
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/autocorrect/undo06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/autocorrect/undo06-input.html b/experiments/editorFramework/test/Layer0/autocorrect/undo06-input.html
new file mode 100644
index 0000000..0a09004
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/autocorrect/undo06-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script src="../undo/UndoTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    UndoManager_clear();
+    var versions = new Array();
+    var p = document.getElementsByTagName("P")[0];
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    versions.push(DOM_cloneNode(p,true));
+    AutoCorrect_correctPrecedingWord(4,"two");
+    PostponedActions_perform();
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    versions.push(DOM_cloneNode(p,true));
+    AutoCorrect_correctPrecedingWord(5,"four");
+    PostponedActions_perform();
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter(" five");
+
+    Selection_set(p,0,p,p.childNodes.length);
+    versions.push(DOM_cloneNode(p,true));
+    var clip = Clipboard_cut();
+    versions.push(DOM_cloneNode(p,true));
+    Clipboard_pasteHTML(clip["text/html"]);
+    versions.push(DOM_cloneNode(p,true));
+
+    testUndo(versions,p);
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-expected.html
new file mode 100644
index 0000000..3138070
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-input.html
new file mode 100644
index 0000000..bb27cb2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>[one</li>
+    <li><del>two</del></li>
+    <li>three]</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-expected.html
new file mode 100644
index 0000000..18ac9e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><del>two</del></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>[ONE</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-input.html
new file mode 100644
index 0000000..8cd021d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del>two</del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>[ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE]</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-expected.html
new file mode 100644
index 0000000..dd80260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[]three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-input.html
new file mode 100644
index 0000000..0059061
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del>[]two</del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-expected.html
new file mode 100644
index 0000000..862fec6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-input.html
new file mode 100644
index 0000000..e466ec8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list04-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li>one</li>
+    <li><del>two</del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-expected.html
new file mode 100644
index 0000000..e23add4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[]three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del><b><i>TWO</i></b></del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-input.html
new file mode 100644
index 0000000..84e6011
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list05-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del><b><i>t[]wo</i></b></del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del><b><i>TWO</i></b></del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-expected.html
new file mode 100644
index 0000000..9facef5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[three]</li>
+      <li>five</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+      <li><del>FOUR</del></li>
+      <li>FIVE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-input.html
new file mode 100644
index 0000000..2ead4cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list06-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del>t[wo</del></li>
+    <li>three</li>
+    <li><del>fo]ur</del></li>
+    <li>five</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+    <li><del>FOUR</del></li>
+    <li>FIVE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-expected.html
new file mode 100644
index 0000000..2f4a21f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[]ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-input.html
new file mode 100644
index 0000000..2c8f282
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list07-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li><del>[one</del></li>
+    <li><del>two</del></li>
+    <li><del>three]</del></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-expected.html
new file mode 100644
index 0000000..2f4a21f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[]ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-input.html
new file mode 100644
index 0000000..12050e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list08-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><del>one</del></li>
+    <li><del>two</del></li>
+    <li><del>three</del></li>
+  </ul>]
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-expected.html
new file mode 100644
index 0000000..2974258
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[ONE</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-input.html
new file mode 100644
index 0000000..0feec5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel-list09-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><del>one</del></li>
+    <li><del>two</del></li>
+    <li><del>three</del></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>



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

Posted by ja...@apache.org.
added js test files


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/0633908a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/0633908a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/0633908a

Branch: refs/heads/editorFramework
Commit: 0633908a779b72dffaecbd39888c9e45d7ee46c6
Parents: 00fd61d
Author: jani <ja...@apache.org>
Authored: Fri Aug 14 18:08:36 2015 +0200
Committer: jani <ja...@apache.org>
Committed: Fri Aug 14 18:08:36 2015 +0200

----------------------------------------------------------------------
 .../test/Layer0/PrettyPrinter.js                |  226 ++
 .../test/Layer0/autocorrect/AutoCorrectTests.js |   50 +
 .../acceptCorrection-undo-expected.html         |   50 +
 .../acceptCorrection-undo-input.html            |   42 +
 .../acceptCorrection01-expected.html            |   14 +
 .../autocorrect/acceptCorrection01-input.html   |   32 +
 .../acceptCorrection02-expected.html            |    9 +
 .../autocorrect/acceptCorrection02-input.html   |   33 +
 .../acceptCorrection03-expected.html            |   17 +
 .../autocorrect/acceptCorrection03-input.html   |   38 +
 .../acceptCorrection04-expected.html            |   17 +
 .../autocorrect/acceptCorrection04-input.html   |   38 +
 .../acceptCorrection05-expected.html            |   17 +
 .../autocorrect/acceptCorrection05-input.html   |   38 +
 .../changeCorrection01-expected.html            |   14 +
 .../autocorrect/changeCorrection01-input.html   |   33 +
 .../changeCorrection02-expected.html            |   14 +
 .../autocorrect/changeCorrection02-input.html   |   33 +
 .../correctPrecedingWord01-expected.html        |   17 +
 .../correctPrecedingWord01-input.html           |   29 +
 .../removeCorrection01-expected.html            |   15 +
 .../autocorrect/removeCorrection01-input.html   |   33 +
 .../removeCorrection02-expected.html            |   15 +
 .../autocorrect/removeCorrection02-input.html   |   33 +
 .../autocorrect/removedSpan01-expected.html     |   11 +
 .../Layer0/autocorrect/removedSpan01-input.html |   26 +
 .../autocorrect/removedSpan02-expected.html     |    7 +
 .../Layer0/autocorrect/removedSpan02-input.html |   27 +
 .../autocorrect/removedSpan03-expected.html     |    7 +
 .../Layer0/autocorrect/removedSpan03-input.html |   27 +
 .../replaceCorrection-undo-expected.html        |   50 +
 .../replaceCorrection-undo-input.html           |   42 +
 .../replaceCorrection01-expected.html           |   14 +
 .../autocorrect/replaceCorrection01-input.html  |   32 +
 .../replaceCorrection02-expected.html           |    9 +
 .../autocorrect/replaceCorrection02-input.html  |   33 +
 .../replaceCorrection03-expected.html           |   17 +
 .../autocorrect/replaceCorrection03-input.html  |   38 +
 .../replaceCorrection04-expected.html           |   17 +
 .../autocorrect/replaceCorrection04-input.html  |   38 +
 .../replaceCorrection05-expected.html           |   17 +
 .../autocorrect/replaceCorrection05-input.html  |   38 +
 .../Layer0/autocorrect/undo01-expected.html     |   17 +
 .../test/Layer0/autocorrect/undo01-input.html   |   35 +
 .../Layer0/autocorrect/undo02-expected.html     |   14 +
 .../test/Layer0/autocorrect/undo02-input.html   |   35 +
 .../Layer0/autocorrect/undo03-expected.html     |    9 +
 .../test/Layer0/autocorrect/undo03-input.html   |   35 +
 .../Layer0/autocorrect/undo04-expected.html     |   17 +
 .../test/Layer0/autocorrect/undo04-input.html   |   38 +
 .../Layer0/autocorrect/undo05-expected.html     |   52 +
 .../test/Layer0/autocorrect/undo05-input.html   |   39 +
 .../Layer0/autocorrect/undo06-expected.html     |   62 +
 .../test/Layer0/autocorrect/undo06-input.html   |   45 +
 .../acceptDel-list01-expected.html              |   16 +
 .../changetracking/acceptDel-list01-input.html  |   25 +
 .../acceptDel-list02-expected.html              |   16 +
 .../changetracking/acceptDel-list02-input.html  |   25 +
 .../acceptDel-list03-expected.html              |   16 +
 .../changetracking/acceptDel-list03-input.html  |   25 +
 .../acceptDel-list04-expected.html              |   15 +
 .../changetracking/acceptDel-list04-input.html  |   25 +
 .../acceptDel-list05-expected.html              |   16 +
 .../changetracking/acceptDel-list05-input.html  |   25 +
 .../acceptDel-list06-expected.html              |   19 +
 .../changetracking/acceptDel-list06-input.html  |   29 +
 .../acceptDel-list07-expected.html              |   12 +
 .../changetracking/acceptDel-list07-input.html  |   25 +
 .../acceptDel-list08-expected.html              |   12 +
 .../changetracking/acceptDel-list08-input.html  |   25 +
 .../acceptDel-list09-expected.html              |   11 +
 .../changetracking/acceptDel-list09-input.html  |   25 +
 .../changetracking/acceptDel01-expected.html    |   13 +
 .../changetracking/acceptDel01-input.html       |   17 +
 .../changetracking/acceptDel02-expected.html    |   13 +
 .../changetracking/acceptDel02-input.html       |   17 +
 .../changetracking/acceptDel03-expected.html    |   16 +
 .../changetracking/acceptDel03-input.html       |   17 +
 .../changetracking/acceptDel04-expected.html    |    9 +
 .../changetracking/acceptDel04-input.html       |   17 +
 .../changetracking/acceptDel05-expected.html    |   16 +
 .../changetracking/acceptDel05-input.html       |   17 +
 .../changetracking/acceptDel06-expected.html    |   15 +
 .../changetracking/acceptDel06-input.html       |   17 +
 .../acceptIns-list01-expected.html              |   17 +
 .../changetracking/acceptIns-list01-input.html  |   25 +
 .../acceptIns-list02-expected.html              |   17 +
 .../changetracking/acceptIns-list02-input.html  |   25 +
 .../acceptIns-list03-expected.html              |   17 +
 .../changetracking/acceptIns-list03-input.html  |   25 +
 .../acceptIns-list04-expected.html              |   17 +
 .../changetracking/acceptIns-list04-input.html  |   25 +
 .../acceptIns-list05-expected.html              |   17 +
 .../changetracking/acceptIns-list05-input.html  |   25 +
 .../acceptIns-list06-expected.html              |   21 +
 .../changetracking/acceptIns-list06-input.html  |   29 +
 .../acceptIns-list07-expected.html              |   17 +
 .../changetracking/acceptIns-list07-input.html  |   25 +
 .../acceptIns-list08-expected.html              |   17 +
 .../changetracking/acceptIns-list08-input.html  |   25 +
 .../acceptIns-list09-expected.html              |   17 +
 .../changetracking/acceptIns-list09-input.html  |   25 +
 .../changetracking/acceptIns01-expected.html    |   13 +
 .../changetracking/acceptIns01-input.html       |   17 +
 .../changetracking/acceptIns02-expected.html    |   13 +
 .../changetracking/acceptIns02-input.html       |   17 +
 .../changetracking/acceptIns03-expected.html    |   17 +
 .../changetracking/acceptIns03-input.html       |   17 +
 .../changetracking/acceptIns04-expected.html    |    9 +
 .../changetracking/acceptIns04-input.html       |   17 +
 .../changetracking/acceptIns05-expected.html    |   17 +
 .../changetracking/acceptIns05-input.html       |   17 +
 .../changetracking/acceptIns06-expected.html    |   15 +
 .../changetracking/acceptIns06-input.html       |   17 +
 .../Layer0/changetracking/changetracking.css    |    8 +
 .../test/Layer0/changetracking/temp             |   17 +
 .../clipboard/copy-blockquote01-expected.html   |    9 +
 .../clipboard/copy-blockquote01-input.html      |   14 +
 .../clipboard/copy-blockquote02-expected.html   |   17 +
 .../clipboard/copy-blockquote02-input.html      |   18 +
 .../clipboard/copy-blockquote03-expected.html   |   26 +
 .../clipboard/copy-blockquote03-input.html      |   21 +
 .../clipboard/copy-blockquote04-expected.html   |   35 +
 .../clipboard/copy-blockquote04-input.html      |   28 +
 .../clipboard/copy-blockquote05-expected.html   |   17 +
 .../clipboard/copy-blockquote05-input.html      |   20 +
 .../clipboard/copy-blockquote06-expected.html   |   19 +
 .../clipboard/copy-blockquote06-input.html      |   20 +
 .../clipboard/copy-blockquote07-expected.html   |   17 +
 .../clipboard/copy-blockquote07-input.html      |   20 +
 .../clipboard/copy-blockquote08-expected.html   |   19 +
 .../clipboard/copy-blockquote08-input.html      |   20 +
 .../clipboard/copy-blockquote09-expected.html   |   41 +
 .../clipboard/copy-blockquote09-input.html      |   30 +
 .../clipboard/copy-escaping01-expected.html     |   15 +
 .../Layer0/clipboard/copy-escaping01-input.html |   16 +
 .../clipboard/copy-escaping02-expected.html     |    9 +
 .../Layer0/clipboard/copy-escaping02-input.html |   20 +
 .../clipboard/copy-escaping03-expected.html     |    9 +
 .../Layer0/clipboard/copy-escaping03-input.html |   14 +
 .../clipboard/copy-escaping04-expected.html     |   16 +
 .../Layer0/clipboard/copy-escaping04-input.html |   24 +
 .../clipboard/copy-formatting01a-expected.html  |    9 +
 .../clipboard/copy-formatting01a-input.html     |   14 +
 .../clipboard/copy-formatting01b-expected.html  |    9 +
 .../clipboard/copy-formatting01b-input.html     |   14 +
 .../clipboard/copy-formatting01c-expected.html  |    9 +
 .../clipboard/copy-formatting01c-input.html     |   14 +
 .../clipboard/copy-formatting02a-expected.html  |    9 +
 .../clipboard/copy-formatting02a-input.html     |   14 +
 .../clipboard/copy-formatting02b-expected.html  |    9 +
 .../clipboard/copy-formatting02b-input.html     |   14 +
 .../clipboard/copy-formatting02c-expected.html  |    9 +
 .../clipboard/copy-formatting02c-input.html     |   14 +
 .../clipboard/copy-formatting03a-expected.html  |    9 +
 .../clipboard/copy-formatting03a-input.html     |   14 +
 .../clipboard/copy-formatting03b-expected.html  |    9 +
 .../clipboard/copy-formatting03b-input.html     |   14 +
 .../clipboard/copy-formatting03c-expected.html  |    9 +
 .../clipboard/copy-formatting03c-input.html     |   14 +
 .../clipboard/copy-formatting03d-expected.html  |    9 +
 .../clipboard/copy-formatting03d-input.html     |   14 +
 .../clipboard/copy-formatting03e-expected.html  |    9 +
 .../clipboard/copy-formatting03e-input.html     |   14 +
 .../clipboard/copy-formatting04a-expected.html  |    9 +
 .../clipboard/copy-formatting04a-input.html     |   14 +
 .../clipboard/copy-formatting04b-expected.html  |    9 +
 .../clipboard/copy-formatting04b-input.html     |   14 +
 .../clipboard/copy-formatting04c-expected.html  |    9 +
 .../clipboard/copy-formatting04c-input.html     |   14 +
 .../clipboard/copy-formatting04d-expected.html  |    9 +
 .../clipboard/copy-formatting04d-input.html     |   14 +
 .../clipboard/copy-formatting04e-expected.html  |    9 +
 .../clipboard/copy-formatting04e-input.html     |   14 +
 .../clipboard/copy-formatting05a-expected.html  |    9 +
 .../clipboard/copy-formatting05a-input.html     |   14 +
 .../clipboard/copy-formatting05b-expected.html  |    9 +
 .../clipboard/copy-formatting05b-input.html     |   14 +
 .../clipboard/copy-formatting05c-expected.html  |    9 +
 .../clipboard/copy-formatting05c-input.html     |   14 +
 .../clipboard/copy-formatting06a-expected.html  |    9 +
 .../clipboard/copy-formatting06a-input.html     |   14 +
 .../clipboard/copy-formatting06b-expected.html  |    9 +
 .../clipboard/copy-formatting06b-input.html     |   14 +
 .../clipboard/copy-formatting06c-expected.html  |    9 +
 .../clipboard/copy-formatting06c-input.html     |   14 +
 .../clipboard/copy-formatting06d-expected.html  |    9 +
 .../clipboard/copy-formatting06d-input.html     |   14 +
 .../clipboard/copy-formatting07a-expected.html  |    9 +
 .../clipboard/copy-formatting07a-input.html     |   14 +
 .../clipboard/copy-formatting07b-expected.html  |    9 +
 .../clipboard/copy-formatting07b-input.html     |   14 +
 .../clipboard/copy-formatting07c-expected.html  |    9 +
 .../clipboard/copy-formatting07c-input.html     |   14 +
 .../clipboard/copy-formatting07d-expected.html  |    9 +
 .../clipboard/copy-formatting07d-input.html     |   14 +
 .../clipboard/copy-formatting08a-expected.html  |    9 +
 .../clipboard/copy-formatting08a-input.html     |   14 +
 .../clipboard/copy-formatting08b-expected.html  |    9 +
 .../clipboard/copy-formatting08b-input.html     |   14 +
 .../clipboard/copy-formatting08c-expected.html  |    9 +
 .../clipboard/copy-formatting08c-input.html     |   14 +
 .../clipboard/copy-formatting08d-expected.html  |    9 +
 .../clipboard/copy-formatting08d-input.html     |   14 +
 .../clipboard/copy-formatting08e-expected.html  |    9 +
 .../clipboard/copy-formatting08e-input.html     |   14 +
 .../clipboard/copy-formatting09a-expected.html  |   12 +
 .../clipboard/copy-formatting09a-input.html     |   15 +
 .../clipboard/copy-formatting09b-expected.html  |   12 +
 .../clipboard/copy-formatting09b-input.html     |   15 +
 .../clipboard/copy-formatting09c-expected.html  |   12 +
 .../clipboard/copy-formatting09c-input.html     |   15 +
 .../Layer0/clipboard/copy-li01-expected.html    |   13 +
 .../test/Layer0/clipboard/copy-li01-input.html  |   18 +
 .../Layer0/clipboard/copy-li02-expected.html    |   11 +
 .../test/Layer0/clipboard/copy-li02-input.html  |   18 +
 .../Layer0/clipboard/copy-li03-expected.html    |   11 +
 .../test/Layer0/clipboard/copy-li03-input.html  |   18 +
 .../Layer0/clipboard/copy-li04-expected.html    |    9 +
 .../test/Layer0/clipboard/copy-li04-input.html  |   18 +
 .../Layer0/clipboard/copy-li05-expected.html    |    9 +
 .../test/Layer0/clipboard/copy-li05-input.html  |   18 +
 .../Layer0/clipboard/copy-link01-expected.html  |    9 +
 .../Layer0/clipboard/copy-link01-input.html     |   14 +
 .../Layer0/clipboard/copy-link02-expected.html  |    9 +
 .../Layer0/clipboard/copy-link02-input.html     |   14 +
 .../Layer0/clipboard/copy-link03-expected.html  |    9 +
 .../Layer0/clipboard/copy-link03-input.html     |   14 +
 .../Layer0/clipboard/copy-link04-expected.html  |    9 +
 .../Layer0/clipboard/copy-link04-input.html     |   14 +
 .../Layer0/clipboard/copy-list01-expected.html  |   15 +
 .../Layer0/clipboard/copy-list01-input.html     |   18 +
 .../Layer0/clipboard/copy-list02-expected.html  |   33 +
 .../Layer0/clipboard/copy-list02-input.html     |   27 +
 .../Layer0/clipboard/copy-list03-expected.html  |   24 +
 .../Layer0/clipboard/copy-list03-input.html     |   21 +
 .../Layer0/clipboard/copy-list04-expected.html  |   24 +
 .../Layer0/clipboard/copy-list04-input.html     |   21 +
 .../Layer0/clipboard/copy-list05-expected.html  |   31 +
 .../Layer0/clipboard/copy-list05-input.html     |   24 +
 .../Layer0/clipboard/copy-list06-expected.html  |   24 +
 .../Layer0/clipboard/copy-list06-input.html     |   21 +
 .../Layer0/clipboard/copy-list07-expected.html  |   24 +
 .../Layer0/clipboard/copy-list07-input.html     |   21 +
 .../Layer0/clipboard/copy-list08-expected.html  |   31 +
 .../Layer0/clipboard/copy-list08-input.html     |   24 +
 .../Layer0/clipboard/copy-list09-expected.html  |   32 +
 .../Layer0/clipboard/copy-list09-input.html     |   27 +
 .../Layer0/clipboard/copy-list10-expected.html  |   66 +
 .../Layer0/clipboard/copy-list10-input.html     |   39 +
 .../Layer0/clipboard/copy-list11-expected.html  |   41 +
 .../Layer0/clipboard/copy-list11-input.html     |   30 +
 .../Layer0/clipboard/copy-list12-expected.html  |   48 +
 .../Layer0/clipboard/copy-list12-input.html     |   39 +
 .../Layer0/clipboard/copy-list13-expected.html  |   44 +
 .../Layer0/clipboard/copy-list13-input.html     |   33 +
 .../clipboard/copy-partli01-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli01-input.html   |   18 +
 .../clipboard/copy-partli02-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli02-input.html   |   18 +
 .../clipboard/copy-partli03-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli03-input.html   |   18 +
 .../clipboard/copy-partli04-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli04-input.html   |   18 +
 .../clipboard/copy-partli05-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli05-input.html   |   18 +
 .../clipboard/copy-partli06-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli06-input.html   |   18 +
 .../clipboard/copy-partli07-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli07-input.html   |   18 +
 .../clipboard/copy-partli08-expected.html       |    9 +
 .../Layer0/clipboard/copy-partli08-input.html   |   18 +
 .../Layer0/clipboard/copy-pre01-expected.html   |   22 +
 .../test/Layer0/clipboard/copy-pre01-input.html |   22 +
 .../Layer0/clipboard/copy-pre02-expected.html   |   38 +
 .../test/Layer0/clipboard/copy-pre02-input.html |   31 +
 .../Layer0/clipboard/copy-pre03-expected.html   |   47 +
 .../test/Layer0/clipboard/copy-pre03-input.html |   34 +
 .../Layer0/clipboard/copy-pre04-expected.html   |   24 +
 .../test/Layer0/clipboard/copy-pre04-input.html |   24 +
 .../Layer0/clipboard/copy-pre05-expected.html   |   30 +
 .../test/Layer0/clipboard/copy-pre05-input.html |   26 +
 .../Layer0/clipboard/copy-pre06-expected.html   |   50 +
 .../test/Layer0/clipboard/copy-pre06-input.html |   39 +
 .../Layer0/clipboard/copy-pre07-expected.html   |   50 +
 .../test/Layer0/clipboard/copy-pre07-input.html |   39 +
 .../Layer0/clipboard/copy-pre08-expected.html   |   56 +
 .../test/Layer0/clipboard/copy-pre08-input.html |   47 +
 .../test/Layer0/clipboard/copy01-expected.html  |    9 +
 .../test/Layer0/clipboard/copy01-input.html     |   14 +
 .../test/Layer0/clipboard/copy02-expected.html  |    9 +
 .../test/Layer0/clipboard/copy02-input.html     |   14 +
 .../test/Layer0/clipboard/copy03-expected.html  |    9 +
 .../test/Layer0/clipboard/copy03-input.html     |   14 +
 .../test/Layer0/clipboard/copy04-expected.html  |    9 +
 .../test/Layer0/clipboard/copy04-input.html     |   14 +
 .../test/Layer0/clipboard/copy05-expected.html  |    9 +
 .../test/Layer0/clipboard/copy05-input.html     |   15 +
 .../test/Layer0/clipboard/copy06-expected.html  |   12 +
 .../test/Layer0/clipboard/copy06-input.html     |   15 +
 .../clipboard/copypaste-list01-expected.html    |   16 +
 .../clipboard/copypaste-list01-input.html       |   29 +
 .../clipboard/copypaste-list02-expected.html    |   16 +
 .../clipboard/copypaste-list02-input.html       |   29 +
 .../Layer0/clipboard/cut-li01-expected.html     |   19 +
 .../test/Layer0/clipboard/cut-li01-input.html   |   20 +
 .../Layer0/clipboard/cut-li02-expected.html     |   19 +
 .../test/Layer0/clipboard/cut-li02-input.html   |   20 +
 .../Layer0/clipboard/cut-li03-expected.html     |   20 +
 .../test/Layer0/clipboard/cut-li03-input.html   |   20 +
 .../Layer0/clipboard/cut-li04-expected.html     |   19 +
 .../test/Layer0/clipboard/cut-li04-input.html   |   20 +
 .../Layer0/clipboard/cut-li05-expected.html     |   19 +
 .../test/Layer0/clipboard/cut-li05-input.html   |   20 +
 .../Layer0/clipboard/cut-li06-expected.html     |   15 +
 .../test/Layer0/clipboard/cut-li06-input.html   |   18 +
 .../Layer0/clipboard/cut-li07-expected.html     |   23 +
 .../test/Layer0/clipboard/cut-li07-input.html   |   24 +
 .../Layer0/clipboard/cut-li08-expected.html     |   26 +
 .../test/Layer0/clipboard/cut-li08-input.html   |   25 +
 .../Layer0/clipboard/cut-li09-expected.html     |   26 +
 .../test/Layer0/clipboard/cut-li09-input.html   |   25 +
 .../Layer0/clipboard/cut-li10-expected.html     |   27 +
 .../test/Layer0/clipboard/cut-li10-input.html   |   26 +
 .../Layer0/clipboard/cut-li11-expected.html     |   26 +
 .../test/Layer0/clipboard/cut-li11-input.html   |   25 +
 .../Layer0/clipboard/cut-li12-expected.html     |   26 +
 .../test/Layer0/clipboard/cut-li12-input.html   |   25 +
 .../Layer0/clipboard/cut-li13-expected.html     |   27 +
 .../test/Layer0/clipboard/cut-li13-input.html   |   26 +
 .../Layer0/clipboard/cut-li14-expected.html     |   19 +
 .../test/Layer0/clipboard/cut-li14-input.html   |   21 +
 .../Layer0/clipboard/cut-li14a-expected.html    |   19 +
 .../test/Layer0/clipboard/cut-li14a-input.html  |   21 +
 .../Layer0/clipboard/cut-li15-expected.html     |   20 +
 .../test/Layer0/clipboard/cut-li15-input.html   |   21 +
 .../Layer0/clipboard/cut-li15a-expected.html    |   21 +
 .../test/Layer0/clipboard/cut-li15a-input.html  |   21 +
 .../Layer0/clipboard/cut-li16-expected.html     |   20 +
 .../test/Layer0/clipboard/cut-li16-input.html   |   21 +
 .../Layer0/clipboard/cut-li16a-expected.html    |   21 +
 .../test/Layer0/clipboard/cut-li16a-input.html  |   21 +
 .../Layer0/clipboard/cut-li17-expected.html     |   21 +
 .../test/Layer0/clipboard/cut-li17-input.html   |   22 +
 .../Layer0/clipboard/cut-li17a-expected.html    |   22 +
 .../test/Layer0/clipboard/cut-li17a-input.html  |   22 +
 .../Layer0/clipboard/cut-td01-expected.html     |   27 +
 .../test/Layer0/clipboard/cut-td01-input.html   |   25 +
 .../Layer0/clipboard/cut-td01a-expected.html    |   32 +
 .../test/Layer0/clipboard/cut-td01a-input.html  |   25 +
 .../clipboard/paste-dupIds01-expected.html      |    8 +
 .../Layer0/clipboard/paste-dupIds01-input.html  |   15 +
 .../clipboard/paste-dupIds02-expected.html      |    9 +
 .../Layer0/clipboard/paste-dupIds02-input.html  |   16 +
 .../clipboard/paste-dupIds03-expected.html      |    9 +
 .../Layer0/clipboard/paste-dupIds03-input.html  |   16 +
 .../clipboard/paste-htmldoc01-expected.html     |    8 +
 .../Layer0/clipboard/paste-htmldoc01-input.html |   15 +
 .../clipboard/paste-htmldoc02-expected.html     |    6 +
 .../Layer0/clipboard/paste-htmldoc02-input.html |   15 +
 .../clipboard/paste-invalid01-expected.html     |    8 +
 .../Layer0/clipboard/paste-invalid01-input.html |   15 +
 .../clipboard/paste-invalid02-expected.html     |    8 +
 .../Layer0/clipboard/paste-invalid02-input.html |   15 +
 .../clipboard/paste-invalid03-expected.html     |    8 +
 .../Layer0/clipboard/paste-invalid03-input.html |   15 +
 .../clipboard/paste-invalid04-expected.html     |    8 +
 .../Layer0/clipboard/paste-invalid04-input.html |   15 +
 .../clipboard/paste-invalid05-expected.html     |    8 +
 .../Layer0/clipboard/paste-invalid05-input.html |   15 +
 .../clipboard/paste-invalid06-expected.html     |    8 +
 .../Layer0/clipboard/paste-invalid06-input.html |   15 +
 .../clipboard/paste-invalid07-expected.html     |   12 +
 .../Layer0/clipboard/paste-invalid07-input.html |   15 +
 .../clipboard/paste-invalid08-expected.html     |   12 +
 .../Layer0/clipboard/paste-invalid08-input.html |   15 +
 .../clipboard/paste-invalid09-expected.html     |   12 +
 .../Layer0/clipboard/paste-invalid09-input.html |   15 +
 .../clipboard/paste-invalid10-expected.html     |   14 +
 .../Layer0/clipboard/paste-invalid10-input.html |   15 +
 .../Layer0/clipboard/paste-li01-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li01-input.html |   33 +
 .../Layer0/clipboard/paste-li02-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li02-input.html |   29 +
 .../Layer0/clipboard/paste-li03-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li03-input.html |   33 +
 .../Layer0/clipboard/paste-li04-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li04-input.html |   29 +
 .../Layer0/clipboard/paste-li05-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li05-input.html |   33 +
 .../Layer0/clipboard/paste-li06-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li06-input.html |   29 +
 .../Layer0/clipboard/paste-li07-expected.html   |   30 +
 .../test/Layer0/clipboard/paste-li07-input.html |   33 +
 .../Layer0/clipboard/paste-li08-expected.html   |   30 +
 .../test/Layer0/clipboard/paste-li08-input.html |   29 +
 .../Layer0/clipboard/paste-li09-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li09-input.html |   33 +
 .../Layer0/clipboard/paste-li10-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li10-input.html |   29 +
 .../Layer0/clipboard/paste-li11-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li11-input.html |   33 +
 .../Layer0/clipboard/paste-li12-expected.html   |   18 +
 .../test/Layer0/clipboard/paste-li12-input.html |   29 +
 .../Layer0/clipboard/paste-li13-expected.html   |   26 +
 .../test/Layer0/clipboard/paste-li13-input.html |   33 +
 .../Layer0/clipboard/paste-li14-expected.html   |   26 +
 .../test/Layer0/clipboard/paste-li14-input.html |   29 +
 .../Layer0/clipboard/paste-list01-expected.html |   10 +
 .../Layer0/clipboard/paste-list01-input.html    |   19 +
 .../Layer0/clipboard/paste-list02-expected.html |   10 +
 .../Layer0/clipboard/paste-list02-input.html    |   17 +
 .../Layer0/clipboard/paste-list03-expected.html |   12 +
 .../Layer0/clipboard/paste-list03-input.html    |   23 +
 .../Layer0/clipboard/paste-list04-expected.html |   12 +
 .../Layer0/clipboard/paste-list04-input.html    |   21 +
 .../Layer0/clipboard/paste-list05-expected.html |   12 +
 .../Layer0/clipboard/paste-list05-input.html    |   23 +
 .../Layer0/clipboard/paste-list06-expected.html |   12 +
 .../Layer0/clipboard/paste-list06-input.html    |   23 +
 .../clipboard/paste-markdown-expected.html      |   44 +
 .../Layer0/clipboard/paste-markdown-input.html  |   62 +
 .../clipboard/paste-table01-expected.html       |   14 +
 .../Layer0/clipboard/paste-table01-input.html   |   17 +
 .../clipboard/paste-table02-expected.html       |   14 +
 .../Layer0/clipboard/paste-table02-input.html   |   17 +
 .../clipboard/paste-table03-expected.html       |   17 +
 .../Layer0/clipboard/paste-table03-input.html   |   22 +
 .../clipboard/paste-table04-expected.html       |   17 +
 .../Layer0/clipboard/paste-table04-input.html   |   24 +
 .../clipboard/paste-table05-expected.html       |   17 +
 .../Layer0/clipboard/paste-table05-input.html   |   24 +
 .../clipboard/paste-table06-expected.html       |   17 +
 .../Layer0/clipboard/paste-table06-input.html   |   24 +
 .../clipboard/paste-table07-expected.html       |   25 +
 .../Layer0/clipboard/paste-table07-input.html   |   32 +
 .../test/Layer0/clipboard/paste01-expected.html |    6 +
 .../test/Layer0/clipboard/paste01-input.html    |   15 +
 .../test/Layer0/clipboard/paste02-expected.html |    6 +
 .../test/Layer0/clipboard/paste02-input.html    |   15 +
 .../test/Layer0/clipboard/paste03-expected.html |    6 +
 .../test/Layer0/clipboard/paste03-input.html    |   15 +
 .../test/Layer0/clipboard/paste04-expected.html |    6 +
 .../test/Layer0/clipboard/paste04-input.html    |   15 +
 .../test/Layer0/clipboard/paste05-expected.html |   10 +
 .../test/Layer0/clipboard/paste05-input.html    |   15 +
 .../pasteText-whitespace01-expected.html        |    6 +
 .../clipboard/pasteText-whitespace01-input.html |   15 +
 .../clipboard/preserve-cutpaste01-expected.html |   12 +
 .../clipboard/preserve-cutpaste01-input.html    |   24 +
 .../deleteBeforeParagraph-list01-expected.html  |    6 +
 .../deleteBeforeParagraph-list01-input.html     |   16 +
 .../deleteBeforeParagraph-list01a-expected.html |    6 +
 .../deleteBeforeParagraph-list01a-input.html    |   16 +
 .../deleteBeforeParagraph-list02-expected.html  |   14 +
 .../deleteBeforeParagraph-list02-input.html     |   16 +
 .../deleteBeforeParagraph-list02a-expected.html |    6 +
 .../deleteBeforeParagraph-list02a-input.html    |   16 +
 .../deleteBeforeParagraph-list03-expected.html  |   10 +
 .../deleteBeforeParagraph-list03-input.html     |   20 +
 .../deleteBeforeParagraph-list03a-expected.html |    9 +
 .../deleteBeforeParagraph-list03a-input.html    |   20 +
 .../deleteBeforeParagraph-list04-expected.html  |   17 +
 .../deleteBeforeParagraph-list04-input.html     |   27 +
 .../deleteBeforeParagraph-list04a-expected.html |   14 +
 .../deleteBeforeParagraph-list04a-input.html    |   27 +
 .../deleteBeforeParagraph-list05-expected.html  |   21 +
 .../deleteBeforeParagraph-list05-input.html     |   27 +
 .../deleteBeforeParagraph-list05a-expected.html |   14 +
 .../deleteBeforeParagraph-list05a-input.html    |   27 +
 .../deleteBeforeParagraph-list06-expected.html  |   21 +
 .../deleteBeforeParagraph-list06-input.html     |   27 +
 .../deleteBeforeParagraph-list06a-expected.html |   14 +
 .../deleteBeforeParagraph-list06a-input.html    |   27 +
 ...eleteBeforeParagraph-sublist01-expected.html |   21 +
 .../deleteBeforeParagraph-sublist01-input.html  |   25 +
 ...eleteBeforeParagraph-sublist02-expected.html |   21 +
 .../deleteBeforeParagraph-sublist02-input.html  |   25 +
 ...eleteBeforeParagraph-sublist03-expected.html |   15 +
 .../deleteBeforeParagraph-sublist03-input.html  |   25 +
 ...leteBeforeParagraph-sublist03a-expected.html |   15 +
 .../deleteBeforeParagraph-sublist03a-input.html |   25 +
 .../deleteBeforeParagraph01-expected.html       |    6 +
 .../cursor/deleteBeforeParagraph01-input.html   |   16 +
 .../deleteBeforeParagraph01a-expected.html      |    6 +
 .../cursor/deleteBeforeParagraph01a-input.html  |   16 +
 .../deleteBeforeParagraph02-expected.html       |    6 +
 .../cursor/deleteBeforeParagraph02-input.html   |   16 +
 .../deleteBeforeParagraph02a-expected.html      |    6 +
 .../cursor/deleteBeforeParagraph02a-input.html  |   16 +
 .../deleteCharacter-caption01-expected.html     |   24 +
 .../cursor/deleteCharacter-caption01-input.html |   34 +
 .../deleteCharacter-caption02-expected.html     |   24 +
 .../cursor/deleteCharacter-caption02-input.html |   34 +
 .../deleteCharacter-emoji01-expected.html       |   12 +
 .../cursor/deleteCharacter-emoji01-input.html   |   17 +
 .../deleteCharacter-emoji02-expected.html       |    9 +
 .../cursor/deleteCharacter-emoji02-input.html   |   17 +
 .../deleteCharacter-emoji03-expected.html       |    9 +
 .../cursor/deleteCharacter-emoji03-input.html   |   17 +
 .../deleteCharacter-emoji04-expected.html       |    9 +
 .../cursor/deleteCharacter-emoji04-input.html   |   17 +
 .../deleteCharacter-emoji05-expected.html       |    9 +
 .../cursor/deleteCharacter-emoji05-input.html   |   17 +
 .../deleteCharacter-emoji06-expected.html       |    9 +
 .../cursor/deleteCharacter-emoji06-input.html   |   17 +
 .../deleteCharacter-emoji07-expected.html       |    9 +
 .../cursor/deleteCharacter-emoji07-input.html   |   17 +
 .../deleteCharacter-emoji08-expected.html       |    9 +
 .../cursor/deleteCharacter-emoji08-input.html   |   17 +
 .../deleteCharacter-endnote01-expected.html     |   11 +
 .../cursor/deleteCharacter-endnote01-input.html |   16 +
 .../deleteCharacter-endnote02-expected.html     |   11 +
 .../cursor/deleteCharacter-endnote02-input.html |   16 +
 .../deleteCharacter-endnote03-expected.html     |    8 +
 .../cursor/deleteCharacter-endnote03-input.html |   16 +
 .../deleteCharacter-endnote04-expected.html     |    8 +
 .../cursor/deleteCharacter-endnote04-input.html |   16 +
 .../deleteCharacter-endnote05-expected.html     |    9 +
 .../cursor/deleteCharacter-endnote05-input.html |   17 +
 .../deleteCharacter-endnote06-expected.html     |   11 +
 .../cursor/deleteCharacter-endnote06-input.html |   16 +
 .../deleteCharacter-endnote07-expected.html     |   11 +
 .../cursor/deleteCharacter-endnote07-input.html |   16 +
 .../deleteCharacter-endnote08-expected.html     |   11 +
 .../cursor/deleteCharacter-endnote08-input.html |   16 +
 .../deleteCharacter-endnote09-expected.html     |    8 +
 .../cursor/deleteCharacter-endnote09-input.html |   16 +
 .../deleteCharacter-endnote10-expected.html     |    9 +
 .../cursor/deleteCharacter-endnote10-input.html |   17 +
 .../deleteCharacter-figcaption01-expected.html  |   11 +
 .../deleteCharacter-figcaption01-input.html     |   25 +
 .../deleteCharacter-figcaption02-expected.html  |   11 +
 .../deleteCharacter-figcaption02-input.html     |   25 +
 .../deleteCharacter-figcaption03-expected.html  |   11 +
 .../deleteCharacter-figcaption03-input.html     |   19 +
 .../deleteCharacter-figcaption04-expected.html  |   11 +
 .../deleteCharacter-figcaption04-input.html     |   19 +
 .../deleteCharacter-figure01-expected.html      |   11 +
 .../cursor/deleteCharacter-figure01-input.html  |   21 +
 .../deleteCharacter-figure02-expected.html      |   11 +
 .../cursor/deleteCharacter-figure02-input.html  |   21 +
 .../deleteCharacter-figure03-expected.html      |   11 +
 .../cursor/deleteCharacter-figure03-input.html  |   23 +
 .../deleteCharacter-figure04-expected.html      |   11 +
 .../cursor/deleteCharacter-figure04-input.html  |   23 +
 .../deleteCharacter-footnote01-expected.html    |   11 +
 .../deleteCharacter-footnote01-input.html       |   16 +
 .../deleteCharacter-footnote02-expected.html    |   11 +
 .../deleteCharacter-footnote02-input.html       |   16 +
 .../deleteCharacter-footnote03-expected.html    |    8 +
 .../deleteCharacter-footnote03-input.html       |   16 +
 .../deleteCharacter-footnote04-expected.html    |    8 +
 .../deleteCharacter-footnote04-input.html       |   16 +
 .../deleteCharacter-footnote05-expected.html    |    9 +
 .../deleteCharacter-footnote05-input.html       |   17 +
 .../deleteCharacter-footnote06-expected.html    |   11 +
 .../deleteCharacter-footnote06-input.html       |   16 +
 .../deleteCharacter-footnote07-expected.html    |   11 +
 .../deleteCharacter-footnote07-input.html       |   16 +
 .../deleteCharacter-footnote08-expected.html    |   11 +
 .../deleteCharacter-footnote08-input.html       |   16 +
 .../deleteCharacter-footnote09-expected.html    |    8 +
 .../deleteCharacter-footnote09-input.html       |   16 +
 .../deleteCharacter-footnote10-expected.html    |    9 +
 .../deleteCharacter-footnote10-input.html       |   17 +
 .../cursor/deleteCharacter-last01-expected.html |    9 +
 .../cursor/deleteCharacter-last01-input.html    |   15 +
 .../cursor/deleteCharacter-last02-expected.html |   10 +
 .../cursor/deleteCharacter-last02-input.html    |   16 +
 .../cursor/deleteCharacter-last03-expected.html |   10 +
 .../cursor/deleteCharacter-last03-input.html    |   19 +
 .../deleteCharacter-last03a-expected.html       |   15 +
 .../cursor/deleteCharacter-last03a-input.html   |   19 +
 .../cursor/deleteCharacter-last04-expected.html |   12 +
 .../cursor/deleteCharacter-last04-input.html    |   21 +
 .../deleteCharacter-last04a-expected.html       |   17 +
 .../cursor/deleteCharacter-last04a-input.html   |   21 +
 .../cursor/deleteCharacter-last05-expected.html |   12 +
 .../cursor/deleteCharacter-last05-input.html    |   21 +
 .../deleteCharacter-last05a-expected.html       |   17 +
 .../cursor/deleteCharacter-last05a-input.html   |   21 +
 .../cursor/deleteCharacter-last06-expected.html |   12 +
 .../cursor/deleteCharacter-last06-input.html    |   21 +
 .../deleteCharacter-last06a-expected.html       |   17 +
 .../cursor/deleteCharacter-last06a-input.html   |   21 +
 .../cursor/deleteCharacter-last07-expected.html |   15 +
 .../cursor/deleteCharacter-last07-input.html    |   21 +
 .../deleteCharacter-last07a-expected.html       |   15 +
 .../cursor/deleteCharacter-last07a-input.html   |   21 +
 .../cursor/deleteCharacter-last08-expected.html |   22 +
 .../cursor/deleteCharacter-last08-input.html    |   26 +
 .../deleteCharacter-last08a-expected.html       |   22 +
 .../cursor/deleteCharacter-last08a-input.html   |   26 +
 .../cursor/deleteCharacter-last09-expected.html |   19 +
 .../cursor/deleteCharacter-last09-input.html    |   26 +
 .../deleteCharacter-last09a-expected.html       |   24 +
 .../cursor/deleteCharacter-last09a-input.html   |   26 +
 .../cursor/deleteCharacter-last10-expected.html |   19 +
 .../cursor/deleteCharacter-last10-input.html    |   26 +
 .../deleteCharacter-last10a-expected.html       |   24 +
 .../cursor/deleteCharacter-last10a-input.html   |   26 +
 .../cursor/deleteCharacter-last11-expected.html |   19 +
 .../cursor/deleteCharacter-last11-input.html    |   26 +
 .../deleteCharacter-last11a-expected.html       |   24 +
 .../cursor/deleteCharacter-last11a-input.html   |   26 +
 .../cursor/deleteCharacter-last13-expected.html |   19 +
 .../cursor/deleteCharacter-last13-input.html    |   26 +
 .../cursor/deleteCharacter-link01-expected.html |    9 +
 .../cursor/deleteCharacter-link01-input.html    |   15 +
 .../cursor/deleteCharacter-link02-expected.html |    6 +
 .../cursor/deleteCharacter-link02-input.html    |   16 +
 .../cursor/deleteCharacter-link03-expected.html |    9 +
 .../cursor/deleteCharacter-link03-input.html    |   15 +
 .../cursor/deleteCharacter-link04-expected.html |    9 +
 .../cursor/deleteCharacter-link04-input.html    |   16 +
 .../cursor/deleteCharacter-list01-expected.html |   11 +
 .../cursor/deleteCharacter-list01-input.html    |   21 +
 .../cursor/deleteCharacter-list02-expected.html |   11 +
 .../cursor/deleteCharacter-list02-input.html    |   21 +
 .../cursor/deleteCharacter-list03-expected.html |   11 +
 .../cursor/deleteCharacter-list03-input.html    |   21 +
 .../cursor/deleteCharacter-list04-expected.html |    7 +
 .../cursor/deleteCharacter-list04-input.html    |   19 +
 .../cursor/deleteCharacter-list05-expected.html |   10 +
 .../cursor/deleteCharacter-list05-input.html    |   19 +
 .../cursor/deleteCharacter-list06-expected.html |    8 +
 .../cursor/deleteCharacter-list06-input.html    |   17 +
 .../cursor/deleteCharacter-list07-expected.html |    6 +
 .../cursor/deleteCharacter-list07-input.html    |   22 +
 .../deleteCharacter-reference01-expected.html   |   13 +
 .../deleteCharacter-reference01-input.html      |   19 +
 .../deleteCharacter-reference02-expected.html   |   10 +
 .../deleteCharacter-reference02-input.html      |   21 +
 .../deleteCharacter-reference03-expected.html   |   13 +
 .../deleteCharacter-reference03-input.html      |   19 +
 .../deleteCharacter-reference04-expected.html   |   13 +
 .../deleteCharacter-reference04-input.html      |   21 +
 .../deleteCharacter-table01-expected.html       |   11 +
 .../cursor/deleteCharacter-table01-input.html   |   28 +
 .../deleteCharacter-table02-expected.html       |   20 +
 .../cursor/deleteCharacter-table02-input.html   |   28 +
 .../deleteCharacter-table03-expected.html       |   11 +
 .../cursor/deleteCharacter-table03-input.html   |   30 +
 .../deleteCharacter-table04-expected.html       |   20 +
 .../cursor/deleteCharacter-table04-input.html   |   30 +
 ...deleteCharacter-tablecaption01-expected.html |   18 +
 .../deleteCharacter-tablecaption01-input.html   |   25 +
 ...deleteCharacter-tablecaption02-expected.html |   18 +
 .../deleteCharacter-tablecaption02-input.html   |   25 +
 .../cursor/deleteCharacter-toc01-expected.html  |   14 +
 .../cursor/deleteCharacter-toc01-input.html     |   24 +
 .../cursor/deleteCharacter-toc02-expected.html  |   15 +
 .../cursor/deleteCharacter-toc02-input.html     |   24 +
 .../cursor/deleteCharacter-toc03-expected.html  |   14 +
 .../cursor/deleteCharacter-toc03-input.html     |   27 +
 .../cursor/deleteCharacter-toc04-expected.html  |   15 +
 .../cursor/deleteCharacter-toc04-input.html     |   27 +
 .../cursor/deleteCharacter01-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter01-input.html  |   15 +
 .../cursor/deleteCharacter02-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter02-input.html  |   15 +
 .../cursor/deleteCharacter03-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter03-input.html  |   15 +
 .../cursor/deleteCharacter04-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter04-input.html  |   16 +
 .../cursor/deleteCharacter04a-expected.html     |    6 +
 .../Layer0/cursor/deleteCharacter04a-input.html |   16 +
 .../cursor/deleteCharacter04b-expected.html     |    6 +
 .../Layer0/cursor/deleteCharacter04b-input.html |   16 +
 .../cursor/deleteCharacter05-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter05-input.html  |   16 +
 .../cursor/deleteCharacter05a-expected.html     |    6 +
 .../Layer0/cursor/deleteCharacter05a-input.html |   16 +
 .../cursor/deleteCharacter05b-expected.html     |    6 +
 .../Layer0/cursor/deleteCharacter05b-input.html |   16 +
 .../cursor/deleteCharacter06-expected.html      |    8 +
 .../Layer0/cursor/deleteCharacter06-input.html  |   16 +
 .../cursor/deleteCharacter06a-expected.html     |    8 +
 .../Layer0/cursor/deleteCharacter06a-input.html |   16 +
 .../cursor/deleteCharacter06b-expected.html     |    8 +
 .../Layer0/cursor/deleteCharacter06b-input.html |   16 +
 .../cursor/deleteCharacter07-expected.html      |    8 +
 .../Layer0/cursor/deleteCharacter07-input.html  |   16 +
 .../cursor/deleteCharacter07a-expected.html     |    8 +
 .../Layer0/cursor/deleteCharacter07a-input.html |   16 +
 .../cursor/deleteCharacter07b-expected.html     |    8 +
 .../Layer0/cursor/deleteCharacter07b-input.html |   16 +
 .../cursor/deleteCharacter08-expected.html      |    9 +
 .../Layer0/cursor/deleteCharacter08-input.html  |   16 +
 .../cursor/deleteCharacter08a-expected.html     |    9 +
 .../Layer0/cursor/deleteCharacter08a-input.html |   16 +
 .../cursor/deleteCharacter08b-expected.html     |    9 +
 .../Layer0/cursor/deleteCharacter08b-input.html |   16 +
 .../cursor/deleteCharacter09-expected.html      |    7 +
 .../Layer0/cursor/deleteCharacter09-input.html  |   17 +
 .../cursor/deleteCharacter10-expected.html      |    7 +
 .../Layer0/cursor/deleteCharacter10-input.html  |   17 +
 .../cursor/deleteCharacter11-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter11-input.html  |   15 +
 .../cursor/deleteCharacter12-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter12-input.html  |   16 +
 .../cursor/deleteCharacter13-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter13-input.html  |   18 +
 .../cursor/deleteCharacter14-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter14-input.html  |   19 +
 .../cursor/deleteCharacter15-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter15-input.html  |   19 +
 .../cursor/deleteCharacter16-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter16-input.html  |   16 +
 .../cursor/deleteCharacter17-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter17-input.html  |   16 +
 .../cursor/deleteCharacter18-expected.html      |    7 +
 .../Layer0/cursor/deleteCharacter18-input.html  |   17 +
 .../cursor/deleteCharacter19-expected.html      |    7 +
 .../Layer0/cursor/deleteCharacter19-input.html  |   17 +
 .../cursor/deleteCharacter20-expected.html      |    7 +
 .../Layer0/cursor/deleteCharacter20-input.html  |   17 +
 .../cursor/deleteCharacter21-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter21-input.html  |   16 +
 .../cursor/deleteCharacter22-expected.html      |    6 +
 .../Layer0/cursor/deleteCharacter22-input.html  |   19 +
 .../cursor/deleteCharacter23-expected.html      |    7 +
 .../Layer0/cursor/deleteCharacter23-input.html  |   19 +
 .../cursor/deleteCharacter24-expected.html      |   11 +
 .../Layer0/cursor/deleteCharacter24-input.html  |   17 +
 .../cursor/doubleSpacePeriod01-expected.html    |    6 +
 .../cursor/doubleSpacePeriod01-input.html       |   16 +
 .../cursor/doubleSpacePeriod02-expected.html    |    6 +
 .../cursor/doubleSpacePeriod02-input.html       |   17 +
 .../cursor/doubleSpacePeriod03-expected.html    |    6 +
 .../cursor/doubleSpacePeriod03-input.html       |   16 +
 .../cursor/doubleSpacePeriod04-expected.html    |    6 +
 .../cursor/doubleSpacePeriod04-input.html       |   16 +
 .../cursor/doubleSpacePeriod05-expected.html    |    6 +
 .../cursor/doubleSpacePeriod05-input.html       |   19 +
 .../Layer0/cursor/enter-delete01-expected.html  |    6 +
 .../Layer0/cursor/enter-delete01-input.html     |   16 +
 .../Layer0/cursor/enter-delete02-expected.html  |    6 +
 .../Layer0/cursor/enter-delete02-input.html     |   18 +
 .../Layer0/cursor/enter-delete03-expected.html  |    6 +
 .../Layer0/cursor/enter-delete03-input.html     |   24 +
 .../cursor/enterAfterFigure01-expected.html     |   13 +
 .../Layer0/cursor/enterAfterFigure01-input.html |   18 +
 .../cursor/enterAfterFigure02-expected.html     |   14 +
 .../Layer0/cursor/enterAfterFigure02-input.html |   18 +
 .../cursor/enterAfterFigure03-expected.html     |   14 +
 .../Layer0/cursor/enterAfterFigure03-input.html |   18 +
 .../cursor/enterAfterTable01-expected.html      |   22 +
 .../Layer0/cursor/enterAfterTable01-input.html  |   25 +
 .../cursor/enterAfterTable02-expected.html      |   23 +
 .../Layer0/cursor/enterAfterTable02-input.html  |   25 +
 .../cursor/enterAfterTable03-expected.html      |   23 +
 .../Layer0/cursor/enterAfterTable03-input.html  |   25 +
 .../cursor/enterBeforeFigure01-expected.html    |   13 +
 .../cursor/enterBeforeFigure01-input.html       |   18 +
 .../cursor/enterBeforeFigure02-expected.html    |   14 +
 .../cursor/enterBeforeFigure02-input.html       |   18 +
 .../cursor/enterBeforeFigure03-expected.html    |   11 +
 .../cursor/enterBeforeFigure03-input.html       |   18 +
 .../cursor/enterBeforeTable01-expected.html     |   22 +
 .../Layer0/cursor/enterBeforeTable01-input.html |   25 +
 .../cursor/enterBeforeTable02-expected.html     |   23 +
 .../Layer0/cursor/enterBeforeTable02-input.html |   25 +
 .../cursor/enterBeforeTable03-expected.html     |   20 +
 .../Layer0/cursor/enterBeforeTable03-input.html |   25 +
 .../cursor/enterPressed-caption01-expected.html |   28 +
 .../cursor/enterPressed-caption01-input.html    |   38 +
 .../cursor/enterPressed-caption02-expected.html |   28 +
 .../cursor/enterPressed-caption02-input.html    |   38 +
 .../enterPressed-emptyContainer01-expected.html |   10 +
 .../enterPressed-emptyContainer01-input.html    |   13 +
 ...enterPressed-emptyContainer01a-expected.html |   10 +
 .../enterPressed-emptyContainer01a-input.html   |   14 +
 .../enterPressed-emptyContainer02-expected.html |   12 +
 .../enterPressed-emptyContainer02-input.html    |   13 +
 ...enterPressed-emptyContainer02a-expected.html |   12 +
 .../enterPressed-emptyContainer02a-input.html   |   14 +
 .../enterPressed-emptyContainer03-expected.html |   12 +
 .../enterPressed-emptyContainer03-input.html    |   13 +
 ...enterPressed-emptyContainer03a-expected.html |   12 +
 .../enterPressed-emptyContainer03a-input.html   |   14 +
 .../enterPressed-emptyContainer04-expected.html |   17 +
 .../enterPressed-emptyContainer04-input.html    |   20 +
 ...enterPressed-emptyContainer04a-expected.html |   17 +
 .../enterPressed-emptyContainer04a-input.html   |   21 +
 .../enterPressed-emptyContainer05-expected.html |   18 +
 .../enterPressed-emptyContainer05-input.html    |   19 +
 ...enterPressed-emptyContainer05a-expected.html |   18 +
 .../enterPressed-emptyContainer05a-input.html   |   20 +
 .../enterPressed-emptyContainer06-expected.html |   18 +
 .../enterPressed-emptyContainer06-input.html    |   19 +
 ...enterPressed-emptyContainer06a-expected.html |   18 +
 .../enterPressed-emptyContainer06a-input.html   |   20 +
 .../enterPressed-emptyContainer07-expected.html |    9 +
 .../enterPressed-emptyContainer07-input.html    |   17 +
 ...enterPressed-emptyContainer07a-expected.html |    9 +
 .../enterPressed-emptyContainer07a-input.html   |   18 +
 .../enterPressed-emptyContainer08-expected.html |   14 +
 .../enterPressed-emptyContainer08-input.html    |   17 +
 ...enterPressed-emptyContainer08a-expected.html |   14 +
 .../enterPressed-emptyContainer08a-input.html   |   18 +
 .../cursor/enterPressed-endnote01-expected.html |   13 +
 .../cursor/enterPressed-endnote01-input.html    |   16 +
 .../cursor/enterPressed-endnote02-expected.html |   12 +
 .../cursor/enterPressed-endnote02-input.html    |   16 +
 .../cursor/enterPressed-endnote03-expected.html |   12 +
 .../cursor/enterPressed-endnote03-input.html    |   16 +
 .../cursor/enterPressed-endnote04-expected.html |   13 +
 .../cursor/enterPressed-endnote04-input.html    |   16 +
 .../cursor/enterPressed-endnote05-expected.html |   12 +
 .../cursor/enterPressed-endnote05-input.html    |   16 +
 .../cursor/enterPressed-endnote06-expected.html |   12 +
 .../cursor/enterPressed-endnote06-input.html    |   16 +
 .../cursor/enterPressed-endnote07-expected.html |   12 +
 .../cursor/enterPressed-endnote07-input.html    |   16 +
 .../cursor/enterPressed-endnote08-expected.html |   12 +
 .../cursor/enterPressed-endnote08-input.html    |   16 +
 .../enterPressed-figcaption01-expected.html     |   15 +
 .../cursor/enterPressed-figcaption01-input.html |   27 +
 .../enterPressed-figcaption02-expected.html     |   15 +
 .../cursor/enterPressed-figcaption02-input.html |   27 +
 .../enterPressed-footnote01-expected.html       |   13 +
 .../cursor/enterPressed-footnote01-input.html   |   16 +
 .../enterPressed-footnote02-expected.html       |   12 +
 .../cursor/enterPressed-footnote02-input.html   |   16 +
 .../enterPressed-footnote03-expected.html       |   12 +
 .../cursor/enterPressed-footnote03-input.html   |   16 +
 .../enterPressed-footnote04-expected.html       |   13 +
 .../cursor/enterPressed-footnote04-input.html   |   16 +
 .../enterPressed-footnote05-expected.html       |   12 +
 .../cursor/enterPressed-footnote05-input.html   |   16 +
 .../enterPressed-footnote06-expected.html       |   12 +
 .../cursor/enterPressed-footnote06-input.html   |   16 +
 .../enterPressed-footnote07-expected.html       |   12 +
 .../cursor/enterPressed-footnote07-input.html   |   16 +
 .../enterPressed-footnote08-expected.html       |   12 +
 .../cursor/enterPressed-footnote08-input.html   |   16 +
 .../cursor/enterPressed-heading01-expected.html |    7 +
 .../cursor/enterPressed-heading01-input.html    |   18 +
 .../cursor/enterPressed-heading02-expected.html |   10 +
 .../cursor/enterPressed-heading02-input.html    |   19 +
 .../cursor/enterPressed-heading03-expected.html |   10 +
 .../cursor/enterPressed-heading03-input.html    |   18 +
 .../cursor/enterPressed-heading04-expected.html |   10 +
 .../cursor/enterPressed-heading04-input.html    |   15 +
 .../cursor/enterPressed-heading05-expected.html |    7 +
 .../cursor/enterPressed-heading05-input.html    |   15 +
 .../cursor/enterPressed-heading06-expected.html |   10 +
 .../cursor/enterPressed-heading06-input.html    |   15 +
 .../cursor/enterPressed-heading07-expected.html |    7 +
 .../cursor/enterPressed-heading07-input.html    |   15 +
 .../cursor/enterPressed-heading08-expected.html |   13 +
 .../cursor/enterPressed-heading08-input.html    |   15 +
 .../cursor/enterPressed-heading09-expected.html |    7 +
 .../cursor/enterPressed-heading09-input.html    |   15 +
 .../cursor/enterPressed-heading10-expected.html |    6 +
 .../cursor/enterPressed-heading10-input.html    |   17 +
 .../cursor/enterPressed-heading11-expected.html |   10 +
 .../cursor/enterPressed-heading11-input.html    |   17 +
 .../cursor/enterPressed-heading12-expected.html |   13 +
 .../cursor/enterPressed-heading12-input.html    |   17 +
 .../cursor/enterPressed-heading13-expected.html |    7 +
 .../cursor/enterPressed-heading13-input.html    |   17 +
 .../enterPressed-list-nop01-expected.html       |    9 +
 .../cursor/enterPressed-list-nop01-input.html   |   17 +
 .../enterPressed-list-nop02-expected.html       |   12 +
 .../cursor/enterPressed-list-nop02-input.html   |   20 +
 .../enterPressed-list-nop03-expected.html       |    9 +
 .../cursor/enterPressed-list-nop03-input.html   |   17 +
 .../enterPressed-list-nop04-expected.html       |   12 +
 .../cursor/enterPressed-list-nop04-input.html   |   20 +
 .../enterPressed-list-nop05-expected.html       |    9 +
 .../cursor/enterPressed-list-nop05-input.html   |   17 +
 .../enterPressed-list-nop06-expected.html       |   12 +
 .../cursor/enterPressed-list-nop06-input.html   |   20 +
 .../enterPressed-list-nop07-expected.html       |    9 +
 .../cursor/enterPressed-list-nop07-input.html   |   17 +
 .../enterPressed-list-nop08-expected.html       |   12 +
 .../cursor/enterPressed-list-nop08-input.html   |   20 +
 .../cursor/enterPressed-list01-expected.html    |   11 +
 .../cursor/enterPressed-list01-input.html       |   20 +
 .../cursor/enterPressed-list02-expected.html    |   11 +
 .../cursor/enterPressed-list02-input.html       |   20 +
 .../cursor/enterPressed-list03-expected.html    |   16 +
 .../cursor/enterPressed-list03-input.html       |   20 +
 .../cursor/enterPressed-list04-expected.html    |   11 +
 .../cursor/enterPressed-list04-input.html       |   20 +
 .../cursor/enterPressed-list05-expected.html    |   11 +
 .../cursor/enterPressed-list05-input.html       |   20 +
 .../cursor/enterPressed-list06-expected.html    |   11 +
 .../cursor/enterPressed-list06-input.html       |   20 +
 .../cursor/enterPressed-list07-expected.html    |   11 +
 .../cursor/enterPressed-list07-input.html       |   21 +
 .../cursor/enterPressed-list08-expected.html    |   11 +
 .../cursor/enterPressed-list08-input.html       |   21 +
 .../cursor/enterPressed-list09-expected.html    |   11 +
 .../cursor/enterPressed-list09-input.html       |   21 +
 .../cursor/enterPressed-list10-expected.html    |   14 +
 .../cursor/enterPressed-list10-input.html       |   20 +
 .../cursor/enterPressed-list11-expected.html    |   11 +
 .../cursor/enterPressed-list11-input.html       |   20 +
 .../cursor/enterPressed-list12-expected.html    |   15 +
 .../cursor/enterPressed-list12-input.html       |   23 +
 .../cursor/enterPressed-list13-expected.html    |   14 +
 .../cursor/enterPressed-list13-input.html       |   23 +
 .../cursor/enterPressed-list14-expected.html    |   14 +
 .../cursor/enterPressed-list14-input.html       |   23 +
 .../cursor/enterPressed-list15-expected.html    |   17 +
 .../cursor/enterPressed-list15-input.html       |   23 +
 .../cursor/enterPressed-list16-expected.html    |   14 +
 .../cursor/enterPressed-list16-input.html       |   24 +
 .../cursor/enterPressed-list17-expected.html    |   14 +
 .../cursor/enterPressed-list17-input.html       |   23 +
 .../cursor/enterPressed-list18-expected.html    |   14 +
 .../cursor/enterPressed-list18-input.html       |   23 +
 .../cursor/enterPressed-list19-expected.html    |   19 +
 .../cursor/enterPressed-list19-input.html       |   23 +
 .../cursor/enterPressed-list20-expected.html    |   14 +
 .../cursor/enterPressed-list20-input.html       |   24 +
 .../cursor/enterPressed-list21-expected.html    |   11 +
 .../cursor/enterPressed-list21-input.html       |   20 +
 .../cursor/enterPressed-list22-expected.html    |   16 +
 .../cursor/enterPressed-list22-input.html       |   20 +
 .../cursor/enterPressed-list23-expected.html    |   16 +
 .../cursor/enterPressed-list23-input.html       |   20 +
 .../cursor/enterPressed-list24-expected.html    |   18 +
 .../cursor/enterPressed-list24-input.html       |   21 +
 .../cursor/enterPressed-list25-expected.html    |   11 +
 .../cursor/enterPressed-list25-input.html       |   24 +
 .../cursor/enterPressed-list26-expected.html    |   14 +
 .../cursor/enterPressed-list26-input.html       |   17 +
 .../cursor/enterPressed-list27-expected.html    |   17 +
 .../cursor/enterPressed-list27-input.html       |   20 +
 .../cursor/enterPressed-list28-expected.html    |   17 +
 .../cursor/enterPressed-list28-input.html       |   20 +
 .../cursor/enterPressed-list29-expected.html    |   19 +
 .../cursor/enterPressed-list29-input.html       |   24 +
 .../cursor/enterPressed-list30-expected.html    |   24 +
 .../cursor/enterPressed-list30-input.html       |   29 +
 .../cursor/enterPressed-list31-expected.html    |   17 +
 .../cursor/enterPressed-list31-input.html       |   24 +
 .../cursor/enterPressed-list32-expected.html    |   22 +
 .../cursor/enterPressed-list32-input.html       |   29 +
 .../cursor/enterPressed-list33-expected.html    |   22 +
 .../cursor/enterPressed-list33-input.html       |   29 +
 .../cursor/enterPressed-next01-expected.html    |    7 +
 .../cursor/enterPressed-next01-input.html       |   16 +
 .../cursor/enterPressed-next02-expected.html    |    7 +
 .../cursor/enterPressed-next02-input.html       |   17 +
 .../cursor/enterPressed-next03-expected.html    |    7 +
 .../cursor/enterPressed-next03-input.html       |   16 +
 .../cursor/enterPressed-next04-expected.html    |    7 +
 .../cursor/enterPressed-next04-input.html       |   17 +
 .../cursor/enterPressed-next05a-expected.html   |   10 +
 .../cursor/enterPressed-next05a-input.html      |   18 +
 .../cursor/enterPressed-next05b-expected.html   |   10 +
 .../cursor/enterPressed-next05b-input.html      |   18 +
 .../cursor/enterPressed-next05c-expected.html   |   10 +
 .../cursor/enterPressed-next05c-input.html      |   18 +
 .../cursor/enterPressed-next05d-expected.html   |   10 +
 .../cursor/enterPressed-next05d-input.html      |   18 +
 .../cursor/enterPressed-next05e-expected.html   |   10 +
 .../cursor/enterPressed-next05e-input.html      |   18 +
 .../cursor/enterPressed-next06-expected.html    |   10 +
 .../cursor/enterPressed-next06-input.html       |   17 +
 .../cursor/enterPressed-next07-expected.html    |   10 +
 .../cursor/enterPressed-next07-input.html       |   17 +
 .../cursor/enterPressed-next08-expected.html    |   10 +
 .../cursor/enterPressed-next08-input.html       |   17 +
 .../cursor/enterPressed-next09-expected.html    |    7 +
 .../cursor/enterPressed-next09-input.html       |   16 +
 .../enterPressed-paragraphClass01-expected.html |    7 +
 .../enterPressed-paragraphClass01-input.html    |   16 +
 .../enterPressed-paragraphClass02-expected.html |   10 +
 .../enterPressed-paragraphClass02-input.html    |   16 +
 .../enterPressed-paragraphClass03-expected.html |   10 +
 .../enterPressed-paragraphClass03-input.html    |   16 +
 .../enterPressed-paragraphClass04-expected.html |    7 +
 .../enterPressed-paragraphClass04-input.html    |   17 +
 .../enterPressed-paragraphClass05-expected.html |   10 +
 .../enterPressed-paragraphClass05-input.html    |   17 +
 .../enterPressed-paragraphClass06-expected.html |   10 +
 .../enterPressed-paragraphClass06-input.html    |   17 +
 .../enterPressed-selection01-expected.html      |    7 +
 .../cursor/enterPressed-selection01-input.html  |   15 +
 .../enterPressed-selection02-expected.html      |   10 +
 .../cursor/enterPressed-selection02-input.html  |   15 +
 .../enterPressed-selection03-expected.html      |    7 +
 .../cursor/enterPressed-selection03-input.html  |   16 +
 .../enterPressed-selection04-expected.html      |   10 +
 .../cursor/enterPressed-selection04-input.html  |   16 +
 .../Layer0/cursor/enterPressed01-expected.html  |    7 +
 .../Layer0/cursor/enterPressed01-input.html     |   16 +
 .../Layer0/cursor/enterPressed02-expected.html  |    7 +
 .../Layer0/cursor/enterPressed02-input.html     |   16 +
 .../Layer0/cursor/enterPressed03-expected.html  |   11 +
 .../Layer0/cursor/enterPressed03-input.html     |   16 +
 .../Layer0/cursor/enterPressed04-expected.html  |    7 +
 .../Layer0/cursor/enterPressed04-input.html     |   16 +
 .../Layer0/cursor/enterPressed05-expected.html  |   10 +
 .../Layer0/cursor/enterPressed05-input.html     |   16 +
 .../Layer0/cursor/enterPressed06-expected.html  |    7 +
 .../Layer0/cursor/enterPressed06-input.html     |   16 +
 .../Layer0/cursor/enterPressed07-expected.html  |    7 +
 .../Layer0/cursor/enterPressed07-input.html     |   16 +
 .../Layer0/cursor/enterPressed08-expected.html  |   10 +
 .../Layer0/cursor/enterPressed08-input.html     |   16 +
 .../Layer0/cursor/enterPressed09-expected.html  |    7 +
 .../Layer0/cursor/enterPressed09-input.html     |   17 +
 .../Layer0/cursor/enterPressed10-expected.html  |    7 +
 .../Layer0/cursor/enterPressed10-input.html     |   16 +
 .../Layer0/cursor/enterPressed11-expected.html  |    7 +
 .../Layer0/cursor/enterPressed11-input.html     |   16 +
 .../Layer0/cursor/enterPressed12-expected.html  |   10 +
 .../Layer0/cursor/enterPressed12-input.html     |   16 +
 .../Layer0/cursor/enterPressed13-expected.html  |    7 +
 .../Layer0/cursor/enterPressed13-input.html     |   17 +
 .../Layer0/cursor/enterPressed14-expected.html  |   10 +
 .../Layer0/cursor/enterPressed14-input.html     |   16 +
 .../Layer0/cursor/enterPressed15-expected.html  |   10 +
 .../Layer0/cursor/enterPressed15-input.html     |   16 +
 .../Layer0/cursor/enterPressed16-expected.html  |   10 +
 .../Layer0/cursor/enterPressed16-input.html     |   16 +
 .../Layer0/cursor/enterPressed17-expected.html  |    7 +
 .../Layer0/cursor/enterPressed17-input.html     |   16 +
 .../Layer0/cursor/enterPressed18-expected.html  |   14 +
 .../Layer0/cursor/enterPressed18-input.html     |   16 +
 .../Layer0/cursor/enterPressed19-expected.html  |    7 +
 .../Layer0/cursor/enterPressed19-input.html     |   16 +
 .../Layer0/cursor/enterPressed20-expected.html  |   17 +
 .../Layer0/cursor/enterPressed20-input.html     |   16 +
 .../Layer0/cursor/enterPressed21-expected.html  |   14 +
 .../Layer0/cursor/enterPressed21-input.html     |   16 +
 .../Layer0/cursor/enterPressed22-expected.html  |   14 +
 .../Layer0/cursor/enterPressed22-input.html     |   16 +
 .../Layer0/cursor/enterPressed23-expected.html  |   14 +
 .../Layer0/cursor/enterPressed23-input.html     |   16 +
 .../Layer0/cursor/enterPressed24-expected.html  |   10 +
 .../Layer0/cursor/enterPressed24-input.html     |   16 +
 .../Layer0/cursor/enterPressed25-expected.html  |   10 +
 .../Layer0/cursor/enterPressed25-input.html     |   16 +
 .../Layer0/cursor/enterPressed26-expected.html  |   14 +
 .../Layer0/cursor/enterPressed26-input.html     |   16 +
 .../Layer0/cursor/enterPressed27-expected.html  |   10 +
 .../Layer0/cursor/enterPressed27-input.html     |   16 +
 .../Layer0/cursor/enterPressed28-expected.html  |   14 +
 .../Layer0/cursor/enterPressed28-input.html     |   19 +
 .../Layer0/cursor/enterPressed29-expected.html  |    7 +
 .../Layer0/cursor/enterPressed29-input.html     |   15 +
 .../Layer0/cursor/enterPressed30-expected.html  |   11 +
 .../Layer0/cursor/enterPressed30-input.html     |   16 +
 .../Layer0/cursor/enterPressed31-expected.html  |   11 +
 .../Layer0/cursor/enterPressed31-input.html     |   19 +
 .../Layer0/cursor/enterPressed32-expected.html  |   16 +
 .../Layer0/cursor/enterPressed32-input.html     |   24 +
 .../Layer0/cursor/enterPressed33-expected.html  |   14 +
 .../Layer0/cursor/enterPressed33-input.html     |   19 +
 .../Layer0/cursor/enterPressed34-expected.html  |   19 +
 .../Layer0/cursor/enterPressed34-input.html     |   24 +
 .../Layer0/cursor/enterPressed35-expected.html  |   12 +
 .../Layer0/cursor/enterPressed35-input.html     |   17 +
 .../insertCharacter-caption01-expected.html     |   24 +
 .../cursor/insertCharacter-caption01-input.html |   38 +
 .../insertCharacter-caption02-expected.html     |   24 +
 .../cursor/insertCharacter-caption02-input.html |   38 +
 .../cursor/insertCharacter-dash01-expected.html |    7 +
 .../cursor/insertCharacter-dash01-input.html    |   20 +
 .../cursor/insertCharacter-dash02-expected.html |    7 +
 .../cursor/insertCharacter-dash02-input.html    |   20 +
 .../cursor/insertCharacter-dash03-expected.html |    7 +
 .../cursor/insertCharacter-dash03-input.html    |   21 +
 .../cursor/insertCharacter-dash04-expected.html |    7 +
 .../cursor/insertCharacter-dash04-input.html    |   21 +
 .../insertCharacter-empty01-expected.html       |    6 +
 .../cursor/insertCharacter-empty01-input.html   |   15 +
 .../insertCharacter-empty02-expected.html       |    6 +
 .../cursor/insertCharacter-empty02-input.html   |   15 +
 .../insertCharacter-empty03-expected.html       |    6 +
 .../cursor/insertCharacter-empty03-input.html   |   15 +
 .../insertCharacter-empty04-expected.html       |    6 +
 .../cursor/insertCharacter-empty04-input.html   |   15 +
 .../insertCharacter-empty05-expected.html       |    6 +
 .../cursor/insertCharacter-empty05-input.html   |   15 +
 .../insertCharacter-empty06-expected.html       |    6 +
 .../cursor/insertCharacter-empty06-input.html   |   15 +
 .../insertCharacter-empty07-expected.html       |    6 +
 .../cursor/insertCharacter-empty07-input.html   |   15 +
 .../insertCharacter-empty08-expected.html       |    6 +
 .../cursor/insertCharacter-empty08-input.html   |   19 +
 .../insertCharacter-empty09-expected.html       |    6 +
 .../cursor/insertCharacter-empty09-input.html   |   19 +
 .../insertCharacter-empty10-expected.html       |    6 +
 .../cursor/insertCharacter-empty10-input.html   |   17 +
 .../insertCharacter-empty11-expected.html       |    6 +
 .../cursor/insertCharacter-empty11-input.html   |   15 +
 .../insertCharacter-figcaption01-expected.html  |   11 +
 .../insertCharacter-figcaption01-input.html     |   27 +
 .../insertCharacter-figcaption02-expected.html  |   11 +
 .../insertCharacter-figcaption02-input.html     |   27 +
 .../cursor/insertCharacter-list01-expected.html |   10 +
 .../cursor/insertCharacter-list01-input.html    |   20 +
 .../cursor/insertCharacter-list02-expected.html |   10 +
 .../cursor/insertCharacter-list02-input.html    |   20 +
 .../cursor/insertCharacter-list03-expected.html |   10 +
 .../cursor/insertCharacter-list03-input.html    |   20 +
 .../cursor/insertCharacter-list04-expected.html |   10 +
 .../cursor/insertCharacter-list04-input.html    |   20 +
 .../cursor/insertCharacter-list05-expected.html |   10 +
 .../cursor/insertCharacter-list05-input.html    |   20 +
 .../cursor/insertCharacter-list06-expected.html |   12 +
 .../cursor/insertCharacter-list06-input.html    |   22 +
 .../cursor/insertCharacter-list07-expected.html |   12 +
 .../cursor/insertCharacter-list07-input.html    |   22 +
 .../cursor/insertCharacter-list08-expected.html |   12 +
 .../cursor/insertCharacter-list08-input.html    |   22 +
 .../cursor/insertCharacter-list09-expected.html |   12 +
 .../cursor/insertCharacter-list09-input.html    |   22 +
 .../cursor/insertCharacter-list10-expected.html |   12 +
 .../cursor/insertCharacter-list10-input.html    |   22 +
 .../insertCharacter-quotes01-expected.html      |    8 +
 .../cursor/insertCharacter-quotes01-input.html  |   29 +
 .../insertCharacter-space01-expected.html       |    6 +
 .../cursor/insertCharacter-space01-input.html   |   16 +
 .../insertCharacter-space02-expected.html       |    9 +
 .../cursor/insertCharacter-space02-input.html   |   15 +
 .../insertCharacter-space03-expected.html       |    9 +
 .../cursor/insertCharacter-space03-input.html   |   15 +
 .../insertCharacter-space04-expected.html       |   10 +
 .../cursor/insertCharacter-space04-input.html   |   15 +
 .../insertCharacter-space05-expected.html       |   10 +
 .../cursor/insertCharacter-space05-input.html   |   15 +
 .../insertCharacter-space06-expected.html       |    9 +
 .../cursor/insertCharacter-space06-input.html   |   15 +
 .../insertCharacter-space07-expected.html       |   10 +
 .../cursor/insertCharacter-space07-input.html   |   15 +
 .../insertCharacter-space08-expected.html       |   10 +
 .../cursor/insertCharacter-space08-input.html   |   15 +
 .../insertCharacter-spchar01-expected.html      |    6 +
 .../cursor/insertCharacter-spchar01-input.html  |   16 +
 .../insertCharacter-spchar02-expected.html      |    9 +
 .../cursor/insertCharacter-spchar02-input.html  |   16 +
 .../insertCharacter-spchar03-expected.html      |    6 +
 .../cursor/insertCharacter-spchar03-input.html  |   16 +
 .../insertCharacter-spchar04-expected.html      |    9 +
 .../cursor/insertCharacter-spchar04-input.html  |   16 +
 .../insertCharacter-table01-expected.html       |   25 +
 .../cursor/insertCharacter-table01-input.html   |   32 +
 .../insertCharacter-table02-expected.html       |   25 +
 .../cursor/insertCharacter-table02-input.html   |   32 +
 .../insertCharacter-table03-expected.html       |   24 +
 .../cursor/insertCharacter-table03-input.html   |   35 +
 .../insertCharacter-table04-expected.html       |   24 +
 .../cursor/insertCharacter-table04-input.html   |   35 +
 .../insertCharacter-table05-expected.html       |   25 +
 .../cursor/insertCharacter-table05-input.html   |   35 +
 .../insertCharacter-table06-expected.html       |   24 +
 .../cursor/insertCharacter-table06-input.html   |   35 +
 .../insertCharacter-table07-expected.html       |   24 +
 .../cursor/insertCharacter-table07-input.html   |   35 +
 .../insertCharacter-table08-expected.html       |   25 +
 .../cursor/insertCharacter-table08-input.html   |   35 +
 .../insertCharacter-table09-expected.html       |   24 +
 .../cursor/insertCharacter-table09-input.html   |   35 +
 .../insertCharacter-table10-expected.html       |   24 +
 .../cursor/insertCharacter-table10-input.html   |   35 +
 .../insertCharacter-table11-expected.html       |   24 +
 .../cursor/insertCharacter-table11-input.html   |   37 +
 .../insertCharacter-table12-expected.html       |   25 +
 .../cursor/insertCharacter-table12-input.html   |   37 +
 .../insertCharacter-table13-expected.html       |   24 +
 .../cursor/insertCharacter-table13-input.html   |   37 +
 .../insertCharacter-table14-expected.html       |   24 +
 .../cursor/insertCharacter-table14-input.html   |   37 +
 .../insertCharacter-table15-expected.html       |   25 +
 .../cursor/insertCharacter-table15-input.html   |   37 +
 .../insertCharacter-toparagraph01-expected.html |    6 +
 .../insertCharacter-toparagraph01-input.html    |   28 +
 .../insertCharacter-toparagraph02-expected.html |    6 +
 .../insertCharacter-toparagraph02-input.html    |   28 +
 .../insertCharacter-toparagraph03-expected.html |    6 +
 .../insertCharacter-toparagraph03-input.html    |   32 +
 .../insertCharacter-toparagraph04-expected.html |    6 +
 .../insertCharacter-toparagraph04-input.html    |   32 +
 .../insertCharacter-toparagraph05-expected.html |    6 +
 .../insertCharacter-toparagraph05-input.html    |   32 +
 .../insertCharacter-toparagraph06-expected.html |    6 +
 .../insertCharacter-toparagraph06-input.html    |   32 +
 .../insertCharacter-toparagraph07-expected.html |    7 +
 .../insertCharacter-toparagraph07-input.html    |   31 +
 .../insertCharacter-toparagraph08-expected.html |    7 +
 .../insertCharacter-toparagraph08-input.html    |   31 +
 .../cursor/insertCharacter01-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter01-input.html  |   15 +
 .../cursor/insertCharacter02-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter02-input.html  |   15 +
 .../cursor/insertCharacter03-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter03-input.html  |   15 +
 .../cursor/insertCharacter04-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter04-input.html  |   15 +
 .../cursor/insertCharacter05-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter05-input.html  |   15 +
 .../cursor/insertCharacter06-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter06-input.html  |   15 +
 .../cursor/insertCharacter07-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter07-input.html  |   15 +
 .../cursor/insertCharacter08-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter08-input.html  |   15 +
 .../cursor/insertCharacter09-expected.html      |    7 +
 .../Layer0/cursor/insertCharacter09-input.html  |   17 +
 .../cursor/insertCharacter10-expected.html      |    6 +
 .../Layer0/cursor/insertCharacter10-input.html  |   16 +
 .../cursor/insertCharacter11-expected.html      |    7 +
 .../Layer0/cursor/insertCharacter11-input.html  |   16 +
 .../cursor/insertCharacter12-expected.html      |    8 +
 .../Layer0/cursor/insertCharacter12-input.html  |   18 +
 .../cursor/insertCharacter13-expected.html      |    7 +
 .../Layer0/cursor/insertCharacter13-input.html  |   16 +
 .../cursor/insertCharacter14-expected.html      |    7 +
 .../Layer0/cursor/insertCharacter14-input.html  |   16 +
 .../cursor/insertCharacter15-expected.html      |    8 +
 .../Layer0/cursor/insertCharacter15-input.html  |   17 +
 .../cursor/insertCharacter16-expected.html      |    8 +
 .../Layer0/cursor/insertCharacter16-input.html  |   17 +
 .../Layer0/cursor/insertEndnote01-expected.html |   10 +
 .../Layer0/cursor/insertEndnote01-input.html    |   16 +
 .../Layer0/cursor/insertEndnote02-expected.html |    9 +
 .../Layer0/cursor/insertEndnote02-input.html    |   16 +
 .../Layer0/cursor/insertEndnote03-expected.html |    9 +
 .../Layer0/cursor/insertEndnote03-input.html    |   16 +
 .../Layer0/cursor/insertEndnote04-expected.html |    6 +
 .../Layer0/cursor/insertEndnote04-input.html    |   16 +
 .../Layer0/cursor/insertEndnote05-expected.html |    6 +
 .../Layer0/cursor/insertEndnote05-input.html    |   16 +
 .../Layer0/cursor/insertEndnote06-expected.html |    6 +
 .../Layer0/cursor/insertEndnote06-input.html    |   16 +
 .../Layer0/cursor/insertEndnote07-expected.html |   11 +
 .../Layer0/cursor/insertEndnote07-input.html    |   16 +
 .../Layer0/cursor/insertEndnote08-expected.html |   11 +
 .../Layer0/cursor/insertEndnote08-input.html    |   16 +
 .../Layer0/cursor/insertEndnote09-expected.html |   11 +
 .../Layer0/cursor/insertEndnote09-input.html    |   16 +
 .../cursor/insertFootnote01-expected.html       |   10 +
 .../Layer0/cursor/insertFootnote01-input.html   |   16 +
 .../cursor/insertFootnote02-expected.html       |    9 +
 .../Layer0/cursor/insertFootnote02-input.html   |   16 +
 .../cursor/insertFootnote03-expected.html       |    9 +
 .../Layer0/cursor/insertFootnote03-input.html   |   16 +
 .../cursor/insertFootnote04-expected.html       |    6 +
 .../Layer0/cursor/insertFootnote04-input.html   |   16 +
 .../cursor/insertFootnote05-expected.html       |    6 +
 .../Layer0/cursor/insertFootnote05-input.html   |   16 +
 .../cursor/insertFootnote06-expected.html       |    6 +
 .../Layer0/cursor/insertFootnote06-input.html   |   16 +
 .../cursor/insertFootnote07-expected.html       |   11 +
 .../Layer0/cursor/insertFootnote07-input.html   |   16 +
 .../cursor/insertFootnote08-expected.html       |   11 +
 .../Layer0/cursor/insertFootnote08-input.html   |   16 +
 .../cursor/insertFootnote09-expected.html       |   11 +
 .../Layer0/cursor/insertFootnote09-input.html   |   16 +
 .../makeContainerInsertionPoint01-expected.html |    7 +
 .../makeContainerInsertionPoint01-input.html    |   15 +
 ...makeContainerInsertionPoint02a-expected.html |    8 +
 .../makeContainerInsertionPoint02a-input.html   |   15 +
 ...makeContainerInsertionPoint02b-expected.html |    7 +
 .../makeContainerInsertionPoint02b-input.html   |   15 +
 ...makeContainerInsertionPoint02c-expected.html |    7 +
 .../makeContainerInsertionPoint02c-input.html   |   15 +
 ...makeContainerInsertionPoint03a-expected.html |    8 +
 .../makeContainerInsertionPoint03a-input.html   |   20 +
 ...makeContainerInsertionPoint03b-expected.html |   10 +
 .../makeContainerInsertionPoint03b-input.html   |   20 +
 ...makeContainerInsertionPoint03c-expected.html |   10 +
 .../makeContainerInsertionPoint03c-input.html   |   20 +
 .../makeContainerInsertionPoint04-expected.html |    8 +
 .../makeContainerInsertionPoint04-input.html    |   15 +
 ...makeContainerInsertionPoint05a-expected.html |    8 +
 .../makeContainerInsertionPoint05a-input.html   |   15 +
 ...makeContainerInsertionPoint05b-expected.html |    7 +
 .../makeContainerInsertionPoint05b-input.html   |   15 +
 ...makeContainerInsertionPoint05c-expected.html |    7 +
 .../makeContainerInsertionPoint05c-input.html   |   15 +
 .../makeContainerInsertionPoint06-expected.html |   14 +
 .../makeContainerInsertionPoint06-input.html    |   19 +
 .../makeContainerInsertionPoint07-expected.html |   21 +
 .../makeContainerInsertionPoint07-input.html    |   24 +
 .../test/Layer0/cursor/nbsp01-expected.html     |    6 +
 .../test/Layer0/cursor/nbsp01-input.html        |   15 +
 .../test/Layer0/cursor/nbsp02-expected.html     |    6 +
 .../test/Layer0/cursor/nbsp02-input.html        |   16 +
 .../test/Layer0/cursor/nbsp03-expected.html     |    6 +
 .../test/Layer0/cursor/nbsp03-input.html        |   16 +
 .../test/Layer0/cursor/nbsp04-expected.html     |    6 +
 .../test/Layer0/cursor/nbsp04-input.html        |   17 +
 .../test/Layer0/cursor/nbsp05-expected.html     |    6 +
 .../test/Layer0/cursor/nbsp05-input.html        |   18 +
 .../Layer0/cursor/position-br01-expected.html   |   23 +
 .../test/Layer0/cursor/position-br01-input.html |   26 +
 .../Layer0/cursor/position-br02-expected.html   |   10 +
 .../test/Layer0/cursor/position-br02-input.html |   22 +
 .../Layer0/cursor/position-br03-expected.html   |   20 +
 .../test/Layer0/cursor/position-br03-input.html |   22 +
 .../Layer0/cursor/position-br04-expected.html   |   28 +
 .../test/Layer0/cursor/position-br04-input.html |   22 +
 .../cursor/textAfterFigure01-expected.html      |   10 +
 .../Layer0/cursor/textAfterFigure01-input.html  |   18 +
 .../cursor/textAfterFigure02-expected.html      |   10 +
 .../Layer0/cursor/textAfterFigure02-input.html  |   18 +
 .../cursor/textAfterFigure03-expected.html      |   10 +
 .../Layer0/cursor/textAfterFigure03-input.html  |   18 +
 .../cursor/textAfterTable01-expected.html       |   19 +
 .../Layer0/cursor/textAfterTable01-input.html   |   25 +
 .../cursor/textAfterTable02-expected.html       |   19 +
 .../Layer0/cursor/textAfterTable02-input.html   |   25 +
 .../cursor/textAfterTable03-expected.html       |   19 +
 .../Layer0/cursor/textAfterTable03-input.html   |   25 +
 .../cursor/textBeforeFigure01-expected.html     |   10 +
 .../Layer0/cursor/textBeforeFigure01-input.html |   18 +
 .../cursor/textBeforeFigure02-expected.html     |   10 +
 .../Layer0/cursor/textBeforeFigure02-input.html |   18 +
 .../cursor/textBeforeFigure03-expected.html     |   10 +
 .../Layer0/cursor/textBeforeFigure03-input.html |   18 +
 .../cursor/textBeforeTable01-expected.html      |   19 +
 .../Layer0/cursor/textBeforeTable01-input.html  |   25 +
 .../cursor/textBeforeTable02-expected.html      |   19 +
 .../Layer0/cursor/textBeforeTable02-input.html  |   25 +
 .../cursor/textBeforeTable03-expected.html      |   19 +
 .../Layer0/cursor/textBeforeTable03-input.html  |   25 +
 .../test/Layer0/dom/Position_next-expected.html |    9 +
 .../test/Layer0/dom/Position_next-input.html    |  106 +
 .../test/Layer0/dom/Position_prev-expected.html |    9 +
 .../test/Layer0/dom/Position_prev-input.html    |  104 +
 .../test/Layer0/dom/RangeTest.js                |  182 ++
 .../dom/Range_getOutermostNodes-expected.html   |    9 +
 .../dom/Range_getOutermostNodes-input.html      |   97 +
 .../Layer0/dom/Range_isForward-expected.html    |    9 +
 .../test/Layer0/dom/Range_isForward-input.html  |   97 +
 .../test/Layer0/dom/avoidInline01-expected.html |    6 +
 .../test/Layer0/dom/avoidInline01-input.html    |   14 +
 .../test/Layer0/dom/avoidInline02-expected.html |    7 +
 .../test/Layer0/dom/avoidInline02-input.html    |   15 +
 .../test/Layer0/dom/avoidInline03-expected.html |    7 +
 .../test/Layer0/dom/avoidInline03-input.html    |   15 +
 .../test/Layer0/dom/avoidInline04-expected.html |    8 +
 .../test/Layer0/dom/avoidInline04-input.html    |   16 +
 .../test/Layer0/dom/avoidInline05-expected.html |    8 +
 .../test/Layer0/dom/avoidInline05-input.html    |   16 +
 .../test/Layer0/dom/avoidInline06-expected.html |   10 +
 .../test/Layer0/dom/avoidInline06-input.html    |   14 +
 .../test/Layer0/dom/avoidInline07-expected.html |   16 +
 .../test/Layer0/dom/avoidInline07-input.html    |   16 +
 .../test/Layer0/dom/avoidInline08-expected.html |   18 +
 .../test/Layer0/dom/avoidInline08-input.html    |   18 +
 ...ensureInlineNodesInParagraph01-expected.html |    6 +
 .../ensureInlineNodesInParagraph01-input.html   |   16 +
 ...ensureInlineNodesInParagraph02-expected.html |   12 +
 .../ensureInlineNodesInParagraph02-input.html   |   21 +
 ...ensureInlineNodesInParagraph03-expected.html |   12 +
 .../ensureInlineNodesInParagraph03-input.html   |   21 +
 ...ensureInlineNodesInParagraph04-expected.html |   12 +
 .../ensureInlineNodesInParagraph04-input.html   |   21 +
 ...ensureInlineNodesInParagraph05-expected.html |   20 +
 .../ensureInlineNodesInParagraph05-input.html   |   31 +
 ...ensureInlineNodesInParagraph06-expected.html |   20 +
 .../ensureInlineNodesInParagraph06-input.html   |   31 +
 ...ensureInlineNodesInParagraph07-expected.html |   20 +
 .../ensureInlineNodesInParagraph07-input.html   |   31 +
 ...ensureInlineNodesInParagraph08-expected.html |   24 +
 .../ensureInlineNodesInParagraph08-input.html   |   35 +
 ...ensureInlineNodesInParagraph09-expected.html |   10 +
 .../ensureInlineNodesInParagraph09-input.html   |   26 +
 ...ensureInlineNodesInParagraph10-expected.html |   10 +
 .../ensureInlineNodesInParagraph10-input.html   |   26 +
 ...ensureInlineNodesInParagraph11-expected.html |   10 +
 .../ensureInlineNodesInParagraph11-input.html   |   26 +
 ...ensureInlineNodesInParagraph12-expected.html |   10 +
 .../ensureInlineNodesInParagraph12-input.html   |   26 +
 ...ensureInlineNodesInParagraph13-expected.html |   10 +
 .../ensureInlineNodesInParagraph13-input.html   |   26 +
 ...ensureInlineNodesInParagraph14-expected.html |   10 +
 .../ensureInlineNodesInParagraph14-input.html   |   26 +
 ...ensureInlineNodesInParagraph15-expected.html |   10 +
 .../ensureInlineNodesInParagraph15-input.html   |   26 +
 ...ensureInlineNodesInParagraph16-expected.html |   10 +
 .../ensureInlineNodesInParagraph16-input.html   |   26 +
 .../dom/ensureValidHierarchy01-expected.html    |    6 +
 .../dom/ensureValidHierarchy01-input.html       |   17 +
 .../dom/ensureValidHierarchy02-expected.html    |    6 +
 .../dom/ensureValidHierarchy02-input.html       |   17 +
 .../dom/ensureValidHierarchy03-expected.html    |    7 +
 .../dom/ensureValidHierarchy03-input.html       |   17 +
 .../dom/ensureValidHierarchy04-expected.html    |    7 +
 .../dom/ensureValidHierarchy04-input.html       |   17 +
 .../dom/ensureValidHierarchy05-expected.html    |    7 +
 .../dom/ensureValidHierarchy05-input.html       |   19 +
 .../dom/ensureValidHierarchy06-expected.html    |    6 +
 .../dom/ensureValidHierarchy06-input.html       |   17 +
 .../dom/ensureValidHierarchy07-expected.html    |   24 +
 .../dom/ensureValidHierarchy07-input.html       |   17 +
 .../dom/ensureValidHierarchy08-expected.html    |   22 +
 .../dom/ensureValidHierarchy08-input.html       |   17 +
 .../dom/ensureValidHierarchy09-expected.html    |   30 +
 .../dom/ensureValidHierarchy09-input.html       |   17 +
 .../dom/ensureValidHierarchy10-expected.html    |   22 +
 .../dom/ensureValidHierarchy10-input.html       |   17 +
 .../dom/ensureValidHierarchy11-expected.html    |   24 +
 .../dom/ensureValidHierarchy11-input.html       |   17 +
 .../dom/ensureValidHierarchy12-expected.html    |   55 +
 .../dom/ensureValidHierarchy12-input.html       |   50 +
 .../dom/mergeWithNeighbours01-expected.html     |    6 +
 .../Layer0/dom/mergeWithNeighbours01-input.html |   31 +
 .../dom/mergeWithNeighbours02-expected.html     |    6 +
 .../Layer0/dom/mergeWithNeighbours02-input.html |   31 +
 .../dom/mergeWithNeighbours03-expected.html     |    6 +
 .../Layer0/dom/mergeWithNeighbours03-input.html |   31 +
 .../dom/mergeWithNeighbours04-expected.html     |    6 +
 .../Layer0/dom/mergeWithNeighbours04-input.html |   31 +
 .../dom/mergeWithNeighbours05-expected.html     |    6 +
 .../Layer0/dom/mergeWithNeighbours05-input.html |   25 +
 .../dom/mergeWithNeighbours06-expected.html     |   11 +
 .../Layer0/dom/mergeWithNeighbours06-input.html |   25 +
 .../dom/mergeWithNeighbours07-expected.html     |    6 +
 .../Layer0/dom/mergeWithNeighbours07-input.html |   31 +
 .../dom/mergeWithNeighbours08-expected.html     |   12 +
 .../Layer0/dom/mergeWithNeighbours08-input.html |   39 +
 .../dom/mergeWithNeighbours09-expected.html     |   14 +
 .../Layer0/dom/mergeWithNeighbours09-input.html |   39 +
 .../dom/mergeWithNeighbours10-expected.html     |   14 +
 .../Layer0/dom/mergeWithNeighbours10-input.html |   39 +
 .../dom/mergeWithNeighbours11-expected.html     |    6 +
 .../Layer0/dom/mergeWithNeighbours11-input.html |   25 +
 .../dom/mergeWithNeighbours12-expected.html     |   14 +
 .../Layer0/dom/mergeWithNeighbours12-input.html |   25 +
 .../dom/mergeWithNeighbours13-expected.html     |   14 +
 .../Layer0/dom/mergeWithNeighbours13-input.html |   25 +
 .../dom/mergeWithNeighbours14-expected.html     |   14 +
 .../Layer0/dom/mergeWithNeighbours14-input.html |   25 +
 .../Layer0/dom/moveCharacters01-expected.html   |   28 +
 .../test/Layer0/dom/moveCharacters01-input.html |   62 +
 .../Layer0/dom/moveCharacters02-expected.html   |   28 +
 .../test/Layer0/dom/moveCharacters02-input.html |   62 +
 .../Layer0/dom/moveCharacters03-expected.html   |   28 +
 .../test/Layer0/dom/moveCharacters03-input.html |   62 +
 .../Layer0/dom/moveCharacters04-expected.html   |   28 +
 .../test/Layer0/dom/moveCharacters04-input.html |   62 +
 .../test/Layer0/dom/moveNode01-expected.html    |   10 +
 .../test/Layer0/dom/moveNode01-input.html       |   19 +
 .../test/Layer0/dom/moveNode02-expected.html    |   10 +
 .../test/Layer0/dom/moveNode02-input.html       |   19 +
 .../test/Layer0/dom/moveNode03-expected.html    |   10 +
 .../test/Layer0/dom/moveNode03-input.html       |   19 +
 .../test/Layer0/dom/moveNode04-expected.html    |   10 +
 .../test/Layer0/dom/moveNode04-input.html       |   19 +
 .../test/Layer0/dom/moveNode05-expected.html    |   10 +
 .../test/Layer0/dom/moveNode05-input.html       |   19 +
 .../test/Layer0/dom/moveNode06-expected.html    |   10 +
 .../test/Layer0/dom/moveNode06-input.html       |   19 +
 .../test/Layer0/dom/moveNode07-expected.html    |   10 +
 .../test/Layer0/dom/moveNode07-input.html       |   19 +
 .../test/Layer0/dom/moveNode08-expected.html    |   10 +
 .../test/Layer0/dom/moveNode08-input.html       |   19 +
 .../test/Layer0/dom/moveNode09-expected.html    |   12 +
 .../test/Layer0/dom/moveNode09-input.html       |   19 +
 .../test/Layer0/dom/moveNode10-expected.html    |   12 +
 .../test/Layer0/dom/moveNode10-input.html       |   19 +
 .../test/Layer0/dom/moveNode11-expected.html    |   12 +
 .../test/Layer0/dom/moveNode11-input.html       |   19 +
 .../test/Layer0/dom/moveNode12-expected.html    |   12 +
 .../test/Layer0/dom/moveNode12-input.html       |   19 +
 .../test/Layer0/dom/moveNode13-expected.html    |   12 +
 .../test/Layer0/dom/moveNode13-input.html       |   19 +
 .../test/Layer0/dom/moveNode14-expected.html    |   12 +
 .../test/Layer0/dom/moveNode14-input.html       |   19 +
 .../test/Layer0/dom/moveNode15-expected.html    |   12 +
 .../test/Layer0/dom/moveNode15-input.html       |   19 +
 .../test/Layer0/dom/moveNode16-expected.html    |   12 +
 .../test/Layer0/dom/moveNode16-input.html       |   19 +
 .../test/Layer0/dom/moveNode17-expected.html    |   12 +
 .../test/Layer0/dom/moveNode17-input.html       |   22 +
 .../test/Layer0/dom/moveNode18-expected.html    |   12 +
 .../test/Layer0/dom/moveNode18-input.html       |   22 +
 .../test/Layer0/dom/moveNode19-expected.html    |   12 +
 .../test/Layer0/dom/moveNode19-input.html       |   22 +
 .../test/Layer0/dom/moveNode20-expected.html    |   12 +
 .../test/Layer0/dom/moveNode20-input.html       |   19 +
 .../test/Layer0/dom/moveNode21-expected.html    |   12 +
 .../test/Layer0/dom/moveNode21-input.html       |   19 +
 .../test/Layer0/dom/moveNode22-expected.html    |   12 +
 .../test/Layer0/dom/moveNode22-input.html       |   19 +
 .../test/Layer0/dom/moveNode23-expected.html    |   13 +
 .../test/Layer0/dom/moveNode23-input.html       |   19 +
 .../test/Layer0/dom/moveNode24-expected.html    |   13 +
 .../test/Layer0/dom/moveNode24-input.html       |   19 +
 .../test/Layer0/dom/nextNode01-expected.html    |   25 +
 .../test/Layer0/dom/nextNode01-input.html       |   63 +
 .../test/Layer0/dom/nextNode02-expected.html    |   76 +
 .../test/Layer0/dom/nextNode02-input.html       |   76 +
 .../removeNodeButKeepChildren1-expected.html    |   12 +
 .../dom/removeNodeButKeepChildren1-input.html   |   21 +
 .../removeNodeButKeepChildren2-expected.html    |   12 +
 .../dom/removeNodeButKeepChildren2-input.html   |   21 +
 .../removeNodeButKeepChildren3-expected.html    |   12 +
 .../dom/removeNodeButKeepChildren3-input.html   |   21 +
 .../removeNodeButKeepChildren4-expected.html    |   13 +
 .../dom/removeNodeButKeepChildren4-input.html   |   21 +
 .../removeNodeButKeepChildren5-expected.html    |   13 +
 .../dom/removeNodeButKeepChildren5-input.html   |   21 +
 .../removeNodeButKeepChildren6-expected.html    |   13 +
 .../dom/removeNodeButKeepChildren6-input.html   |   21 +
 .../Layer0/dom/replaceElement01-expected.html   |    8 +
 .../test/Layer0/dom/replaceElement01-input.html |   17 +
 .../Layer0/dom/replaceElement02-expected.html   |   12 +
 .../test/Layer0/dom/replaceElement02-input.html |   21 +
 .../Layer0/dom/replaceElement03-expected.html   |   12 +
 .../test/Layer0/dom/replaceElement03-input.html |   21 +
 .../Layer0/dom/replaceElement04-expected.html   |   16 +
 .../test/Layer0/dom/replaceElement04-input.html |   21 +
 .../Layer0/dom/replaceElement05-expected.html   |   18 +
 .../test/Layer0/dom/replaceElement05-input.html |   21 +
 .../Layer0/dom/replaceElement06-expected.html   |   12 +
 .../test/Layer0/dom/replaceElement06-input.html |   23 +
 .../Layer0/dom/replaceElement07-expected.html   |   14 +
 .../test/Layer0/dom/replaceElement07-input.html |   24 +
 .../Layer0/dom/replaceElement08-expected.html   |   12 +
 .../test/Layer0/dom/replaceElement08-input.html |   25 +
 .../Layer0/dom/replaceElement09-expected.html   |   20 +
 .../test/Layer0/dom/replaceElement09-input.html |   25 +
 .../Layer0/dom/replaceElement10-expected.html   |   22 +
 .../test/Layer0/dom/replaceElement10-input.html |   26 +
 ...splitAroundSelection-endnote01-expected.html |   10 +
 .../splitAroundSelection-endnote01-input.html   |   18 +
 ...splitAroundSelection-endnote02-expected.html |   10 +
 .../splitAroundSelection-endnote02-input.html   |   18 +
 ...splitAroundSelection-endnote03-expected.html |   10 +
 .../splitAroundSelection-endnote03-input.html   |   18 +
 ...plitAroundSelection-footnote01-expected.html |   10 +
 .../splitAroundSelection-footnote01-input.html  |   18 +
 ...plitAroundSelection-footnote02-expected.html |   10 +
 .../splitAroundSelection-footnote02-input.html  |   18 +
 ...plitAroundSelection-footnote03-expected.html |   10 +
 .../splitAroundSelection-footnote03-input.html  |   18 +
 .../splitAroundSelection-nested01-expected.html |   18 +
 .../splitAroundSelection-nested01-input.html    |   15 +
 .../splitAroundSelection-nested02-expected.html |   15 +
 .../splitAroundSelection-nested02-input.html    |   15 +
 .../splitAroundSelection-nested03-expected.html |   15 +
 .../splitAroundSelection-nested03-input.html    |   15 +
 .../splitAroundSelection-nested04-expected.html |   25 +
 .../splitAroundSelection-nested04-input.html    |   15 +
 .../splitAroundSelection-nested05-expected.html |   21 +
 .../splitAroundSelection-nested05-input.html    |   15 +
 .../splitAroundSelection-nested06-expected.html |   21 +
 .../splitAroundSelection-nested06-input.html    |   15 +
 .../splitAroundSelection-nested07-expected.html |   30 +
 .../splitAroundSelection-nested07-input.html    |   15 +
 .../splitAroundSelection-nested08-expected.html |   26 +
 .../splitAroundSelection-nested08-input.html    |   15 +
 .../splitAroundSelection-nested09-expected.html |   26 +
 .../splitAroundSelection-nested09-input.html    |   15 +
 .../splitAroundSelection-nested10-expected.html |   26 +
 .../splitAroundSelection-nested10-input.html    |   15 +
 .../splitAroundSelection-nested11-expected.html |   23 +
 .../splitAroundSelection-nested11-input.html    |   15 +
 .../splitAroundSelection-nested12-expected.html |   23 +
 .../splitAroundSelection-nested12-input.html    |   15 +
 .../splitAroundSelection-nested13-expected.html |   20 +
 .../splitAroundSelection-nested13-input.html    |   15 +
 .../splitAroundSelection-nested14-expected.html |   18 +
 .../splitAroundSelection-nested14-input.html    |   15 +
 .../splitAroundSelection-nested15-expected.html |   24 +
 .../splitAroundSelection-nested15-input.html    |   15 +
 .../splitAroundSelection-nested16-expected.html |   25 +
 .../splitAroundSelection-nested16-input.html    |   15 +
 .../splitAroundSelection-nested17-expected.html |   25 +
 .../splitAroundSelection-nested17-input.html    |   15 +
 .../splitAroundSelection-nested18-expected.html |   30 +
 .../splitAroundSelection-nested18-input.html    |   16 +
 .../splitAroundSelection-nested19-expected.html |   30 +
 .../splitAroundSelection-nested19-input.html    |   16 +
 .../splitAroundSelection-nested20-expected.html |   37 +
 .../splitAroundSelection-nested20-input.html    |   16 +
 .../splitAroundSelection-nested21-expected.html |   38 +
 .../splitAroundSelection-nested21-input.html    |   16 +
 .../dom/splitAroundSelection01-expected.html    |   12 +
 .../dom/splitAroundSelection01-input.html       |   15 +
 .../dom/splitAroundSelection02-expected.html    |   11 +
 .../dom/splitAroundSelection02-input.html       |   15 +
 .../dom/splitAroundSelection03-expected.html    |   11 +
 .../dom/splitAroundSelection03-input.html       |   15 +
 .../dom/splitAroundSelection04-expected.html    |   10 +
 .../dom/splitAroundSelection04-input.html       |   15 +
 .../dom/splitAroundSelection05-expected.html    |   11 +
 .../dom/splitAroundSelection05-input.html       |   15 +
 .../dom/splitAroundSelection06-expected.html    |   12 +
 .../dom/splitAroundSelection06-input.html       |   15 +
 .../dom/splitAroundSelection07-expected.html    |   11 +
 .../dom/splitAroundSelection07-input.html       |   15 +
 .../dom/splitAroundSelection08-expected.html    |   14 +
 .../dom/splitAroundSelection08-input.html       |   16 +
 .../dom/splitAroundSelection09-expected.html    |   13 +
 .../dom/splitAroundSelection09-input.html       |   16 +
 .../dom/splitAroundSelection10-expected.html    |   14 +
 .../dom/splitAroundSelection10-input.html       |   16 +
 .../dom/splitAroundSelection11-expected.html    |   14 +
 .../dom/splitAroundSelection11-input.html       |   16 +
 .../dom/splitAroundSelection12-expected.html    |   13 +
 .../dom/splitAroundSelection12-input.html       |   16 +
 .../dom/splitAroundSelection13-expected.html    |   18 +
 .../dom/splitAroundSelection13-input.html       |   15 +
 .../dom/splitAroundSelection14-expected.html    |   17 +
 .../dom/splitAroundSelection14-input.html       |   15 +
 .../dom/splitAroundSelection15-expected.html    |   17 +
 .../dom/splitAroundSelection15-input.html       |   15 +
 .../dom/splitAroundSelection16-expected.html    |   17 +
 .../dom/splitAroundSelection16-input.html       |   15 +
 .../dom/splitAroundSelection17-expected.html    |   19 +
 .../dom/splitAroundSelection17-input.html       |   15 +
 .../dom/splitAroundSelection18-expected.html    |   17 +
 .../dom/splitAroundSelection18-input.html       |   15 +
 .../dom/splitAroundSelection19-expected.html    |   12 +
 .../dom/splitAroundSelection19-input.html       |   22 +
 .../dom/splitAroundSelection20-expected.html    |   12 +
 .../dom/splitAroundSelection20-input.html       |   22 +
 .../dom/splitAroundSelection21-expected.html    |   12 +
 .../dom/splitAroundSelection21-input.html       |   22 +
 .../dom/splitAroundSelection22-expected.html    |   14 +
 .../dom/splitAroundSelection22-input.html       |   24 +
 .../dom/splitAroundSelection23-expected.html    |   14 +
 .../dom/splitAroundSelection23-input.html       |   24 +
 .../dom/splitAroundSelection24-expected.html    |   14 +
 .../dom/splitAroundSelection24-input.html       |   24 +
 .../Layer0/dom/stripComments01-expected.html    |   26 +
 .../test/Layer0/dom/stripComments01-input.html  |   26 +
 .../Layer0/dom/tracking-delete01-expected.html  |    6 +
 .../Layer0/dom/tracking-delete01-input.html     |   15 +
 .../Layer0/dom/tracking-delete02-expected.html  |    6 +
 .../Layer0/dom/tracking-delete02-input.html     |   15 +
 .../Layer0/dom/tracking-delete03-expected.html  |    6 +
 .../Layer0/dom/tracking-delete03-input.html     |   15 +
 ...tracking-mergeWithNeighbours01-expected.html |   57 +
 .../tracking-mergeWithNeighbours01-input.html   |   39 +
 ...tracking-mergeWithNeighbours02-expected.html |   71 +
 .../tracking-mergeWithNeighbours02-input.html   |   75 +
 .../Layer0/dom/tracking-moveNode-expected.html  |  179 ++
 .../Layer0/dom/tracking-moveNode-input.html     |   41 +
 ...king-removeNodeButKeepChildren-expected.html |   87 +
 ...racking-removeNodeButKeepChildren-input.html |   22 +
 .../dom/tracking-replaceElement-expected.html   |   87 +
 .../dom/tracking-replaceElement-input.html      |   22 +
 .../Layer0/dom/tracking-text1-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text1-input.html   |   32 +
 .../Layer0/dom/tracking-text2-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text2-input.html   |   32 +
 .../Layer0/dom/tracking-text3-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text3-input.html   |   32 +
 .../Layer0/dom/tracking-text4-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text4-input.html   |   32 +
 .../Layer0/dom/tracking-text5-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text5-input.html   |   32 +
 .../Layer0/dom/tracking-text6-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text6-input.html   |   32 +
 .../Layer0/dom/tracking-text7-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text7-input.html   |   33 +
 .../Layer0/dom/tracking-text8-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text8-input.html   |   33 +
 .../Layer0/dom/tracking-text9-expected.html     |   45 +
 .../test/Layer0/dom/tracking-text9-input.html   |   33 +
 .../Layer0/dom/tracking-wrapNode-expected.html  |   67 +
 .../Layer0/dom/tracking-wrapNode-input.html     |   22 +
 .../test/Layer0/dom/tracking1-expected.html     |   32 +
 .../test/Layer0/dom/tracking1-input.html        |   32 +
 .../test/Layer0/dom/tracking2-expected.html     |   11 +
 .../test/Layer0/dom/tracking2-input.html        |   30 +
 .../test/Layer0/dom/tracking3-expected.html     |   10 +
 .../test/Layer0/dom/tracking3-input.html        |   20 +
 .../test/Layer0/dom/tracking4-expected.html     |   13 +
 .../test/Layer0/dom/tracking4-input.html        |   18 +
 .../Layer0/dom/wrapSiblings01-expected.html     |   26 +
 .../test/Layer0/dom/wrapSiblings01-input.html   |   38 +
 .../Layer0/dom/wrapSiblings02-expected.html     |   26 +
 .../test/Layer0/dom/wrapSiblings02-input.html   |   38 +
 .../Layer0/dom/wrapSiblings03-expected.html     |   26 +
 .../test/Layer0/dom/wrapSiblings03-input.html   |   38 +
 .../Layer0/dom/wrapSiblings04-expected.html     |   26 +
 .../test/Layer0/dom/wrapSiblings04-input.html   |   38 +
 .../test/Layer0/figures/FiguresTest.js          |   35 +
 .../figures/getProperties01-expected.html       |    2 +
 .../Layer0/figures/getProperties01-input.html   |   21 +
 .../figures/getProperties02-expected.html       |    2 +
 .../Layer0/figures/getProperties02-input.html   |   21 +
 .../figures/getProperties03-expected.html       |    2 +
 .../Layer0/figures/getProperties03-input.html   |   18 +
 .../figures/getProperties04-expected.html       |    2 +
 .../Layer0/figures/getProperties04-input.html   |   19 +
 .../figures/getProperties05-expected.html       |    2 +
 .../Layer0/figures/getProperties05-input.html   |   19 +
 .../figures/getProperties06-expected.html       |    2 +
 .../Layer0/figures/getProperties06-input.html   |   19 +
 .../figures/getProperties07-expected.html       |    2 +
 .../Layer0/figures/getProperties07-input.html   |   19 +
 .../figures/getProperties08-expected.html       |    2 +
 .../Layer0/figures/getProperties08-input.html   |   19 +
 .../insertFigure-hierarchy01-expected.html      |   14 +
 .../figures/insertFigure-hierarchy01-input.html |   24 +
 .../insertFigure-hierarchy02-expected.html      |   15 +
 .../figures/insertFigure-hierarchy02-input.html |   24 +
 .../insertFigure-hierarchy03-expected.html      |   15 +
 .../figures/insertFigure-hierarchy03-input.html |   24 +
 .../insertFigure-hierarchy04-expected.html      |   18 +
 .../figures/insertFigure-hierarchy04-input.html |   24 +
 .../insertFigure-hierarchy05-expected.html      |   15 +
 .../figures/insertFigure-hierarchy05-input.html |   24 +
 .../insertFigure-hierarchy06-expected.html      |   20 +
 .../figures/insertFigure-hierarchy06-input.html |   27 +
 .../insertFigure-hierarchy07-expected.html      |   23 +
 .../figures/insertFigure-hierarchy07-input.html |   27 +
 .../insertFigure-hierarchy08-expected.html      |   20 +
 .../figures/insertFigure-hierarchy08-input.html |   27 +
 .../Layer0/figures/insertFigure01-expected.html |   10 +
 .../Layer0/figures/insertFigure01-input.html    |   19 +
 .../Layer0/figures/insertFigure02-expected.html |   10 +
 .../Layer0/figures/insertFigure02-input.html    |   19 +
 .../Layer0/figures/insertFigure03-expected.html |   11 +
 .../Layer0/figures/insertFigure03-input.html    |   19 +
 .../Layer0/figures/insertFigure04-expected.html |   11 +
 .../Layer0/figures/insertFigure04-input.html    |   19 +
 .../Layer0/figures/insertFigure05-expected.html |   11 +
 .../Layer0/figures/insertFigure05-input.html    |   19 +
 .../test/Layer0/figures/nothing.png             |  Bin 0 -> 24405 bytes
 .../figures/setProperties01-expected.html       |   10 +
 .../Layer0/figures/setProperties01-input.html   |   21 +
 .../figures/setProperties02-expected.html       |   10 +
 .../Layer0/figures/setProperties02-input.html   |   21 +
 .../figures/setProperties03-expected.html       |   10 +
 .../Layer0/figures/setProperties03-input.html   |   21 +
 .../figures/setProperties04-expected.html       |   10 +
 .../Layer0/figures/setProperties04-input.html   |   21 +
 .../formatting/classNames01-expected.html       |    6 +
 .../Layer0/formatting/classNames01-input.html   |   14 +
 .../formatting/classNames02-expected.html       |    6 +
 .../Layer0/formatting/classNames02-input.html   |   14 +
 .../formatting/classNames03-expected.html       |    6 +
 .../Layer0/formatting/classNames03-input.html   |   14 +
 .../formatting/classNames04-expected.html       |    6 +
 .../Layer0/formatting/classNames04-input.html   |   14 +
 .../formatting/classNames05-expected.html       |    6 +
 .../Layer0/formatting/classNames05-input.html   |   14 +
 .../formatting/classNames06-expected.html       |    6 +
 .../Layer0/formatting/classNames06-input.html   |   14 +
 .../formatting/classNames07-expected.html       |    6 +
 .../Layer0/formatting/classNames07-input.html   |   14 +
 .../formatting/classNames08-expected.html       |    6 +
 .../Layer0/formatting/classNames08-input.html   |   14 +
 .../Layer0/formatting/empty01-expected.html     |    7 +
 .../test/Layer0/formatting/empty01-input.html   |   15 +
 .../Layer0/formatting/empty02-expected.html     |    9 +
 .../test/Layer0/formatting/empty02-input.html   |   16 +
 .../Layer0/formatting/empty03-expected.html     |   10 +
 .../test/Layer0/formatting/empty03-input.html   |   17 +
 .../Layer0/formatting/empty04-expected.html     |   10 +
 .../test/Layer0/formatting/empty04-input.html   |   18 +
 .../Layer0/formatting/empty05-expected.html     |    6 +
 .../test/Layer0/formatting/empty05-input.html   |   16 +
 .../Layer0/formatting/empty06-expected.html     |    6 +
 .../test/Layer0/formatting/empty06-input.html   |   16 +
 .../Layer0/formatting/empty07-expected.html     |    8 +
 .../test/Layer0/formatting/empty07-input.html   |   17 +
 .../Layer0/formatting/empty08-expected.html     |    7 +
 .../test/Layer0/formatting/empty08-input.html   |   19 +
 .../getFormatting-class01-expected.html         |    1 +
 .../formatting/getFormatting-class01-input.html |   22 +
 .../getFormatting-class02-expected.html         |    1 +
 .../formatting/getFormatting-class02-input.html |   22 +
 .../getFormatting-class03-expected.html         |    1 +
 .../formatting/getFormatting-class03-input.html |   22 +
 .../getFormatting-class04-expected.html         |    1 +
 .../formatting/getFormatting-class04-input.html |   22 +
 .../getFormatting-class05-expected.html         |    1 +
 .../formatting/getFormatting-class05-input.html |   22 +
 .../getFormatting-class06-expected.html         |    1 +
 .../formatting/getFormatting-class06-input.html |   22 +
 .../getFormatting-class07-expected.html         |    1 +
 .../formatting/getFormatting-class07-input.html |   22 +
 .../getFormatting-class08-expected.html         |    1 +
 .../formatting/getFormatting-class08-input.html |   22 +
 .../getFormatting-empty01a-expected.html        |    1 +
 .../getFormatting-empty01a-input.html           |   22 +
 .../getFormatting-empty01b-expected.html        |    1 +
 .../getFormatting-empty01b-input.html           |   24 +
 .../getFormatting-empty02a-expected.html        |    1 +
 .../getFormatting-empty02a-input.html           |   22 +
 .../getFormatting-empty02b-expected.html        |    1 +
 .../getFormatting-empty02b-input.html           |   25 +
 .../getFormatting-empty03a-expected.html        |    1 +
 .../getFormatting-empty03a-input.html           |   22 +
 .../getFormatting-empty03b-expected.html        |    1 +
 .../getFormatting-empty03b-input.html           |   25 +
 .../getFormatting-empty04a-expected.html        |    2 +
 .../getFormatting-empty04a-input.html           |   22 +
 .../getFormatting-empty04b-expected.html        |    2 +
 .../getFormatting-empty04b-input.html           |   25 +
 .../getFormatting-empty05a-expected.html        |    2 +
 .../getFormatting-empty05a-input.html           |   22 +
 .../getFormatting-empty05b-expected.html        |    2 +
 .../getFormatting-empty05b-input.html           |   25 +
 .../getFormatting-empty06a-expected.html        |    2 +
 .../getFormatting-empty06a-input.html           |   22 +
 .../getFormatting-empty06b-expected.html        |    2 +
 .../getFormatting-empty06b-input.html           |   25 +
 .../getFormatting-list01-expected.html          |    2 +
 .../formatting/getFormatting-list01-input.html  |   26 +
 .../getFormatting-list02-expected.html          |    2 +
 .../formatting/getFormatting-list02-input.html  |   26 +
 .../getFormatting-list03-expected.html          |    2 +
 .../formatting/getFormatting-list03-input.html  |   26 +
 .../getFormatting-list04-expected.html          |    2 +
 .../formatting/getFormatting-list04-input.html  |   26 +
 .../getFormatting-list05-expected.html          |    2 +
 .../formatting/getFormatting-list05-input.html  |   23 +
 .../getFormatting-list06-expected.html          |    3 +
 .../formatting/getFormatting-list06-input.html  |   23 +
 .../getFormatting-list07-expected.html          |    2 +
 .../formatting/getFormatting-list07-input.html  |   23 +
 .../getFormatting-list08-expected.html          |    3 +
 .../formatting/getFormatting-list08-input.html  |   23 +
 .../getFormatting-list09-expected.html          |    2 +
 .../formatting/getFormatting-list09-input.html  |   23 +
 .../getFormatting-list10-expected.html          |    3 +
 .../formatting/getFormatting-list10-input.html  |   23 +
 .../getFormatting-list11-expected.html          |    3 +
 .../formatting/getFormatting-list11-input.html  |   28 +
 .../getFormatting-list12-expected.html          |    3 +
 .../formatting/getFormatting-list12-input.html  |   28 +
 .../getFormatting-list13-expected.html          |    2 +
 .../formatting/getFormatting-list13-input.html  |   28 +
 .../getFormatting-list14-expected.html          |    2 +
 .../formatting/getFormatting-list14-input.html  |   28 +
 .../getFormatting-list15-expected.html          |    3 +
 .../formatting/getFormatting-list15-input.html  |   34 +
 .../getFormatting-list16-expected.html          |    2 +
 .../formatting/getFormatting-list16-input.html  |   34 +
 .../getFormatting-list17-expected.html          |    3 +
 .../formatting/getFormatting-list17-input.html  |   34 +
 .../getFormatting-list18-expected.html          |    2 +
 .../formatting/getFormatting-list18-input.html  |   34 +
 .../getFormatting-list19-expected.html          |    2 +
 .../formatting/getFormatting-list19-input.html  |   34 +
 .../getFormatting-list20-expected.html          |    3 +
 .../formatting/getFormatting-list20-input.html  |   34 +
 .../formatting/getFormatting01-expected.html    |    7 +
 .../formatting/getFormatting01-input.html       |   27 +
 .../formatting/getFormatting02-expected.html    |    6 +
 .../formatting/getFormatting02-input.html       |   28 +
 .../formatting/getFormatting03-expected.html    |    6 +
 .../formatting/getFormatting03-input.html       |   28 +
 .../formatting/getFormatting04-expected.html    |    7 +
 .../formatting/getFormatting04-input.html       |   27 +
 .../formatting/getFormatting05-expected.html    |    7 +
 .../formatting/getFormatting05-input.html       |   27 +
 .../formatting/getFormatting06-expected.html    |    7 +
 .../formatting/getFormatting06-input.html       |   27 +
 .../formatting/getFormatting07-expected.html    |    8 +
 .../formatting/getFormatting07-input.html       |   28 +
 .../formatting/getFormatting08-expected.html    |    7 +
 .../formatting/getFormatting08-input.html       |   28 +
 .../formatting/getFormatting09-expected.html    |   15 +
 .../formatting/getFormatting09-input.html       |   32 +
 .../formatting/getFormatting10-expected.html    |    6 +
 .../formatting/getFormatting10-input.html       |   25 +
 .../formatting/getFormatting11-expected.html    |    6 +
 .../formatting/getFormatting11-input.html       |   25 +
 .../formatting/getFormatting12-expected.html    |    4 +
 .../formatting/getFormatting12-input.html       |   26 +
 .../Layer0/formatting/indiv01a-expected.html    |   14 +
 .../test/Layer0/formatting/indiv01a-input.html  |   22 +
 .../Layer0/formatting/indiv01b-expected.html    |   14 +
 .../test/Layer0/formatting/indiv01b-input.html  |   22 +
 .../Layer0/formatting/indiv02a-expected.html    |   10 +
 .../test/Layer0/formatting/indiv02a-input.html  |   19 +
 .../Layer0/formatting/indiv02b-expected.html    |   10 +
 .../test/Layer0/formatting/indiv02b-input.html  |   19 +
 .../Layer0/formatting/indiv03a-expected.html    |   10 +
 .../test/Layer0/formatting/indiv03a-input.html  |   19 +
 .../Layer0/formatting/indiv03b-expected.html    |   10 +
 .../test/Layer0/formatting/indiv03b-input.html  |   19 +
 .../formatting/inline-change01-expected.html    |    6 +
 .../formatting/inline-change01-input.html       |   16 +
 .../formatting/inline-change02-expected.html    |    6 +
 .../formatting/inline-change02-input.html       |   16 +
 .../formatting/inline-change03-expected.html    |    6 +
 .../formatting/inline-change03-input.html       |   16 +
 .../formatting/inline-change04-expected.html    |    6 +
 .../formatting/inline-change04-input.html       |   16 +
 .../formatting/inline-change05-expected.html    |    6 +
 .../formatting/inline-change05-input.html       |   16 +
 .../formatting/inline-change06-expected.html    |    6 +
 .../formatting/inline-change06-input.html       |   16 +
 .../formatting/inline-change07-expected.html    |   10 +
 .../formatting/inline-change07-input.html       |   18 +
 .../formatting/inline-change08-expected.html    |   10 +
 .../formatting/inline-change08-input.html       |   18 +
 .../formatting/inline-change09-expected.html    |   10 +
 .../formatting/inline-change09-input.html       |   18 +
 .../formatting/inline-change10-expected.html    |   10 +
 .../formatting/inline-change10-input.html       |   18 +
 .../formatting/inline-change11-expected.html    |   10 +
 .../formatting/inline-change11-input.html       |   18 +
 .../formatting/inline-change12-expected.html    |   10 +
 .../formatting/inline-change12-input.html       |   18 +
 .../formatting/inline-change13-expected.html    |   10 +
 .../formatting/inline-change13-input.html       |   18 +
 .../formatting/inline-change14-expected.html    |   10 +
 .../formatting/inline-change14-input.html       |   20 +
 .../formatting/inline-change15-expected.html    |   10 +
 .../formatting/inline-change15-input.html       |   20 +
 .../formatting/inline-change16-expected.html    |   10 +
 .../formatting/inline-change16-input.html       |   20 +
 .../formatting/inline-change17-expected.html    |   10 +
 .../formatting/inline-change17-input.html       |   20 +
 .../formatting/inline-change18-expected.html    |   12 +
 .../formatting/inline-change18-input.html       |   20 +
 .../formatting/inline-change19-expected.html    |   12 +
 .../formatting/inline-change19-input.html       |   20 +
 .../formatting/inline-change20-expected.html    |   10 +
 .../formatting/inline-change20-input.html       |   20 +
 .../formatting/inline-change21-expected.html    |   10 +
 .../formatting/inline-change21-input.html       |   20 +
 .../formatting/inline-change22-expected.html    |   10 +
 .../formatting/inline-change22-input.html       |   20 +
 .../formatting/inline-endnote01-expected.html   |   12 +
 .../formatting/inline-endnote01-input.html      |   15 +
 .../formatting/inline-endnote02-expected.html   |   12 +
 .../formatting/inline-endnote02-input.html      |   15 +
 .../formatting/inline-endnote03-expected.html   |   12 +
 .../formatting/inline-endnote03-input.html      |   15 +
 .../formatting/inline-endnote04-expected.html   |   12 +
 .../formatting/inline-endnote04-input.html      |   15 +
 .../formatting/inline-endnote05-expected.html   |   14 +
 .../formatting/inline-endnote05-input.html      |   15 +
 .../formatting/inline-endnote06-expected.html   |   14 +
 .../formatting/inline-endnote06-input.html      |   15 +
 .../formatting/inline-footnote01-expected.html  |   12 +
 .../formatting/inline-footnote01-input.html     |   15 +
 .../formatting/inline-footnote02-expected.html  |   12 +
 .../formatting/inline-footnote02-input.html     |   15 +
 .../formatting/inline-footnote03-expected.html  |   12 +
 .../formatting/inline-footnote03-input.html     |   15 +
 .../formatting/inline-footnote04-expected.html  |   12 +
 .../formatting/inline-footnote04-input.html     |   15 +
 .../formatting/inline-footnote05-expected.html  |   14 +
 .../formatting/inline-footnote05-input.html     |   15 +
 .../formatting/inline-footnote06-expected.html  |   14 +
 .../formatting/inline-footnote06-input.html     |   15 +
 .../formatting/inline-remove01-expected.html    |    6 +
 .../formatting/inline-remove01-input.html       |   16 +
 .../formatting/inline-remove02-expected.html    |    6 +
 .../formatting/inline-remove02-input.html       |   16 +
 .../formatting/inline-remove03-expected.html    |    9 +
 .../formatting/inline-remove03-input.html       |   17 +
 .../formatting/inline-remove04-expected.html    |    9 +
 .../formatting/inline-remove04-input.html       |   17 +
 .../formatting/inline-remove05-expected.html    |    6 +
 .../formatting/inline-remove05-input.html       |   16 +
 .../formatting/inline-remove06-expected.html    |    6 +
 .../formatting/inline-remove06-input.html       |   16 +
 .../formatting/inline-remove07-expected.html    |    6 +
 .../formatting/inline-remove07-input.html       |   16 +
 .../formatting/inline-remove08-expected.html    |    6 +
 .../formatting/inline-remove08-input.html       |   16 +
 .../formatting/inline-remove09-expected.html    |    6 +
 .../formatting/inline-remove09-input.html       |   18 +
 .../formatting/inline-remove10-expected.html    |    6 +
 .../formatting/inline-remove10-input.html       |   16 +
 .../formatting/inline-remove11-expected.html    |    6 +
 .../formatting/inline-remove11-input.html       |   16 +
 .../formatting/inline-remove12-expected.html    |    6 +
 .../formatting/inline-remove12-input.html       |   19 +
 .../formatting/inline-remove13-expected.html    |    9 +
 .../formatting/inline-remove13-input.html       |   19 +
 .../formatting/inline-remove14-expected.html    |    9 +
 .../formatting/inline-remove14-input.html       |   19 +
 .../formatting/inline-remove15-expected.html    |    9 +
 .../formatting/inline-remove15-input.html       |   19 +
 .../formatting/inline-remove16-expected.html    |    9 +
 .../formatting/inline-remove16-input.html       |   19 +
 .../formatting/inline-remove17-expected.html    |    9 +
 .../formatting/inline-remove17-input.html       |   19 +
 .../formatting/inline-remove18-expected.html    |    9 +
 .../formatting/inline-remove18-input.html       |   19 +
 .../formatting/inline-remove19-expected.html    |    7 +
 .../formatting/inline-remove19-input.html       |   17 +
 .../formatting/inline-remove20-expected.html    |    7 +
 .../formatting/inline-remove20-input.html       |   17 +
 .../formatting/inline-set01-nop-expected.html   |    6 +
 .../formatting/inline-set01-nop-input.html      |   11 +
 .../formatting/inline-set01-outer-expected.html |    6 +
 .../formatting/inline-set01-outer-input.html    |   14 +
 .../formatting/inline-set01-p-expected.html     |    6 +
 .../Layer0/formatting/inline-set01-p-input.html |   14 +
 .../formatting/inline-set02-nop-expected.html   |    7 +
 .../formatting/inline-set02-nop-input.html      |   11 +
 .../formatting/inline-set02-outer-expected.html |    9 +
 .../formatting/inline-set02-outer-input.html    |   14 +
 .../formatting/inline-set02-p-expected.html     |    9 +
 .../Layer0/formatting/inline-set02-p-input.html |   14 +
 .../formatting/inline-set03-nop-expected.html   |    6 +
 .../formatting/inline-set03-nop-input.html      |   14 +
 .../formatting/inline-set03-outer-expected.html |    6 +
 .../formatting/inline-set03-outer-input.html    |   14 +
 .../formatting/inline-set03-p-expected.html     |    6 +
 .../Layer0/formatting/inline-set03-p-input.html |   14 +
 .../formatting/inline-set04-expected.html       |    6 +
 .../Layer0/formatting/inline-set04-input.html   |   16 +
 .../formatting/inline-set05-expected.html       |    9 +
 .../Layer0/formatting/inline-set05-input.html   |   16 +
 .../formatting/inline-set06-expected.html       |    9 +
 .../Layer0/formatting/inline-set06-input.html   |   18 +
 .../formatting/inline-set07-expected.html       |   16 +
 .../Layer0/formatting/inline-set07-input.html   |   18 +
 .../formatting/inline-set07-outer-expected.html |   10 +
 .../formatting/inline-set07-outer-input.html    |   18 +
 .../formatting/inline-set08-expected.html       |   16 +
 .../Layer0/formatting/inline-set08-input.html   |   22 +
 .../formatting/inline-set08-outer-expected.html |   10 +
 .../formatting/inline-set08-outer-input.html    |   22 +
 .../formatting/justCursor01-expected.html       |   10 +
 .../Layer0/formatting/justCursor01-input.html   |   15 +
 .../formatting/justCursor02-expected.html       |   10 +
 .../Layer0/formatting/justCursor02-input.html   |   15 +
 .../formatting/justCursor03-expected.html       |    6 +
 .../Layer0/formatting/justCursor03-input.html   |   15 +
 .../formatting/justCursor04-expected.html       |   10 +
 .../Layer0/formatting/justCursor04-input.html   |   16 +
 .../formatting/mergeUpwards01-expected.html     |    6 +
 .../Layer0/formatting/mergeUpwards01-input.html |   27 +
 .../formatting/mergeUpwards02-expected.html     |    6 +
 .../Layer0/formatting/mergeUpwards02-input.html |   27 +
 .../formatting/mergeUpwards03-expected.html     |    8 +
 .../Layer0/formatting/mergeUpwards03-input.html |   27 +
 .../formatting/mergeUpwards04-expected.html     |   10 +
 .../Layer0/formatting/mergeUpwards04-input.html |   27 +
 .../formatting/mergeUpwards05-expected.html     |    6 +
 .../Layer0/formatting/mergeUpwards05-input.html |   27 +
 .../formatting/mergeUpwards06-expected.html     |    6 +
 .../Layer0/formatting/mergeUpwards06-input.html |   27 +
 .../formatting/mergeUpwards07-expected.html     |    6 +
 .../Layer0/formatting/mergeUpwards07-input.html |   27 +
 .../formatting/mergeUpwards08-expected.html     |    6 +
 .../Layer0/formatting/mergeUpwards08-input.html |   27 +
 .../formatting/paragraph-change01-expected.html |    6 +
 .../formatting/paragraph-change01-input.html    |   14 +
 .../formatting/paragraph-change02-expected.html |    6 +
 .../formatting/paragraph-change02-input.html    |   14 +
 .../formatting/paragraph-change03-expected.html |   10 +
 .../formatting/paragraph-change03-input.html    |   20 +
 .../formatting/paragraph-change04-expected.html |   10 +
 .../formatting/paragraph-change04-input.html    |   20 +
 .../formatting/paragraph-change05-expected.html |   10 +
 .../formatting/paragraph-change05-input.html    |   20 +
 .../formatting/paragraph-change06-expected.html |   10 +
 .../formatting/paragraph-change06-input.html    |   18 +
 .../formatting/paragraph-change07-expected.html |   10 +
 .../formatting/paragraph-change07-input.html    |   18 +
 .../formatting/paragraph-change08-expected.html |   10 +
 .../formatting/paragraph-change08-input.html    |   18 +
 .../formatting/paragraph-remove01-expected.html |    6 +
 .../formatting/paragraph-remove01-input.html    |   14 +
 .../formatting/paragraph-remove02-expected.html |    6 +
 .../formatting/paragraph-remove02-input.html    |   14 +
 .../formatting/paragraph-remove03-expected.html |    6 +
 .../formatting/paragraph-remove03-input.html    |   14 +
 .../formatting/paragraph-remove04-expected.html |   10 +
 .../formatting/paragraph-remove04-input.html    |   20 +
 .../formatting/paragraph-remove05-expected.html |   10 +
 .../formatting/paragraph-remove05-input.html    |   20 +
 .../formatting/paragraph-remove06-expected.html |   10 +
 .../formatting/paragraph-remove06-input.html    |   20 +
 .../formatting/paragraph-remove07-expected.html |   10 +
 .../formatting/paragraph-remove07-input.html    |   18 +
 .../formatting/paragraph-remove08-expected.html |   10 +
 .../formatting/paragraph-remove08-input.html    |   18 +
 .../formatting/paragraph-remove09-expected.html |   10 +
 .../formatting/paragraph-remove09-input.html    |   18 +
 .../formatting/paragraph-remove10-expected.html |   10 +
 .../formatting/paragraph-remove10-input.html    |   18 +
 .../formatting/paragraph-set01-expected.html    |    6 +
 .../formatting/paragraph-set01-input.html       |   14 +
 .../formatting/paragraph-set02-expected.html    |    6 +
 .../formatting/paragraph-set02-input.html       |   14 +
 .../formatting/paragraph-set03-expected.html    |   10 +
 .../formatting/paragraph-set03-input.html       |   20 +
 .../formatting/paragraph-set04-expected.html    |   10 +
 .../formatting/paragraph-set04-input.html       |   20 +
 .../formatting/paragraph-set05-expected.html    |   10 +
 .../formatting/paragraph-set05-input.html       |   20 +
 .../formatting/paragraph-set06-expected.html    |   10 +
 .../formatting/paragraph-set06-input.html       |   18 +
 .../formatting/paragraph-set07-expected.html    |   10 +
 .../formatting/paragraph-set07-input.html       |   18 +
 .../paragraphTextUpToPosition01-expected.html   |    1 +
 .../paragraphTextUpToPosition01-input.html      |   16 +
 .../paragraphTextUpToPosition02-expected.html   |    1 +
 .../paragraphTextUpToPosition02-input.html      |   16 +
 .../paragraphTextUpToPosition03-expected.html   |    1 +
 .../paragraphTextUpToPosition03-input.html      |   16 +
 .../paragraphTextUpToPosition04-expected.html   |    1 +
 .../paragraphTextUpToPosition04-input.html      |   16 +
 .../paragraphTextUpToPosition05-expected.html   |    1 +
 .../paragraphTextUpToPosition05-input.html      |   16 +
 .../paragraphTextUpToPosition06-expected.html   |    1 +
 .../paragraphTextUpToPosition06-input.html      |   16 +
 .../paragraphTextUpToPosition07-expected.html   |    1 +
 .../paragraphTextUpToPosition07-input.html      |   16 +
 .../paragraphTextUpToPosition08-expected.html   |    1 +
 .../paragraphTextUpToPosition08-input.html      |   16 +
 .../paragraphTextUpToPosition09-expected.html   |    1 +
 .../paragraphTextUpToPosition09-input.html      |   16 +
 .../paragraphTextUpToPosition10-expected.html   |    0
 .../paragraphTextUpToPosition10-input.html      |   17 +
 .../paragraphTextUpToPosition11-expected.html   |    1 +
 .../paragraphTextUpToPosition11-input.html      |   17 +
 .../paragraphTextUpToPosition12-expected.html   |    0
 .../paragraphTextUpToPosition12-input.html      |   18 +
 .../paragraphTextUpToPosition13-expected.html   |    1 +
 .../paragraphTextUpToPosition13-input.html      |   18 +
 .../preserveAbstract01a-expected.html           |   10 +
 .../formatting/preserveAbstract01a-input.html   |   17 +
 .../preserveAbstract01b-expected.html           |   10 +
 .../formatting/preserveAbstract01b-input.html   |   17 +
 .../preserveAbstract02a-expected.html           |   10 +
 .../formatting/preserveAbstract02a-input.html   |   17 +
 .../preserveAbstract02b-expected.html           |   10 +
 .../formatting/preserveAbstract02b-input.html   |   17 +
 .../preserveAbstract03a-expected.html           |   10 +
 .../formatting/preserveAbstract03a-input.html   |   19 +
 .../preserveAbstract03b-expected.html           |   10 +
 .../formatting/preserveAbstract03b-input.html   |   19 +
 .../preserveParaProps01-expected.html           |   10 +
 .../formatting/preserveParaProps01-input.html   |   16 +
 .../preserveParaProps02-expected.html           |   10 +
 .../formatting/preserveParaProps02-input.html   |   16 +
 .../preserveParaProps03-expected.html           |   10 +
 .../formatting/preserveParaProps03-input.html   |   16 +
 .../preserveParaProps04-expected.html           |   10 +
 .../formatting/preserveParaProps04-input.html   |   16 +
 .../preserveParaProps05-expected.html           |   10 +
 .../formatting/preserveParaProps05-input.html   |   16 +
 .../preserveParaProps06-expected.html           |   10 +
 .../formatting/preserveParaProps06-input.html   |   16 +
 .../preserveParaProps07-expected.html           |   10 +
 .../formatting/preserveParaProps07-input.html   |   16 +
 .../preserveParaProps08-expected.html           |   10 +
 .../formatting/preserveParaProps08-input.html   |   16 +
 .../preserveParaProps09-expected.html           |   10 +
 .../formatting/preserveParaProps09-input.html   |   16 +
 ...wnInlineProperties-structure01-expected.html |   14 +
 ...hDownInlineProperties-structure01-input.html |   21 +
 ...wnInlineProperties-structure02-expected.html |   14 +
 ...hDownInlineProperties-structure02-input.html |   21 +
 ...wnInlineProperties-structure03-expected.html |   14 +
 ...hDownInlineProperties-structure03-input.html |   21 +
 ...wnInlineProperties-structure04-expected.html |   11 +
 ...hDownInlineProperties-structure04-input.html |   21 +
 ...wnInlineProperties-structure05-expected.html |    8 +
 ...hDownInlineProperties-structure05-input.html |   21 +
 ...wnInlineProperties-structure06-expected.html |   20 +
 ...hDownInlineProperties-structure06-input.html |   28 +
 ...wnInlineProperties-structure07-expected.html |   14 +
 ...hDownInlineProperties-structure07-input.html |   28 +
 ...wnInlineProperties-structure08-expected.html |   14 +
 ...hDownInlineProperties-structure08-input.html |   28 +
 ...wnInlineProperties-structure09-expected.html |   14 +
 ...hDownInlineProperties-structure09-input.html |   28 +
 ...wnInlineProperties-structure10-expected.html |   20 +
 ...hDownInlineProperties-structure10-input.html |   28 +
 ...wnInlineProperties-structure11-expected.html |   20 +
 ...hDownInlineProperties-structure11-input.html |   28 +
 ...wnInlineProperties-structure12-expected.html |   20 +
 ...hDownInlineProperties-structure12-input.html |   28 +
 ...wnInlineProperties-structure13-expected.html |   14 +
 ...hDownInlineProperties-structure13-input.html |   28 +
 ...wnInlineProperties-structure14-expected.html |   14 +
 ...hDownInlineProperties-structure14-input.html |   28 +
 ...wnInlineProperties-structure15-expected.html |   14 +
 ...hDownInlineProperties-structure15-input.html |   28 +
 ...wnInlineProperties-structure16-expected.html |   20 +
 ...hDownInlineProperties-structure16-input.html |   28 +
 ...wnInlineProperties-structure17-expected.html |   20 +
 ...hDownInlineProperties-structure17-input.html |   28 +
 .../pushDownInlineProperties01-expected.html    |    9 +
 .../pushDownInlineProperties01-input.html       |   19 +
 .../pushDownInlineProperties02-expected.html    |   10 +
 .../pushDownInlineProperties02-input.html       |   19 +
 .../pushDownInlineProperties03-expected.html    |    9 +
 .../pushDownInlineProperties03-input.html       |   19 +
 .../pushDownInlineProperties04-expected.html    |   10 +
 .../pushDownInlineProperties04-input.html       |   19 +
 .../pushDownInlineProperties05-expected.html    |   10 +
 .../pushDownInlineProperties05-input.html       |   19 +
 .../pushDownInlineProperties06-expected.html    |   10 +
 .../pushDownInlineProperties06-input.html       |   19 +
 .../pushDownInlineProperties07-expected.html    |   10 +
 .../pushDownInlineProperties07-input.html       |   19 +
 .../pushDownInlineProperties08-expected.html    |   10 +
 .../pushDownInlineProperties08-input.html       |   19 +
 .../pushDownInlineProperties09-expected.html    |   10 +
 .../pushDownInlineProperties09-input.html       |   19 +
 .../pushDownInlineProperties10-expected.html    |   12 +
 .../pushDownInlineProperties10-input.html       |   21 +
 .../pushDownInlineProperties11-expected.html    |   26 +
 .../pushDownInlineProperties11-input.html       |   37 +
 .../pushDownInlineProperties12-expected.html    |   24 +
 .../pushDownInlineProperties12-input.html       |   39 +
 .../pushDownInlineProperties13-expected.html    |   24 +
 .../pushDownInlineProperties13-input.html       |   39 +
 .../pushDownInlineProperties14-expected.html    |   24 +
 .../pushDownInlineProperties14-input.html       |   39 +
 .../pushDownInlineProperties15-expected.html    |   24 +
 .../pushDownInlineProperties15-input.html       |   39 +
 .../pushDownInlineProperties16-expected.html    |   24 +
 .../pushDownInlineProperties16-input.html       |   39 +
 .../pushDownInlineProperties17-expected.html    |   24 +
 .../pushDownInlineProperties17-input.html       |   39 +
 .../pushDownInlineProperties18-expected.html    |   24 +
 .../pushDownInlineProperties18-input.html       |   39 +
 .../pushDownInlineProperties19-expected.html    |   27 +
 .../pushDownInlineProperties19-input.html       |   42 +
 .../formatting/splitTextAfter01-expected.html   |   19 +
 .../formatting/splitTextAfter01-input.html      |   57 +
 .../formatting/splitTextBefore01-expected.html  |   19 +
 .../formatting/splitTextBefore01-input.html     |   57 +
 .../Layer0/formatting/style-nop01-expected.html |    6 +
 .../Layer0/formatting/style-nop01-input.html    |   17 +
 .../formatting/style-nop01a-expected.html       |    6 +
 .../Layer0/formatting/style-nop01a-input.html   |   17 +
 .../Layer0/formatting/style-nop02-expected.html |    6 +
 .../Layer0/formatting/style-nop02-input.html    |   17 +
 .../Layer0/formatting/style-nop03-expected.html |    6 +
 .../Layer0/formatting/style-nop03-input.html    |   17 +
 .../Layer0/formatting/style-nop04-expected.html |    6 +
 .../Layer0/formatting/style-nop04-input.html    |   17 +
 .../Layer0/formatting/style-nop05-expected.html |    6 +
 .../Layer0/formatting/style-nop05-input.html    |   17 +
 .../Layer0/formatting/style-nop06-expected.html |    8 +
 .../Layer0/formatting/style-nop06-input.html    |   17 +
 .../Layer0/formatting/style-nop07-expected.html |    8 +
 .../Layer0/formatting/style-nop07-input.html    |   17 +
 .../Layer0/formatting/style-nop08-expected.html |   13 +
 .../Layer0/formatting/style-nop08-input.html    |   23 +
 .../Layer0/formatting/style-nop09-expected.html |   12 +
 .../Layer0/formatting/style-nop09-input.html    |   22 +
 .../Layer0/formatting/style01-expected.html     |   14 +
 .../test/Layer0/formatting/style01-input.html   |   49 +
 .../Layer0/formatting/style02-expected.html     |   14 +
 .../test/Layer0/formatting/style02-input.html   |   49 +
 .../Layer0/formatting/style03-expected.html     |   14 +
 .../test/Layer0/formatting/style03-input.html   |   49 +
 .../Layer0/formatting/style04-expected.html     |   14 +
 .../test/Layer0/formatting/style04-input.html   |   49 +
 .../Layer0/formatting/style05-expected.html     |   10 +
 .../test/Layer0/formatting/style05-input.html   |   23 +
 .../Layer0/formatting/style06-expected.html     |   35 +
 .../test/Layer0/formatting/style06-input.html   |   23 +
 .../Layer0/formatting/style07-expected.html     |   10 +
 .../test/Layer0/formatting/style07-input.html   |   23 +
 .../Layer0/formatting/style08-expected.html     |   10 +
 .../test/Layer0/formatting/style08-input.html   |   23 +
 .../Layer0/formatting/style09-expected.html     |   35 +
 .../test/Layer0/formatting/style09-input.html   |   23 +
 .../Layer0/formatting/style10-expected.html     |   35 +
 .../test/Layer0/formatting/style10-input.html   |   23 +
 .../Layer0/formatting/style11-nop-expected.html |   10 +
 .../Layer0/formatting/style11-nop-input.html    |   18 +
 .../Layer0/formatting/style11-p-expected.html   |   10 +
 .../test/Layer0/formatting/style11-p-input.html |   18 +
 .../Layer0/formatting/style12-nop-expected.html |   12 +
 .../Layer0/formatting/style12-nop-input.html    |   20 +
 .../Layer0/formatting/style12-p-expected.html   |   12 +
 .../test/Layer0/formatting/style12-p-input.html |   20 +
 .../Layer0/formatting/style13-expected.html     |   12 +
 .../test/Layer0/formatting/style13-input.html   |   21 +
 .../Layer0/formatting/style14-expected.html     |   12 +
 .../test/Layer0/formatting/style14-input.html   |   20 +
 .../Layer0/formatting/style15-expected.html     |   12 +
 .../test/Layer0/formatting/style15-input.html   |   20 +
 .../Layer0/formatting/style16-nop-expected.html |   21 +
 .../Layer0/formatting/style16-nop-input.html    |   27 +
 .../Layer0/formatting/style16-p-expected.html   |   21 +
 .../test/Layer0/formatting/style16-p-input.html |   27 +
 .../Layer0/formatting/style17-nop-expected.html |   21 +
 .../Layer0/formatting/style17-nop-input.html    |   27 +
 .../Layer0/formatting/style17-p-expected.html   |   21 +
 .../test/Layer0/formatting/style17-p-input.html |   27 +
 .../Layer0/formatting/style18-nop-expected.html |   29 +
 .../Layer0/formatting/style18-nop-input.html    |   46 +
 .../Layer0/formatting/style18-p-expected.html   |   29 +
 .../test/Layer0/formatting/style18-p-input.html |   46 +
 .../Layer0/formatting/style19-nop-expected.html |   21 +
 .../Layer0/formatting/style19-nop-input.html    |   36 +
 .../Layer0/formatting/style19-p-expected.html   |   21 +
 .../test/Layer0/formatting/style19-p-input.html |   36 +
 .../Layer0/formatting/style20-nop-expected.html |   21 +
 .../Layer0/formatting/style20-nop-input.html    |   27 +
 .../Layer0/formatting/style20-p-expected.html   |   21 +
 .../test/Layer0/formatting/style20-p-input.html |   27 +
 .../Layer0/formatting/style21-nop-expected.html |   21 +
 .../Layer0/formatting/style21-nop-input.html    |   27 +
 .../Layer0/formatting/style21-p-expected.html   |   21 +
 .../test/Layer0/formatting/style21-p-input.html |   27 +
 .../Layer0/formatting/style22-nop-expected.html |   13 +
 .../Layer0/formatting/style22-nop-input.html    |   21 +
 .../Layer0/formatting/style22-p-expected.html   |   13 +
 .../test/Layer0/formatting/style22-p-input.html |   21 +
 .../Layer0/formatting/style23-nop-expected.html |    8 +
 .../Layer0/formatting/style23-nop-input.html    |   21 +
 .../Layer0/formatting/style23-p-expected.html   |    8 +
 .../test/Layer0/formatting/style23-p-input.html |   21 +
 .../Layer0/formatting/style24-expected.html     |   10 +
 .../test/Layer0/formatting/style24-input.html   |   16 +
 .../editorFramework/test/Layer0/generic.css     |   62 +
 .../editorFramework/test/Layer0/genindex.sh     |   29 +
 .../editorFramework/test/Layer0/htmltotext.html |  125 +
 .../editorFramework/test/Layer0/index.js        | 2380 ++++++++++++++++++
 .../inline/unwrap-multiplep3-expected.html      |   15 +
 .../Layer0/inline/unwrap-multiplep3-input.html  |   15 +
 .../Layer0/inline/unwrap-nop3-expected.html     |   10 +
 .../test/Layer0/inline/unwrap-nop3-input.html   |   14 +
 .../Layer0/inline/unwrap-singlep3-expected.html |   12 +
 .../Layer0/inline/unwrap-singlep3-input.html    |   14 +
 .../Layer0/inline/wrap-multiplep1-expected.html |   13 +
 .../Layer0/inline/wrap-multiplep1-input.html    |   15 +
 .../Layer0/inline/wrap-multiplep2-expected.html |   21 +
 .../Layer0/inline/wrap-multiplep2-input.html    |   15 +
 .../Layer0/inline/wrap-multiplep3-expected.html |   13 +
 .../Layer0/inline/wrap-multiplep3-input.html    |   15 +
 .../Layer0/inline/wrap-multiplep4-expected.html |   13 +
 .../Layer0/inline/wrap-multiplep4-input.html    |   17 +
 .../Layer0/inline/wrap-multiplep5-expected.html |   13 +
 .../Layer0/inline/wrap-multiplep5-input.html    |   18 +
 .../test/Layer0/inline/wrap-nop1-expected.html  |    8 +
 .../test/Layer0/inline/wrap-nop1-input.html     |   14 +
 .../test/Layer0/inline/wrap-nop2-expected.html  |   10 +
 .../test/Layer0/inline/wrap-nop2-input.html     |   14 +
 .../test/Layer0/inline/wrap-nop3-expected.html  |    8 +
 .../test/Layer0/inline/wrap-nop3-input.html     |   14 +
 .../test/Layer0/inline/wrap-nop4-expected.html  |    8 +
 .../test/Layer0/inline/wrap-nop4-input.html     |   16 +
 .../test/Layer0/inline/wrap-nop5-expected.html  |    8 +
 .../test/Layer0/inline/wrap-nop5-input.html     |   17 +
 .../Layer0/inline/wrap-singlep1-expected.html   |   10 +
 .../test/Layer0/inline/wrap-singlep1-input.html |   14 +
 .../Layer0/inline/wrap-singlep2-expected.html   |   12 +
 .../test/Layer0/inline/wrap-singlep2-input.html |   14 +
 .../Layer0/inline/wrap-singlep3-expected.html   |   10 +
 .../test/Layer0/inline/wrap-singlep3-input.html |   14 +
 .../Layer0/inline/wrap-singlep4-expected.html   |   10 +
 .../test/Layer0/inline/wrap-singlep4-input.html |   16 +
 .../Layer0/inline/wrap-singlep5-expected.html   |   10 +
 .../test/Layer0/inline/wrap-singlep5-input.html |   17 +
 .../test/Layer0/input/InputTests.js             |  150 ++
 .../test/Layer0/input/moveDown01a-expected.html |   23 +
 .../test/Layer0/input/moveDown01a-input.html    |   29 +
 .../test/Layer0/input/moveDown01b-expected.html |   23 +
 .../test/Layer0/input/moveDown01b-input.html    |   29 +
 .../test/Layer0/input/moveDown01c-expected.html |   23 +
 .../test/Layer0/input/moveDown01c-input.html    |   29 +
 .../test/Layer0/input/moveDown01d-expected.html |   23 +
 .../test/Layer0/input/moveDown01d-input.html    |   29 +
 .../test/Layer0/input/moveDown02a-expected.html |   14 +
 .../test/Layer0/input/moveDown02a-input.html    |   29 +
 .../test/Layer0/input/moveDown02b-expected.html |   14 +
 .../test/Layer0/input/moveDown02b-input.html    |   29 +
 .../test/Layer0/input/moveDown03a-expected.html |   21 +
 .../test/Layer0/input/moveDown03a-input.html    |   32 +
 .../test/Layer0/input/moveDown03b-expected.html |   20 +
 .../test/Layer0/input/moveDown03b-input.html    |   32 +
 .../test/Layer0/input/moveDown03c-expected.html |   21 +
 .../test/Layer0/input/moveDown03c-input.html    |   32 +
 .../test/Layer0/input/moveDown03d-expected.html |   20 +
 .../test/Layer0/input/moveDown03d-input.html    |   32 +
 .../test/Layer0/input/moveDown04a-expected.html |   24 +
 .../test/Layer0/input/moveDown04a-input.html    |   38 +
 .../test/Layer0/input/moveDown04b-expected.html |   23 +
 .../test/Layer0/input/moveDown04b-input.html    |   38 +
 .../test/Layer0/input/moveDown04c-expected.html |   26 +
 .../test/Layer0/input/moveDown04c-input.html    |   38 +
 .../test/Layer0/input/moveDown04d-expected.html |   26 +
 .../test/Layer0/input/moveDown04d-input.html    |   38 +
 .../test/Layer0/input/moveDown04e-expected.html |   23 +
 .../test/Layer0/input/moveDown04e-input.html    |   38 +
 .../test/Layer0/input/moveUp01a-expected.html   |   23 +
 .../test/Layer0/input/moveUp01a-input.html      |   29 +
 .../test/Layer0/input/moveUp01b-expected.html   |   23 +
 .../test/Layer0/input/moveUp01b-input.html      |   29 +
 .../test/Layer0/input/moveUp01c-expected.html   |   23 +
 .../test/Layer0/input/moveUp01c-input.html      |   29 +
 .../test/Layer0/input/moveUp01d-expected.html   |   23 +
 .../test/Layer0/input/moveUp01d-input.html      |   29 +
 .../test/Layer0/input/moveUp02a-expected.html   |   14 +
 .../test/Layer0/input/moveUp02a-input.html      |   29 +
 .../test/Layer0/input/moveUp02b-expected.html   |   14 +
 .../test/Layer0/input/moveUp02b-input.html      |   29 +
 .../test/Layer0/input/moveUp03a-expected.html   |   21 +
 .../test/Layer0/input/moveUp03a-input.html      |   32 +
 .../test/Layer0/input/moveUp03b-expected.html   |   20 +
 .../test/Layer0/input/moveUp03b-input.html      |   32 +
 .../test/Layer0/input/moveUp03c-expected.html   |   21 +
 .../test/Layer0/input/moveUp03c-input.html      |   32 +
 .../test/Layer0/input/moveUp03d-expected.html   |   20 +
 .../test/Layer0/input/moveUp03d-input.html      |   32 +
 .../test/Layer0/input/moveUp04a-expected.html   |   24 +
 .../test/Layer0/input/moveUp04a-input.html      |   38 +
 .../test/Layer0/input/moveUp04b-expected.html   |   23 +
 .../test/Layer0/input/moveUp04b-input.html      |   38 +
 .../test/Layer0/input/moveUp04c-expected.html   |   26 +
 .../test/Layer0/input/moveUp04c-input.html      |   38 +
 .../test/Layer0/input/moveUp04d-expected.html   |   26 +
 .../test/Layer0/input/moveUp04d-input.html      |   38 +
 .../test/Layer0/input/moveUp04e-expected.html   |   23 +
 .../test/Layer0/input/moveUp04e-input.html      |   38 +
 ...sitionAtBoundary-line-backward-expected.html |   40 +
 .../positionAtBoundary-line-backward-input.html |   23 +
 ...ositionAtBoundary-line-forward-expected.html |   40 +
 .../positionAtBoundary-line-forward-input.html  |   23 +
 ...nAtBoundary-paragraph-backward-expected.html |   28 +
 ...tionAtBoundary-paragraph-backward-input.html |   21 +
 ...onAtBoundary-paragraph-forward-backward.html |   17 +
 ...onAtBoundary-paragraph-forward-expected.html |   28 +
 ...itionAtBoundary-paragraph-forward-input.html |   21 +
 ...sitionAtBoundary-word-backward-expected.html |   28 +
 .../positionAtBoundary-word-backward-input.html |   17 +
 ...ositionAtBoundary-word-forward-expected.html |   28 +
 .../positionAtBoundary-word-forward-input.html  |   17 +
 ...sitionToBoundary-line-backward-expected.html |   40 +
 .../positionToBoundary-line-backward-input.html |   23 +
 ...ositionToBoundary-line-forward-expected.html |   40 +
 .../positionToBoundary-line-forward-input.html  |   23 +
 ...nToBoundary-paragraph-backward-expected.html |   28 +
 ...tionToBoundary-paragraph-backward-input.html |   21 +
 ...onToBoundary-paragraph-forward-backward.html |   17 +
 ...onToBoundary-paragraph-forward-expected.html |   28 +
 ...itionToBoundary-paragraph-forward-input.html |   21 +
 ...sitionToBoundary-word-backward-expected.html |   28 +
 .../positionToBoundary-word-backward-input.html |   17 +
 ...ositionToBoundary-word-forward-expected.html |   28 +
 .../positionToBoundary-word-forward-input.html  |   17 +
 .../positionWithin-line-backward-expected.html  |   40 +
 .../positionWithin-line-backward-input.html     |   23 +
 .../positionWithin-line-forward-expected.html   |   40 +
 .../positionWithin-line-forward-input.html      |   23 +
 ...itionWithin-paragraph-backward-expected.html |   28 +
 ...positionWithin-paragraph-backward-input.html |   21 +
 ...sitionWithin-paragraph-forward-expected.html |   28 +
 .../positionWithin-paragraph-forward-input.html |   21 +
 .../positionWithin-word-backward-expected.html  |   28 +
 .../positionWithin-word-backward-input.html     |   17 +
 .../positionWithin-word-forward-expected.html   |   28 +
 .../positionWithin-word-forward-input.html      |   17 +
 .../rangeEnclosing-line-backward-expected.html  |   40 +
 .../rangeEnclosing-line-backward-input.html     |   23 +
 .../rangeEnclosing-line-forward-expected.html   |   40 +
 .../rangeEnclosing-line-forward-input.html      |   23 +
 ...geEnclosing-paragraph-backward-expected.html |   28 +
 ...rangeEnclosing-paragraph-backward-input.html |   21 +
 ...ngeEnclosing-paragraph-forward-expected.html |   28 +
 .../rangeEnclosing-paragraph-forward-input.html |   21 +
 .../rangeEnclosing-word-backward-expected.html  |   28 +
 .../rangeEnclosing-word-backward-input.html     |   17 +
 .../rangeEnclosing-word-forward-expected.html   |   28 +
 .../rangeEnclosing-word-forward-input.html      |   17 +
 .../Layer0/input/replaceRange01-expected.html   |    6 +
 .../test/Layer0/input/replaceRange01-input.html |   16 +
 .../Layer0/input/replaceRange02-expected.html   |    6 +
 .../test/Layer0/input/replaceRange02-input.html |   16 +
 .../Layer0/input/replaceRange03-expected.html   |    6 +
 .../test/Layer0/input/replaceRange03-input.html |   16 +
 .../Layer0/input/replaceRange04-expected.html   |    9 +
 .../test/Layer0/input/replaceRange04-input.html |   17 +
 .../Layer0/input/replaceRange05-expected.html   |    6 +
 .../test/Layer0/input/replaceRange05-input.html |   17 +
 .../Layer0/input/replaceRange06-expected.html   |    6 +
 .../test/Layer0/input/replaceRange06-input.html |   17 +
 .../Layer0/input/replaceRange07-expected.html   |   10 +
 .../test/Layer0/input/replaceRange07-input.html |   17 +
 .../Layer0/input/replaceRange08-expected.html   |   10 +
 .../test/Layer0/input/replaceRange08-input.html |   17 +
 .../Layer0/input/replaceRange09-expected.html   |   12 +
 .../test/Layer0/input/replaceRange09-input.html |   17 +
 .../Layer0/input/replaceRange10-expected.html   |   11 +
 .../test/Layer0/input/replaceRange10-input.html |   18 +
 .../Layer0/lists/clearList01a-expected.html     |   10 +
 .../test/Layer0/lists/clearList01a-input.html   |   20 +
 .../Layer0/lists/clearList01b-expected.html     |   10 +
 .../test/Layer0/lists/clearList01b-input.html   |   20 +
 .../Layer0/lists/clearList02a-expected.html     |   12 +
 .../test/Layer0/lists/clearList02a-input.html   |   20 +
 .../Layer0/lists/clearList02b-expected.html     |   12 +
 .../test/Layer0/lists/clearList02b-input.html   |   20 +
 .../Layer0/lists/clearList03a-expected.html     |   14 +
 .../test/Layer0/lists/clearList03a-input.html   |   20 +
 .../Layer0/lists/clearList03b-expected.html     |   14 +
 .../test/Layer0/lists/clearList03b-input.html   |   20 +
 .../Layer0/lists/clearList04a-expected.html     |   12 +
 .../test/Layer0/lists/clearList04a-input.html   |   20 +
 .../Layer0/lists/clearList04b-expected.html     |   12 +
 .../test/Layer0/lists/clearList04b-input.html   |   20 +
 .../Layer0/lists/clearList05a-expected.html     |   10 +
 .../test/Layer0/lists/clearList05a-input.html   |   20 +
 .../Layer0/lists/clearList05b-expected.html     |   10 +
 .../test/Layer0/lists/clearList05b-input.html   |   20 +
 .../Layer0/lists/clearList06a-expected.html     |   15 +
 .../test/Layer0/lists/clearList06a-input.html   |   26 +
 .../Layer0/lists/clearList06b-expected.html     |   15 +
 .../test/Layer0/lists/clearList06b-input.html   |   26 +
 .../Layer0/lists/clearList07a-expected.html     |   15 +
 .../test/Layer0/lists/clearList07a-input.html   |   24 +
 .../Layer0/lists/clearList07b-expected.html     |   15 +
 .../test/Layer0/lists/clearList07b-input.html   |   24 +
 .../Layer0/lists/clearList08a-expected.html     |   20 +
 .../test/Layer0/lists/clearList08a-input.html   |   30 +
 .../Layer0/lists/clearList08b-expected.html     |   20 +
 .../test/Layer0/lists/clearList08b-input.html   |   30 +
 .../Layer0/lists/clearList09a-expected.html     |   13 +
 .../test/Layer0/lists/clearList09a-input.html   |   20 +
 .../Layer0/lists/clearList09b-expected.html     |   10 +
 .../test/Layer0/lists/clearList09b-input.html   |   21 +
 .../Layer0/lists/clearList10a-expected.html     |   17 +
 .../test/Layer0/lists/clearList10a-input.html   |   21 +
 .../Layer0/lists/clearList10b-expected.html     |   18 +
 .../test/Layer0/lists/clearList10b-input.html   |   21 +
 .../Layer0/lists/clearList10c-expected.html     |   18 +
 .../test/Layer0/lists/clearList10c-input.html   |   21 +
 .../Layer0/lists/clearList10d-expected.html     |   16 +
 .../test/Layer0/lists/clearList10d-input.html   |   21 +
 .../Layer0/lists/clearList10e-expected.html     |   31 +
 .../test/Layer0/lists/clearList10e-input.html   |   27 +
 .../Layer0/lists/clearList11a-expected.html     |   12 +
 .../test/Layer0/lists/clearList11a-input.html   |   18 +
 .../Layer0/lists/clearList11b-expected.html     |   12 +
 .../test/Layer0/lists/clearList11b-input.html   |   18 +
 .../Layer0/lists/clearList11c-expected.html     |   12 +
 .../test/Layer0/lists/clearList11c-input.html   |   18 +
 .../lists/decrease-flat-tozero01a-expected.html |   10 +
 .../lists/decrease-flat-tozero01a-input.html    |   19 +
 .../lists/decrease-flat-tozero01b-expected.html |   10 +
 .../lists/decrease-flat-tozero01b-input.html    |   19 +
 .../lists/decrease-flat-tozero02a-expected.html |   12 +
 .../lists/decrease-flat-tozero02a-input.html    |   19 +
 .../lists/decrease-flat-tozero02b-expected.html |   12 +
 .../lists/decrease-flat-tozero02b-input.html    |   19 +
 .../lists/decrease-flat-tozero03a-expected.html |   10 +
 .../lists/decrease-flat-tozero03a-input.html    |   19 +
 .../lists/decrease-flat-tozero03b-expected.html |   10 +
 .../lists/decrease-flat-tozero03b-input.html    |   19 +
 .../lists/decrease-flat-tozero04a-expected.html |    8 +
 .../lists/decrease-flat-tozero04a-input.html    |   19 +
 .../lists/decrease-flat-tozero04b-expected.html |    8 +
 .../lists/decrease-flat-tozero04b-input.html    |   19 +
 .../decrease-nested-toone01a-expected.html      |   16 +
 .../lists/decrease-nested-toone01a-input.html   |   25 +
 .../decrease-nested-toone01b-expected.html      |   16 +
 .../lists/decrease-nested-toone01b-input.html   |   25 +
 .../decrease-nested-toone02a-expected.html      |   20 +
 .../lists/decrease-nested-toone02a-input.html   |   25 +
 .../decrease-nested-toone02b-expected.html      |   20 +
 .../lists/decrease-nested-toone02b-input.html   |   25 +
 .../decrease-nested-toone03a-expected.html      |   16 +
 .../lists/decrease-nested-toone03a-input.html   |   25 +
 .../decrease-nested-toone03b-expected.html      |   16 +
 .../lists/decrease-nested-toone03b-input.html   |   25 +
 .../decrease-nested-toone04a-expected.html      |   16 +
 .../lists/decrease-nested-toone04a-input.html   |   25 +
 .../decrease-nested-toone04b-expected.html      |   16 +
 .../lists/decrease-nested-toone04b-input.html   |   25 +
 .../decrease-nested-toone05a-expected.html      |   16 +
 .../lists/decrease-nested-toone05a-input.html   |   25 +
 .../decrease-nested-toone05b-expected.html      |   16 +
 .../lists/decrease-nested-toone05b-input.html   |   25 +
 .../decrease-nested-toone06a-expected.html      |   12 +
 .../lists/decrease-nested-toone06a-input.html   |   25 +
 .../decrease-nested-toone06b-expected.html      |   12 +
 .../lists/decrease-nested-toone06b-input.html   |   25 +
 .../decrease-nested-tozero01a-expected.html     |   24 +
 .../lists/decrease-nested-tozero01a-input.html  |   39 +
 .../decrease-nested-tozero01b-expected.html     |   24 +
 .../lists/decrease-nested-tozero01b-input.html  |   39 +
 .../decrease-nested-tozero02a-expected.html     |   20 +
 .../lists/decrease-nested-tozero02a-input.html  |   39 +
 .../decrease-nested-tozero02b-expected.html     |   20 +
 .../lists/decrease-nested-tozero02b-input.html  |   39 +
 .../decrease-nested-tozero03a-expected.html     |   16 +
 .../lists/decrease-nested-tozero03a-input.html  |   39 +
 .../decrease-nested-tozero03b-expected.html     |   16 +
 .../lists/decrease-nested-tozero03b-input.html  |   39 +
 .../decrease-nested-tozero04a-expected.html     |   12 +
 .../lists/decrease-nested-tozero04a-input.html  |   39 +
 .../decrease-nested-tozero04b-expected.html     |   12 +
 .../lists/decrease-nested-tozero04b-input.html  |   39 +
 .../decrease-nested-tozero05a-expected.html     |   10 +
 .../lists/decrease-nested-tozero05a-input.html  |   39 +
 .../decrease-nested-tozero05b-expected.html     |   10 +
 .../lists/decrease-nested-tozero05b-input.html  |   39 +
 .../lists/decrease-nested01a-expected.html      |   10 +
 .../Layer0/lists/decrease-nested01a-input.html  |   23 +
 .../lists/decrease-nested01b-expected.html      |   10 +
 .../Layer0/lists/decrease-nested01b-input.html  |   23 +
 .../lists/decrease-nested02a-expected.html      |   10 +
 .../Layer0/lists/decrease-nested02a-input.html  |   23 +
 .../lists/decrease-nested02b-expected.html      |   10 +
 .../Layer0/lists/decrease-nested02b-input.html  |   23 +
 .../lists/decrease-nested03a-expected.html      |   10 +
 .../Layer0/lists/decrease-nested03a-input.html  |   23 +
 .../lists/decrease-nested03b-expected.html      |   10 +
 .../Layer0/lists/decrease-nested03b-input.html  |   23 +
 .../lists/decrease-nested04a-expected.html      |   10 +
 .../Layer0/lists/decrease-nested04a-input.html  |   23 +
 .../lists/decrease-nested04b-expected.html      |   10 +
 .../Layer0/lists/decrease-nested04b-input.html  |   23 +
 .../lists/decrease-nested05a-expected.html      |   16 +
 .../Layer0/lists/decrease-nested05a-input.html  |   29 +
 .../lists/decrease-nested05b-expected.html      |   16 +
 .../Layer0/lists/decrease-nested05b-input.html  |   29 +
 .../lists/decrease-nested06a-expected.html      |   16 +
 .../Layer0/lists/decrease-nested06a-input.html  |   29 +
 .../lists/decrease-nested06b-expected.html      |   16 +
 .../Layer0/lists/decrease-nested06b-input.html  |   29 +
 .../lists/decrease-nested07a-expected.html      |   16 +
 .../Layer0/lists/decrease-nested07a-input.html  |   29 +
 .../lists/decrease-nested07b-expected.html      |   16 +
 .../Layer0/lists/decrease-nested07b-input.html  |   29 +
 .../test/Layer0/lists/div01a-expected.html      |   12 +
 .../test/Layer0/lists/div01a-input.html         |   19 +
 .../test/Layer0/lists/div01b-expected.html      |   12 +
 .../test/Layer0/lists/div01b-input.html         |   19 +
 .../test/Layer0/lists/div02a-expected.html      |   14 +
 .../test/Layer0/lists/div02a-input.html         |   21 +
 .../test/Layer0/lists/div02b-expected.html      |   10 +
 .../test/Layer0/lists/div02b-input.html         |   21 +
 .../test/Layer0/lists/div03a-expected.html      |   14 +
 .../test/Layer0/lists/div03a-input.html         |   21 +
 .../test/Layer0/lists/div03b-expected.html      |   10 +
 .../test/Layer0/lists/div03b-input.html         |   21 +
 .../Layer0/lists/increase-flat01a-expected.html |   10 +
 .../Layer0/lists/increase-flat01a-input.html    |   19 +
 .../Layer0/lists/increase-flat01b-expected.html |   10 +
 .../Layer0/lists/increase-flat01b-input.html    |   19 +
 .../Layer0/lists/increase-flat02a-expected.html |   14 +
 .../Layer0/lists/increase-flat02a-input.html    |   19 +
 .../Layer0/lists/increase-flat02b-expected.html |   14 +
 .../Layer0/lists/increase-flat02b-input.html    |   19 +
 .../Layer0/lists/increase-flat03a-expected.html |   14 +
 .../Layer0/lists/increase-flat03a-input.html    |   19 +
 .../Layer0/lists/increase-flat03b-expected.html |   14 +
 .../Layer0/lists/increase-flat03b-input.html    |   19 +
 .../Layer0/lists/increase-flat04a-expected.html |   14 +
 .../Layer0/lists/increase-flat04a-input.html    |   19 +
 .../Layer0/lists/increase-flat04b-expected.html |   14 +
 .../Layer0/lists/increase-flat04b-input.html    |   19 +
 .../Layer0/lists/increase-flat05a-expected.html |   14 +
 .../Layer0/lists/increase-flat05a-input.html    |   19 +
 .../Layer0/lists/increase-flat05b-expected.html |   14 +
 .../Layer0/lists/increase-flat05b-input.html    |   19 +
 .../Layer0/lists/increase-misc01a-expected.html |   14 +
 .../Layer0/lists/increase-misc01a-input.html    |   19 +
 .../Layer0/lists/increase-misc01b-expected.html |   14 +
 .../Layer0/lists/increase-misc01b-input.html    |   19 +
 .../Layer0/lists/increase-misc02a-expected.html |   14 +
 .../Layer0/lists/increase-misc02a-input.html    |   22 +
 .../Layer0/lists/increase-misc02b-expected.html |   14 +
 .../Layer0/lists/increase-misc02b-input.html    |   22 +
 .../Layer0/lists/increase-misc03a-expected.html |   13 +
 .../Layer0/lists/increase-misc03a-input.html    |   18 +
 .../Layer0/lists/increase-misc03b-expected.html |   18 +
 .../Layer0/lists/increase-misc03b-input.html    |   18 +
 .../lists/increase-multiple01a-expected.html    |   20 +
 .../lists/increase-multiple01a-input.html       |   22 +
 .../lists/increase-multiple01b-expected.html    |   20 +
 .../lists/increase-multiple01b-input.html       |   22 +
 .../lists/increase-multiple02a-expected.html    |   28 +
 .../lists/increase-multiple02a-input.html       |   25 +
 .../lists/increase-multiple02b-expected.html    |   28 +
 .../lists/increase-multiple02b-input.html       |   25 +
 .../lists/increase-nested01a-expected.html      |   20 +
 .../Layer0/lists/increase-nested01a-input.html  |   25 +
 .../lists/increase-nested01b-expected.html      |   20 +
 .../Layer0/lists/increase-nested01b-input.html  |   25 +
 .../lists/increase-nested02a-expected.html      |   20 +
 .../Layer0/lists/increase-nested02a-input.html  |   25 +
 .../lists/increase-nested02b-expected.html      |   20 +
 .../Layer0/lists/increase-nested02b-input.html  |   25 +
 .../test/Layer0/lists/merge01a-expected.html    |   12 +
 .../test/Layer0/lists/merge01a-input.html       |   22 +
 .../test/Layer0/lists/merge02a-expected.html    |   18 +
 .../test/Layer0/lists/merge02a-input.html       |   30 +
 .../test/Layer0/lists/merge02b-expected.html    |   18 +
 .../test/Layer0/lists/merge02b-input.html       |   30 +
 .../test/Layer0/lists/merge03a-expected.html    |   22 +
 .../test/Layer0/lists/merge03a-input.html       |   30 +
 .../test/Layer0/lists/merge03b-expected.html    |   22 +
 .../test/Layer0/lists/merge03b-input.html       |   30 +
 .../test/Layer0/lists/merge04a-expected.html    |   18 +
 .../test/Layer0/lists/merge04a-input.html       |   30 +
 .../test/Layer0/lists/merge04b-expected.html    |   18 +
 .../test/Layer0/lists/merge04b-input.html       |   30 +
 .../lists/ol-from-ul-adjacent01a-expected.html  |   14 +
 .../lists/ol-from-ul-adjacent01a-input.html     |   24 +
 .../lists/ol-from-ul-adjacent01b-expected.html  |   14 +
 .../lists/ol-from-ul-adjacent01b-input.html     |   24 +
 .../lists/ol-from-ul-adjacent02a-expected.html  |   14 +
 .../lists/ol-from-ul-adjacent02a-input.html     |   24 +
 .../lists/ol-from-ul-adjacent02b-expected.html  |   14 +
 .../lists/ol-from-ul-adjacent02b-input.html     |   24 +
 .../lists/ol-from-ul-adjacent03a-expected.html  |   16 +
 .../lists/ol-from-ul-adjacent03a-input.html     |   28 +
 .../lists/ol-from-ul-adjacent03b-expected.html  |   16 +
 .../lists/ol-from-ul-adjacent03b-input.html     |   28 +
 .../Layer0/lists/ol-from-ul01a-expected.html    |   12 +
 .../test/Layer0/lists/ol-from-ul01a-input.html  |   20 +
 .../Layer0/lists/ol-from-ul01b-expected.html    |   12 +
 .../test/Layer0/lists/ol-from-ul01b-input.html  |   20 +
 .../Layer0/lists/ol-from-ul02a-expected.html    |   14 +
 .../test/Layer0/lists/ol-from-ul02a-input.html  |   20 +
 .../Layer0/lists/ol-from-ul02b-expected.html    |   14 +
 .../test/Layer0/lists/ol-from-ul02b-input.html  |   20 +
 .../Layer0/lists/ol-from-ul03a-expected.html    |   16 +
 .../test/Layer0/lists/ol-from-ul03a-input.html  |   20 +
 .../Layer0/lists/ol-from-ul03b-expected.html    |   16 +
 .../test/Layer0/lists/ol-from-ul03b-input.html  |   20 +
 .../Layer0/lists/ol-from-ul04a-expected.html    |   14 +
 .../test/Layer0/lists/ol-from-ul04a-input.html  |   20 +
 .../Layer0/lists/ol-from-ul04b-expected.html    |   14 +
 .../test/Layer0/lists/ol-from-ul04b-input.html  |   20 +
 .../Layer0/lists/ol-from-ul05a-expected.html    |   19 +
 .../test/Layer0/lists/ol-from-ul05a-input.html  |   26 +
 .../Layer0/lists/ol-from-ul05b-expected.html    |   19 +
 .../test/Layer0/lists/ol-from-ul05b-input.html  |   26 +
 .../Layer0/lists/ol-from-ul06a-expected.html    |   19 +
 .../test/Layer0/lists/ol-from-ul06a-input.html  |   26 +
 .../Layer0/lists/ol-from-ul06b-expected.html    |   19 +
 .../test/Layer0/lists/ol-from-ul06b-input.html  |   26 +
 .../Layer0/lists/ol-from-ul07a-expected.html    |   30 +
 .../test/Layer0/lists/ol-from-ul07a-input.html  |   32 +
 .../Layer0/lists/ol-from-ul07b-expected.html    |   30 +
 .../test/Layer0/lists/ol-from-ul07b-input.html  |   32 +
 .../test/Layer0/lists/ol01-expected.html        |   12 +
 .../test/Layer0/lists/ol01-input.html           |   18 +
 .../test/Layer0/lists/ol02-expected.html        |   12 +
 .../test/Layer0/lists/ol02-input.html           |   18 +
 .../test/Layer0/lists/ol03-expected.html        |   12 +
 .../test/Layer0/lists/ol03-input.html           |   18 +
 .../test/Layer0/lists/ol04-expected.html        |   12 +
 .../test/Layer0/lists/ol04-input.html           |   18 +
 .../lists/setList-adjacentLists01-expected.html |   13 +
 .../lists/setList-adjacentLists01-input.html    |   24 +
 .../lists/setList-adjacentLists02-expected.html |   13 +
 .../lists/setList-adjacentLists02-input.html    |   24 +
 .../lists/setList-adjacentLists03-expected.html |   13 +
 .../lists/setList-adjacentLists03-input.html    |   24 +
 .../lists/setList-adjacentLists04-expected.html |   13 +
 .../lists/setList-adjacentLists04-input.html    |   24 +
 .../lists/setList-emptyLIs01-expected.html      |   10 +
 .../Layer0/lists/setList-emptyLIs01-input.html  |   18 +
 .../lists/setList-emptyLIs02-expected.html      |   10 +
 .../Layer0/lists/setList-emptyLIs02-input.html  |   18 +
 .../lists/setList-emptyLIs03-expected.html      |   10 +
 .../Layer0/lists/setList-emptyLIs03-input.html  |   18 +
 .../lists/setList-emptyLIs04-expected.html      |   10 +
 .../Layer0/lists/setList-emptyLIs04-input.html  |   18 +
 .../lists/setList-headings01-expected.html      |    6 +
 .../Layer0/lists/setList-headings01-input.html  |   18 +
 .../lists/setList-headings02-expected.html      |   10 +
 .../Layer0/lists/setList-headings02-input.html  |   20 +
 .../lists/setList-headings03-expected.html      |   12 +
 .../Layer0/lists/setList-headings03-input.html  |   20 +
 .../lists/setList-headings04-expected.html      |   10 +
 .../Layer0/lists/setList-headings04-input.html  |   20 +
 .../Layer0/lists/setList-innerp01-expected.html |   11 +
 .../Layer0/lists/setList-innerp01-input.html    |   20 +
 .../Layer0/lists/setList-innerp02-expected.html |   13 +
 .../Layer0/lists/setList-innerp02-input.html    |   20 +
 .../Layer0/lists/setList-innerp03-expected.html |   17 +
 .../Layer0/lists/setList-innerp03-input.html    |   30 +
 .../Layer0/lists/setList-innerp04-expected.html |   19 +
 .../Layer0/lists/setList-innerp04-input.html    |   30 +
 .../Layer0/lists/setList-mixed01-expected.html  |   14 +
 .../Layer0/lists/setList-mixed01-input.html     |   23 +
 .../Layer0/lists/setList-mixed02-expected.html  |   15 +
 .../Layer0/lists/setList-mixed02-input.html     |   24 +
 .../Layer0/lists/setList-mixed03-expected.html  |   15 +
 .../Layer0/lists/setList-mixed03-input.html     |   24 +
 .../Layer0/lists/setList-nested01-expected.html |   22 +
 .../Layer0/lists/setList-nested01-input.html    |   29 +
 .../Layer0/lists/setList-nested02-expected.html |   22 +
 .../Layer0/lists/setList-nested02-input.html    |   29 +
 .../Layer0/lists/setList-nested03-expected.html |   22 +
 .../Layer0/lists/setList-nested03-input.html    |   29 +
 .../Layer0/lists/setList-nested04-expected.html |   22 +
 .../Layer0/lists/setList-nested04-input.html    |   29 +
 .../Layer0/lists/setList-nested05-expected.html |   22 +
 .../Layer0/lists/setList-nested05-input.html    |   29 +
 .../Layer0/lists/setList-nested06-expected.html |   21 +
 .../Layer0/lists/setList-nested06-input.html    |   28 +
 .../Layer0/lists/setList-nested07-expected.html |   24 +
 .../Layer0/lists/setList-nested07-input.html    |   29 +
 .../Layer0/lists/setList-nested08-expected.html |   23 +
 .../Layer0/lists/setList-nested08-input.html    |   28 +
 .../Layer0/lists/setList-nop01-expected.html    |    8 +
 .../test/Layer0/lists/setList-nop01-input.html  |   15 +
 .../Layer0/lists/setList-nop02-expected.html    |    8 +
 .../test/Layer0/lists/setList-nop02-input.html  |   15 +
 .../Layer0/lists/setList-nop03-expected.html    |    8 +
 .../test/Layer0/lists/setList-nop03-input.html  |   15 +
 .../Layer0/lists/setList-nop04-expected.html    |    8 +
 .../test/Layer0/lists/setList-nop04-input.html  |   15 +
 .../Layer0/lists/setList-nop05-expected.html    |    8 +
 .../test/Layer0/lists/setList-nop05-input.html  |   17 +
 .../lists/setList-paragraphs01-expected.html    |   12 +
 .../lists/setList-paragraphs01-input.html       |   19 +
 .../lists/setList-paragraphs02-expected.html    |   16 +
 .../lists/setList-paragraphs02-input.html       |   23 +
 .../lists/setList-paragraphs03-expected.html    |   16 +
 .../lists/setList-paragraphs03-input.html       |   23 +
 .../lists/setList-paragraphs04-expected.html    |   16 +
 .../lists/setList-paragraphs04-input.html       |   23 +
 .../lists/setList-paragraphs05-expected.html    |    8 +
 .../lists/setList-paragraphs05-input.html       |   15 +
 .../lists/setList-paragraphs06-expected.html    |    8 +
 .../lists/setList-paragraphs06-input.html       |   15 +
 .../lists/setList-paragraphs07-expected.html    |    8 +
 .../lists/setList-paragraphs07-input.html       |   15 +
 .../test/Layer0/lists/ul01-expected.html        |   12 +
 .../test/Layer0/lists/ul01-input.html           |   18 +
 .../test/Layer0/lists/ul02-expected.html        |   12 +
 .../test/Layer0/lists/ul02-input.html           |   18 +
 .../test/Layer0/lists/ul03-expected.html        |   12 +
 .../test/Layer0/lists/ul03-input.html           |   18 +
 .../test/Layer0/lists/ul04-expected.html        |   12 +
 .../test/Layer0/lists/ul04-input.html           |   18 +
 .../Layer0/main/removeSpecial01-expected.html   |   27 +
 .../test/Layer0/main/removeSpecial01-input.html |   29 +
 .../Layer0/main/removeSpecial02-expected.html   |   19 +
 .../test/Layer0/main/removeSpecial02-input.html |   23 +
 .../Layer0/main/removeSpecial03-expected.html   |   27 +
 .../test/Layer0/main/removeSpecial03-input.html |   29 +
 .../test/Layer0/outline/OutlineTest.js          |  111 +
 .../changeHeadingToParagraph-expected.html      |   12 +
 .../outline/changeHeadingToParagraph-input.html |   20 +
 .../outline/changeHeadingType-expected.html     |   31 +
 .../Layer0/outline/changeHeadingType-input.html |   28 +
 .../outline/deleteSection-inner01-expected.html |   46 +
 .../outline/deleteSection-inner01-input.html    |   21 +
 .../outline/deleteSection-inner02-expected.html |   46 +
 .../outline/deleteSection-inner02-input.html    |   21 +
 .../outline/deleteSection-inner03-expected.html |   46 +
 .../outline/deleteSection-inner03-input.html    |   21 +
 .../deleteSection-nested01-expected.html        |   66 +
 .../outline/deleteSection-nested01-input.html   |   21 +
 .../deleteSection-nested02-expected.html        |   66 +
 .../outline/deleteSection-nested02-input.html   |   21 +
 .../deleteSection-nested03-expected.html        |   66 +
 .../outline/deleteSection-nested03-input.html   |   21 +
 .../outline/deleteSection01-expected.html       |   18 +
 .../Layer0/outline/deleteSection01-input.html   |   21 +
 .../outline/deleteSection02-expected.html       |   18 +
 .../Layer0/outline/deleteSection02-input.html   |   21 +
 .../outline/deleteSection03-expected.html       |   18 +
 .../Layer0/outline/deleteSection03-input.html   |   21 +
 .../Layer0/outline/discovery01-expected.html    |   27 +
 .../test/Layer0/outline/discovery01-input.html  |   28 +
 .../Layer0/outline/discovery02-expected.html    |   41 +
 .../test/Layer0/outline/discovery02-input.html  |   29 +
 .../Layer0/outline/discovery03-expected.html    |   39 +
 .../test/Layer0/outline/discovery03-input.html  |   28 +
 .../Layer0/outline/discovery04-expected.html    |   41 +
 .../test/Layer0/outline/discovery04-input.html  |   29 +
 .../Layer0/outline/discovery05-expected.html    |   41 +
 .../test/Layer0/outline/discovery05-input.html  |   28 +
 .../Layer0/outline/discovery06-expected.html    |   41 +
 .../test/Layer0/outline/discovery06-input.html  |   30 +
 .../Layer0/outline/discovery07-expected.html    |   41 +
 .../test/Layer0/outline/discovery07-input.html  |   29 +
 .../Layer0/outline/discovery08-expected.html    |   25 +
 .../test/Layer0/outline/discovery08-input.html  |   26 +
 .../Layer0/outline/discovery09-expected.html    |   27 +
 .../test/Layer0/outline/discovery09-input.html  |   27 +
 .../Layer0/outline/discovery10-expected.html    |   29 +
 .../test/Layer0/outline/discovery10-input.html  |   28 +
 .../outline/heading-editing01-expected.html     |   31 +
 .../Layer0/outline/heading-editing01-input.html |   25 +
 .../outline/heading-editing02-expected.html     |    9 +
 .../Layer0/outline/heading-editing02-input.html |   20 +
 .../outline/heading-editing03-expected.html     |   18 +
 .../Layer0/outline/heading-editing03-input.html |   24 +
 .../outline/heading-editing04-expected.html     |   12 +
 .../Layer0/outline/heading-editing04-input.html |   24 +
 .../outline/heading-editing05-expected.html     |   12 +
 .../Layer0/outline/heading-editing05-input.html |   24 +
 .../outline/heading-editing06-expected.html     |   17 +
 .../Layer0/outline/heading-editing06-input.html |   25 +
 .../outline/heading-editing07-expected.html     |   12 +
 .../Layer0/outline/heading-editing07-input.html |   25 +
 .../outline/heading-editing08-expected.html     |   18 +
 .../Layer0/outline/heading-editing08-input.html |   28 +
 .../outline/heading-hierarchy01a-expected.html  |   12 +
 .../outline/heading-hierarchy01a-input.html     |   25 +
 .../outline/heading-hierarchy01b-expected.html  |   14 +
 .../outline/heading-hierarchy01b-input.html     |   25 +
 .../outline/heading-hierarchy01c-expected.html  |   12 +
 .../outline/heading-hierarchy01c-input.html     |   25 +
 .../outline/heading-hierarchy02a-expected.html  |   12 +
 .../outline/heading-hierarchy02a-input.html     |   25 +
 .../outline/heading-hierarchy02b-expected.html  |   14 +
 .../outline/heading-hierarchy02b-input.html     |   25 +
 .../outline/heading-hierarchy02c-expected.html  |   12 +
 .../outline/heading-hierarchy02c-input.html     |   25 +
 .../outline/heading-hierarchy03a-expected.html  |   16 +
 .../outline/heading-hierarchy03a-input.html     |   27 +
 .../outline/heading-hierarchy03b-expected.html  |   14 +
 .../outline/heading-hierarchy03b-input.html     |   27 +
 .../outline/heading-hierarchy03c-expected.html  |   16 +
 .../outline/heading-hierarchy03c-input.html     |   27 +
 .../outline/heading-hierarchy04a-expected.html  |   18 +
 .../outline/heading-hierarchy04a-input.html     |   29 +
 .../outline/heading-hierarchy04b-expected.html  |   14 +
 .../outline/heading-hierarchy04b-input.html     |   29 +
 .../outline/heading-hierarchy04c-expected.html  |   18 +
 .../outline/heading-hierarchy04c-input.html     |   29 +
 .../outline/heading-numbering01-expected.html   |   28 +
 .../outline/heading-numbering01-input.html      |   28 +
 .../outline/heading-numbering02-expected.html   |   28 +
 .../outline/heading-numbering02-input.html      |   28 +
 .../outline/heading-numbering03-expected.html   |   28 +
 .../outline/heading-numbering03-input.html      |   29 +
 .../outline/heading-numbering04-expected.html   |   28 +
 .../outline/heading-numbering04-input.html      |   31 +
 .../outline/heading-numbering05-expected.html   |   16 +
 .../outline/heading-numbering05-input.html      |   24 +
 .../outline/heading-numbering06-expected.html   |   16 +
 .../outline/heading-numbering06-input.html      |   25 +
 .../outline/heading-numbering07-expected.html   |   16 +
 .../outline/heading-numbering07-input.html      |   25 +
 .../outline/heading-numbering08-expected.html   |   16 +
 .../outline/heading-numbering08-input.html      |   25 +
 .../outline/heading-numbering09-expected.html   |   16 +
 .../outline/heading-numbering09-input.html      |   25 +
 .../outline/heading-numbering10-expected.html   |   15 +
 .../outline/heading-numbering10-input.html      |   28 +
 .../Layer0/outline/headings01-expected.html     |   20 +
 .../test/Layer0/outline/headings01-input.html   |   21 +
 .../Layer0/outline/headings02-expected.html     |   20 +
 .../test/Layer0/outline/headings02-input.html   |   21 +
 .../Layer0/outline/headings03-expected.html     |   17 +
 .../test/Layer0/outline/headings03-input.html   |   22 +
 .../Layer0/outline/headings04-expected.html     |   17 +
 .../test/Layer0/outline/headings04-input.html   |   21 +
 .../Layer0/outline/headings05-expected.html     |   17 +
 .../test/Layer0/outline/headings05-input.html   |   21 +
 .../Layer0/outline/itemtypes01-expected.html    |   82 +
 .../test/Layer0/outline/itemtypes01-input.html  |   78 +
 .../outline/listOfFigures01-expected.html       |   49 +
 .../Layer0/outline/listOfFigures01-input.html   |   24 +
 .../outline/listOfFigures02-expected.html       |   52 +
 .../Layer0/outline/listOfFigures02-input.html   |   29 +
 .../outline/listOfFigures03-expected.html       |   49 +
 .../Layer0/outline/listOfFigures03-input.html   |   29 +
 .../outline/listOfFigures04-expected.html       |   49 +
 .../Layer0/outline/listOfFigures04-input.html   |   29 +
 .../outline/listOfFigures05-expected.html       |   49 +
 .../Layer0/outline/listOfFigures05-input.html   |   38 +
 .../outline/listOfFigures06-expected.html       |   29 +
 .../Layer0/outline/listOfFigures06-input.html   |   38 +
 .../outline/listOfFigures07-expected.html       |   29 +
 .../Layer0/outline/listOfFigures07-input.html   |   28 +
 .../outline/listOfFigures08-expected.html       |   29 +
 .../Layer0/outline/listOfFigures08-input.html   |   28 +
 .../outline/listOfFigures09-expected.html       |   39 +
 .../Layer0/outline/listOfFigures09-input.html   |   34 +
 .../outline/listOfFigures09a-expected.html      |   49 +
 .../Layer0/outline/listOfFigures09a-input.html  |   40 +
 .../outline/listOfFigures10-expected.html       |   10 +
 .../Layer0/outline/listOfFigures10-input.html   |   21 +
 .../outline/listOfFigures11-expected.html       |   10 +
 .../Layer0/outline/listOfFigures11-input.html   |   33 +
 .../Layer0/outline/listOfTables01-expected.html |   69 +
 .../Layer0/outline/listOfTables01-input.html    |   24 +
 .../Layer0/outline/listOfTables02-expected.html |   72 +
 .../Layer0/outline/listOfTables02-input.html    |   29 +
 .../Layer0/outline/listOfTables03-expected.html |   69 +
 .../Layer0/outline/listOfTables03-input.html    |   29 +
 .../Layer0/outline/listOfTables04-expected.html |   69 +
 .../Layer0/outline/listOfTables04-input.html    |   29 +
 .../Layer0/outline/listOfTables05-expected.html |   77 +
 .../Layer0/outline/listOfTables05-input.html    |   42 +
 .../Layer0/outline/listOfTables06-expected.html |   57 +
 .../Layer0/outline/listOfTables06-input.html    |   42 +
 .../Layer0/outline/listOfTables07-expected.html |   49 +
 .../Layer0/outline/listOfTables07-input.html    |   28 +
 .../Layer0/outline/listOfTables08-expected.html |   49 +
 .../Layer0/outline/listOfTables08-input.html    |   28 +
 .../Layer0/outline/listOfTables09-expected.html |   59 +
 .../Layer0/outline/listOfTables09-input.html    |   34 +
 .../outline/listOfTables09a-expected.html       |   69 +
 .../Layer0/outline/listOfTables09a-input.html   |   40 +
 .../Layer0/outline/listOfTables10-expected.html |   10 +
 .../Layer0/outline/listOfTables10-input.html    |   21 +
 .../Layer0/outline/listOfTables11-expected.html |   10 +
 .../Layer0/outline/listOfTables11-input.html    |   33 +
 .../outline/moveSection-inner01-expected.html   |   58 +
 .../outline/moveSection-inner01-input.html      |   21 +
 .../outline/moveSection-inner02-expected.html   |   58 +
 .../outline/moveSection-inner02-input.html      |   21 +
 .../outline/moveSection-inner03-expected.html   |   58 +
 .../outline/moveSection-inner03-input.html      |   21 +
 .../outline/moveSection-inner04-expected.html   |   58 +
 .../outline/moveSection-inner04-input.html      |   21 +
 .../outline/moveSection-inner05-expected.html   |   58 +
 .../outline/moveSection-inner05-input.html      |   21 +
 .../outline/moveSection-inner06-expected.html   |   58 +
 .../outline/moveSection-inner06-input.html      |   21 +
 .../outline/moveSection-inner07-expected.html   |   58 +
 .../outline/moveSection-inner07-input.html      |   21 +
 .../outline/moveSection-inner08-expected.html   |   58 +
 .../outline/moveSection-inner08-input.html      |   21 +
 .../outline/moveSection-inner09-expected.html   |   58 +
 .../outline/moveSection-inner09-input.html      |   21 +
 .../outline/moveSection-nested01-expected.html  |   94 +
 .../outline/moveSection-nested01-input.html     |   21 +
 .../outline/moveSection-nested02-expected.html  |   94 +
 .../outline/moveSection-nested02-input.html     |   21 +
 .../outline/moveSection-nested03-expected.html  |   94 +
 .../outline/moveSection-nested03-input.html     |   21 +
 .../outline/moveSection-nested04-expected.html  |   94 +
 .../outline/moveSection-nested04-input.html     |   21 +
 .../outline/moveSection-nested05-expected.html  |   94 +
 .../outline/moveSection-nested05-input.html     |   21 +
 .../outline/moveSection-nested06-expected.html  |   94 +
 .../outline/moveSection-nested06-input.html     |   21 +
 .../outline/moveSection-nested07-expected.html  |   94 +
 .../outline/moveSection-nested07-input.html     |   21 +
 .../outline/moveSection-nested08-expected.html  |   94 +
 .../outline/moveSection-nested08-input.html     |   21 +
 .../outline/moveSection-nested09-expected.html  |   94 +
 .../outline/moveSection-nested09-input.html     |   21 +
 .../moveSection-newparent01-expected.html       |   42 +
 .../outline/moveSection-newparent01-input.html  |   21 +
 .../moveSection-newparent02-expected.html       |   42 +
 .../outline/moveSection-newparent02-input.html  |   21 +
 .../moveSection-newparent03-expected.html       |   42 +
 .../outline/moveSection-newparent03-input.html  |   21 +
 .../moveSection-newparent04-expected.html       |   42 +
 .../outline/moveSection-newparent04-input.html  |   21 +
 .../moveSection-newparent05-expected.html       |   42 +
 .../outline/moveSection-newparent05-input.html  |   21 +
 .../Layer0/outline/moveSection01-expected.html  |   22 +
 .../Layer0/outline/moveSection01-input.html     |   21 +
 .../Layer0/outline/moveSection02-expected.html  |   22 +
 .../Layer0/outline/moveSection02-input.html     |   21 +
 .../Layer0/outline/moveSection03-expected.html  |   22 +
 .../Layer0/outline/moveSection03-input.html     |   21 +
 .../Layer0/outline/moveSection04-expected.html  |   22 +
 .../Layer0/outline/moveSection04-input.html     |   21 +
 .../Layer0/outline/moveSection05-expected.html  |   22 +
 .../Layer0/outline/moveSection05-input.html     |   21 +
 .../Layer0/outline/moveSection06-expected.html  |   22 +
 .../Layer0/outline/moveSection06-input.html     |   21 +
 .../Layer0/outline/moveSection07-expected.html  |   22 +
 .../Layer0/outline/moveSection07-input.html     |   21 +
 .../Layer0/outline/moveSection08-expected.html  |   22 +
 .../Layer0/outline/moveSection08-input.html     |   21 +
 .../Layer0/outline/moveSection09-expected.html  |   22 +
 .../Layer0/outline/moveSection09-input.html     |   21 +
 .../Layer0/outline/moveSection10-expected.html  |   22 +
 .../Layer0/outline/moveSection10-input.html     |   24 +
 .../outline/refTitle-figure01-expected.html     |   45 +
 .../Layer0/outline/refTitle-figure01-input.html |   40 +
 .../outline/refTitle-figure02-expected.html     |   57 +
 .../Layer0/outline/refTitle-figure02-input.html |   45 +
 .../outline/refTitle-figure03-expected.html     |   45 +
 .../Layer0/outline/refTitle-figure03-input.html |   45 +
 .../outline/refTitle-figure04-expected.html     |   45 +
 .../Layer0/outline/refTitle-figure04-input.html |   45 +
 .../outline/refTitle-figure05-expected.html     |   45 +
 .../Layer0/outline/refTitle-figure05-input.html |   45 +
 .../outline/refTitle-figure06-expected.html     |   41 +
 .../Layer0/outline/refTitle-figure06-input.html |   30 +
 .../outline/refTitle-figure07-expected.html     |   41 +
 .../Layer0/outline/refTitle-figure07-input.html |   30 +
 .../outline/refTitle-section01-expected.html    |   39 +
 .../outline/refTitle-section01-input.html       |   40 +
 .../outline/refTitle-section02-expected.html    |   51 +
 .../outline/refTitle-section02-input.html       |   45 +
 .../outline/refTitle-section03-expected.html    |   39 +
 .../outline/refTitle-section03-input.html       |   45 +
 .../outline/refTitle-section04-expected.html    |   39 +
 .../outline/refTitle-section04-input.html       |   45 +
 .../outline/refTitle-section05-expected.html    |   39 +
 .../outline/refTitle-section05-input.html       |   45 +
 .../outline/refTitle-section06-expected.html    |   35 +
 .../outline/refTitle-section06-input.html       |   30 +
 .../outline/refTitle-section07-expected.html    |   35 +
 .../outline/refTitle-section07-input.html       |   30 +
 .../outline/refTitle-table01-expected.html      |   45 +
 .../Layer0/outline/refTitle-table01-input.html  |   40 +
 .../outline/refTitle-table02-expected.html      |   57 +
 .../Layer0/outline/refTitle-table02-input.html  |   45 +
 .../outline/refTitle-table03-expected.html      |   45 +
 .../Layer0/outline/refTitle-table03-input.html  |   45 +
 .../outline/refTitle-table04-expected.html      |   45 +
 .../Layer0/outline/refTitle-table04-input.html  |   45 +
 .../outline/refTitle-table05-expected.html      |   45 +
 .../Layer0/outline/refTitle-table05-input.html  |   45 +
 .../outline/refTitle-table06-expected.html      |   41 +
 .../Layer0/outline/refTitle-table06-input.html  |   30 +
 .../outline/refTitle-table07-expected.html      |   41 +
 .../Layer0/outline/refTitle-table07-input.html  |   30 +
 .../refType-figure-numbered-expected.html       |   30 +
 .../outline/refType-figure-numbered-input.html  |   26 +
 .../refType-figure-unnumbered-expected.html     |   30 +
 .../refType-figure-unnumbered-input.html        |   26 +
 .../refType-section-numbered-expected.html      |   29 +
 .../outline/refType-section-numbered-input.html |   23 +
 .../refType-section-unnumbered-expected.html    |   27 +
 .../refType-section-unnumbered-input.html       |   23 +
 .../refType-section-unnumbered2-expected.html   |   29 +
 .../refType-section-unnumbered2-input.html      |   22 +
 .../refType-table-numbered-expected.html        |   43 +
 .../outline/refType-table-numbered-input.html   |   37 +
 .../refType-table-unnumbered-expected.html      |   43 +
 .../outline/refType-table-unnumbered-input.html |   37 +
 .../outline/reference-insert01-expected.html    |   14 +
 .../outline/reference-insert01-input.html       |   32 +
 .../outline/reference-insert02-expected.html    |   18 +
 .../outline/reference-insert02-input.html       |   32 +
 .../outline/reference-insert03-expected.html    |   18 +
 .../outline/reference-insert03-input.html       |   32 +
 .../outline/reference-static01-expected.html    |   35 +
 .../outline/reference-static01-input.html       |   27 +
 .../outline/reference-static02-expected.html    |   39 +
 .../outline/reference-static02-input.html       |   27 +
 .../outline/reference-static03-expected.html    |   39 +
 .../outline/reference-static03-input.html       |   27 +
 .../outline/reference-update01-expected.html    |   36 +
 .../outline/reference-update01-input.html       |   33 +
 .../outline/reference-update02-expected.html    |   42 +
 .../outline/reference-update02-input.html       |   35 +
 .../outline/reference-update03-expected.html    |   42 +
 .../outline/reference-update03-input.html       |   35 +
 .../Layer0/outline/reference01-expected.html    |  136 +
 .../test/Layer0/outline/reference01-input.html  |  123 +
 .../Layer0/outline/refsById01-expected.html     |    6 +
 .../test/Layer0/outline/refsById01-input.html   |   29 +
 .../outline/setNumbered-figure01-expected.html  |    9 +
 .../outline/setNumbered-figure01-input.html     |   20 +
 .../outline/setNumbered-figure02-expected.html  |    8 +
 .../outline/setNumbered-figure02-input.html     |   21 +
 .../outline/setNumbered-figure03-expected.html  |    9 +
 .../outline/setNumbered-figure03-input.html     |   21 +
 .../outline/setNumbered-figure04-expected.html  |    9 +
 .../outline/setNumbered-figure04-input.html     |   21 +
 .../outline/setNumbered-table01-expected.html   |   18 +
 .../outline/setNumbered-table01-input.html      |   27 +
 .../outline/setNumbered-table02-expected.html   |   17 +
 .../outline/setNumbered-table02-input.html      |   28 +
 .../outline/setNumbered-table03-expected.html   |   18 +
 .../outline/setNumbered-table03-input.html      |   28 +
 .../outline/setNumbered-table04-expected.html   |   18 +
 .../outline/setNumbered-table04-input.html      |   28 +
 .../tableOfContents-insert01-expected.html      |   19 +
 .../outline/tableOfContents-insert01-input.html |   26 +
 .../tableOfContents-insert02-expected.html      |   19 +
 .../outline/tableOfContents-insert02-input.html |   26 +
 .../tableOfContents-insert03-expected.html      |   21 +
 .../outline/tableOfContents-insert03-input.html |   28 +
 .../tableOfContents-insert04-expected.html      |   19 +
 .../outline/tableOfContents-insert04-input.html |   28 +
 .../tableOfContents-insert05-expected.html      |   19 +
 .../outline/tableOfContents-insert05-input.html |   28 +
 .../tableOfContents-insert06-expected.html      |   19 +
 .../outline/tableOfContents-insert06-input.html |   28 +
 .../tableOfContents-insert07-expected.html      |   19 +
 .../outline/tableOfContents-insert07-input.html |   28 +
 .../outline/tableOfContents01-expected.html     |   51 +
 .../Layer0/outline/tableOfContents01-input.html |   27 +
 .../outline/tableOfContents02-expected.html     |   54 +
 .../Layer0/outline/tableOfContents02-input.html |   32 +
 .../outline/tableOfContents03-expected.html     |   51 +
 .../Layer0/outline/tableOfContents03-input.html |   32 +
 .../outline/tableOfContents04-expected.html     |   51 +
 .../Layer0/outline/tableOfContents04-input.html |   32 +
 .../outline/tableOfContents05-expected.html     |   51 +
 .../Layer0/outline/tableOfContents05-input.html |   55 +
 .../outline/tableOfContents06-expected.html     |   49 +
 .../Layer0/outline/tableOfContents06-input.html |   53 +
 .../outline/tableOfContents07-expected.html     |   51 +
 .../Layer0/outline/tableOfContents07-input.html |   30 +
 .../outline/tableOfContents08-expected.html     |   51 +
 .../Layer0/outline/tableOfContents08-input.html |   30 +
 .../outline/tableOfContents09-expected.html     |   51 +
 .../Layer0/outline/tableOfContents09-input.html |   37 +
 .../outline/tableOfContents10-expected.html     |   10 +
 .../Layer0/outline/tableOfContents10-input.html |   21 +
 .../outline/tableOfContents11-expected.html     |   12 +
 .../Layer0/outline/tableOfContents11-input.html |   33 +
 .../Layer0/outline/tocInHeading01-expected.html |   12 +
 .../Layer0/outline/tocInHeading01-input.html    |   22 +
 .../Layer0/outline/tocInsert01-expected.html    |   53 +
 .../test/Layer0/outline/tocInsert01-input.html  |   49 +
 .../Layer0/outline/tocInsert02-expected.html    |   55 +
 .../test/Layer0/outline/tocInsert02-input.html  |   49 +
 .../Layer0/outline/tocInsert03-expected.html    |   53 +
 .../test/Layer0/outline/tocInsert03-input.html  |   48 +
 ...ValidCursorPosition-afterbr01a-expected.html |   10 +
 .../isValidCursorPosition-afterbr01a-input.html |   15 +
 ...ValidCursorPosition-afterbr01b-expected.html |   10 +
 .../isValidCursorPosition-afterbr01b-input.html |   15 +
 ...ValidCursorPosition-afterbr01c-expected.html |   11 +
 .../isValidCursorPosition-afterbr01c-input.html |   15 +
 ...ValidCursorPosition-afterbr01d-expected.html |   11 +
 .../isValidCursorPosition-afterbr01d-input.html |   15 +
 ...ValidCursorPosition-afterbr01e-expected.html |   11 +
 .../isValidCursorPosition-afterbr01e-input.html |   15 +
 ...ValidCursorPosition-afterbr02a-expected.html |   16 +
 .../isValidCursorPosition-afterbr02a-input.html |   15 +
 ...ValidCursorPosition-afterbr02b-expected.html |   16 +
 .../isValidCursorPosition-afterbr02b-input.html |   15 +
 ...ValidCursorPosition-afterbr02c-expected.html |   16 +
 .../isValidCursorPosition-afterbr02c-input.html |   15 +
 ...ValidCursorPosition-afterbr03a-expected.html |   16 +
 .../isValidCursorPosition-afterbr03a-input.html |   15 +
 ...ValidCursorPosition-afterbr03b-expected.html |   16 +
 .../isValidCursorPosition-afterbr03b-input.html |   15 +
 ...ValidCursorPosition-afterbr03c-expected.html |   16 +
 .../isValidCursorPosition-afterbr03c-input.html |   15 +
 ...ValidCursorPosition-afterbr04a-expected.html |   17 +
 .../isValidCursorPosition-afterbr04a-input.html |   15 +
 ...ValidCursorPosition-afterbr04b-expected.html |   17 +
 .../isValidCursorPosition-afterbr04b-input.html |   15 +
 ...ValidCursorPosition-afterbr04c-expected.html |   17 +
 .../isValidCursorPosition-afterbr04c-input.html |   15 +
 .../isValidCursorPosition-body01a-expected.html |    7 +
 .../isValidCursorPosition-body01a-input.html    |   12 +
 .../isValidCursorPosition-body01b-expected.html |    7 +
 .../isValidCursorPosition-body01b-input.html    |   12 +
 .../isValidCursorPosition-body01c-expected.html |    7 +
 .../isValidCursorPosition-body01c-input.html    |   12 +
 .../isValidCursorPosition-body01d-expected.html |    7 +
 .../isValidCursorPosition-body01d-input.html    |   13 +
 .../isValidCursorPosition-body01e-expected.html |    7 +
 .../isValidCursorPosition-body01e-input.html    |   16 +
 .../isValidCursorPosition-body01f-expected.html |    7 +
 .../isValidCursorPosition-body01f-input.html    |   16 +
 .../isValidCursorPosition-body01g-expected.html |    7 +
 .../isValidCursorPosition-body01g-input.html    |   16 +
 ...ValidCursorPosition-caption01a-expected.html |   17 +
 .../isValidCursorPosition-caption01a-input.html |   23 +
 ...ValidCursorPosition-caption01b-expected.html |   17 +
 .../isValidCursorPosition-caption01b-input.html |   23 +
 ...ValidCursorPosition-caption01c-expected.html |   17 +
 .../isValidCursorPosition-caption01c-input.html |   23 +
 ...sValidCursorPosition-endnote01-expected.html |   11 +
 .../isValidCursorPosition-endnote01-input.html  |   15 +
 ...sValidCursorPosition-endnote02-expected.html |   11 +
 .../isValidCursorPosition-endnote02-input.html  |   15 +
 ...sValidCursorPosition-endnote03-expected.html |   11 +
 .../isValidCursorPosition-endnote03-input.html  |   15 +
 ...sValidCursorPosition-endnote04-expected.html |   11 +
 .../isValidCursorPosition-endnote04-input.html  |   15 +
 ...sValidCursorPosition-endnote05-expected.html |   13 +
 .../isValidCursorPosition-endnote05-input.html  |   15 +
 ...sValidCursorPosition-endnote06-expected.html |   11 +
 .../isValidCursorPosition-endnote06-input.html  |   15 +
 ...sValidCursorPosition-endnote07-expected.html |   11 +
 .../isValidCursorPosition-endnote07-input.html  |   15 +
 ...sValidCursorPosition-endnote08-expected.html |   11 +
 .../isValidCursorPosition-endnote08-input.html  |   15 +
 ...sValidCursorPosition-endnote09-expected.html |   11 +
 .../isValidCursorPosition-endnote09-input.html  |   15 +
 ...sValidCursorPosition-endnote10-expected.html |   13 +
 .../isValidCursorPosition-endnote10-input.html  |   15 +
 ...sValidCursorPosition-figure01a-expected.html |   12 +
 .../isValidCursorPosition-figure01a-input.html  |   20 +
 ...sValidCursorPosition-figure01b-expected.html |   12 +
 .../isValidCursorPosition-figure01b-input.html  |   20 +
 ...sValidCursorPosition-figure01c-expected.html |   12 +
 .../isValidCursorPosition-figure01c-input.html  |   20 +
 ...ValidCursorPosition-footnote01-expected.html |   11 +
 .../isValidCursorPosition-footnote01-input.html |   15 +
 ...ValidCursorPosition-footnote02-expected.html |   11 +
 .../isValidCursorPosition-footnote02-input.html |   15 +
 ...ValidCursorPosition-footnote03-expected.html |   11 +
 .../isValidCursorPosition-footnote03-input.html |   15 +
 ...ValidCursorPosition-footnote04-expected.html |   11 +
 .../isValidCursorPosition-footnote04-input.html |   15 +
 ...ValidCursorPosition-footnote05-expected.html |   13 +
 .../isValidCursorPosition-footnote05-input.html |   15 +
 ...ValidCursorPosition-footnote06-expected.html |   11 +
 .../isValidCursorPosition-footnote06-input.html |   15 +
 ...ValidCursorPosition-footnote07-expected.html |   11 +
 .../isValidCursorPosition-footnote07-input.html |   15 +
 ...ValidCursorPosition-footnote08-expected.html |   11 +
 .../isValidCursorPosition-footnote08-input.html |   15 +
 ...ValidCursorPosition-footnote09-expected.html |   11 +
 .../isValidCursorPosition-footnote09-input.html |   15 +
 ...ValidCursorPosition-footnote10-expected.html |   13 +
 .../isValidCursorPosition-footnote10-input.html |   15 +
 ...ValidCursorPosition-footnote11-expected.html |   11 +
 .../isValidCursorPosition-footnote11-input.html |   15 +
 ...ValidCursorPosition-footnote12-expected.html |   11 +
 .../isValidCursorPosition-footnote12-input.html |   15 +
 ...ValidCursorPosition-footnote13-expected.html |   11 +
 .../isValidCursorPosition-footnote13-input.html |   15 +
 ...ValidCursorPosition-footnote14-expected.html |   11 +
 .../isValidCursorPosition-footnote14-input.html |   15 +
 ...ValidCursorPosition-heading01a-expected.html |    7 +
 .../isValidCursorPosition-heading01a-input.html |   17 +
 ...ValidCursorPosition-heading01b-expected.html |    7 +
 .../isValidCursorPosition-heading01b-input.html |   17 +
 ...ValidCursorPosition-heading01c-expected.html |    7 +
 .../isValidCursorPosition-heading01c-input.html |   17 +
 ...isValidCursorPosition-image01a-expected.html |   13 +
 .../isValidCursorPosition-image01a-input.html   |   15 +
 ...isValidCursorPosition-image01b-expected.html |   13 +
 .../isValidCursorPosition-image01b-input.html   |   15 +
 ...isValidCursorPosition-image01c-expected.html |   13 +
 .../isValidCursorPosition-image01c-input.html   |   15 +
 ...isValidCursorPosition-image02a-expected.html |   15 +
 .../isValidCursorPosition-image02a-input.html   |   15 +
 ...isValidCursorPosition-image02b-expected.html |   16 +
 .../isValidCursorPosition-image02b-input.html   |   15 +
 ...isValidCursorPosition-image02c-expected.html |   16 +
 .../isValidCursorPosition-image02c-input.html   |   15 +
 ...isValidCursorPosition-image03a-expected.html |   19 +
 .../isValidCursorPosition-image03a-input.html   |   15 +
 ...isValidCursorPosition-image03b-expected.html |   21 +
 .../isValidCursorPosition-image03b-input.html   |   15 +
 ...isValidCursorPosition-image03c-expected.html |   21 +
 .../isValidCursorPosition-image03c-input.html   |   15 +
 ...isValidCursorPosition-image04a-expected.html |   15 +
 .../isValidCursorPosition-image04a-input.html   |   15 +
 ...isValidCursorPosition-image04b-expected.html |   15 +
 .../isValidCursorPosition-image04b-input.html   |   15 +
 ...isValidCursorPosition-image04c-expected.html |   15 +
 .../isValidCursorPosition-image04c-input.html   |   15 +
 ...sValidCursorPosition-inline01a-expected.html |   11 +
 .../isValidCursorPosition-inline01a-input.html  |   15 +
 ...sValidCursorPosition-inline01b-expected.html |   11 +
 .../isValidCursorPosition-inline01b-input.html  |   15 +
 ...sValidCursorPosition-inline01c-expected.html |   11 +
 .../isValidCursorPosition-inline01c-input.html  |   15 +
 ...sValidCursorPosition-inline01d-expected.html |   11 +
 .../isValidCursorPosition-inline01d-input.html  |   15 +
 ...sValidCursorPosition-inline01e-expected.html |   11 +
 .../isValidCursorPosition-inline01e-input.html  |   15 +
 ...sValidCursorPosition-inline01f-expected.html |   11 +
 .../isValidCursorPosition-inline01f-input.html  |   15 +
 ...sValidCursorPosition-inline01g-expected.html |   11 +
 .../isValidCursorPosition-inline01g-input.html  |   15 +
 ...sValidCursorPosition-inline02a-expected.html |   11 +
 .../isValidCursorPosition-inline02a-input.html  |   15 +
 ...sValidCursorPosition-inline02b-expected.html |   11 +
 .../isValidCursorPosition-inline02b-input.html  |   15 +
 ...sValidCursorPosition-inline02c-expected.html |   11 +
 .../isValidCursorPosition-inline02c-input.html  |   15 +
 ...sValidCursorPosition-inline02d-expected.html |   11 +
 .../isValidCursorPosition-inline02d-input.html  |   15 +
 ...sValidCursorPosition-inline02e-expected.html |   11 +
 .../isValidCursorPosition-inline02e-input.html  |   15 +
 ...sValidCursorPosition-inline02f-expected.html |   11 +
 .../isValidCursorPosition-inline02f-input.html  |   15 +
 ...sValidCursorPosition-inline02g-expected.html |   11 +
 .../isValidCursorPosition-inline02g-input.html  |   15 +
 ...sValidCursorPosition-inline03a-expected.html |   14 +
 .../isValidCursorPosition-inline03a-input.html  |   15 +
 ...sValidCursorPosition-inline03b-expected.html |   14 +
 .../isValidCursorPosition-inline03b-input.html  |   15 +
 ...sValidCursorPosition-inline03c-expected.html |   14 +
 .../isValidCursorPosition-inline03c-input.html  |   15 +
 ...sValidCursorPosition-inline05a-expected.html |    7 +
 .../isValidCursorPosition-inline05a-input.html  |   15 +
 ...sValidCursorPosition-inline05b-expected.html |    7 +
 .../isValidCursorPosition-inline05b-input.html  |   15 +
 ...sValidCursorPosition-inline05c-expected.html |    7 +
 .../isValidCursorPosition-inline05c-input.html  |   15 +
 ...sValidCursorPosition-inline05d-expected.html |    7 +
 .../isValidCursorPosition-inline05d-input.html  |   15 +
 ...sValidCursorPosition-inline05e-expected.html |    7 +
 .../isValidCursorPosition-inline05e-input.html  |   15 +
 ...sValidCursorPosition-inline05f-expected.html |    7 +
 .../isValidCursorPosition-inline05f-input.html  |   15 +
 ...sValidCursorPosition-inline05g-expected.html |    7 +
 .../isValidCursorPosition-inline05g-input.html  |   15 +
 ...sValidCursorPosition-inline06a-expected.html |    7 +
 .../isValidCursorPosition-inline06a-input.html  |   15 +
 ...sValidCursorPosition-inline06b-expected.html |    7 +
 .../isValidCursorPosition-inline06b-input.html  |   15 +
 ...sValidCursorPosition-inline06c-expected.html |    7 +
 .../isValidCursorPosition-inline06c-input.html  |   15 +
 ...sValidCursorPosition-inline06d-expected.html |    7 +
 .../isValidCursorPosition-inline06d-input.html  |   15 +
 ...sValidCursorPosition-inline06e-expected.html |    7 +
 .../isValidCursorPosition-inline06e-input.html  |   15 +
 ...sValidCursorPosition-inline06f-expected.html |    7 +
 .../isValidCursorPosition-inline06f-input.html  |   15 +
 ...sValidCursorPosition-inline06g-expected.html |    7 +
 .../isValidCursorPosition-inline06g-input.html  |   15 +
 ...sValidCursorPosition-inline06h-expected.html |    7 +
 .../isValidCursorPosition-inline06h-input.html  |   15 +
 ...sValidCursorPosition-inline06i-expected.html |    7 +
 .../isValidCursorPosition-inline06i-input.html  |   15 +
 ...sValidCursorPosition-inline06j-expected.html |    7 +
 .../isValidCursorPosition-inline06j-input.html  |   15 +
 ...sValidCursorPosition-inline06k-expected.html |    7 +
 .../isValidCursorPosition-inline06k-input.html  |   15 +
 ...sValidCursorPosition-inline07a-expected.html |    7 +
 .../isValidCursorPosition-inline07a-input.html  |   15 +
 ...sValidCursorPosition-inline07b-expected.html |    7 +
 .../isValidCursorPosition-inline07b-input.html  |   15 +
 ...sValidCursorPosition-inline07c-expected.html |    7 +
 .../isValidCursorPosition-inline07c-input.html  |   15 +
 ...sValidCursorPosition-inline07d-expected.html |    7 +
 .../isValidCursorPosition-inline07d-input.html  |   15 +
 ...sValidCursorPosition-inline07e-expected.html |    7 +
 .../isValidCursorPosition-inline07e-input.html  |   15 +
 ...sValidCursorPosition-inline07f-expected.html |    7 +
 .../isValidCursorPosition-inline07f-input.html  |   15 +
 ...sValidCursorPosition-inline07g-expected.html |    7 +
 .../isValidCursorPosition-inline07g-input.html  |   15 +
 ...sValidCursorPosition-inline08a-expected.html |    7 +
 .../isValidCursorPosition-inline08a-input.html  |   15 +
 ...sValidCursorPosition-inline08b-expected.html |    7 +
 .../isValidCursorPosition-inline08b-input.html  |   15 +
 ...sValidCursorPosition-inline08c-expected.html |    7 +
 .../isValidCursorPosition-inline08c-input.html  |   15 +
 ...sValidCursorPosition-inline08d-expected.html |    7 +
 .../isValidCursorPosition-inline08d-input.html  |   15 +
 ...sValidCursorPosition-inline08e-expected.html |    7 +
 .../isValidCursorPosition-inline08e-input.html  |   15 +
 ...sValidCursorPosition-inline08f-expected.html |    7 +
 .../isValidCursorPosition-inline08f-input.html  |   15 +
 ...sValidCursorPosition-inline08g-expected.html |    7 +
 .../isValidCursorPosition-inline08g-input.html  |   15 +
 ...sValidCursorPosition-inline08h-expected.html |    7 +
 .../isValidCursorPosition-inline08h-input.html  |   15 +
 ...sValidCursorPosition-inline08i-expected.html |    7 +
 .../isValidCursorPosition-inline08i-input.html  |   15 +
 ...sValidCursorPosition-inline08j-expected.html |    7 +
 .../isValidCursorPosition-inline08j-input.html  |   15 +
 ...sValidCursorPosition-inline08k-expected.html |    7 +
 .../isValidCursorPosition-inline08k-input.html  |   15 +
 .../isValidCursorPosition-link01a-expected.html |   13 +
 .../isValidCursorPosition-link01a-input.html    |   15 +
 .../isValidCursorPosition-link01b-expected.html |   13 +
 .../isValidCursorPosition-link01b-input.html    |   15 +
 .../isValidCursorPosition-link01c-expected.html |   13 +
 .../isValidCursorPosition-link01c-input.html    |   15 +
 .../isValidCursorPosition-list01a-expected.html |   11 +
 .../isValidCursorPosition-list01a-input.html    |   19 +
 .../isValidCursorPosition-list01b-expected.html |   11 +
 .../isValidCursorPosition-list01b-input.html    |   19 +
 .../isValidCursorPosition-list01c-expected.html |   11 +
 .../isValidCursorPosition-list01c-input.html    |   19 +
 .../isValidCursorPosition-list02a-expected.html |   11 +
 .../isValidCursorPosition-list02a-input.html    |   19 +
 .../isValidCursorPosition-list02b-expected.html |   11 +
 .../isValidCursorPosition-list02b-input.html    |   19 +
 .../isValidCursorPosition-list02c-expected.html |   11 +
 .../isValidCursorPosition-list02c-input.html    |   19 +
 .../isValidCursorPosition-list03a-expected.html |   11 +
 .../isValidCursorPosition-list03a-input.html    |   19 +
 .../isValidCursorPosition-list03b-expected.html |   11 +
 .../isValidCursorPosition-list03b-input.html    |   19 +
 .../isValidCursorPosition-list03c-expected.html |   11 +
 .../isValidCursorPosition-list03c-input.html    |   19 +
 .../isValidCursorPosition-list04a-expected.html |   23 +
 .../isValidCursorPosition-list04a-input.html    |   19 +
 .../isValidCursorPosition-list04b-expected.html |   23 +
 .../isValidCursorPosition-list04b-input.html    |   19 +
 .../isValidCursorPosition-list04c-expected.html |   23 +
 .../isValidCursorPosition-list04c-input.html    |   19 +
 .../isValidCursorPosition-list05a-expected.html |    9 +
 .../isValidCursorPosition-list05a-input.html    |   19 +
 .../isValidCursorPosition-list05b-expected.html |    9 +
 .../isValidCursorPosition-list05b-input.html    |   18 +
 .../isValidCursorPosition-list05c-expected.html |   10 +
 .../isValidCursorPosition-list05c-input.html    |   19 +
 .../isValidCursorPosition-list05d-expected.html |   10 +
 .../isValidCursorPosition-list05d-input.html    |   19 +
 .../isValidCursorPosition-list05e-expected.html |   11 +
 .../isValidCursorPosition-list05e-input.html    |   20 +
 ...lidCursorPosition-paragraph01a-expected.html |    7 +
 ...sValidCursorPosition-paragraph01a-input.html |   15 +
 ...lidCursorPosition-paragraph01b-expected.html |    7 +
 ...sValidCursorPosition-paragraph01b-input.html |   15 +
 ...lidCursorPosition-paragraph01c-expected.html |    7 +
 ...sValidCursorPosition-paragraph01c-input.html |   15 +
 ...lidCursorPosition-paragraph01d-expected.html |    7 +
 ...sValidCursorPosition-paragraph01d-input.html |   15 +
 ...lidCursorPosition-paragraph01e-expected.html |    7 +
 ...sValidCursorPosition-paragraph01e-input.html |   15 +
 ...lidCursorPosition-paragraph02a-expected.html |    8 +
 ...sValidCursorPosition-paragraph02a-input.html |   16 +
 ...lidCursorPosition-paragraph02b-expected.html |    8 +
 ...sValidCursorPosition-paragraph02b-input.html |   25 +
 ...lidCursorPosition-paragraph02c-expected.html |   11 +
 ...sValidCursorPosition-paragraph02c-input.html |   25 +
 ...lidCursorPosition-paragraph02d-expected.html |   11 +
 ...sValidCursorPosition-paragraph02d-input.html |   25 +
 ...lidCursorPosition-paragraph03a-expected.html |    7 +
 ...sValidCursorPosition-paragraph03a-input.html |   15 +
 ...lidCursorPosition-paragraph03b-expected.html |    7 +
 ...sValidCursorPosition-paragraph03b-input.html |   15 +
 ...lidCursorPosition-paragraph03c-expected.html |    7 +
 ...sValidCursorPosition-paragraph03c-input.html |   15 +
 ...lidCursorPosition-paragraph03d-expected.html |    7 +
 ...sValidCursorPosition-paragraph03d-input.html |   16 +
 ...lidCursorPosition-paragraph04a-expected.html |    7 +
 ...sValidCursorPosition-paragraph04a-input.html |   15 +
 ...lidCursorPosition-paragraph04b-expected.html |    7 +
 ...sValidCursorPosition-paragraph04b-input.html |   15 +
 ...lidCursorPosition-paragraph04c-expected.html |    7 +
 ...sValidCursorPosition-paragraph04c-input.html |   15 +
 ...lidCursorPosition-paragraph05a-expected.html |   10 +
 ...sValidCursorPosition-paragraph05a-input.html |   15 +
 ...lidCursorPosition-paragraph05b-expected.html |   10 +
 ...sValidCursorPosition-paragraph05b-input.html |   15 +
 ...lidCursorPosition-paragraph05c-expected.html |   10 +
 ...sValidCursorPosition-paragraph05c-input.html |   15 +
 ...lidCursorPosition-paragraph06a-expected.html |   10 +
 ...sValidCursorPosition-paragraph06a-input.html |   15 +
 ...lidCursorPosition-paragraph06b-expected.html |   10 +
 ...sValidCursorPosition-paragraph06b-input.html |   15 +
 ...lidCursorPosition-paragraph06c-expected.html |   10 +
 ...sValidCursorPosition-paragraph06c-input.html |   15 +
 ...lidCursorPosition-paragraph07a-expected.html |    9 +
 ...sValidCursorPosition-paragraph07a-input.html |   12 +
 ...lidCursorPosition-paragraph07b-expected.html |    9 +
 ...sValidCursorPosition-paragraph07b-input.html |   12 +
 ...lidCursorPosition-paragraph07c-expected.html |    9 +
 ...sValidCursorPosition-paragraph07c-input.html |   12 +
 ...lidCursorPosition-paragraph08a-expected.html |    7 +
 ...sValidCursorPosition-paragraph08a-input.html |   12 +
 ...lidCursorPosition-paragraph08b-expected.html |    7 +
 ...sValidCursorPosition-paragraph08b-input.html |   12 +
 ...lidCursorPosition-paragraph08c-expected.html |    7 +
 ...sValidCursorPosition-paragraph08c-input.html |   12 +
 ...lidCursorPosition-paragraph08d-expected.html |    7 +
 ...sValidCursorPosition-paragraph08d-input.html |   14 +
 ...lidCursorPosition-paragraph08e-expected.html |    7 +
 ...sValidCursorPosition-paragraph08e-input.html |   17 +
 ...lidCursorPosition-paragraph08f-expected.html |    7 +
 ...sValidCursorPosition-paragraph08f-input.html |   17 +
 ...lidCursorPosition-paragraph08g-expected.html |    7 +
 ...sValidCursorPosition-paragraph08g-input.html |   17 +
 ...isValidCursorPosition-table01a-expected.html |   16 +
 .../isValidCursorPosition-table01a-input.html   |   20 +
 ...isValidCursorPosition-table01b-expected.html |   25 +
 .../isValidCursorPosition-table01b-input.html   |   25 +
 ...isValidCursorPosition-table01c-expected.html |   26 +
 .../isValidCursorPosition-table01c-input.html   |   28 +
 ...isValidCursorPosition-table01d-expected.html |   27 +
 .../isValidCursorPosition-table01d-input.html   |   29 +
 ...isValidCursorPosition-table01e-expected.html |   29 +
 .../isValidCursorPosition-table01e-input.html   |   23 +
 ...isValidCursorPosition-table01f-expected.html |   29 +
 .../isValidCursorPosition-table01f-input.html   |   35 +
 ...isValidCursorPosition-table02a-expected.html |   16 +
 .../isValidCursorPosition-table02a-input.html   |   20 +
 ...isValidCursorPosition-table02b-expected.html |   16 +
 .../isValidCursorPosition-table02b-input.html   |   20 +
 ...isValidCursorPosition-table02c-expected.html |   16 +
 .../isValidCursorPosition-table02c-input.html   |   20 +
 ...isValidCursorPosition-table03a-expected.html |   16 +
 .../isValidCursorPosition-table03a-input.html   |   20 +
 ...isValidCursorPosition-table03b-expected.html |   16 +
 .../isValidCursorPosition-table03b-input.html   |   20 +
 ...isValidCursorPosition-table03c-expected.html |   16 +
 .../isValidCursorPosition-table03c-input.html   |   20 +
 .../isValidCursorPosition-toc01a-expected.html  |   18 +
 .../isValidCursorPosition-toc01a-input.html     |   24 +
 .../test/Layer0/position/validPositions.js      |  141 ++
 .../range/cloneContents-list01-expected.html    |   10 +
 .../range/cloneContents-list01-input.html       |   24 +
 .../range/cloneContents-list02-expected.html    |   10 +
 .../range/cloneContents-list02-input.html       |   24 +
 .../range/cloneContents-list03-expected.html    |    9 +
 .../range/cloneContents-list03-input.html       |   24 +
 .../range/cloneContents-list04-expected.html    |    9 +
 .../range/cloneContents-list04-input.html       |   24 +
 .../range/cloneContents-list05-expected.html    |    8 +
 .../range/cloneContents-list05-input.html       |   24 +
 .../range/cloneContents-list06-expected.html    |    9 +
 .../range/cloneContents-list06-input.html       |   24 +
 .../range/cloneContents-list07-expected.html    |    9 +
 .../range/cloneContents-list07-input.html       |   24 +
 .../range/cloneContents-list08-expected.html    |    4 +
 .../range/cloneContents-list08-input.html       |   24 +
 .../range/cloneContents-list09-expected.html    |    4 +
 .../range/cloneContents-list09-input.html       |   24 +
 .../range/cloneContents-list10-expected.html    |   15 +
 .../range/cloneContents-list10-input.html       |   30 +
 .../range/cloneContents-list11-expected.html    |   16 +
 .../range/cloneContents-list11-input.html       |   30 +
 .../Layer0/range/cloneContents01-expected.html  |    6 +
 .../Layer0/range/cloneContents01-input.html     |   20 +
 .../Layer0/range/cloneContents02-expected.html  |    6 +
 .../Layer0/range/cloneContents02-input.html     |   20 +
 .../Layer0/range/cloneContents03-expected.html  |    6 +
 .../Layer0/range/cloneContents03-input.html     |   20 +
 .../Layer0/range/cloneContents04-expected.html  |    6 +
 .../Layer0/range/cloneContents04-input.html     |   20 +
 .../Layer0/range/cloneContents05-expected.html  |    6 +
 .../Layer0/range/cloneContents05-input.html     |   20 +
 .../Layer0/range/cloneContents06-expected.html  |    6 +
 .../Layer0/range/cloneContents06-input.html     |   20 +
 .../Layer0/range/cloneContents07-expected.html  |    6 +
 .../Layer0/range/cloneContents07-input.html     |   20 +
 .../Layer0/range/cloneContents08-expected.html  |    6 +
 .../Layer0/range/cloneContents08-input.html     |   20 +
 .../Layer0/range/cloneContents09-expected.html  |    6 +
 .../Layer0/range/cloneContents09-input.html     |   20 +
 .../Layer0/range/cloneContents10-expected.html  |    6 +
 .../Layer0/range/cloneContents10-input.html     |   20 +
 .../Layer0/range/cloneContents11-expected.html  |    6 +
 .../Layer0/range/cloneContents11-input.html     |   20 +
 .../Layer0/range/cloneContents12-expected.html  |    6 +
 .../Layer0/range/cloneContents12-input.html     |   20 +
 .../Layer0/range/cloneContents13-expected.html  |    6 +
 .../Layer0/range/cloneContents13-input.html     |   20 +
 .../Layer0/range/cloneContents14-expected.html  |    6 +
 .../Layer0/range/cloneContents14-input.html     |   20 +
 .../Layer0/range/cloneContents15-expected.html  |    7 +
 .../Layer0/range/cloneContents15-input.html     |   20 +
 .../Layer0/range/cloneContents16-expected.html  |    7 +
 .../Layer0/range/cloneContents16-input.html     |   20 +
 .../Layer0/range/cloneContents17-expected.html  |    8 +
 .../Layer0/range/cloneContents17-input.html     |   20 +
 .../Layer0/range/cloneContents18-expected.html  |    9 +
 .../Layer0/range/cloneContents18-input.html     |   20 +
 .../Layer0/range/cloneContents19-expected.html  |    9 +
 .../Layer0/range/cloneContents19-input.html     |   20 +
 .../Layer0/range/cloneContents20-expected.html  |    7 +
 .../Layer0/range/cloneContents20-input.html     |   21 +
 .../test/Layer0/range/getText01-expected.html   |    1 +
 .../test/Layer0/range/getText01-input.html      |   16 +
 .../test/Layer0/range/getText02-expected.html   |    1 +
 .../test/Layer0/range/getText02-input.html      |   16 +
 .../test/Layer0/range/getText03-expected.html   |    1 +
 .../test/Layer0/range/getText03-input.html      |   16 +
 .../test/Layer0/range/getText04-expected.html   |    1 +
 .../test/Layer0/range/getText04-input.html      |   17 +
 .../test/Layer0/range/getText05-expected.html   |    1 +
 .../test/Layer0/range/getText05-input.html      |   17 +
 .../test/Layer0/range/getText06-expected.html   |    1 +
 .../test/Layer0/range/getText06-input.html      |   17 +
 .../test/Layer0/range/getText07-expected.html   |    1 +
 .../test/Layer0/range/getText07-input.html      |   17 +
 .../test/Layer0/range/getText08-expected.html   |    1 +
 .../test/Layer0/range/getText08-input.html      |   17 +
 .../test/Layer0/range/getText09-expected.html   |    1 +
 .../test/Layer0/range/getText09-input.html      |   18 +
 .../test/Layer0/range/getText10-expected.html   |    1 +
 .../test/Layer0/range/getText10-input.html      |   18 +
 .../test/Layer0/range/getText11-expected.html   |    1 +
 .../test/Layer0/range/getText11-input.html      |   17 +
 .../test/Layer0/range/getText12-expected.html   |    1 +
 .../test/Layer0/range/getText12-input.html      |   17 +
 .../test/Layer0/range/getText13-expected.html   |    1 +
 .../test/Layer0/range/getText13-input.html      |   17 +
 .../test/Layer0/range/getText14-expected.html   |    1 +
 .../test/Layer0/range/getText14-input.html      |   18 +
 .../test/Layer0/range/getText15-expected.html   |    1 +
 .../test/Layer0/range/getText15-input.html      |   18 +
 .../test/Layer0/range/getText16-expected.html   |    1 +
 .../test/Layer0/range/getText16-input.html      |   18 +
 .../test/Layer0/range/getText17-expected.html   |    1 +
 .../test/Layer0/range/getText17-input.html      |   18 +
 .../test/Layer0/range/getText18-expected.html   |    1 +
 .../test/Layer0/range/getText18-input.html      |   18 +
 .../test/Layer0/range/getText19-expected.html   |    1 +
 .../test/Layer0/range/getText19-input.html      |   18 +
 .../test/Layer0/range/getText20-expected.html   |    1 +
 .../test/Layer0/range/getText20-input.html      |   25 +
 .../test/Layer0/range/getText21-expected.html   |    6 +
 .../test/Layer0/range/getText21-input.html      |   21 +
 .../range/rangeHasContent01-expected.html       |    1 +
 .../Layer0/range/rangeHasContent01-input.html   |   15 +
 .../range/rangeHasContent02-expected.html       |    1 +
 .../Layer0/range/rangeHasContent02-input.html   |   15 +
 .../range/rangeHasContent03-expected.html       |    1 +
 .../Layer0/range/rangeHasContent03-input.html   |   15 +
 .../range/rangeHasContent04-expected.html       |    1 +
 .../Layer0/range/rangeHasContent04-input.html   |   15 +
 .../range/rangeHasContent05-expected.html       |    1 +
 .../Layer0/range/rangeHasContent05-input.html   |   15 +
 .../range/rangeHasContent06-expected.html       |    1 +
 .../Layer0/range/rangeHasContent06-input.html   |   15 +
 .../range/rangeHasContent07-expected.html       |    1 +
 .../Layer0/range/rangeHasContent07-input.html   |   15 +
 .../test/Layer0/scan/ScanTests.js               |   34 +
 .../test/Layer0/scan/next01-expected.html       |    4 +
 .../test/Layer0/scan/next01-input.html          |   18 +
 .../test/Layer0/scan/next02-expected.html       |    4 +
 .../test/Layer0/scan/next02-input.html          |   23 +
 .../test/Layer0/scan/next03-expected.html       |    7 +
 .../test/Layer0/scan/next03-input.html          |   32 +
 .../test/Layer0/scan/next04-expected.html       |    5 +
 .../test/Layer0/scan/next04-input.html          |   25 +
 .../test/Layer0/scan/next05-expected.html       |    7 +
 .../test/Layer0/scan/next05-input.html          |   35 +
 .../test/Layer0/scan/next06-expected.html       |    3 +
 .../test/Layer0/scan/next06-input.html          |   24 +
 .../test/Layer0/scan/next07-expected.html       |    4 +
 .../test/Layer0/scan/next07-input.html          |   18 +
 .../Layer0/scan/replaceMatch01-expected.html    |   10 +
 .../test/Layer0/scan/replaceMatch01-input.html  |   31 +
 .../Layer0/scan/replaceMatch02-expected.html    |   10 +
 .../test/Layer0/scan/replaceMatch02-input.html  |   42 +
 .../Layer0/scan/replaceMatch03-expected.html    |   20 +
 .../test/Layer0/scan/replaceMatch03-input.html  |   31 +
 .../Layer0/scan/replaceMatch04-expected.html    |   16 +
 .../test/Layer0/scan/replaceMatch04-input.html  |   31 +
 .../Layer0/scan/replaceMatch05-expected.html    |   13 +
 .../test/Layer0/scan/replaceMatch05-input.html  |   31 +
 .../test/Layer0/scan/showMatch01-expected.html  |   20 +
 .../test/Layer0/scan/showMatch01-input.html     |   27 +
 .../test/Layer0/scan/showMatch02-expected.html  |   22 +
 .../test/Layer0/scan/showMatch02-input.html     |   35 +
 .../test/Layer0/scan/showMatch03-expected.html  |   20 +
 .../test/Layer0/scan/showMatch03-input.html     |   27 +
 .../test/Layer0/scan/showMatch04-expected.html  |   22 +
 .../test/Layer0/scan/showMatch04-input.html     |   27 +
 .../test/Layer0/scan/showMatch05-expected.html  |   24 +
 .../test/Layer0/scan/showMatch05-input.html     |   27 +
 .../test/Layer0/selection/PositionTests.js      |  147 ++
 .../selection/boundaries-table01-expected.html  |   20 +
 .../selection/boundaries-table01-input.html     |   25 +
 .../selection/boundaries-table02-expected.html  |   20 +
 .../selection/boundaries-table02-input.html     |   25 +
 .../selection/boundaries-table03-expected.html  |   19 +
 .../selection/boundaries-table03-input.html     |   25 +
 .../selection/boundaries-table04-expected.html  |   19 +
 .../selection/boundaries-table04-input.html     |   25 +
 .../selection/boundaries-table05-expected.html  |   41 +
 .../selection/boundaries-table05-input.html     |   54 +
 .../selection/boundaries-table06-expected.html  |   43 +
 .../selection/boundaries-table06-input.html     |   57 +
 .../selection/boundaries-table07-expected.html  |   28 +
 .../selection/boundaries-table07-input.html     |   41 +
 .../selection/boundaries-table08-expected.html  |   28 +
 .../selection/boundaries-table08-input.html     |   41 +
 .../selection/boundaries-table09-expected.html  |   21 +
 .../selection/boundaries-table09-input.html     |   30 +
 .../selection/boundaries-table10-expected.html  |   21 +
 .../selection/boundaries-table10-input.html     |   30 +
 .../Layer0/selection/delete01-expected.html     |    7 +
 .../test/Layer0/selection/delete01-input.html   |   16 +
 .../Layer0/selection/delete02-expected.html     |    7 +
 .../test/Layer0/selection/delete02-input.html   |   16 +
 .../Layer0/selection/delete03-expected.html     |    6 +
 .../test/Layer0/selection/delete03-input.html   |   16 +
 .../Layer0/selection/delete04-expected.html     |    6 +
 .../test/Layer0/selection/delete04-input.html   |   16 +
 .../Layer0/selection/delete05-expected.html     |    6 +
 .../test/Layer0/selection/delete05-input.html   |   16 +
 .../deleteContents-list01-expected.html         |   25 +
 .../selection/deleteContents-list01-input.html  |   34 +
 .../deleteContents-list02-expected.html         |   24 +
 .../selection/deleteContents-list02-input.html  |   34 +
 .../deleteContents-list03-expected.html         |   23 +
 .../selection/deleteContents-list03-input.html  |   34 +
 .../deleteContents-list04-expected.html         |   22 +
 .../selection/deleteContents-list04-input.html  |   34 +
 .../deleteContents-list05-expected.html         |   24 +
 .../selection/deleteContents-list05-input.html  |   34 +
 .../deleteContents-list06-expected.html         |   24 +
 .../selection/deleteContents-list06-input.html  |   33 +
 .../deleteContents-list07-expected.html         |   24 +
 .../selection/deleteContents-list07-input.html  |   33 +
 .../deleteContents-list08-expected.html         |   24 +
 .../selection/deleteContents-list08-input.html  |   34 +
 .../deleteContents-list09-expected.html         |   22 +
 .../selection/deleteContents-list09-input.html  |   33 +
 .../deleteContents-list10-expected.html         |   20 +
 .../selection/deleteContents-list10-input.html  |   33 +
 .../deleteContents-list11-expected.html         |   25 +
 .../selection/deleteContents-list11-input.html  |   34 +
 .../deleteContents-list12-expected.html         |   11 +
 .../selection/deleteContents-list12-input.html  |   21 +
 .../deleteContents-list13-expected.html         |   11 +
 .../selection/deleteContents-list13-input.html  |   21 +
 .../deleteContents-list14-expected.html         |   10 +
 .../selection/deleteContents-list14-input.html  |   21 +
 .../deleteContents-list15-expected.html         |   11 +
 .../selection/deleteContents-list15-input.html  |   21 +
 .../deleteContents-list16-expected.html         |   11 +
 .../selection/deleteContents-list16-input.html  |   21 +
 .../deleteContents-list17-expected.html         |   10 +
 .../selection/deleteContents-list17-input.html  |   21 +
 .../deleteContents-list18-expected.html         |    9 +
 .../selection/deleteContents-list18-input.html  |   21 +
 .../deleteContents-list19-expected.html         |    9 +
 .../selection/deleteContents-list19-input.html  |   21 +
 ...eleteContents-paragraph-span01-expected.html |    9 +
 .../deleteContents-paragraph-span01-input.html  |   15 +
 ...eleteContents-paragraph-span02-expected.html |    6 +
 .../deleteContents-paragraph-span02-input.html  |   16 +
 ...eleteContents-paragraph-span03-expected.html |    6 +
 .../deleteContents-paragraph-span03-input.html  |   16 +
 ...eleteContents-paragraph-span04-expected.html |    7 +
 .../deleteContents-paragraph-span04-input.html  |   17 +
 ...eleteContents-paragraph-span05-expected.html |    9 +
 .../deleteContents-paragraph-span05-input.html  |   21 +
 ...eleteContents-paragraph-span06-expected.html |    9 +
 .../deleteContents-paragraph-span06-input.html  |   21 +
 ...eleteContents-paragraph-span07-expected.html |    9 +
 .../deleteContents-paragraph-span07-input.html  |   21 +
 .../deleteContents-paragraph01-expected.html    |    9 +
 .../deleteContents-paragraph01-input.html       |   15 +
 .../deleteContents-paragraph02-expected.html    |    6 +
 .../deleteContents-paragraph02-input.html       |   16 +
 .../deleteContents-paragraph03-expected.html    |    6 +
 .../deleteContents-paragraph03-input.html       |   16 +
 .../deleteContents-paragraph04-expected.html    |    7 +
 .../deleteContents-paragraph04-input.html       |   17 +
 .../deleteContents-paragraph05-expected.html    |    9 +
 .../deleteContents-paragraph05-input.html       |   21 +
 .../deleteContents-paragraph06-expected.html    |    9 +
 .../deleteContents-paragraph06-input.html       |   21 +
 .../deleteContents-paragraph07-expected.html    |    9 +
 .../deleteContents-paragraph07-input.html       |   21 +
 .../deleteContents-table01-expected.html        |   24 +
 .../selection/deleteContents-table01-input.html |   31 +
 .../deleteContents-table02-expected.html        |   24 +
 .../selection/deleteContents-table02-input.html |   31 +
 .../deleteContents-table03-expected.html        |   19 +
 .../selection/deleteContents-table03-input.html |   30 +
 .../deleteContents-table04-expected.html        |   14 +
 .../selection/deleteContents-table04-input.html |   30 +
 .../deleteContents-table05-expected.html        |   24 +
 .../selection/deleteContents-table05-input.html |   31 +
 .../deleteContents-table06-expected.html        |    6 +
 .../selection/deleteContents-table06-input.html |   31 +
 .../deleteContents-table07-expected.html        |    6 +
 .../selection/deleteContents-table07-input.html |   31 +
 .../deleteContents-table08-expected.html        |   19 +
 .../selection/deleteContents-table08-input.html |   33 +
 .../deleteContents-table09-expected.html        |   14 +
 .../selection/deleteContents-table09-input.html |   35 +
 .../deleteContents-table10-expected.html        |    6 +
 .../selection/deleteContents-table10-input.html |   37 +
 .../deleteContents-table11-expected.html        |    6 +
 .../selection/deleteContents-table11-input.html |   36 +
 .../deleteContents-table12-expected.html        |    7 +
 .../selection/deleteContents-table12-input.html |   38 +
 .../deleteContents-table13-expected.html        |    6 +
 .../selection/deleteContents-table13-input.html |   31 +
 .../deleteContents-table14-expected.html        |    7 +
 .../selection/deleteContents-table14-input.html |   34 +
 .../deleteContents-table15-expected.html        |    6 +
 .../selection/deleteContents-table15-input.html |   35 +
 .../selection/deleteContents01-expected.html    |    6 +
 .../selection/deleteContents01-input.html       |   15 +
 .../selection/deleteContents02-expected.html    |    6 +
 .../selection/deleteContents02-input.html       |   15 +
 .../selection/deleteContents03-expected.html    |    6 +
 .../selection/deleteContents03-input.html       |   15 +
 .../selection/deleteContents04-expected.html    |    9 +
 .../selection/deleteContents04-input.html       |   15 +
 .../selection/deleteContents05-expected.html    |    6 +
 .../selection/deleteContents05-input.html       |   15 +
 .../selection/deleteContents06-expected.html    |    7 +
 .../selection/deleteContents06-input.html       |   17 +
 .../selection/deleteContents07-expected.html    |    7 +
 .../selection/deleteContents07-input.html       |   17 +
 .../selection/deleteContents08-expected.html    |    7 +
 .../selection/deleteContents08-input.html       |   17 +
 .../selection/deleteContents09-expected.html    |    6 +
 .../selection/deleteContents09-input.html       |   18 +
 .../selection/deleteContents10-expected.html    |    6 +
 .../selection/deleteContents10-input.html       |   16 +
 .../selection/deleteContents11-expected.html    |    8 +
 .../selection/deleteContents11-input.html       |   18 +
 .../selection/deleteContents12-expected.html    |    8 +
 .../selection/deleteContents12-input.html       |   16 +
 .../selection/deleteContents13-expected.html    |    6 +
 .../selection/deleteContents13-input.html       |   16 +
 .../selection/deleteContents14-expected.html    |    8 +
 .../selection/deleteContents14-input.html       |   18 +
 .../selection/deleteContents15-expected.html    |    8 +
 .../selection/deleteContents15-input.html       |   16 +
 .../selection/deleteContents16-expected.html    |   11 +
 .../selection/deleteContents16-input.html       |   20 +
 .../selection/deleteContents17-expected.html    |    6 +
 .../selection/deleteContents17-input.html       |   16 +
 .../selection/deleteContents18-expected.html    |    6 +
 .../selection/deleteContents18-input.html       |   16 +
 .../selection/deleteContents18a-expected.html   |    6 +
 .../selection/deleteContents18a-input.html      |   16 +
 .../selection/deleteContents18b-expected.html   |    6 +
 .../selection/deleteContents18b-input.html      |   16 +
 .../selection/deleteContents19-expected.html    |    6 +
 .../selection/deleteContents19-input.html       |   16 +
 .../selection/deleteContents19a-expected.html   |    6 +
 .../selection/deleteContents19a-input.html      |   16 +
 .../selection/deleteContents19b-expected.html   |    6 +
 .../selection/deleteContents19b-input.html      |   16 +
 .../selection/deleteContents20-expected.html    |    8 +
 .../selection/deleteContents20-input.html       |   16 +
 .../selection/deleteContents20a-expected.html   |    8 +
 .../selection/deleteContents20a-input.html      |   16 +
 .../selection/deleteContents20b-expected.html   |    8 +
 .../selection/deleteContents20b-input.html      |   16 +
 .../selection/deleteContents21-expected.html    |   11 +
 .../selection/deleteContents21-input.html       |   15 +
 .../selection/deleteContents21a-expected.html   |   11 +
 .../selection/deleteContents21a-input.html      |   15 +
 .../selection/deleteContents21b-expected.html   |   11 +
 .../selection/deleteContents21b-input.html      |   15 +
 .../selection/deleteContents22-expected.html    |   15 +
 .../selection/deleteContents22-input.html       |   15 +
 .../selection/deleteContents22a-expected.html   |   15 +
 .../selection/deleteContents22a-input.html      |   15 +
 .../selection/deleteContents22b-expected.html   |   15 +
 .../selection/deleteContents22b-input.html      |   15 +
 .../selection/highlights-figure01-expected.html |   27 +
 .../selection/highlights-figure01-input.html    |   26 +
 .../selection/highlights-figure02-expected.html |   22 +
 .../selection/highlights-figure02-input.html    |   30 +
 .../selection/highlights-table01-expected.html  |   48 +
 .../selection/highlights-table01-input.html     |   45 +
 .../selection/highlights-table02-expected.html  |   43 +
 .../selection/highlights-table02-input.html     |   49 +
 .../selection/highlights-table03-expected.html  |   43 +
 .../selection/highlights-table03-input.html     |   49 +
 .../selection/highlights-toc01-expected.html    |   25 +
 .../selection/highlights-toc01-input.html       |   24 +
 .../selection/highlights-toc02-expected.html    |   20 +
 .../selection/highlights-toc02-input.html       |   28 +
 .../Layer0/selection/highlights01-expected.html |    8 +
 .../Layer0/selection/highlights01-input.html    |   17 +
 .../Layer0/selection/highlights02-expected.html |   14 +
 .../Layer0/selection/highlights02-input.html    |   16 +
 .../Layer0/selection/highlights03-expected.html |    8 +
 .../Layer0/selection/highlights03-input.html    |   18 +
 .../Layer0/selection/highlights04-expected.html |    8 +
 .../Layer0/selection/highlights04-input.html    |   27 +
 .../Layer0/selection/highlights05-expected.html |    8 +
 .../Layer0/selection/highlights05-input.html    |   26 +
 .../selection/positions-inner01a-expected.html  |   27 +
 .../selection/positions-inner01a-input.html     |   17 +
 .../selection/positions-inner01b-expected.html  |   27 +
 .../selection/positions-inner01b-input.html     |   17 +
 .../selection/positions-inner02a-expected.html  |   27 +
 .../selection/positions-inner02a-input.html     |   17 +
 .../selection/positions-inner02b-expected.html  |   27 +
 .../selection/positions-inner02b-input.html     |   17 +
 .../selection/positions-inner03a-expected.html  |   27 +
 .../selection/positions-inner03a-input.html     |   17 +
 .../selection/positions-inner03b-expected.html  |   27 +
 .../selection/positions-inner03b-input.html     |   17 +
 .../selection/positions-inner04a-expected.html  |   27 +
 .../selection/positions-inner04a-input.html     |   17 +
 .../selection/positions-inner04b-expected.html  |   27 +
 .../selection/positions-inner04b-input.html     |   17 +
 .../selection/positions-inner05a-expected.html  |   27 +
 .../selection/positions-inner05a-input.html     |   17 +
 .../selection/positions-inner05b-expected.html  |   27 +
 .../selection/positions-inner05b-input.html     |   17 +
 .../selection/positions-inner06a-expected.html  |   27 +
 .../selection/positions-inner06a-input.html     |   17 +
 .../selection/positions-inner06b-expected.html  |   27 +
 .../selection/positions-inner06b-input.html     |   17 +
 .../selection/positions-outer01a-expected.html  |   27 +
 .../selection/positions-outer01a-input.html     |   17 +
 .../selection/positions-outer01b-expected.html  |   27 +
 .../selection/positions-outer01b-input.html     |   17 +
 .../selection/positions-outer02a-expected.html  |   27 +
 .../selection/positions-outer02a-input.html     |   17 +
 .../selection/positions-outer02b-expected.html  |   27 +
 .../selection/positions-outer02b-input.html     |   17 +
 .../selection/positions-outer03a-expected.html  |   27 +
 .../selection/positions-outer03a-input.html     |   17 +
 .../selection/positions-outer03b-expected.html  |   27 +
 .../selection/positions-outer03b-input.html     |   17 +
 .../selection/positions-outer04a-expected.html  |   27 +
 .../selection/positions-outer04a-input.html     |   17 +
 .../selection/positions-outer04b-expected.html  |   27 +
 .../selection/positions-outer04b-input.html     |   17 +
 .../selection/positions-outer05a-expected.html  |   27 +
 .../selection/positions-outer05a-input.html     |   17 +
 .../selection/positions-outer05b-expected.html  |   27 +
 .../selection/positions-outer05b-input.html     |   17 +
 .../selection/positions-outer06a-expected.html  |   27 +
 .../selection/positions-outer06a-input.html     |   17 +
 .../selection/positions-outer06b-expected.html  |   27 +
 .../selection/positions-outer06b-input.html     |   17 +
 .../selectAll-from-table01-expected.html        |   43 +
 .../selection/selectAll-from-table01-input.html |   49 +
 .../selectAll-from-table02-expected.html        |   45 +
 .../selection/selectAll-from-table02-input.html |   51 +
 .../selection/selectParagraph01-expected.html   |    8 +
 .../selection/selectParagraph01-input.html      |   17 +
 .../selection/selectParagraph02-expected.html   |    8 +
 .../selection/selectParagraph02-input.html      |   17 +
 .../selection/selectParagraph03-expected.html   |    8 +
 .../selection/selectParagraph03-input.html      |   17 +
 .../selection/selectParagraph04-expected.html   |    8 +
 .../selection/selectParagraph04-input.html      |   17 +
 .../selection/selectParagraph05-expected.html   |   15 +
 .../selection/selectParagraph05-input.html      |   24 +
 .../selection/selectParagraph06-expected.html   |    8 +
 .../selection/selectParagraph06-input.html      |   18 +
 .../selectWordAtCursor-figure01-expected.html   |   13 +
 .../selectWordAtCursor-figure01-input.html      |   24 +
 .../selectWordAtCursor-figure02-expected.html   |   13 +
 .../selectWordAtCursor-figure02-input.html      |   24 +
 .../selectWordAtCursor-table01-expected.html    |   21 +
 .../selectWordAtCursor-table01-input.html       |   30 +
 .../selectWordAtCursor-table02-expected.html    |   21 +
 .../selectWordAtCursor-table02-input.html       |   30 +
 .../selectWordAtCursor01-expected.html          |    6 +
 .../selection/selectWordAtCursor01-input.html   |   15 +
 .../selectWordAtCursor02-expected.html          |    6 +
 .../selection/selectWordAtCursor02-input.html   |   15 +
 .../selectWordAtCursor03-expected.html          |    6 +
 .../selection/selectWordAtCursor03-input.html   |   15 +
 .../selectWordAtCursor04-expected.html          |    6 +
 .../selection/selectWordAtCursor04-input.html   |   15 +
 .../selectWordAtCursor05-expected.html          |    6 +
 .../selection/selectWordAtCursor05-input.html   |   15 +
 .../selectWordAtCursor06-expected.html          |    6 +
 .../selection/selectWordAtCursor06-input.html   |   15 +
 .../selectWordAtCursor07-expected.html          |    6 +
 .../selection/selectWordAtCursor07-input.html   |   15 +
 .../selectWordAtCursor08-expected.html          |    6 +
 .../selection/selectWordAtCursor08-input.html   |   15 +
 .../selectWordAtCursor09-expected.html          |    6 +
 .../selection/selectWordAtCursor09-input.html   |   15 +
 .../selectWordAtCursor10-expected.html          |    6 +
 .../selection/selectWordAtCursor10-input.html   |   15 +
 .../selectWordAtCursor11-expected.html          |    6 +
 .../selection/selectWordAtCursor11-input.html   |   15 +
 .../selectWordAtCursor12-expected.html          |    6 +
 .../selection/selectWordAtCursor12-input.html   |   15 +
 .../selectWordAtCursor13-expected.html          |    6 +
 .../selection/selectWordAtCursor13-input.html   |   15 +
 .../selectWordAtCursor14-expected.html          |    6 +
 .../selection/selectWordAtCursor14-input.html   |   15 +
 .../selection/tableSelection01-expected.html    |   17 +
 .../selection/tableSelection01-input.html       |   31 +
 .../editorFramework/test/Layer0/server.js       |   76 +
 .../test/Layer0/tables/TableTests.js            |   56 +
 .../tables/addAdjacentColumn01-expected.html    |   46 +
 .../tables/addAdjacentColumn01-input.html       |   48 +
 .../tables/addAdjacentColumn02-expected.html    |   46 +
 .../tables/addAdjacentColumn02-input.html       |   48 +
 .../tables/addAdjacentColumn03-expected.html    |   46 +
 .../tables/addAdjacentColumn03-input.html       |   48 +
 .../tables/addAdjacentColumn04-expected.html    |   43 +
 .../tables/addAdjacentColumn04-input.html       |   45 +
 .../tables/addAdjacentColumn05-expected.html    |   41 +
 .../tables/addAdjacentColumn05-input.html       |   45 +
 .../tables/addAdjacentColumn06-expected.html    |   42 +
 .../tables/addAdjacentColumn06-input.html       |   45 +
 .../tables/addAdjacentColumn07-expected.html    |   43 +
 .../tables/addAdjacentColumn07-input.html       |   45 +
 .../tables/addAdjacentColumn08-expected.html    |   40 +
 .../tables/addAdjacentColumn08-input.html       |   42 +
 .../tables/addAdjacentColumn09-expected.html    |   37 +
 .../tables/addAdjacentColumn09-input.html       |   42 +
 .../tables/addAdjacentColumn10-expected.html    |   38 +
 .../tables/addAdjacentColumn10-input.html       |   42 +
 .../tables/addAdjacentColumn11-expected.html    |   39 +
 .../tables/addAdjacentColumn11-input.html       |   42 +
 .../tables/addAdjacentColumn12-expected.html    |   44 +
 .../tables/addAdjacentColumn12-input.html       |   47 +
 .../tables/addAdjacentColumn13-expected.html    |   45 +
 .../tables/addAdjacentColumn13-input.html       |   47 +
 .../tables/addAdjacentColumn14-expected.html    |   42 +
 .../tables/addAdjacentColumn14-input.html       |   45 +
 .../tables/addAdjacentColumn15-expected.html    |   41 +
 .../tables/addAdjacentColumn15-input.html       |   45 +
 .../tables/addAdjacentColumn16-expected.html    |   43 +
 .../tables/addAdjacentColumn16-input.html       |   45 +
 .../tables/addAdjacentColumn17-expected.html    |   46 +
 .../tables/addAdjacentColumn17-input.html       |   48 +
 .../tables/addAdjacentColumn18-expected.html    |   44 +
 .../tables/addAdjacentColumn18-input.html       |   47 +
 .../tables/addAdjacentColumn19-expected.html    |   47 +
 .../tables/addAdjacentColumn19-input.html       |   48 +
 .../tables/addAdjacentColumn20-expected.html    |   47 +
 .../tables/addAdjacentColumn20-input.html       |   48 +
 .../tables/addAdjacentRow01-expected.html       |   41 +
 .../Layer0/tables/addAdjacentRow01-input.html   |   44 +
 .../tables/addAdjacentRow02-expected.html       |   41 +
 .../Layer0/tables/addAdjacentRow02-input.html   |   44 +
 .../tables/addAdjacentRow03-expected.html       |   41 +
 .../Layer0/tables/addAdjacentRow03-input.html   |   44 +
 .../tables/addAdjacentRow04-expected.html       |   38 +
 .../Layer0/tables/addAdjacentRow04-input.html   |   41 +
 .../tables/addAdjacentRow05-expected.html       |   36 +
 .../Layer0/tables/addAdjacentRow05-input.html   |   41 +
 .../tables/addAdjacentRow06-expected.html       |   37 +
 .../Layer0/tables/addAdjacentRow06-input.html   |   41 +
 .../tables/addAdjacentRow07-expected.html       |   38 +
 .../Layer0/tables/addAdjacentRow07-input.html   |   41 +
 .../tables/addAdjacentRow08-expected.html       |   35 +
 .../Layer0/tables/addAdjacentRow08-input.html   |   38 +
 .../tables/addAdjacentRow09-expected.html       |   32 +
 .../Layer0/tables/addAdjacentRow09-input.html   |   38 +
 .../tables/addAdjacentRow10-expected.html       |   33 +
 .../Layer0/tables/addAdjacentRow10-input.html   |   38 +
 .../tables/addAdjacentRow11-expected.html       |   34 +
 .../Layer0/tables/addAdjacentRow11-input.html   |   38 +
 .../tables/addAdjacentRow12-expected.html       |   39 +
 .../Layer0/tables/addAdjacentRow12-input.html   |   43 +
 .../tables/addAdjacentRow13-expected.html       |   40 +
 .../Layer0/tables/addAdjacentRow13-input.html   |   43 +
 .../tables/addAdjacentRow14-expected.html       |   37 +
 .../Layer0/tables/addAdjacentRow14-input.html   |   41 +
 .../tables/addAdjacentRow15-expected.html       |   36 +
 .../Layer0/tables/addAdjacentRow15-input.html   |   41 +
 .../tables/addAdjacentRow16-expected.html       |   38 +
 .../Layer0/tables/addAdjacentRow16-input.html   |   41 +
 .../tables/addAdjacentRow17-expected.html       |   41 +
 .../Layer0/tables/addAdjacentRow17-input.html   |   44 +
 .../tables/addAdjacentRow18-expected.html       |   39 +
 .../Layer0/tables/addAdjacentRow18-input.html   |   43 +
 .../tables/addAdjacentRow19-expected.html       |   42 +
 .../Layer0/tables/addAdjacentRow19-input.html   |   44 +
 .../tables/addAdjacentRow20-expected.html       |   42 +
 .../Layer0/tables/addAdjacentRow20-input.html   |   44 +
 .../Layer0/tables/addColElement01-expected.html |   46 +
 .../Layer0/tables/addColElement01-input.html    |   48 +
 .../Layer0/tables/addColElement02-expected.html |   39 +
 .../Layer0/tables/addColElement02-input.html    |   44 +
 .../Layer0/tables/addColElement03-expected.html |   46 +
 .../Layer0/tables/addColElement03-input.html    |   48 +
 .../Layer0/tables/addColElement04-expected.html |   46 +
 .../Layer0/tables/addColElement04-input.html    |   47 +
 .../Layer0/tables/addColElement05-expected.html |   56 +
 .../Layer0/tables/addColElement05-input.html    |   58 +
 .../Layer0/tables/addColElement06-expected.html |   41 +
 .../Layer0/tables/addColElement06-input.html    |   43 +
 .../Layer0/tables/addColElement07-expected.html |   46 +
 .../Layer0/tables/addColElement07-input.html    |   48 +
 .../Layer0/tables/addColElement08-expected.html |   46 +
 .../Layer0/tables/addColElement08-input.html    |   46 +
 .../Layer0/tables/addColElement09-expected.html |   41 +
 .../Layer0/tables/addColElement09-input.html    |   42 +
 .../Layer0/tables/addColElement10-expected.html |   51 +
 .../Layer0/tables/addColElement10-input.html    |   53 +
 .../Layer0/tables/addColElement11-expected.html |   46 +
 .../Layer0/tables/addColElement11-input.html    |   48 +
 .../Layer0/tables/addColElement12-expected.html |   46 +
 .../Layer0/tables/addColElement12-input.html    |   48 +
 .../tables/caption-moveLeft-expected.html       |   27 +
 .../Layer0/tables/caption-moveLeft-input.html   |   34 +
 .../tables/caption-moveRight-expected.html      |   27 +
 .../Layer0/tables/caption-moveRight-input.html  |   34 +
 .../test/Layer0/tables/copy01-expected.html     |   26 +
 .../test/Layer0/tables/copy01-input.html        |   44 +
 .../test/Layer0/tables/copy02-expected.html     |    1 +
 .../test/Layer0/tables/copy02-input.html        |   44 +
 .../test/Layer0/tables/copy03-expected.html     |    1 +
 .../test/Layer0/tables/copy03-input.html        |   44 +
 .../test/Layer0/tables/copy04-expected.html     |    1 +
 .../test/Layer0/tables/copy04-input.html        |   44 +
 .../test/Layer0/tables/copy05-expected.html     |    1 +
 .../test/Layer0/tables/copy05-input.html        |   44 +
 .../test/Layer0/tables/copy06-expected.html     |    1 +
 .../test/Layer0/tables/copy06-input.html        |   44 +
 .../test/Layer0/tables/copy07-expected.html     |    1 +
 .../test/Layer0/tables/copy07-input.html        |   43 +
 .../test/Layer0/tables/copy08-expected.html     |    1 +
 .../test/Layer0/tables/copy08-input.html        |   43 +
 .../test/Layer0/tables/copy09-expected.html     |    1 +
 .../test/Layer0/tables/copy09-input.html        |   43 +
 .../test/Layer0/tables/copy10-expected.html     |    1 +
 .../test/Layer0/tables/copy10-input.html        |   43 +
 .../tables/deleteCellContents01-expected.html   |   53 +
 .../tables/deleteCellContents01-input.html      |   61 +
 .../tables/deleteCellContents02-expected.html   |   53 +
 .../tables/deleteCellContents02-input.html      |   61 +
 .../tables/deleteCellContents03-expected.html   |   53 +
 .../tables/deleteCellContents03-input.html      |   61 +
 .../tables/deleteCellContents04-expected.html   |   53 +
 .../tables/deleteCellContents04-input.html      |   61 +
 .../tables/deleteCellContents05-expected.html   |   53 +
 .../tables/deleteCellContents05-input.html      |   61 +
 .../tables/deleteCellContents06-expected.html   |   50 +
 .../tables/deleteCellContents06-input.html      |   58 +
 .../tables/deleteCellContents07-expected.html   |   50 +
 .../tables/deleteCellContents07-input.html      |   58 +
 .../tables/deleteCellContents08-expected.html   |   50 +
 .../tables/deleteCellContents08-input.html      |   58 +
 .../tables/deleteCellContents09-expected.html   |   50 +
 .../tables/deleteCellContents09-input.html      |   58 +
 .../tables/deleteColElements01-expected.html    |   41 +
 .../tables/deleteColElements01-input.html       |   56 +
 .../tables/deleteColElements02-expected.html    |   35 +
 .../tables/deleteColElements02-input.html       |   49 +
 .../tables/deleteColElements05-expected.html    |   51 +
 .../tables/deleteColElements05-input.html       |   66 +
 .../tables/deleteColElements06-expected.html    |   36 +
 .../tables/deleteColElements06-input.html       |   51 +
 .../tables/deleteColElements07-expected.html    |   41 +
 .../tables/deleteColElements07-input.html       |   56 +
 .../tables/deleteColElements10-expected.html    |   46 +
 .../tables/deleteColElements10-input.html       |   61 +
 .../tables/deleteColElements11-expected.html    |   41 +
 .../tables/deleteColElements11-input.html       |   56 +
 .../tables/deleteColElements12-expected.html    |   41 +
 .../tables/deleteColElements12-input.html       |   56 +
 .../Layer0/tables/deleteColumns01-expected.html |   47 +
 .../Layer0/tables/deleteColumns01-input.html    |   60 +
 .../Layer0/tables/deleteColumns02-expected.html |   47 +
 .../Layer0/tables/deleteColumns02-input.html    |   60 +
 .../Layer0/tables/deleteColumns03-expected.html |   47 +
 .../Layer0/tables/deleteColumns03-input.html    |   60 +
 .../Layer0/tables/deleteColumns04-expected.html |   35 +
 .../Layer0/tables/deleteColumns04-input.html    |   60 +
 .../Layer0/tables/deleteColumns05-expected.html |   35 +
 .../Layer0/tables/deleteColumns05-input.html    |   60 +
 .../Layer0/tables/deleteColumns06-expected.html |   35 +
 .../Layer0/tables/deleteColumns06-input.html    |   60 +
 .../Layer0/tables/deleteColumns07-expected.html |   35 +
 .../Layer0/tables/deleteColumns07-input.html    |   58 +
 .../Layer0/tables/deleteRows01-expected.html    |   39 +
 .../test/Layer0/tables/deleteRows01-input.html  |   55 +
 .../Layer0/tables/deleteRows02-expected.html    |   39 +
 .../test/Layer0/tables/deleteRows02-input.html  |   55 +
 .../Layer0/tables/deleteRows03-expected.html    |   39 +
 .../test/Layer0/tables/deleteRows03-input.html  |   55 +
 .../Layer0/tables/deleteRows04-expected.html    |   25 +
 .../test/Layer0/tables/deleteRows04-input.html  |   55 +
 .../Layer0/tables/deleteRows05-expected.html    |   25 +
 .../test/Layer0/tables/deleteRows05-input.html  |   55 +
 .../Layer0/tables/deleteRows06-expected.html    |   25 +
 .../test/Layer0/tables/deleteRows06-input.html  |   55 +
 .../Layer0/tables/deleteRows07-expected.html    |   25 +
 .../test/Layer0/tables/deleteRows07-input.html  |   53 +
 .../test/Layer0/tables/fixTable01-expected.html |   23 +
 .../test/Layer0/tables/fixTable01-input.html    |   23 +
 .../test/Layer0/tables/fixTable02-expected.html |   22 +
 .../test/Layer0/tables/fixTable02-input.html    |   23 +
 .../test/Layer0/tables/fixTable03-expected.html |   25 +
 .../test/Layer0/tables/fixTable03-input.html    |   23 +
 .../test/Layer0/tables/fixTable04-expected.html |   23 +
 .../test/Layer0/tables/fixTable04-input.html    |   23 +
 .../test/Layer0/tables/fixTable05-expected.html |   22 +
 .../test/Layer0/tables/fixTable05-input.html    |   23 +
 .../test/Layer0/tables/fixTable06-expected.html |   25 +
 .../test/Layer0/tables/fixTable06-input.html    |   23 +
 .../test/Layer0/tables/fixTable07-expected.html |   29 +
 .../test/Layer0/tables/fixTable07-input.html    |   24 +
 .../test/Layer0/tables/fixTable08-expected.html |   26 +
 .../test/Layer0/tables/fixTable08-input.html    |   24 +
 .../test/Layer0/tables/fixTable09-expected.html |   26 +
 .../test/Layer0/tables/fixTable09-input.html    |   24 +
 .../test/Layer0/tables/fixTable10-expected.html |   25 +
 .../test/Layer0/tables/fixTable10-input.html    |   23 +
 .../test/Layer0/tables/fixTable11-expected.html |   20 +
 .../test/Layer0/tables/fixTable11-input.html    |   20 +
 .../test/Layer0/tables/fixTable12-expected.html |   24 +
 .../test/Layer0/tables/fixTable12-input.html    |   22 +
 .../test/Layer0/tables/fixTable13-expected.html |   26 +
 .../test/Layer0/tables/fixTable13-input.html    |   21 +
 .../test/Layer0/tables/fixTable14-expected.html |   31 +
 .../test/Layer0/tables/fixTable14-input.html    |   23 +
 .../test/Layer0/tables/fixTable15-expected.html |   31 +
 .../test/Layer0/tables/fixTable15-input.html    |   24 +
 .../tables/formattingInCell01-expected.html     |   26 +
 .../Layer0/tables/formattingInCell01-input.html |   24 +
 .../tables/formattingInCell02-expected.html     |   26 +
 .../Layer0/tables/formattingInCell02-input.html |   24 +
 .../Layer0/tables/getColWidths01-expected.html  |    1 +
 .../Layer0/tables/getColWidths01-input.html     |   28 +
 .../Layer0/tables/getColWidths02-expected.html  |    1 +
 .../Layer0/tables/getColWidths02-input.html     |   28 +
 .../Layer0/tables/getColWidths03-expected.html  |    1 +
 .../Layer0/tables/getColWidths03-input.html     |   26 +
 .../Layer0/tables/getColWidths04-expected.html  |    1 +
 .../Layer0/tables/getColWidths04-input.html     |   28 +
 .../Layer0/tables/getColWidths05-expected.html  |    1 +
 .../Layer0/tables/getColWidths05-input.html     |   27 +
 .../Layer0/tables/getColWidths06-expected.html  |    1 +
 .../Layer0/tables/getColWidths06-input.html     |   30 +
 .../Layer0/tables/getColWidths07-expected.html  |    1 +
 .../Layer0/tables/getColWidths07-input.html     |   32 +
 .../insertTable-hierarchy01-expected.html       |   26 +
 .../tables/insertTable-hierarchy01-input.html   |   27 +
 .../insertTable-hierarchy02-expected.html       |   27 +
 .../tables/insertTable-hierarchy02-input.html   |   27 +
 .../insertTable-hierarchy03-expected.html       |   27 +
 .../tables/insertTable-hierarchy03-input.html   |   27 +
 .../insertTable-hierarchy04-expected.html       |   30 +
 .../tables/insertTable-hierarchy04-input.html   |   27 +
 .../insertTable-hierarchy05-expected.html       |   27 +
 .../tables/insertTable-hierarchy05-input.html   |   27 +
 .../insertTable-hierarchy06-expected.html       |   22 +
 .../tables/insertTable-hierarchy06-input.html   |   24 +
 .../insertTable-hierarchy07-expected.html       |   25 +
 .../tables/insertTable-hierarchy07-input.html   |   24 +
 .../insertTable-hierarchy08-expected.html       |   22 +
 .../tables/insertTable-hierarchy08-input.html   |   24 +
 .../Layer0/tables/insertTable01-expected.html   |   29 +
 .../test/Layer0/tables/insertTable01-input.html |   19 +
 .../Layer0/tables/insertTable02-expected.html   |   29 +
 .../test/Layer0/tables/insertTable02-input.html |   19 +
 .../Layer0/tables/insertTable03-expected.html   |   30 +
 .../test/Layer0/tables/insertTable03-input.html |   19 +
 .../Layer0/tables/insertTable04-expected.html   |   30 +
 .../test/Layer0/tables/insertTable04-input.html |   19 +
 .../Layer0/tables/insertTable05-expected.html   |   30 +
 .../test/Layer0/tables/insertTable05-input.html |   19 +
 .../Layer0/tables/insertTable06-expected.html   |   17 +
 .../test/Layer0/tables/insertTable06-input.html |   18 +
 .../Layer0/tables/insertTable07-expected.html   |   20 +
 .../test/Layer0/tables/insertTable07-input.html |   18 +
 .../Layer0/tables/paste-merged01a-expected.html |   41 +
 .../Layer0/tables/paste-merged01a-input.html    |   51 +
 .../Layer0/tables/paste-merged01b-expected.html |   41 +
 .../Layer0/tables/paste-merged01b-input.html    |   51 +
 .../Layer0/tables/paste-merged01c-expected.html |   41 +
 .../Layer0/tables/paste-merged01c-input.html    |   50 +
 .../Layer0/tables/paste-merged01d-expected.html |   41 +
 .../Layer0/tables/paste-merged01d-input.html    |   51 +
 .../Layer0/tables/paste-merged01e-expected.html |   41 +
 .../Layer0/tables/paste-merged01e-input.html    |   51 +
 .../Layer0/tables/paste-merged01f-expected.html |   41 +
 .../Layer0/tables/paste-merged01f-input.html    |   50 +
 .../Layer0/tables/paste-merged01g-expected.html |   41 +
 .../Layer0/tables/paste-merged01g-input.html    |   49 +
 .../Layer0/tables/paste-merged02a-expected.html |   40 +
 .../Layer0/tables/paste-merged02a-input.html    |   57 +
 .../Layer0/tables/paste-merged02b-expected.html |   40 +
 .../Layer0/tables/paste-merged02b-input.html    |   57 +
 .../Layer0/tables/paste-merged02c-expected.html |   39 +
 .../Layer0/tables/paste-merged02c-input.html    |   56 +
 .../Layer0/tables/paste-merged02d-expected.html |   40 +
 .../Layer0/tables/paste-merged02d-input.html    |   57 +
 .../Layer0/tables/paste-merged02e-expected.html |   40 +
 .../Layer0/tables/paste-merged02e-input.html    |   57 +
 .../Layer0/tables/paste-merged02f-expected.html |   39 +
 .../Layer0/tables/paste-merged02f-input.html    |   56 +
 .../Layer0/tables/paste-merged02g-expected.html |   38 +
 .../Layer0/tables/paste-merged02g-input.html    |   55 +
 .../Layer0/tables/paste-merged03a-expected.html |   46 +
 .../Layer0/tables/paste-merged03a-input.html    |   57 +
 .../Layer0/tables/paste-merged03b-expected.html |   46 +
 .../Layer0/tables/paste-merged03b-input.html    |   57 +
 .../Layer0/tables/paste-merged03c-expected.html |   45 +
 .../Layer0/tables/paste-merged03c-input.html    |   56 +
 .../Layer0/tables/paste-merged03d-expected.html |   46 +
 .../Layer0/tables/paste-merged03d-input.html    |   57 +
 .../Layer0/tables/paste-merged03e-expected.html |   46 +
 .../Layer0/tables/paste-merged03e-input.html    |   57 +
 .../Layer0/tables/paste-merged03f-expected.html |   45 +
 .../Layer0/tables/paste-merged03f-input.html    |   56 +
 .../Layer0/tables/paste-merged03g-expected.html |   44 +
 .../Layer0/tables/paste-merged03g-input.html    |   55 +
 .../Layer0/tables/paste-merged04a-expected.html |   45 +
 .../Layer0/tables/paste-merged04a-input.html    |   57 +
 .../Layer0/tables/paste-merged04b-expected.html |   45 +
 .../Layer0/tables/paste-merged04b-input.html    |   57 +
 .../Layer0/tables/paste-merged04c-expected.html |   44 +
 .../Layer0/tables/paste-merged04c-input.html    |   56 +
 .../Layer0/tables/paste-merged04d-expected.html |   45 +
 .../Layer0/tables/paste-merged04d-input.html    |   57 +
 .../Layer0/tables/paste-merged04e-expected.html |   45 +
 .../Layer0/tables/paste-merged04e-input.html    |   57 +
 .../Layer0/tables/paste-merged04f-expected.html |   44 +
 .../Layer0/tables/paste-merged04f-input.html    |   56 +
 .../Layer0/tables/paste-merged04g-expected.html |   43 +
 .../Layer0/tables/paste-merged04g-input.html    |   55 +
 .../test/Layer0/tables/paste01a-expected.html   |   41 +
 .../test/Layer0/tables/paste01a-input.html      |   52 +
 .../test/Layer0/tables/paste01b-expected.html   |   41 +
 .../test/Layer0/tables/paste01b-input.html      |   52 +
 .../test/Layer0/tables/paste01c-expected.html   |   41 +
 .../test/Layer0/tables/paste01c-input.html      |   52 +
 .../test/Layer0/tables/paste01d-expected.html   |   41 +
 .../test/Layer0/tables/paste01d-input.html      |   52 +
 .../test/Layer0/tables/paste01e-expected.html   |   41 +
 .../test/Layer0/tables/paste01e-input.html      |   52 +
 .../test/Layer0/tables/paste02a-expected.html   |   41 +
 .../test/Layer0/tables/paste02a-input.html      |   52 +
 .../test/Layer0/tables/paste02b-expected.html   |   41 +
 .../test/Layer0/tables/paste02b-input.html      |   52 +
 .../test/Layer0/tables/paste02c-expected.html   |   41 +
 .../test/Layer0/tables/paste02c-input.html      |   52 +
 .../test/Layer0/tables/paste02d-expected.html   |   41 +
 .../test/Layer0/tables/paste02d-input.html      |   52 +
 .../test/Layer0/tables/paste03a-expected.html   |   41 +
 .../test/Layer0/tables/paste03a-input.html      |   53 +
 .../test/Layer0/tables/paste03b-expected.html   |   41 +
 .../test/Layer0/tables/paste03b-input.html      |   54 +
 .../test/Layer0/tables/paste03c-expected.html   |   41 +
 .../test/Layer0/tables/paste03c-input.html      |   53 +
 .../test/Layer0/tables/paste03d-expected.html   |   41 +
 .../test/Layer0/tables/paste03d-input.html      |   53 +
 .../test/Layer0/tables/paste04a-expected.html   |   47 +
 .../test/Layer0/tables/paste04a-input.html      |   52 +
 .../test/Layer0/tables/paste04b-expected.html   |   47 +
 .../test/Layer0/tables/paste04b-input.html      |   52 +
 .../test/Layer0/tables/paste04c-expected.html   |   47 +
 .../test/Layer0/tables/paste04c-input.html      |   52 +
 .../test/Layer0/tables/paste04d-expected.html   |   46 +
 .../test/Layer0/tables/paste04d-input.html      |   52 +
 .../test/Layer0/tables/paste04e-expected.html   |   46 +
 .../test/Layer0/tables/paste04e-input.html      |   52 +
 .../test/Layer0/tables/paste04f-expected.html   |   46 +
 .../test/Layer0/tables/paste04f-input.html      |   52 +
 .../test/Layer0/tables/paste04g-expected.html   |   53 +
 .../test/Layer0/tables/paste04g-input.html      |   52 +
 .../test/Layer0/tables/paste05a-expected.html   |   65 +
 .../test/Layer0/tables/paste05a-input.html      |   58 +
 .../test/Layer0/tables/paste05b-expected.html   |   65 +
 .../test/Layer0/tables/paste05b-input.html      |   57 +
 .../test/Layer0/tables/paste05c-expected.html   |   61 +
 .../test/Layer0/tables/paste05c-input.html      |   60 +
 .../test/Layer0/tables/paste05d-expected.html   |   61 +
 .../test/Layer0/tables/paste05d-input.html      |   59 +
 .../test/Layer0/tables/paste06a-expected.html   |   41 +
 .../test/Layer0/tables/paste06a-input.html      |   58 +
 .../test/Layer0/tables/paste06b-expected.html   |   41 +
 .../test/Layer0/tables/paste06b-input.html      |   58 +
 .../test/Layer0/tables/paste06c-expected.html   |   41 +
 .../test/Layer0/tables/paste06c-input.html      |   58 +
 .../tables/regionFromRange01-expected.html      |    4 +
 .../Layer0/tables/regionFromRange01-input.html  |   50 +
 .../tables/regionFromRange02-expected.html      |    4 +
 .../Layer0/tables/regionFromRange02-input.html  |   49 +
 .../tables/regionFromRange03-expected.html      |    4 +
 .../Layer0/tables/regionFromRange03-input.html  |   49 +
 .../tables/regionFromRange04-expected.html      |    4 +
 .../Layer0/tables/regionFromRange04-input.html  |   49 +
 .../tables/regionFromRange05-expected.html      |    4 +
 .../Layer0/tables/regionFromRange05-input.html  |   49 +
 .../tables/regionFromRange06-expected.html      |    4 +
 .../Layer0/tables/regionFromRange06-input.html  |   49 +
 .../tables/regionFromRange07-expected.html      |    4 +
 .../Layer0/tables/regionFromRange07-input.html  |   49 +
 .../tables/regionFromRange08-expected.html      |    4 +
 .../Layer0/tables/regionFromRange08-input.html  |   49 +
 .../tables/regionFromRange09-expected.html      |    4 +
 .../Layer0/tables/regionFromRange09-input.html  |   49 +
 .../tables/regionFromRange10-expected.html      |   46 +
 .../Layer0/tables/regionFromRange10-input.html  |   65 +
 .../tables/regionFromRange11-expected.html      |   46 +
 .../Layer0/tables/regionFromRange11-input.html  |   65 +
 .../tables/regionFromRange12-expected.html      |   46 +
 .../Layer0/tables/regionFromRange12-input.html  |   65 +
 .../tables/regionFromRange13-expected.html      |   46 +
 .../Layer0/tables/regionFromRange13-input.html  |   65 +
 .../tables/regionFromRange14-expected.html      |   46 +
 .../Layer0/tables/regionFromRange14-input.html  |   65 +
 .../Layer0/tables/regionSpan01-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan01-input.html  |   98 +
 .../Layer0/tables/regionSpan02-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan02-input.html  |   98 +
 .../Layer0/tables/regionSpan03-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan03-input.html  |   98 +
 .../Layer0/tables/regionSpan04-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan04-input.html  |   98 +
 .../Layer0/tables/regionSpan05-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan05-input.html  |   98 +
 .../Layer0/tables/regionSpan06-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan06-input.html  |   98 +
 .../Layer0/tables/regionSpan07-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan07-input.html  |   98 +
 .../Layer0/tables/regionSpan08-expected.html    |   87 +
 .../test/Layer0/tables/regionSpan08-input.html  |   98 +
 .../Layer0/tables/regionSpan09-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan09-input.html  |   90 +
 .../Layer0/tables/regionSpan10-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan10-input.html  |   90 +
 .../Layer0/tables/regionSpan11-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan11-input.html  |   90 +
 .../Layer0/tables/regionSpan12-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan12-input.html  |   90 +
 .../Layer0/tables/regionSpan13-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan13-input.html  |   90 +
 .../Layer0/tables/regionSpan14-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan14-input.html  |   90 +
 .../Layer0/tables/regionSpan15-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan15-input.html  |   90 +
 .../Layer0/tables/regionSpan16-expected.html    |   79 +
 .../test/Layer0/tables/regionSpan16-input.html  |   90 +
 .../removeAdjacentColumn01inside-expected.html  |   41 +
 .../removeAdjacentColumn01inside-input.html     |   50 +
 .../removeAdjacentColumn01right-expected.html   |   41 +
 .../removeAdjacentColumn01right-input.html      |   50 +
 .../removeAdjacentColumn02inside-expected.html  |   41 +
 .../removeAdjacentColumn02inside-input.html     |   50 +
 .../removeAdjacentColumn02left-expected.html    |   41 +
 .../removeAdjacentColumn02left-input.html       |   50 +
 .../removeAdjacentColumn02right-expected.html   |   41 +
 .../removeAdjacentColumn02right-input.html      |   50 +
 .../removeAdjacentColumn03inside-expected.html  |   41 +
 .../removeAdjacentColumn03inside-input.html     |   50 +
 .../removeAdjacentColumn03left-expected.html    |   41 +
 .../removeAdjacentColumn03left-input.html       |   50 +
 .../removeAdjacentColumn04inside-expected.html  |   41 +
 .../removeAdjacentColumn04inside-input.html     |   50 +
 .../removeAdjacentColumn04right-expected.html   |   41 +
 .../removeAdjacentColumn04right-input.html      |   50 +
 .../removeAdjacentColumn05inside-expected.html  |   41 +
 .../removeAdjacentColumn05inside-input.html     |   50 +
 .../removeAdjacentColumn05left-expected.html    |   41 +
 .../removeAdjacentColumn05left-input.html       |   50 +
 .../removeAdjacentColumn05right-expected.html   |   41 +
 .../removeAdjacentColumn05right-input.html      |   50 +
 .../removeAdjacentColumn06inside-expected.html  |   41 +
 .../removeAdjacentColumn06inside-input.html     |   50 +
 .../removeAdjacentColumn06left-expected.html    |   41 +
 .../removeAdjacentColumn06left-input.html       |   50 +
 .../tables/removeAdjacentColumn07-expected.html |   26 +
 .../tables/removeAdjacentColumn07-input.html    |   30 +
 .../tables/removeAdjacentColumn08-expected.html |   42 +
 .../tables/removeAdjacentColumn08-input.html    |   50 +
 .../tables/removeAdjacentColumn09-expected.html |   42 +
 .../tables/removeAdjacentColumn09-input.html    |   50 +
 .../tables/removeAdjacentColumn10-expected.html |   27 +
 .../tables/removeAdjacentColumn10-input.html    |   30 +
 .../tables/removeAdjacentColumn11-expected.html |   27 +
 .../tables/removeAdjacentColumn11-input.html    |   30 +
 .../removeAdjacentRow01below-expected.html      |   41 +
 .../tables/removeAdjacentRow01below-input.html  |   51 +
 .../removeAdjacentRow01inside-expected.html     |   41 +
 .../tables/removeAdjacentRow01inside-input.html |   51 +
 .../removeAdjacentRow02above-expected.html      |   41 +
 .../tables/removeAdjacentRow02above-input.html  |   51 +
 .../removeAdjacentRow02below-expected.html      |   41 +
 .../tables/removeAdjacentRow02below-input.html  |   51 +
 .../removeAdjacentRow02inside-expected.html     |   41 +
 .../tables/removeAdjacentRow02inside-input.html |   51 +
 .../removeAdjacentRow03above-expected.html      |   41 +
 .../tables/removeAdjacentRow03above-input.html  |   51 +
 .../removeAdjacentRow03inside-expected.html     |   41 +
 .../tables/removeAdjacentRow03inside-input.html |   51 +
 .../removeAdjacentRow04below-expected.html      |   41 +
 .../tables/removeAdjacentRow04below-input.html  |   51 +
 .../removeAdjacentRow04inside-expected.html     |   41 +
 .../tables/removeAdjacentRow04inside-input.html |   51 +
 .../removeAdjacentRow05above-expected.html      |   41 +
 .../tables/removeAdjacentRow05above-input.html  |   51 +
 .../removeAdjacentRow05below-expected.html      |   41 +
 .../tables/removeAdjacentRow05below-input.html  |   51 +
 .../removeAdjacentRow05inside-expected.html     |   41 +
 .../tables/removeAdjacentRow05inside-input.html |   51 +
 .../removeAdjacentRow06above-expected.html      |   41 +
 .../tables/removeAdjacentRow06above-input.html  |   51 +
 .../removeAdjacentRow06inside-expected.html     |   41 +
 .../tables/removeAdjacentRow06inside-input.html |   51 +
 .../tables/removeAdjacentRow07-expected.html    |   23 +
 .../tables/removeAdjacentRow07-input.html       |   27 +
 .../tables/removeAdjacentRow08-expected.html    |   42 +
 .../tables/removeAdjacentRow08-input.html       |   51 +
 .../tables/removeAdjacentRow09-expected.html    |   42 +
 .../tables/removeAdjacentRow09-input.html       |   51 +
 .../tables/removeAdjacentRow10-expected.html    |   24 +
 .../tables/removeAdjacentRow10-input.html       |   28 +
 .../tables/removeAdjacentRow11-expected.html    |   24 +
 .../tables/removeAdjacentRow11-input.html       |   28 +
 .../Layer0/tables/setColWidths01-expected.html  |   22 +
 .../Layer0/tables/setColWidths01-input.html     |   26 +
 .../Layer0/tables/setColWidths02-expected.html  |   22 +
 .../Layer0/tables/setColWidths02-input.html     |   26 +
 .../test/Layer0/tables/split00a-expected.html   |   41 +
 .../test/Layer0/tables/split00a-input.html      |   47 +
 .../test/Layer0/tables/split00b-expected.html   |   41 +
 .../test/Layer0/tables/split00b-input.html      |   47 +
 .../test/Layer0/tables/split00c-expected.html   |   41 +
 .../test/Layer0/tables/split00c-input.html      |   46 +
 .../test/Layer0/tables/split00d-expected.html   |   41 +
 .../test/Layer0/tables/split00d-input.html      |   47 +
 .../test/Layer0/tables/split00e-expected.html   |   41 +
 .../test/Layer0/tables/split00e-input.html      |   47 +
 .../test/Layer0/tables/split00f-expected.html   |   41 +
 .../test/Layer0/tables/split00f-input.html      |   46 +
 .../test/Layer0/tables/split00g-expected.html   |   41 +
 .../test/Layer0/tables/split00g-input.html      |   45 +
 .../test/Layer0/tables/split01-expected.html    |   41 +
 .../test/Layer0/tables/split01-input.html       |   40 +
 .../test/Layer0/tables/split02-expected.html    |   41 +
 .../test/Layer0/tables/split02-input.html       |   40 +
 .../test/Layer0/tables/split03-expected.html    |   41 +
 .../test/Layer0/tables/split03-input.html       |   40 +
 .../test/Layer0/tables/split04-expected.html    |   41 +
 .../test/Layer0/tables/split04-input.html       |   40 +
 .../test/Layer0/tables/split05-expected.html    |   41 +
 .../test/Layer0/tables/split05-input.html       |   42 +
 .../test/Layer0/tables/split05a-expected.html   |   38 +
 .../test/Layer0/tables/split05a-input.html      |   42 +
 .../test/Layer0/tables/split05b-expected.html   |   38 +
 .../test/Layer0/tables/split05b-input.html      |   42 +
 .../test/Layer0/tables/split05c-expected.html   |   39 +
 .../test/Layer0/tables/split05c-input.html      |   42 +
 .../test/Layer0/tables/split06-expected.html    |   41 +
 .../test/Layer0/tables/split06-input.html       |   42 +
 .../test/Layer0/tables/split06a-expected.html   |   37 +
 .../test/Layer0/tables/split06a-input.html      |   42 +
 .../test/Layer0/tables/split07-expected.html    |   41 +
 .../test/Layer0/tables/split07-input.html       |   40 +
 .../test/Layer0/tables/split07a-expected.html   |   35 +
 .../test/Layer0/tables/split07a-input.html      |   40 +
 .../test/Layer0/tables/split07b-expected.html   |   37 +
 .../test/Layer0/tables/split07b-input.html      |   40 +
 .../test/Layer0/tables/split07c-expected.html   |   37 +
 .../test/Layer0/tables/split07c-input.html      |   40 +
 .../test/Layer0/tables/split08-expected.html    |   41 +
 .../test/Layer0/tables/split08-input.html       |   40 +
 .../test/Layer0/tables/split08a-expected.html   |   37 +
 .../test/Layer0/tables/split08a-input.html      |   40 +
 .../test/Layer0/tables/split08b-expected.html   |   37 +
 .../test/Layer0/tables/split08b-input.html      |   40 +
 .../test/Layer0/tables/split09-expected.html    |   41 +
 .../test/Layer0/tables/split09-input.html       |   34 +
 .../test/Layer0/tables/split09a-expected.html   |   34 +
 .../test/Layer0/tables/split09a-input.html      |   34 +
 .../test/Layer0/tables/split09b-expected.html   |   34 +
 .../test/Layer0/tables/split09b-input.html      |   34 +
 .../test/Layer0/tables/split10-expected.html    |   41 +
 .../test/Layer0/tables/split10-input.html       |   34 +
 .../test/Layer0/tables/split10a-expected.html   |   34 +
 .../test/Layer0/tables/split10a-input.html      |   34 +
 .../test/Layer0/tables/split10b-expected.html   |   34 +
 .../test/Layer0/tables/split10b-input.html      |   34 +
 .../test/Layer0/tables/split11-expected.html    |   41 +
 .../test/Layer0/tables/split11-input.html       |   36 +
 .../test/Layer0/tables/split11a-expected.html   |   35 +
 .../test/Layer0/tables/split11a-input.html      |   36 +
 .../test/Layer0/tables/split11b-expected.html   |   35 +
 .../test/Layer0/tables/split11b-input.html      |   36 +
 .../test/Layer0/tables/split11c-expected.html   |   32 +
 .../test/Layer0/tables/split11c-input.html      |   36 +
 .../test/Layer0/tables/split12-expected.html    |   41 +
 .../test/Layer0/tables/split12-input.html       |   33 +
 .../test/Layer0/test-structure.html             |  126 +
 .../test/Layer0/testharness.html                |  108 +
 .../editorFramework/test/Layer0/testharness.js  |  317 +++
 .../editorFramework/test/Layer0/testlib.js      |  438 ++++
 .../test/Layer0/text/TextTests.js               |   38 +
 .../analyseParagraph-implicit01-expected.html   |    3 +
 .../text/analyseParagraph-implicit01-input.html |   17 +
 .../analyseParagraph-implicit02-expected.html   |    9 +
 .../text/analyseParagraph-implicit02-input.html |   17 +
 .../analyseParagraph-implicit03-expected.html   |    9 +
 .../text/analyseParagraph-implicit03-input.html |   17 +
 .../text/analyseParagraph01-expected.html       |    3 +
 .../Layer0/text/analyseParagraph01-input.html   |   17 +
 .../text/analyseParagraph02-expected.html       |    9 +
 .../Layer0/text/analyseParagraph02-input.html   |   17 +
 .../text/analyseParagraph03-expected.html       |    9 +
 .../Layer0/text/analyseParagraph03-input.html   |   17 +
 .../test/Layer0/undo/UndoTests.js               |   90 +
 .../Layer0/undo/addAdjacentColumn-expected.html |  140 ++
 .../Layer0/undo/addAdjacentColumn-input.html    |   54 +
 .../Layer0/undo/addAdjacentRow-expected.html    |  146 ++
 .../test/Layer0/undo/addAdjacentRow-input.html  |   54 +
 .../test/Layer0/undo/cut01-expected.html        |   77 +
 .../test/Layer0/undo/cut01-input.html           |   37 +
 .../test/Layer0/undo/deleteTOC01-expected.html  |    9 +
 .../test/Layer0/undo/deleteTOC01-input.html     |   37 +
 .../Layer0/undo/insertDelete01-expected.html    |   59 +
 .../test/Layer0/undo/insertDelete01-input.html  |   53 +
 .../Layer0/undo/insertDelete02-expected.html    |   59 +
 .../test/Layer0/undo/insertDelete02-input.html  |   53 +
 .../Layer0/undo/insertDelete03-expected.html    |   56 +
 .../test/Layer0/undo/insertDelete03-input.html  |   51 +
 .../Layer0/undo/insertDelete04-expected.html    |   59 +
 .../test/Layer0/undo/insertDelete04-input.html  |   57 +
 .../Layer0/undo/insertDelete05-expected.html    |   59 +
 .../test/Layer0/undo/insertDelete05-input.html  |   57 +
 .../Layer0/undo/insertFigure01-expected.html    |   44 +
 .../test/Layer0/undo/insertFigure01-input.html  |   49 +
 .../Layer0/undo/insertFigure02-expected.html    |   74 +
 .../test/Layer0/undo/insertFigure02-input.html  |   45 +
 .../Layer0/undo/insertFigure03-expected.html    |   74 +
 .../test/Layer0/undo/insertFigure03-input.html  |   45 +
 .../Layer0/undo/insertFigure04-expected.html    |   64 +
 .../test/Layer0/undo/insertFigure04-input.html  |   45 +
 .../Layer0/undo/insertFigure05-expected.html    |   74 +
 .../test/Layer0/undo/insertFigure05-input.html  |   45 +
 .../Layer0/undo/insertHeading01-expected.html   |   44 +
 .../test/Layer0/undo/insertHeading01-input.html |   63 +
 .../Layer0/undo/insertHeading02-expected.html   |   44 +
 .../test/Layer0/undo/insertHeading02-input.html |   63 +
 .../Layer0/undo/insertTable01-expected.html     |   44 +
 .../test/Layer0/undo/insertTable01-input.html   |   49 +
 .../Layer0/undo/insertTable02-expected.html     |  144 ++
 .../test/Layer0/undo/insertTable02-input.html   |   45 +
 .../Layer0/undo/insertTable03-expected.html     |  144 ++
 .../test/Layer0/undo/insertTable03-input.html   |   45 +
 .../Layer0/undo/insertTable04-expected.html     |  134 +
 .../test/Layer0/undo/insertTable04-input.html   |   45 +
 .../Layer0/undo/insertTable05-expected.html     |  144 ++
 .../test/Layer0/undo/insertTable05-input.html   |   45 +
 .../test/Layer0/undo/nodeValue01-expected.html  |   24 +
 .../test/Layer0/undo/nodeValue01-input.html     |   35 +
 .../test/Layer0/undo/nodeValue02-expected.html  |   29 +
 .../test/Layer0/undo/nodeValue02-input.html     |   39 +
 .../test/Layer0/undo/nodeValue03-expected.html  |   29 +
 .../test/Layer0/undo/nodeValue03-input.html     |   39 +
 .../test/Layer0/undo/nodeValue04-expected.html  |   29 +
 .../test/Layer0/undo/nodeValue04-input.html     |   39 +
 .../test/Layer0/undo/nodeValue05-expected.html  |   29 +
 .../test/Layer0/undo/nodeValue05-input.html     |   39 +
 .../test/Layer0/undo/nodeValue06-expected.html  |   29 +
 .../test/Layer0/undo/nodeValue06-input.html     |   39 +
 .../test/Layer0/undo/nodeValue07-expected.html  |   29 +
 .../test/Layer0/undo/nodeValue07-input.html     |   39 +
 .../test/Layer0/undo/outline01-expected.html    |   14 +
 .../test/Layer0/undo/outline01-input.html       |   51 +
 .../Layer0/undo/setAttribute01-expected.html    |   24 +
 .../test/Layer0/undo/setAttribute01-input.html  |   35 +
 .../Layer0/undo/setAttribute02-expected.html    |   24 +
 .../test/Layer0/undo/setAttribute02-input.html  |   35 +
 .../Layer0/undo/setAttribute03-expected.html    |   24 +
 .../test/Layer0/undo/setAttribute03-input.html  |   35 +
 .../Layer0/undo/setAttribute04-expected.html    |   49 +
 .../test/Layer0/undo/setAttribute04-input.html  |   54 +
 .../Layer0/undo/setAttributeNS01-expected.html  |   29 +
 .../Layer0/undo/setAttributeNS01-input.html     |   40 +
 .../Layer0/undo/setAttributeNS02-expected.html  |   29 +
 .../Layer0/undo/setAttributeNS02-input.html     |   40 +
 .../Layer0/undo/setAttributeNS03-expected.html  |   29 +
 .../Layer0/undo/setAttributeNS03-input.html     |   40 +
 .../Layer0/undo/setAttributeNS04-expected.html  |   49 +
 .../Layer0/undo/setAttributeNS04-input.html     |   55 +
 .../undo/setStyleProperties01-expected.html     |   34 +
 .../Layer0/undo/setStyleProperties01-input.html |   43 +
 .../undo/setStyleProperties02-expected.html     |   34 +
 .../Layer0/undo/setStyleProperties02-input.html |   43 +
 .../test/Layer0/undo/undo01-expected.html       |   74 +
 .../test/Layer0/undo/undo01-input.html          |   79 +
 .../test/Layer0/undo/undo02-expected.html       |   74 +
 .../test/Layer0/undo/undo02-input.html          |   79 +
 .../test/Layer0/undo/undo03-expected.html       |   38 +
 .../test/Layer0/undo/undo03-input.html          |   67 +
 4742 files changed, 110744 insertions(+)
----------------------------------------------------------------------



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-input.html
new file mode 100644
index 0000000..3346a6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p style="text-align: center; color: red"><b>Sample text</b></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-expected.html
new file mode 100644
index 0000000..889fde4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; "><b>Sample text</b></span>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-input.html
new file mode 100644
index 0000000..9f61452
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red">[<b>Sample text</b>]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-expected.html
new file mode 100644
index 0000000..889fde4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; "><b>Sample text</b></span>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-input.html
new file mode 100644
index 0000000..646ab73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red"><b>[Sample text]</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-expected.html
new file mode 100644
index 0000000..8bfa6be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; "><b>mple</b></span>
+
+text/plain
+----------
+
+**mple**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-input.html
new file mode 100644
index 0000000..5f241c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06d-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red"><b>Sa[mple] text</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-expected.html
new file mode 100644
index 0000000..c3a63f4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p style="text-align: center; color: red"><b>Sample</b> <b>text</b></p>
+
+text/plain
+----------
+
+**Sample** **text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-input.html
new file mode 100644
index 0000000..1652fd2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p style="text-align: center; color: red"><b>Sample</b> <b>text</b></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-expected.html
new file mode 100644
index 0000000..af571e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; "><b>Sample</b></span> <span style="color: red; "><b>text</b></span>
+
+text/plain
+----------
+
+**Sample** **text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-input.html
new file mode 100644
index 0000000..8f196f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red">[<b>Sample</b> <b>text</b>]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-expected.html
new file mode 100644
index 0000000..af571e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; "><b>Sample</b></span> <span style="color: red; "><b>text</b></span>
+
+text/plain
+----------
+
+**Sample** **text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-input.html
new file mode 100644
index 0000000..5aabe4a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red"><b>[Sample</b> <b>text]</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-expected.html
new file mode 100644
index 0000000..3553e59
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; "><b>mple</b></span> <span style="color: red; "><b>t</b></span>
+
+text/plain
+----------
+
+**mple** **t**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-input.html
new file mode 100644
index 0000000..f1fc571
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting07d-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red"><b>Sa[mple</b> <b>t]ext</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-expected.html
new file mode 100644
index 0000000..e7a2c53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p style="text-align: center; color: red"><span style="font-size: 18pt"><b>Sample text</b></span></p>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-input.html
new file mode 100644
index 0000000..954894c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p style="text-align: center; color: red"><span style="font-size: 18pt"><b>Sample text</b></span></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-expected.html
new file mode 100644
index 0000000..56fd1d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="font-size: 18pt; color: red; "><b>Sample text</b></span>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-input.html
new file mode 100644
index 0000000..187f716
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red">[<span style="font-size: 18pt"><b>Sample text</b></span>]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-expected.html
new file mode 100644
index 0000000..56fd1d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="font-size: 18pt; color: red; "><b>Sample text</b></span>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-input.html
new file mode 100644
index 0000000..6c4de78
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red"><span style="font-size: 18pt">[<b>Sample text</b>]</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-expected.html
new file mode 100644
index 0000000..56fd1d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="font-size: 18pt; color: red; "><b>Sample text</b></span>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-input.html
new file mode 100644
index 0000000..6ddfca0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08d-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red"><span style="font-size: 18pt"><b>[Sample text]</b></span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-expected.html
new file mode 100644
index 0000000..acf81b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="font-size: 18pt; color: red; "><b>mple</b></span>
+
+text/plain
+----------
+
+**mple**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-input.html
new file mode 100644
index 0000000..8e6a574
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting08e-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red"><span style="font-size: 18pt"><b>Sa[mple] text</b></span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-expected.html
new file mode 100644
index 0000000..766b6ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-expected.html
@@ -0,0 +1,12 @@
+text/html
+---------
+
+<p style="text-align: center; color: red">Sample text</p>
+<p style="text-align: center; color: red">Other</p>
+
+text/plain
+----------
+
+Sample text
+
+Other

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-input.html
new file mode 100644
index 0000000..eeb5be9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p style="text-align: center; color: red">Sample text</p>
+<p style="text-align: center; color: red">Other] content</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-expected.html
new file mode 100644
index 0000000..00e9c7e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-expected.html
@@ -0,0 +1,12 @@
+text/html
+---------
+
+<p style="text-align: center; color: red">text</p>
+<p style="text-align: center; color: red">Other content</p>
+
+text/plain
+----------
+
+text
+
+Other content

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-input.html
new file mode 100644
index 0000000..60bb1a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red">Sample [text</p>
+<p style="text-align: center; color: red">Other content</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-expected.html
new file mode 100644
index 0000000..f13e14a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-expected.html
@@ -0,0 +1,12 @@
+text/html
+---------
+
+<p style="text-align: center; color: red">text</p>
+<p style="text-align: center; color: red">Other</p>
+
+text/plain
+----------
+
+text
+
+Other

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-input.html
new file mode 100644
index 0000000..09ba9f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting09c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red">Sample [text</p>
+<p style="text-align: center; color: red">Other] content</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li01-expected.html
new file mode 100644
index 0000000..faf2f53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li01-expected.html
@@ -0,0 +1,13 @@
+text/html
+---------
+
+<ul><li>One</li>
+  <li>Two</li>
+  <li>Three</li></ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li01-input.html
new file mode 100644
index 0000000..97718c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li02-expected.html
new file mode 100644
index 0000000..6606587
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li02-expected.html
@@ -0,0 +1,11 @@
+text/html
+---------
+
+<ul><li>Two</li>
+  <li>Three</li></ul>
+
+text/plain
+----------
+
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li02-input.html
new file mode 100644
index 0000000..e2e907a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>[Two</li>
+  <li>Three]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li03-expected.html
new file mode 100644
index 0000000..d8c34c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li03-expected.html
@@ -0,0 +1,11 @@
+text/html
+---------
+
+<ol><li>Two</li>
+  <li>Three</li></ol>
+
+text/plain
+----------
+
+1.  Two
+2.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li03-input.html
new file mode 100644
index 0000000..bcf2efe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>[Two</li>
+  <li>Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li04-expected.html
new file mode 100644
index 0000000..698ca94
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li04-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<ul><li>Two</li></ul>
+
+text/plain
+----------
+
+  - Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li04-input.html
new file mode 100644
index 0000000..903545b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li05-expected.html
new file mode 100644
index 0000000..761b9f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li05-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<ol><li>Two</li></ol>
+
+text/plain
+----------
+
+1.  Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-li05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-li05-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-li05-input.html
new file mode 100644
index 0000000..99c85c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-li05-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link01-expected.html
new file mode 100644
index 0000000..29b0c97
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link01-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<a href="http://daringfireball.net">Daring Fireball</a>
+
+text/plain
+----------
+
+[Daring Fireball](http://daringfireball.net)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link01-input.html
new file mode 100644
index 0000000..f574322
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<a href="http://daringfireball.net">Daring Fireball</a>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link02-expected.html
new file mode 100644
index 0000000..415d8f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link02-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+Before link <a href="http://daringfireball.net">Daring Fireball</a> after link
+
+text/plain
+----------
+
+Before link [Daring Fireball](http://daringfireball.net) after link

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link02-input.html
new file mode 100644
index 0000000..d4494bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[Before link <a href="http://daringfireball.net">Daring Fireball</a> after link]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link03-expected.html
new file mode 100644
index 0000000..5964b94
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link03-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<a href="http://daringfireball.net"><i>Daring Fireball</i></a>
+
+text/plain
+----------
+
+[*Daring Fireball*](http://daringfireball.net)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link03-input.html
new file mode 100644
index 0000000..2eb047e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link03-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<a href="http://daringfireball.net"><i>Daring Fireball</i></a>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link04-expected.html
new file mode 100644
index 0000000..799e638
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link04-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<i><a href="http://daringfireball.net">Daring Fireball</a></i>
+
+text/plain
+----------
+
+*[Daring Fireball](http://daringfireball.net)*

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-link04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-link04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-link04-input.html
new file mode 100644
index 0000000..9bff334
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-link04-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<i><a href="http://daringfireball.net">Daring Fireball</a></i>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list01-expected.html
new file mode 100644
index 0000000..a9fd648
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list01-expected.html
@@ -0,0 +1,15 @@
+text/html
+---------
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list01-input.html
new file mode 100644
index 0000000..f1fee73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list02-expected.html
new file mode 100644
index 0000000..804f92b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list02-expected.html
@@ -0,0 +1,33 @@
+text/html
+---------
+
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+2.  Two
+3.  Three
+4.  Four
+5.  Five
+6.  Six
+7.  Seven
+8.  Eight
+9.  Nine
+10. Ten
+11. Eleven
+12. Twelve

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list02-input.html
new file mode 100644
index 0000000..2033174
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list03-expected.html
new file mode 100644
index 0000000..2982014
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list03-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+</ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three
+
+  - Four
+
+  - Five
+
+  - Six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list03-input.html
new file mode 100644
index 0000000..7843d03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list04-expected.html
new file mode 100644
index 0000000..bf562c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list04-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+</ul>
+
+text/plain
+----------
+
+  - One
+
+  - Two
+
+  - Three
+
+  - Four
+  - Five
+  - Six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list04-input.html
new file mode 100644
index 0000000..e4c6e4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list05-expected.html
new file mode 100644
index 0000000..2d89390
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list05-expected.html
@@ -0,0 +1,31 @@
+text/html
+---------
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three
+
+  - Four
+
+  - Five
+
+  - Six
+
+  - Seven
+  - Eight
+  - Nine

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list05-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list05-input.html
new file mode 100644
index 0000000..a7dd0b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list05-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list06-expected.html
new file mode 100644
index 0000000..f6adf10
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list06-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+2.  Two
+3.  Three
+
+4.  Four
+
+5.  Five
+
+6.  Six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list06-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list06-input.html
new file mode 100644
index 0000000..f0fea0a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list06-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list07-expected.html
new file mode 100644
index 0000000..4c3a7d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list07-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+
+2.  Two
+
+3.  Three
+
+4.  Four
+5.  Five
+6.  Six

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list07-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list07-input.html
new file mode 100644
index 0000000..fb10447
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list07-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list08-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list08-expected.html
new file mode 100644
index 0000000..425aba8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list08-expected.html
@@ -0,0 +1,31 @@
+text/html
+---------
+
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+2.  Two
+3.  Three
+
+4.  Four
+
+5.  Five
+
+6.  Six
+
+7.  Seven
+8.  Eight
+9.  Nine

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list08-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list08-input.html
new file mode 100644
index 0000000..2d96e82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list08-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list09-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list09-expected.html
new file mode 100644
index 0000000..62db88d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list09-expected.html
@@ -0,0 +1,32 @@
+text/html
+---------
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three
+    <ul>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ul>
+  </li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three
+
+      - Four
+      - Five
+      - Six
+
+  - Seven
+  - Eight
+  - Nine

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list09-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list09-input.html
new file mode 100644
index 0000000..5722b57
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list09-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three
+    <ul>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ul>
+  </li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list10-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list10-expected.html
new file mode 100644
index 0000000..7d9aeaf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list10-expected.html
@@ -0,0 +1,66 @@
+text/html
+---------
+
+<ul>
+  <li>
+    One (first)
+    <p>One (second)</p>
+    One (third)
+    <p>One (fourth)</p>
+    <p>One (fifth)</p>
+    One (sixth)
+  </li>
+  <li>
+    Two (first)
+    <p>Two (second)</p>
+    Two (third)
+    <p>Two (fourth)</p>
+    <p>Two (fifth)</p>
+    Two (sixth)
+  </li>
+  <li>
+    Three (first)
+    <p>Three (second)</p>
+    Three (third)
+    <p>Three (fourth)</p>
+    <p>Three (fifth)</p>
+    Three (sixth)
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - One (first)
+
+    One (second)
+
+    One (third)
+
+    One (fourth)
+
+    One (fifth)
+
+    One (sixth)
+  - Two (first)
+
+    Two (second)
+
+    Two (third)
+
+    Two (fourth)
+
+    Two (fifth)
+
+    Two (sixth)
+  - Three (first)
+
+    Three (second)
+
+    Three (third)
+
+    Three (fourth)
+
+    Three (fifth)
+
+    Three (sixth)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list10-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list10-input.html
new file mode 100644
index 0000000..796328f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list10-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    One (first)
+    <p>One (second)</p>
+    One (third)
+    <p>One (fourth)</p>
+    <p>One (fifth)</p>
+    One (sixth)
+  </li>
+  <li>
+    Two (first)
+    <p>Two (second)</p>
+    Two (third)
+    <p>Two (fourth)</p>
+    <p>Two (fifth)</p>
+    Two (sixth)
+  </li>
+  <li>
+    Three (first)
+    <p>Three (second)</p>
+    Three (third)
+    <p>Three (fourth)</p>
+    <p>Three (fifth)</p>
+    Three (sixth)
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list11-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list11-expected.html
new file mode 100644
index 0000000..293d8a8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list11-expected.html
@@ -0,0 +1,41 @@
+text/html
+---------
+
+<ul>
+  <li>
+    Levels one and two
+    <h1>Heading 1</h1>
+    <h2>Heading 2</h2>
+  </li>
+  <li>
+    Levels three and four
+    <h3>Heading 1</h3>
+    <h4>Heading 2</h4>
+  </li>
+  <li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - Levels one and two
+
+    # Heading 1 #
+
+    ## Heading 2 ##
+
+  - Levels three and four
+
+    ### Heading 1 ###
+
+    #### Heading 2 ####
+
+  - Levels five and six
+
+    ##### Heading 1 #####
+
+    ###### Heading 2 ######

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list11-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list11-input.html
new file mode 100644
index 0000000..01dbc62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list11-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    Levels one and two
+    <h1>Heading 1</h1>
+    <h2>Heading 2</h2>
+  </li>
+  <li>
+    Levels three and four
+    <h3>Heading 1</h3>
+    <h4>Heading 2</h4>
+  </li>
+  <li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list12-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list12-expected.html
new file mode 100644
index 0000000..4efb9b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list12-expected.html
@@ -0,0 +1,48 @@
+text/html
+---------
+
+<ul>
+  <li>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ol>
+  </li>
+  <li>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three
+
+    1.  Four
+    2.  Five
+    3.  Six
+
+  - 1.  Seven
+    2.  Eight
+    3.  Nine
+
+    1.  Ten
+    2.  Eleven
+    3.  Twelve

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list12-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list12-input.html
new file mode 100644
index 0000000..1ffe85e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list12-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ol>
+  </li>
+  <li>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list13-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list13-expected.html
new file mode 100644
index 0000000..65c4a52
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list13-expected.html
@@ -0,0 +1,44 @@
+text/html
+---------
+
+<ul>
+  <li>
+    <ol>
+      <li>
+        Levels one and two
+        <h1>Heading 1</h1>
+        <h2>Heading 2</h2>
+      </li>
+      <li>
+        Levels three and four
+        <h3>Heading 1</h3>
+        <h4>Heading 2</h4>
+      </li>
+    </ol>
+  </li><li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - 1.  Levels one and two
+
+        # Heading 1 #
+
+        ## Heading 2 ##
+
+    2.  Levels three and four
+
+        ### Heading 1 ###
+
+        #### Heading 2 ####
+
+  - Levels five and six
+
+    ##### Heading 1 #####
+
+    ###### Heading 2 ######

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-list13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-list13-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-list13-input.html
new file mode 100644
index 0000000..c434cd3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-list13-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    <ol>
+      <li>
+        Levels one and two
+        <h1>Heading 1</h1>
+        <h2>Heading 2</h2>
+      </li>
+      <li>
+        Levels three and four
+        <h3>Heading 1</h3>
+        <h4>Heading 2</h4>
+      </li>
+    </ol>
+  <li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-expected.html
new file mode 100644
index 0000000..80bcead
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<ul><li><b><i>Two</i></b></li></ul>
+
+text/plain
+----------
+
+  - ***Two***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-input.html
new file mode 100644
index 0000000..10a02f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li><b><i>[Two]</i></b></li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-expected.html
new file mode 100644
index 0000000..a1ebe8e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<ul><li>  <b>  <i>  Two  </i>  </b>  </li></ul>
+
+text/plain
+----------
+
+  - ** * Two * **

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-input.html
new file mode 100644
index 0000000..65a2567
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>  <b>  <i>  [Two]  </i>  </b>  </li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-expected.html
new file mode 100644
index 0000000..3243001
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Two</i></b>
+
+text/plain
+----------
+
+***Two***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-input.html
new file mode 100644
index 0000000..a76504f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li> x <b>  <i>  [Two]  </i>  </b>  </li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-expected.html
new file mode 100644
index 0000000..3243001
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Two</i></b>
+
+text/plain
+----------
+
+***Two***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-input.html
new file mode 100644
index 0000000..7c7a565
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>  <b> x <i>  [Two]  </i>  </b>  </li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-expected.html
new file mode 100644
index 0000000..3243001
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Two</i></b>
+
+text/plain
+----------
+
+***Two***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-input.html
new file mode 100644
index 0000000..f76515b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli05-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>  <b>  <i> x [Two]  </i>  </b>  </li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-expected.html
new file mode 100644
index 0000000..3243001
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Two</i></b>
+
+text/plain
+----------
+
+***Two***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-input.html
new file mode 100644
index 0000000..351c9a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>  <b>  <i>  [Two] x </i>  </b>  </li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-expected.html
new file mode 100644
index 0000000..3243001
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Two</i></b>
+
+text/plain
+----------
+
+***Two***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-input.html
new file mode 100644
index 0000000..f08c90c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>  <b>  <i>  [Two]  </i> x </b>  </li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-expected.html
new file mode 100644
index 0000000..3243001
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Two</i></b>
+
+text/plain
+----------
+
+***Two***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-input.html
new file mode 100644
index 0000000..6181306
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-partli08-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>  <b>  <i>  [Two]  </i>  </b> x </li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-expected.html
new file mode 100644
index 0000000..b154e8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-expected.html
@@ -0,0 +1,22 @@
+text/html
+---------
+
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+
+text/plain
+----------
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-input.html
new file mode 100644
index 0000000..0a0a831
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre01-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-expected.html
new file mode 100644
index 0000000..e1b819f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-expected.html
@@ -0,0 +1,38 @@
+text/html
+---------
+
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+
+text/plain
+----------
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-input.html
new file mode 100644
index 0000000..5c843fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre02-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-expected.html
new file mode 100644
index 0000000..2cf64e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-expected.html
@@ -0,0 +1,47 @@
+text/html
+---------
+
+Normal text
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text
+
+text/plain
+----------
+
+Normal text
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }
+
+Normal text
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }
+
+Normal text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-input.html
new file mode 100644
index 0000000..feb4270
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre03-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[Normal text
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-expected.html
new file mode 100644
index 0000000..db704cb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<blockquote>
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+</blockquote>
+
+text/plain
+----------
+
+>     var stop = false;
+>     for (var i = 0; i < 10 && !stop; i++) {
+>         if (i >= 5)
+>             print("Big: "+i);
+>         else
+>             print("Small: "+i);
+>     }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-input.html
new file mode 100644
index 0000000..25fd32d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-expected.html
new file mode 100644
index 0000000..7bc25ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-expected.html
@@ -0,0 +1,30 @@
+text/html
+---------
+
+<blockquote>
+Before code sample
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+After code sample
+</blockquote>
+
+text/plain
+----------
+
+> Before code sample
+
+>     var stop = false;
+>     for (var i = 0; i < 10 && !stop; i++) {
+>         if (i >= 5)
+>             print("Big: "+i);
+>         else
+>             print("Small: "+i);
+>     }
+
+> After code sample

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-input.html
new file mode 100644
index 0000000..c97588e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre05-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+Before code sample
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+After code sample
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-expected.html
new file mode 100644
index 0000000..0c9b67d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-expected.html
@@ -0,0 +1,50 @@
+text/html
+---------
+
+<ul>
+  <li>
+    First code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - First code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }
+
+  - Second code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-input.html
new file mode 100644
index 0000000..3e260d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre06-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    First code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-expected.html
new file mode 100644
index 0000000..03c4f3f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-expected.html
@@ -0,0 +1,50 @@
+text/html
+---------
+
+<ol>
+  <li>
+    First code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ol>
+
+text/plain
+----------
+
+1.  First code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }
+
+2.  Second code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-input.html
new file mode 100644
index 0000000..750097f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre07-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>
+    First code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-expected.html
new file mode 100644
index 0000000..0afb2f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-expected.html
@@ -0,0 +1,56 @@
+text/html
+---------
+
+<ol>
+  <li>
+    First code example:
+    <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+  </li>
+  <li>
+    <ol>
+      <li>
+        Second code example:
+        <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+      </li>
+      <li>
+        Third code example:
+        <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+      </li>
+    </ol>
+  </li>
+  <li>
+    Fourth code example:
+    <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+  </li>
+</ol>
+
+text/plain
+----------
+
+1.  First code example:
+
+        for (var i = 0; i < 10 && !stop; i++)
+           print(i);
+
+2.  1.  Second code example:
+
+            for (var i = 0; i < 10 && !stop; i++)
+               print(i);
+
+    2.  Third code example:
+
+            for (var i = 0; i < 10 && !stop; i++)
+               print(i);
+
+3.  Fourth code example:
+
+        for (var i = 0; i < 10 && !stop; i++)
+           print(i);



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

Posted by ja...@apache.org.
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>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-expected.html
new file mode 100644
index 0000000..10a0e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-input.html
new file mode 100644
index 0000000..be996bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07g-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b>   </b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-input.html
new file mode 100644
index 0000000..20958ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i><u></u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-input.html
new file mode 100644
index 0000000..7463163
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b> <i> <u> </u> </i> </b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-input.html
new file mode 100644
index 0000000..1ddfbcd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b>   <i>   <u>   </u>   </i>   </b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-input.html
new file mode 100644
index 0000000..8dcf531
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b><i><u></u></i></b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-input.html
new file mode 100644
index 0000000..ae8c7cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b><i><u></u></i></b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-input.html
new file mode 100644
index 0000000..c6bfe78
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08f-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b> <i><u></u></i> </b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-input.html
new file mode 100644
index 0000000..0a77988
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08g-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b>   <i><u></u></i>   </b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-input.html
new file mode 100644
index 0000000..56691a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08h-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i> <u></u> </i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-input.html
new file mode 100644
index 0000000..1cae37b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08i-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i>   <u></u>   </i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-input.html
new file mode 100644
index 0000000..f5cde10
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08j-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i><u> </u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-expected.html
new file mode 100644
index 0000000..b07b5c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-input.html
new file mode 100644
index 0000000..d2cec23
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline08k-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>   </u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-expected.html
new file mode 100644
index 0000000..9c9bcb2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e
+      .
+      <a href="http://www.uxproductivity.com/">UX Productivity</a>
+      .
+      t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-input.html
new file mode 100644
index 0000000..fb367e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<a href="http://www.uxproductivity.com/">UX Productivity</a>two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-expected.html
new file mode 100644
index 0000000..ce11962
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <a href="http://www.uxproductivity.com/">UX Productivity</a>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-input.html
new file mode 100644
index 0000000..b352bde
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <a href="http://www.uxproductivity.com/"> UX Productivity </a> two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-expected.html
new file mode 100644
index 0000000..ce11962
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <a href="http://www.uxproductivity.com/">UX Productivity</a>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-input.html
new file mode 100644
index 0000000..27c50c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-link01c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <a href="http://www.uxproductivity.com/">   UX Productivity   </a>   two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-expected.html
new file mode 100644
index 0000000..c6d3c21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.</li>
+      <li>.</li>
+      <li>.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-input.html
new file mode 100644
index 0000000..d77461f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li></li>
+  <li></li>
+  <li></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-expected.html
new file mode 100644
index 0000000..c6d3c21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.</li>
+      <li>.</li>
+      <li>.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-input.html
new file mode 100644
index 0000000..0d87298
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li> </li>
+  <li> </li>
+  <li> </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-expected.html
new file mode 100644
index 0000000..c6d3c21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.</li>
+      <li>.</li>
+      <li>.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-input.html
new file mode 100644
index 0000000..3542745
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list01c-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>   </li>
+  <li>   </li>
+  <li>   </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-expected.html
new file mode 100644
index 0000000..72176e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.o.n.e.</li>
+      <li>.t.w.o.</li>
+      <li>.t.h.r.e.e.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-input.html
new file mode 100644
index 0000000..08c475c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>one</li>
+  <li>two</li>
+  <li>three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-expected.html
new file mode 100644
index 0000000..72176e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.o.n.e.</li>
+      <li>.t.w.o.</li>
+      <li>.t.h.r.e.e.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-input.html
new file mode 100644
index 0000000..1785072
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li> one </li>
+  <li> two </li>
+  <li> three </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-expected.html
new file mode 100644
index 0000000..72176e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.o.n.e.</li>
+      <li>.t.w.o.</li>
+      <li>.t.h.r.e.e.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-input.html
new file mode 100644
index 0000000..fbfbffb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list02c-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>   one   </li>
+  <li>   two   </li>
+  <li>   three   </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-expected.html
new file mode 100644
index 0000000..d27dfed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li><p>.o.n.e.</p></li>
+      <li><p>.t.w.o.</p></li>
+      <li><p>.t.h.r.e.e.</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-input.html
new file mode 100644
index 0000000..64394ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>one</p></li>
+  <li><p>two</p></li>
+  <li><p>three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-expected.html
new file mode 100644
index 0000000..d27dfed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li><p>.o.n.e.</p></li>
+      <li><p>.t.w.o.</p></li>
+      <li><p>.t.h.r.e.e.</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-input.html
new file mode 100644
index 0000000..41f0b9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li> <p> one </p> </li>
+  <li> <p> two </p> </li>
+  <li> <p> three </p> </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-expected.html
new file mode 100644
index 0000000..d27dfed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li><p>.o.n.e.</p></li>
+      <li><p>.t.w.o.</p></li>
+      <li><p>.t.h.r.e.e.</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-input.html
new file mode 100644
index 0000000..09b8f1b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list03c-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>   <p>   one   </p>   </li>
+  <li>   <p>   two   </p>   </li>
+  <li>   <p>   three   </p>   </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-expected.html
new file mode 100644
index 0000000..aa7c6e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-input.html
new file mode 100644
index 0000000..64d5ee6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>one<p>two</p>three</li>
+  <li>one<p>two</p>three</li>
+  <li>one<p>two</p>three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-expected.html
new file mode 100644
index 0000000..aa7c6e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-input.html
new file mode 100644
index 0000000..ed2b2a0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li> one <p> two </p> three </li>
+  <li> one <p> two </p> three </li>
+  <li> one <p> two </p> three </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-expected.html
new file mode 100644
index 0000000..aa7c6e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+      <li>
+        .o.n.e.
+        <p>.t.w.o.</p>
+        .t.h.r.e.e.
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-input.html
new file mode 100644
index 0000000..75fd8ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list04c-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>   one   <p>   two   </p>   three   </li>
+  <li>   one   <p>   two   </p>   three   </li>
+  <li>   one   <p>   two   </p>   three   </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-expected.html
new file mode 100644
index 0000000..4dc8667
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-input.html
new file mode 100644
index 0000000..f8a8f2c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[0];
+    DOM_deleteAllChildren(li);
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-expected.html
new file mode 100644
index 0000000..4dc8667
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-input.html
new file mode 100644
index 0000000..d035e5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05b-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[0];
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-expected.html
new file mode 100644
index 0000000..5fb80a8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.O.n.e.</li>
+      <li>.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-input.html
new file mode 100644
index 0000000..bbd97a0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05c-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[0];
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-expected.html
new file mode 100644
index 0000000..e1d1ddb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.</li>
+      <li>.T.w.o.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-input.html
new file mode 100644
index 0000000..4572aac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05d-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[0];
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li></li>
+  <li>Two</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-expected.html
new file mode 100644
index 0000000..784671d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <ul>
+      <li>.O.n.e.</li>
+      <li>.</li>
+      <li>.T.w.o.</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-input.html
new file mode 100644
index 0000000..7380725
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-list05e-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[0];
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li></li>
+  <li>Two</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-expected.html
new file mode 100644
index 0000000..8e95516
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-input.html
new file mode 100644
index 0000000..38b784e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-expected.html
new file mode 100644
index 0000000..f56b54e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e. .t.w.o.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-input.html
new file mode 100644
index 0000000..1ad8af6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-expected.html
new file mode 100644
index 0000000..ad4bb6b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.   .t.w.o.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-input.html
new file mode 100644
index 0000000..7ccd798
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-expected.html
new file mode 100644
index 0000000..f56b54e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e. .t.w.o.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-input.html
new file mode 100644
index 0000000..069ff4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> one two </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-expected.html
new file mode 100644
index 0000000..ad4bb6b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.   .t.w.o.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-input.html
new file mode 100644
index 0000000..33f5f62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph01e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   one   two   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-expected.html
new file mode 100644
index 0000000..6f5878e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+    <p>.t.w.o.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-input.html
new file mode 100644
index 0000000..7bec397
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one</p>
+<p>two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-expected.html
new file mode 100644
index 0000000..6f5878e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+    <p>.t.w.o.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-input.html
new file mode 100644
index 0000000..4ca5b26
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+
+  
+
+<p>one</p>
+
+  
+
+<p>two</p>
+
+  
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-expected.html
new file mode 100644
index 0000000..eda8cd1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .o.n.e.
+    <p>.t.w.o.</p>
+    .t.h.r.e.e.
+    <p>.f.o.u.r.</p>
+    .f.i.v.e.
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-input.html
new file mode 100644
index 0000000..bd632a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02c-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+
+one
+
+<p>two</p>
+
+three
+
+<p>four</p>
+
+five
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-expected.html
new file mode 100644
index 0000000..dabc77d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <b>.o.n.e.</b>
+    <p>.t.w.o.</p>
+    <b>.t.h.r.e.e.</b>
+    <p>.f.o.u.r.</p>
+    <b>.f.i.v.e.</b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-input.html
new file mode 100644
index 0000000..eee49d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph02d-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+
+<b>one</b>
+
+<p>two</p>
+
+<b>three</b>
+
+<p>four</p>
+
+<b>five</b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-input.html
new file mode 100644
index 0000000..cd15555
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-input.html
new file mode 100644
index 0000000..82747a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-input.html
new file mode 100644
index 0000000..a5b4b84
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-input.html
new file mode 100644
index 0000000..4ebcdee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph03d-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    addEmptyTextNode(document.getElementsByTagName("P")[0]);
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-expected.html
new file mode 100644
index 0000000..8e95516
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-input.html
new file mode 100644
index 0000000..38b784e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-expected.html
new file mode 100644
index 0000000..8e95516
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-input.html
new file mode 100644
index 0000000..1cb2dcd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-expected.html
new file mode 100644
index 0000000..8e95516
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-input.html
new file mode 100644
index 0000000..9302518
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph04c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-expected.html
new file mode 100644
index 0000000..a0df9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-input.html
new file mode 100644
index 0000000..975546e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-expected.html
new file mode 100644
index 0000000..a0df9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-input.html
new file mode 100644
index 0000000..2cc33d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-expected.html
new file mode 100644
index 0000000..a0df9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-input.html
new file mode 100644
index 0000000..ef86ae4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph05c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-expected.html
new file mode 100644
index 0000000..6b6dd9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-input.html
new file mode 100644
index 0000000..16b67f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-expected.html
new file mode 100644
index 0000000..6b6dd9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-input.html
new file mode 100644
index 0000000..7886064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-expected.html
new file mode 100644
index 0000000..6b6dd9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-input.html
new file mode 100644
index 0000000..d97c3e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph06c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one  <br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-expected.html
new file mode 100644
index 0000000..70f9aed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .o.n.e.
+    <p>.t.w.o.</p>
+    .t.h.r.e.e.
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-input.html
new file mode 100644
index 0000000..07efa69
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07a-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>one<p>two</p>three</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-expected.html
new file mode 100644
index 0000000..70f9aed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .o.n.e.
+    <p>.t.w.o.</p>
+    .t.h.r.e.e.
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-input.html
new file mode 100644
index 0000000..c26e642
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07b-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body> one <p> two </p> three </body></html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-input.html
new file mode 100644
index 0000000..030e9fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="color: red; margin-left: 20%">
+  <p style="color: green; margin-right: 15%">
+    <s style="color: blue">
+      <s>
+        <s>One</s>
+        <s>Two</s>
+        <s>Three</s>
+      </s>
+      <s style="color: yellow">
+        <s>Four</s>
+        [<s style="color: black">Five</s>]
+        <s>Six</s>
+      </s>
+    </s>
+    <s>
+      <s>Seven</s>
+      <s>Eight</s>
+      <s>Nine</s>
+    </s>
+  </p>
+  <p>Ten</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-expected.html b/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-expected.html
new file mode 100644
index 0000000..a48249c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-expected.html
@@ -0,0 +1,19 @@
+"|one two three four"   ->   "|one t"           ->   "|one two three four"
+"o|ne two three four"   ->   "o|ne t"           ->   "o|ne two three four"
+"on|e two three four"   ->   "on|e t"           ->   "on|e two three four"
+"one| two three four"   ->   "one| t"           ->   "one| two three four"
+"one |two three four"   ->   "one |t"           ->   "one |two three four"
+"one t|wo three four"   ->   "one t|"           ->   "one t|wo three four"
+"one tw|o three four"   ->   "w|o three four"   ->   "one tw|o three four"
+"one two| three four"   ->   "wo| three four"   ->   "one two| three four"
+"one two |three four"   ->   "wo |three four"   ->   "one two |three four"
+"one two t|hree four"   ->   "wo t|hree four"   ->   "one two t|hree four"
+"one two th|ree four"   ->   "wo th|ree four"   ->   "one two th|ree four"
+"one two thr|ee four"   ->   "wo thr|ee four"   ->   "one two thr|ee four"
+"one two thre|e four"   ->   "wo thre|e four"   ->   "one two thre|e four"
+"one two three| four"   ->   "wo three| four"   ->   "one two three| four"
+"one two three |four"   ->   "wo three |four"   ->   "one two three |four"
+"one two three f|our"   ->   "wo three f|our"   ->   "one two three f|our"
+"one two three fo|ur"   ->   "wo three fo|ur"   ->   "one two three fo|ur"
+"one two three fou|r"   ->   "wo three fou|r"   ->   "one two three fou|r"
+"one two three four|"   ->   "wo three four|"   ->   "one two three four|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-input.html b/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-input.html
new file mode 100644
index 0000000..aa6d29f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/splitTextAfter01-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function pad(str,length)
+{
+    str = ""+str;
+    while (str.length < length)
+        str += " ";
+    return str;
+}
+
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var text1 = ps[0].firstChild;
+
+    var positions = new Array();
+    for (var i = 0; i <= text1.nodeValue.length; i++)
+        positions.push(new Position(text1,i));
+
+    var origStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        origStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        Formatting_splitTextAfter(new Position(text1,5));
+    });
+
+    var movedStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        movedStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        UndoManager_undo();
+    });
+    var undoneStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        undoneStrings.push(positions[i].toString());
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        var extra = "";
+        if (undoneStrings[i] != origStrings[i])
+            extra += " ***";
+        lines.push(origStrings[i]+"   ->   "+
+                   pad(movedStrings[i],16)+"   ->   "+
+                   undoneStrings[i]+extra+"\n");
+    }
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>one two three four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-expected.html b/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-expected.html
new file mode 100644
index 0000000..eef78e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-expected.html
@@ -0,0 +1,19 @@
+"|one two three four"   ->   "|one t"           ->   "|one two three four"
+"o|ne two three four"   ->   "o|ne t"           ->   "o|ne two three four"
+"on|e two three four"   ->   "on|e t"           ->   "on|e two three four"
+"one| two three four"   ->   "one| t"           ->   "one| two three four"
+"one |two three four"   ->   "one |t"           ->   "one |two three four"
+"one t|wo three four"   ->   "|wo three four"   ->   "one t|wo three four"
+"one tw|o three four"   ->   "w|o three four"   ->   "one tw|o three four"
+"one two| three four"   ->   "wo| three four"   ->   "one two| three four"
+"one two |three four"   ->   "wo |three four"   ->   "one two |three four"
+"one two t|hree four"   ->   "wo t|hree four"   ->   "one two t|hree four"
+"one two th|ree four"   ->   "wo th|ree four"   ->   "one two th|ree four"
+"one two thr|ee four"   ->   "wo thr|ee four"   ->   "one two thr|ee four"
+"one two thre|e four"   ->   "wo thre|e four"   ->   "one two thre|e four"
+"one two three| four"   ->   "wo three| four"   ->   "one two three| four"
+"one two three |four"   ->   "wo three |four"   ->   "one two three |four"
+"one two three f|our"   ->   "wo three f|our"   ->   "one two three f|our"
+"one two three fo|ur"   ->   "wo three fo|ur"   ->   "one two three fo|ur"
+"one two three fou|r"   ->   "wo three fou|r"   ->   "one two three fou|r"
+"one two three four|"   ->   "wo three four|"   ->   "one two three four|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-input.html b/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-input.html
new file mode 100644
index 0000000..8802956
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/splitTextBefore01-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function pad(str,length)
+{
+    str = ""+str;
+    while (str.length < length)
+        str += " ";
+    return str;
+}
+
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var text1 = ps[0].firstChild;
+
+    var positions = new Array();
+    for (var i = 0; i <= text1.nodeValue.length; i++)
+        positions.push(new Position(text1,i));
+
+    var origStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        origStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        Formatting_splitTextBefore(new Position(text1,5));
+    });
+
+    var movedStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        movedStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        UndoManager_undo();
+    });
+    var undoneStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        undoneStrings.push(positions[i].toString());
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        var extra = "";
+        if (undoneStrings[i] != origStrings[i])
+            extra += " ***";
+        lines.push(origStrings[i]+"   ->   "+
+                   pad(movedStrings[i],16)+"   ->   "+
+                   undoneStrings[i]+extra+"\n");
+    }
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>one two three four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop01-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop01-expected.html
new file mode 100644
index 0000000..f2a7521
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop01-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop01-input.html
new file mode 100644
index 0000000..72bae88
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>[]</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop01a-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop01a-expected.html
new file mode 100644
index 0000000..a341e6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop01a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1><br/></h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop01a-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop01a-input.html
new file mode 100644
index 0000000..9250221
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop01a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("H1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>[]</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop02-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop02-expected.html
new file mode 100644
index 0000000..9ef2a3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>a</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop02-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop02-input.html
new file mode 100644
index 0000000..c9d3e66
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>a[]</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop03-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop03-expected.html
new file mode 100644
index 0000000..9ef2a3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>a</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop03-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop03-input.html
new file mode 100644
index 0000000..a65975c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>[]a</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop04-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop04-expected.html
new file mode 100644
index 0000000..68f377c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>ab</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop04-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop04-input.html
new file mode 100644
index 0000000..b4bdf7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>a[]b</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop05-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop05-expected.html
new file mode 100644
index 0000000..9ef2a3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>a</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop05-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop05-input.html
new file mode 100644
index 0000000..fe55cca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>[a]</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop06-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop06-expected.html
new file mode 100644
index 0000000..53e060d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop06-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <p><br/></p>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop06-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop06-input.html
new file mode 100644
index 0000000..b7b43e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body><figure>[]</figure></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop07-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop07-expected.html
new file mode 100644
index 0000000..79c288f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop07-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <figcaption><p><br/></p></figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop07-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop07-input.html
new file mode 100644
index 0000000..037ec60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body><figure><figcaption>[]</figcaption></figure></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop08-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop08-expected.html
new file mode 100644
index 0000000..d242935
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop08-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <caption><p><br/></p></caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop08-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop08-input.html
new file mode 100644
index 0000000..17cf3b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop08-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+  <table>
+    <caption>[]</caption>
+    <tr>
+      <td>Cell</td>
+    </tr>
+  </table>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style-nop09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop09-expected.html b/experiments/editorFramework/test/Layer0/formatting/style-nop09-expected.html
new file mode 100644
index 0000000..4829db4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop09-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <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/formatting/style-nop09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style-nop09-input.html b/experiments/editorFramework/test/Layer0/formatting/style-nop09-input.html
new file mode 100644
index 0000000..d9c537b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style-nop09-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+  <table>
+    <tr>
+      <td>[]</td>
+    </tr>
+  </table>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style01-expected.html b/experiments/editorFramework/test/Layer0/formatting/style01-expected.html
new file mode 100644
index 0000000..a42ee80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>Normal</p>
+    <h1>Heading 1</h1>
+    <h2>Heading 2</h2>
+    <h3>Heading 3</h3>
+    <h4>Heading 4</h4>
+    <h5>Heading 5</h5>
+    <h6>Heading 6</h6>
+    <p class="hello">Class "hello"</p>
+    <p>Unchanged (normal)</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style01-input.html b/experiments/editorFramework/test/Layer0/formatting/style01-input.html
new file mode 100644
index 0000000..6f577ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style01-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+
+    // Need to make a copy of this array, because it is "live" and the P elements will disappear
+    // from it as we apply formatting changes, changing them into heading elements
+    var ps = arrayCopy(document.getElementsByTagName("P"));
+
+    selectNode(ps[0]);
+    Formatting_applyFormattingChanges("",null);
+    selectNode(ps[1]);
+    Formatting_applyFormattingChanges("H1",null);
+    selectNode(ps[2]);
+    Formatting_applyFormattingChanges("H2",null);
+    selectNode(ps[3]);
+    Formatting_applyFormattingChanges("H3",null);
+    selectNode(ps[4]);
+    Formatting_applyFormattingChanges("H4",null);
+    selectNode(ps[5]);
+    Formatting_applyFormattingChanges("H5",null);
+    selectNode(ps[6]);
+    Formatting_applyFormattingChanges("H6",null);
+    selectNode(ps[7]);
+    Formatting_applyFormattingChanges(".hello",null);
+    selectNode(ps[8]);
+    Formatting_applyFormattingChanges(null,null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>Normal</p>
+<p>Heading 1</p>
+<p>Heading 2</p>
+<p>Heading 3</p>
+<p>Heading 4</p>
+<p>Heading 5</p>
+<p>Heading 6</p>
+<p>Class "hello"</p>
+<p>Unchanged (normal)</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style02-expected.html b/experiments/editorFramework/test/Layer0/formatting/style02-expected.html
new file mode 100644
index 0000000..840c7f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>Normal</p>
+    <h1>Heading 1</h1>
+    <h2>Heading 2</h2>
+    <h3>Heading 3</h3>
+    <h4>Heading 4</h4>
+    <h5>Heading 5</h5>
+    <h6>Heading 6</h6>
+    <p class="hello">Class "hello"</p>
+    <h1>Unchanged (heading 1)</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style02-input.html b/experiments/editorFramework/test/Layer0/formatting/style02-input.html
new file mode 100644
index 0000000..53b955e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style02-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+
+    // Need to make a copy of this array, because it is "live" and the H1 elements will disappear
+    // from it as we apply formatting changes, changing them into heading elements
+    var h1s = arrayCopy(document.getElementsByTagName("H1"));
+
+    selectNode(h1s[0]);
+    Formatting_applyFormattingChanges("",null);
+    selectNode(h1s[1]);
+    Formatting_applyFormattingChanges("H1",null);
+    selectNode(h1s[2]);
+    Formatting_applyFormattingChanges("H2",null);
+    selectNode(h1s[3]);
+    Formatting_applyFormattingChanges("H3",null);
+    selectNode(h1s[4]);
+    Formatting_applyFormattingChanges("H4",null);
+    selectNode(h1s[5]);
+    Formatting_applyFormattingChanges("H5",null);
+    selectNode(h1s[6]);
+    Formatting_applyFormattingChanges("H6",null);
+    selectNode(h1s[7]);
+    Formatting_applyFormattingChanges(".hello",null);
+    selectNode(h1s[8]);
+    Formatting_applyFormattingChanges(null,null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<h1>Normal</h1>
+<h1>Heading 1</h1>
+<h1>Heading 2</h1>
+<h1>Heading 3</h1>
+<h1>Heading 4</h1>
+<h1>Heading 5</h1>
+<h1>Heading 6</h1>
+<h1>Class "hello"</h1>
+<h1>Unchanged (heading 1)</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style03-expected.html b/experiments/editorFramework/test/Layer0/formatting/style03-expected.html
new file mode 100644
index 0000000..97fd91f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style03-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>Normal</p>
+    <h1>Heading 1</h1>
+    <h2>Heading 2</h2>
+    <h3>Heading 3</h3>
+    <h4>Heading 4</h4>
+    <h5>Heading 5</h5>
+    <h6>Heading 6</h6>
+    <p class="hello">Class "hello"</p>
+    <p class="other">Unchanged (class "other")</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style03-input.html b/experiments/editorFramework/test/Layer0/formatting/style03-input.html
new file mode 100644
index 0000000..4cf5e86
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style03-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+
+    // Need to make a copy of this array, because it is "live" and the P elements will disappear
+    // from it as we apply formatting changes, changing them into heading elements
+    var ps = arrayCopy(document.getElementsByTagName("P"));
+
+    selectNode(ps[0]);
+    Formatting_applyFormattingChanges("",null);
+    selectNode(ps[1]);
+    Formatting_applyFormattingChanges("H1",null);
+    selectNode(ps[2]);
+    Formatting_applyFormattingChanges("H2",null);
+    selectNode(ps[3]);
+    Formatting_applyFormattingChanges("H3",null);
+    selectNode(ps[4]);
+    Formatting_applyFormattingChanges("H4",null);
+    selectNode(ps[5]);
+    Formatting_applyFormattingChanges("H5",null);
+    selectNode(ps[6]);
+    Formatting_applyFormattingChanges("H6",null);
+    selectNode(ps[7]);
+    Formatting_applyFormattingChanges(".hello",null);
+    selectNode(ps[8]);
+    Formatting_applyFormattingChanges(null,null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p class="other">Normal</p>
+<p class="other">Heading 1</p>
+<p class="other">Heading 2</p>
+<p class="other">Heading 3</p>
+<p class="other">Heading 4</p>
+<p class="other">Heading 5</p>
+<p class="other">Heading 6</p>
+<p class="other">Class "hello"</p>
+<p class="other">Unchanged (class "other")</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style04-expected.html b/experiments/editorFramework/test/Layer0/formatting/style04-expected.html
new file mode 100644
index 0000000..159df8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style04-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p align="center" style="color: blue">Normal</p>
+    <h1 align="center" style="color: blue">Heading 1</h1>
+    <h2 align="center" style="color: blue">Heading 2</h2>
+    <h3 align="center" style="color: blue">Heading 3</h3>
+    <h4 align="center" style="color: blue">Heading 4</h4>
+    <h5 align="center" style="color: blue">Heading 5</h5>
+    <h6 align="center" style="color: blue">Heading 6</h6>
+    <p align="center" class="hello" style="color: blue">Class "hello"</p>
+    <p align="center" style="color: blue">Unchanged (normal)</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style04-input.html b/experiments/editorFramework/test/Layer0/formatting/style04-input.html
new file mode 100644
index 0000000..6b3e3f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style04-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+
+    // Need to make a copy of this array, because it is "live" and the P elements will disappear
+    // from it as we apply formatting changes, changing them into heading elements
+    var ps = arrayCopy(document.getElementsByTagName("P"));
+
+    selectNode(ps[0]);
+    Formatting_applyFormattingChanges("",null);
+    selectNode(ps[1]);
+    Formatting_applyFormattingChanges("H1",null);
+    selectNode(ps[2]);
+    Formatting_applyFormattingChanges("H2",null);
+    selectNode(ps[3]);
+    Formatting_applyFormattingChanges("H3",null);
+    selectNode(ps[4]);
+    Formatting_applyFormattingChanges("H4",null);
+    selectNode(ps[5]);
+    Formatting_applyFormattingChanges("H5",null);
+    selectNode(ps[6]);
+    Formatting_applyFormattingChanges("H6",null);
+    selectNode(ps[7]);
+    Formatting_applyFormattingChanges(".hello",null);
+    selectNode(ps[8]);
+    Formatting_applyFormattingChanges(null,null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p align="center" style="color: blue">Normal</p>
+<p align="center" style="color: blue">Heading 1</p>
+<p align="center" style="color: blue">Heading 2</p>
+<p align="center" style="color: blue">Heading 3</p>
+<p align="center" style="color: blue">Heading 4</p>
+<p align="center" style="color: blue">Heading 5</p>
+<p align="center" style="color: blue">Heading 6</p>
+<p align="center" style="color: blue">Class "hello"</p>
+<p align="center" style="color: blue">Unchanged (normal)</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style05-expected.html b/experiments/editorFramework/test/Layer0/formatting/style05-expected.html
new file mode 100644
index 0000000..fdb480d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <h1>Paragraph two</h1>
+    <h1>Paragraph three</h1>
+    <h1>Paragraph four</h1>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style05-input.html b/experiments/editorFramework/test/Layer0/formatting/style05-input.html
new file mode 100644
index 0000000..f8acf24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style05-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Par[agraph two</p>
+<p>Paragraph three</p>
+<p>Paragraph fo]ur</p>
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style06-expected.html b/experiments/editorFramework/test/Layer0/formatting/style06-expected.html
new file mode 100644
index 0000000..452ce51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style06-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <i>
+        Paragraph
+        <u>one</u>
+      </i>
+    </p>
+    <h1>
+      <i>
+        Paragraph
+        <u>two</u>
+      </i>
+    </h1>
+    <h1>
+      <i>
+        Paragraph
+        <u>three</u>
+      </i>
+    </h1>
+    <h1>
+      <i>
+        Paragraph
+        <u>four</u>
+      </i>
+    </h1>
+    <p>
+      <i>
+        Paragraph
+        <u>five</u>
+      </i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style06-input.html b/experiments/editorFramework/test/Layer0/formatting/style06-input.html
new file mode 100644
index 0000000..ba3422c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style06-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p><i>Paragraph <u>one</u></i></p>
+<p><i>Paragraph <u>t[wo</u></i></p>
+<p><i>Paragraph <u>three</u></i></p>
+<p><i>Paragraph <u>fou]r</u></i></p>
+<p><i>Paragraph <u>five</u></i></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style07-expected.html b/experiments/editorFramework/test/Layer0/formatting/style07-expected.html
new file mode 100644
index 0000000..def4a40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Paragraph one</h1>
+    <h1>Paragraph two</h1>
+    <h1>Paragraph three</h1>
+    <h1>Paragraph four</h1>
+    <h1>Paragraph five</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style07-input.html b/experiments/editorFramework/test/Layer0/formatting/style07-input.html
new file mode 100644
index 0000000..a37f865
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style07-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+[<p>Paragraph one</p>
+<p>Paragraph two</p>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+<p>Paragraph five</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style08-expected.html b/experiments/editorFramework/test/Layer0/formatting/style08-expected.html
new file mode 100644
index 0000000..fdb480d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <h1>Paragraph two</h1>
+    <h1>Paragraph three</h1>
+    <h1>Paragraph four</h1>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style08-input.html b/experiments/editorFramework/test/Layer0/formatting/style08-input.html
new file mode 100644
index 0000000..0a4d1fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style08-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+[<p>Paragraph two</p>
+<p>Paragraph three</p>
+<p>Paragraph four</p>]
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style09-expected.html b/experiments/editorFramework/test/Layer0/formatting/style09-expected.html
new file mode 100644
index 0000000..452ce51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style09-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <i>
+        Paragraph
+        <u>one</u>
+      </i>
+    </p>
+    <h1>
+      <i>
+        Paragraph
+        <u>two</u>
+      </i>
+    </h1>
+    <h1>
+      <i>
+        Paragraph
+        <u>three</u>
+      </i>
+    </h1>
+    <h1>
+      <i>
+        Paragraph
+        <u>four</u>
+      </i>
+    </h1>
+    <p>
+      <i>
+        Paragraph
+        <u>five</u>
+      </i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style09-input.html b/experiments/editorFramework/test/Layer0/formatting/style09-input.html
new file mode 100644
index 0000000..2570885
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style09-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p><i>Paragraph <u>one</u></i></p>
+[<p><i>Paragraph <u>two</u></i></p>
+<p><i>Paragraph <u>three</u></i></p>
+<p><i>Paragraph <u>fou]r</u></i></p>
+<p><i>Paragraph <u>five</u></i></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style10-expected.html b/experiments/editorFramework/test/Layer0/formatting/style10-expected.html
new file mode 100644
index 0000000..452ce51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style10-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <i>
+        Paragraph
+        <u>one</u>
+      </i>
+    </p>
+    <h1>
+      <i>
+        Paragraph
+        <u>two</u>
+      </i>
+    </h1>
+    <h1>
+      <i>
+        Paragraph
+        <u>three</u>
+      </i>
+    </h1>
+    <h1>
+      <i>
+        Paragraph
+        <u>four</u>
+      </i>
+    </h1>
+    <p>
+      <i>
+        Paragraph
+        <u>five</u>
+      </i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style10-input.html b/experiments/editorFramework/test/Layer0/formatting/style10-input.html
new file mode 100644
index 0000000..bde1e8a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style10-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p><i>Paragraph <u>one</u></i></p>
+<p><i>Paragraph <u>t[wo</u></i></p>
+<p><i>Paragraph <u>three</u></i></p>
+<p><i>Paragraph <u>four</u></i></p>]
+<p><i>Paragraph <u>five</u></i></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style11-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style11-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style11-nop-expected.html
new file mode 100644
index 0000000..c95b4aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style11-nop-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p class="test">Item one</p></li>
+      <li><p class="test">Item two</p></li>
+      <li><p class="test">Item three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style11-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style11-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style11-nop-input.html
new file mode 100644
index 0000000..a68b915
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style11-nop-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>Item one</li>
+  <li>Item two</li>
+  <li>Item three</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style11-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style11-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style11-p-expected.html
new file mode 100644
index 0000000..c95b4aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style11-p-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p class="test">Item one</p></li>
+      <li><p class="test">Item two</p></li>
+      <li><p class="test">Item three</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style11-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style11-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style11-p-input.html
new file mode 100644
index 0000000..7fbe211
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style11-p-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li><p>Item one</p></li>
+  <li><p>Item two</p></li>
+  <li><p>Item three</p></li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style12-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style12-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style12-nop-expected.html
new file mode 100644
index 0000000..119160b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style12-nop-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Item one</li>
+      <li><p class="test">Item two</p></li>
+      <li><p class="test">Item three</p></li>
+      <li><p class="test">Item four</p></li>
+      <li>Item five</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style12-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style12-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style12-nop-input.html
new file mode 100644
index 0000000..111dc22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style12-nop-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>Item one</li>
+  <li>Item [two</li>
+  <li>Item three</li>
+  <li>Item] four</li>
+  <li>Item five</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style12-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style12-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style12-p-expected.html
new file mode 100644
index 0000000..6d6b164
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style12-p-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>Item one</p></li>
+      <li><p class="test">Item two</p></li>
+      <li><p class="test">Item three</p></li>
+      <li><p class="test">Item four</p></li>
+      <li><p>Item five</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style12-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style12-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style12-p-input.html
new file mode 100644
index 0000000..7ced3a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style12-p-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>Item one</p></li>
+  <li><p>Item [two</p></li>
+  <li><p>Item three</p></li>
+  <li><p>Item] four</p></li>
+  <li><p>Item five</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style13-expected.html b/experiments/editorFramework/test/Layer0/formatting/style13-expected.html
new file mode 100644
index 0000000..a2d6274
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style13-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Item one</li>
+      <li><p class="test">Item two</p></li>
+      <li><p class="test">Item three</p></li>
+      <li><p class="test">Item four</p></li>
+      <li><p class="test">Item five</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style13-input.html b/experiments/editorFramework/test/Layer0/formatting/style13-input.html
new file mode 100644
index 0000000..82750ff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style13-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>Item one</li>
+  <li>Item [two</li>
+  <li>Item three</li>
+  <li>Item four</li>
+  <li>Item five</li>
+</ul>
+]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style14-expected.html b/experiments/editorFramework/test/Layer0/formatting/style14-expected.html
new file mode 100644
index 0000000..a517d03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style14-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p class="test">Item one</p></li>
+      <li><p class="test">Item two</p></li>
+      <li><p class="test">Item three</p></li>
+      <li><p class="test">Item four</p></li>
+      <li>Item five</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style14-input.html b/experiments/editorFramework/test/Layer0/formatting/style14-input.html
new file mode 100644
index 0000000..fd56133
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style14-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>Item one</li>
+  <li>Item two</li>
+  <li>Item three</li>
+  <li>Item] four</li>
+  <li>Item five</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style15-expected.html b/experiments/editorFramework/test/Layer0/formatting/style15-expected.html
new file mode 100644
index 0000000..119160b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style15-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Item one</li>
+      <li><p class="test">Item two</p></li>
+      <li><p class="test">Item three</p></li>
+      <li><p class="test">Item four</p></li>
+      <li>Item five</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style15-input.html b/experiments/editorFramework/test/Layer0/formatting/style15-input.html
new file mode 100644
index 0000000..205ac20
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style15-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>Item one</li>
+  [<li>Item two</li>
+  <li>Item three</li>
+  <li>Item four</li>]
+  <li>Item five</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style16-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style16-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style16-nop-expected.html
new file mode 100644
index 0000000..884cf6d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style16-nop-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p class="test">Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p class="test">One</p></td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p class="test">Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p class="test">Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style16-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style16-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style16-nop-input.html
new file mode 100644
index 0000000..555bc5a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style16-nop-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+[<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Paragraph three</p>]
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style16-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style16-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style16-p-expected.html
new file mode 100644
index 0000000..884cf6d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style16-p-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p class="test">Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p class="test">One</p></td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p class="test">Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p class="test">Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style16-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style16-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style16-p-input.html
new file mode 100644
index 0000000..9a9d56c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style16-p-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+[<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td><p>One</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</table>
+<p>Paragraph three</p>]
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style17-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style17-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style17-nop-expected.html
new file mode 100644
index 0000000..c90eca3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style17-nop-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p class="test">One</p></td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p class="test">Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style17-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style17-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style17-nop-input.html
new file mode 100644
index 0000000..71f821b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style17-nop-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+[<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>]
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style17-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style17-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style17-p-expected.html
new file mode 100644
index 0000000..c90eca3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style17-p-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p class="test">One</p></td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p class="test">Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style17-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style17-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style17-p-input.html
new file mode 100644
index 0000000..1976fc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style17-p-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+[<table border="1">
+  <tr>
+    <td><p>One</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</table>]
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style18-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style18-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style18-nop-expected.html
new file mode 100644
index 0000000..fb6bd1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style18-nop-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p class="test">Four</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Five</p></td>
+          <td><p class="test">Six</p></td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style18-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style18-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style18-nop-input.html
new file mode 100644
index 0000000..a318f41
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style18-nop-input.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // Have to set the selection manually here, since putting in [ and ] is invalid HTML and
+    // WebKit's parser will move the selection to cover the whole table if we do that
+    var table = document.getElementsByTagName("TABLE")[0];
+    var trs = document.getElementsByTagName("TR");
+    var tr1Offset = DOM_nodeOffset(trs[1]);
+    var tr2Offset = DOM_nodeOffset(trs[2]);
+
+    // The table is not the parent of the TRs - the parser automatically inserts a TBODY
+    // between them
+    Selection_set(trs[1].parentNode,tr1Offset,trs[2].parentNode,tr2Offset+1);
+
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+  <tr>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style18-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style18-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style18-p-expected.html
new file mode 100644
index 0000000..648bf50
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style18-p-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p>One</p></td>
+          <td><p>Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p class="test">Four</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Five</p></td>
+          <td><p class="test">Six</p></td>
+        </tr>
+        <tr>
+          <td><p>Seven</p></td>
+          <td><p>Eight</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style18-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style18-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style18-p-input.html
new file mode 100644
index 0000000..787b629
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style18-p-input.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // Have to set the selection manually here, since putting in [ and ] is invalid HTML and
+    // WebKit's parser will move the selection to cover the whole table if we do that
+    var table = document.getElementsByTagName("TABLE")[0];
+    var trs = document.getElementsByTagName("TR");
+    var tr1Offset = DOM_nodeOffset(trs[1]);
+    var tr2Offset = DOM_nodeOffset(trs[2]);
+
+    // The table is not the parent of the TRs - the parser automatically inserts a TBODY
+    // between them
+    Selection_set(trs[1].parentNode,tr1Offset,trs[2].parentNode,tr2Offset+1);
+
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td><p>One</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>Four</p></td>
+  </tr>
+  <tr>
+    <td><p>Five</p></td>
+    <td><p>Six</p></td>
+  </tr>
+  <tr>
+    <td><p>Seven</p></td>
+    <td><p>Eight</p></td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style19-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style19-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style19-nop-expected.html
new file mode 100644
index 0000000..525fb2a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style19-nop-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style19-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style19-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style19-nop-input.html
new file mode 100644
index 0000000..9b2818e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style19-nop-input.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // Have to set the selection manually here, since putting in [ and ] is invalid HTML and
+    // WebKit's parser will move the selection to before the table if we do that
+    var table = document.getElementsByTagName("TABLE")[0];
+    var tds = document.getElementsByTagName("TD");
+    var td1Offset = DOM_nodeOffset(tds[1]);
+    var td2Offset = DOM_nodeOffset(tds[2]);
+
+    Selection_set(tds[1].parentNode,td1Offset,tds[2].parentNode,td2Offset+1);
+
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style19-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style19-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style19-p-expected.html
new file mode 100644
index 0000000..1e5ee8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style19-p-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p>One</p></td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p>Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style19-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style19-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style19-p-input.html
new file mode 100644
index 0000000..98291ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style19-p-input.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // Have to set the selection manually here, since putting in [ and ] is invalid HTML and
+    // WebKit's parser will move the selection to before the table if we do that
+    var table = document.getElementsByTagName("TABLE")[0];
+    var tds = document.getElementsByTagName("TD");
+    var td1Offset = DOM_nodeOffset(tds[1]);
+    var td2Offset = DOM_nodeOffset(tds[2]);
+
+    Selection_set(tds[1].parentNode,td1Offset,tds[2].parentNode,td2Offset+1);
+
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td><p>One</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style20-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style20-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style20-nop-expected.html
new file mode 100644
index 0000000..525fb2a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style20-nop-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style20-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style20-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style20-nop-input.html
new file mode 100644
index 0000000..efb5624
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style20-nop-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>[Two</td>
+  </tr>
+  <tr>
+    <td>Three]</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style20-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style20-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style20-p-expected.html
new file mode 100644
index 0000000..1e5ee8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style20-p-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p>One</p></td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p>Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style20-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style20-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style20-p-input.html
new file mode 100644
index 0000000..d714523
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style20-p-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td><p>One</p></td>
+    <td>[<p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p>]</td>
+    <td><p>Four</p></td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style21-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style21-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style21-nop-expected.html
new file mode 100644
index 0000000..525fb2a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style21-nop-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style21-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style21-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style21-nop-input.html
new file mode 100644
index 0000000..445a0d7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style21-nop-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>T[wo</td>
+  </tr>
+  <tr>
+    <td>Thr]ee</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style21-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style21-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style21-p-expected.html
new file mode 100644
index 0000000..1e5ee8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style21-p-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>Paragraph two</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td><p>One</p></td>
+          <td><p class="test">Two</p></td>
+        </tr>
+        <tr>
+          <td><p class="test">Three</p></td>
+          <td><p>Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Paragraph three</p>
+    <p>Paragraph four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style21-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style21-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style21-p-input.html
new file mode 100644
index 0000000..86116e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style21-p-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph two</p>
+<table border="1">
+  <tr>
+    <td><p>One</p></td>
+    <td><p>T[wo</p></td>
+  </tr>
+  <tr>
+    <td><p>Thr]ee</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</table>
+<p>Paragraph three</p>
+<p>Paragraph four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style22-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style22-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style22-nop-expected.html
new file mode 100644
index 0000000..8fd7237
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style22-nop-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <h1>
+      <i>
+        Paragraph
+        <u>two</u>
+      </i>
+    </h1>
+    <p>Paragraph three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style22-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style22-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style22-nop-input.html
new file mode 100644
index 0000000..fc69997
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style22-nop-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<i>Paragraph <u>t[]wo</u></i>
+<p>Paragraph three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style22-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style22-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style22-p-expected.html
new file mode 100644
index 0000000..8fd7237
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style22-p-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <h1>
+      <i>
+        Paragraph
+        <u>two</u>
+      </i>
+    </h1>
+    <p>Paragraph three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style22-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style22-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style22-p-input.html
new file mode 100644
index 0000000..2b60ba3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style22-p-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p><i>Paragraph <u>t[]wo</u></i></p>
+<p>Paragraph three</p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/index.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/index.js b/experiments/editorFramework/test/Layer0/index.js
new file mode 100644
index 0000000..485397b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/index.js
@@ -0,0 +1,2380 @@
+// This file was generated by genindex.sh
+var tests = [
+  { dir: "autocorrect",
+    files: ["acceptCorrection-undo",
+            "acceptCorrection01",
+            "acceptCorrection02",
+            "acceptCorrection03",
+            "acceptCorrection04",
+            "acceptCorrection05",
+            "changeCorrection01",
+            "changeCorrection02",
+            "correctPrecedingWord01",
+            "removeCorrection01",
+            "removeCorrection02",
+            "removedSpan01",
+            "removedSpan02",
+            "removedSpan03",
+            "replaceCorrection-undo",
+            "replaceCorrection01",
+            "replaceCorrection02",
+            "replaceCorrection03",
+            "replaceCorrection04",
+            "replaceCorrection05",
+            "undo01",
+            "undo02",
+            "undo03",
+            "undo04",
+            "undo05",
+            "undo06"] },
+  { dir: "changetracking",
+    files: ["acceptDel-list01",
+            "acceptDel-list02",
+            "acceptDel-list03",
+            "acceptDel-list04",
+            "acceptDel-list05",
+            "acceptDel-list06",
+            "acceptDel-list07",
+            "acceptDel-list08",
+            "acceptDel-list09",
+            "acceptDel01",
+            "acceptDel02",
+            "acceptDel03",
+            "acceptDel04",
+            "acceptDel05",
+            "acceptDel06",
+            "acceptIns-list01",
+            "acceptIns-list02",
+            "acceptIns-list03",
+            "acceptIns-list04",
+            "acceptIns-list05",
+            "acceptIns-list06",
+            "acceptIns-list07",
+            "acceptIns-list08",
+            "acceptIns-list09",
+            "acceptIns01",
+            "acceptIns02",
+            "acceptIns03",
+            "acceptIns04",
+            "acceptIns05",
+            "acceptIns06"] },
+  { dir: "clipboard",
+    files: ["copy-blockquote01",
+            "copy-blockquote02",
+            "copy-blockquote03",
+            "copy-blockquote04",
+            "copy-blockquote05",
+            "copy-blockquote06",
+            "copy-blockquote07",
+            "copy-blockquote08",
+            "copy-blockquote09",
+            "copy-escaping01",
+            "copy-escaping02",
+            "copy-escaping03",
+            "copy-escaping04",
+            "copy-formatting01a",
+            "copy-formatting01b",
+            "copy-formatting01c",
+            "copy-formatting02a",
+            "copy-formatting02b",
+            "copy-formatting02c",
+            "copy-formatting03a",
+            "copy-formatting03b",
+            "copy-formatting03c",
+            "copy-formatting03d",
+            "copy-formatting03e",
+            "copy-formatting04a",
+            "copy-formatting04b",
+            "copy-formatting04c",
+            "copy-formatting04d",
+            "copy-formatting04e",
+            "copy-formatting05a",
+            "copy-formatting05b",
+            "copy-formatting05c",
+            "copy-formatting06a",
+            "copy-formatting06b",
+            "copy-formatting06c",
+            "copy-formatting06d",
+            "copy-formatting07a",
+            "copy-formatting07b",
+            "copy-formatting07c",
+            "copy-formatting07d",
+            "copy-formatting08a",
+            "copy-formatting08b",
+            "copy-formatting08c",
+            "copy-formatting08d",
+            "copy-formatting08e",
+            "copy-formatting09a",
+            "copy-formatting09b",
+            "copy-formatting09c",
+            "copy-li01",
+            "copy-li02",
+            "copy-li03",
+            "copy-li04",
+            "copy-li05",
+            "copy-link01",
+            "copy-link02",
+            "copy-link03",
+            "copy-link04",
+            "copy-list01",
+            "copy-list02",
+            "copy-list03",
+            "copy-list04",
+            "copy-list05",
+            "copy-list06",
+            "copy-list07",
+            "copy-list08",
+            "copy-list09",
+            "copy-list10",
+            "copy-list11",
+            "copy-list12",
+            "copy-list13",
+            "copy-partli01",
+            "copy-partli02",
+            "copy-partli03",
+            "copy-partli04",
+            "copy-partli05",
+            "copy-partli06",
+            "copy-partli07",
+            "copy-partli08",
+            "copy-pre01",
+            "copy-pre02",
+            "copy-pre03",
+            "copy-pre04",
+            "copy-pre05",
+            "copy-pre06",
+            "copy-pre07",
+            "copy-pre08",
+            "copy01",
+            "copy02",
+            "copy03",
+            "copy04",
+            "copy05",
+            "copy06",
+            "copypaste-list01",
+            "copypaste-list02",
+            "cut-li01",
+            "cut-li02",
+            "cut-li03",
+            "cut-li04",
+            "cut-li05",
+            "cut-li06",
+            "cut-li07",
+            "cut-li08",
+            "cut-li09",
+            "cut-li10",
+            "cut-li11",
+            "cut-li12",
+            "cut-li13",
+            "cut-li14",
+            "cut-li14a",
+            "cut-li15",
+            "cut-li15a",
+            "cut-li16",
+            "cut-li16a",
+            "cut-li17",
+            "cut-li17a",
+            "cut-td01",
+            "cut-td01a",
+            "paste-dupIds01",
+            "paste-dupIds02",
+            "paste-dupIds03",
+            "paste-htmldoc01",
+            "paste-htmldoc02",
+            "paste-invalid01",
+            "paste-invalid02",
+            "paste-invalid03",
+            "paste-invalid04",
+            "paste-invalid05",
+            "paste-invalid06",
+            "paste-invalid07",
+            "paste-invalid08",
+            "paste-invalid09",
+            "paste-invalid10",
+            "paste-li01",
+            "paste-li02",
+            "paste-li03",
+            "paste-li04",
+            "paste-li05",
+            "paste-li06",
+            "paste-li07",
+            "paste-li08",
+            "paste-li09",
+            "paste-li10",
+            "paste-li11",
+            "paste-li12",
+            "paste-li13",
+            "paste-li14",
+            "paste-list01",
+            "paste-list02",
+            "paste-list03",
+            "paste-list04",
+            "paste-list05",
+            "paste-list06",
+            "paste-markdown",
+            "paste-table01",
+            "paste-table02",
+            "paste-table03",
+            "paste-table04",
+            "paste-table05",
+            "paste-table06",
+            "paste-table07",
+            "paste01",
+            "paste02",
+            "paste03",
+            "paste04",
+            "paste05",
+            "pasteText-whitespace01",
+            "preserve-cutpaste01"] },
+  { dir: "cursor",
+    files: ["deleteBeforeParagraph-list01",
+            "deleteBeforeParagraph-list01a",
+            "deleteBeforeParagraph-list02",
+            "deleteBeforeParagraph-list02a",
+            "deleteBeforeParagraph-list03",
+            "deleteBeforeParagraph-list03a",
+            "deleteBeforeParagraph-list04",
+            "deleteBeforeParagraph-list04a",
+            "deleteBeforeParagraph-list05",
+            "deleteBeforeParagraph-list05a",
+            "deleteBeforeParagraph-list06",
+            "deleteBeforeParagraph-list06a",
+            "deleteBeforeParagraph-sublist01",
+            "deleteBeforeParagraph-sublist02",
+            "deleteBeforeParagraph-sublist03",
+            "deleteBeforeParagraph-sublist03a",
+            "deleteBeforeParagraph01",
+            "deleteBeforeParagraph01a",
+            "deleteBeforeParagraph02",
+            "deleteBeforeParagraph02a",
+            "deleteCharacter-caption01",
+            "deleteCharacter-caption02",
+            "deleteCharacter-emoji01",
+            "deleteCharacter-emoji02",
+            "deleteCharacter-emoji03",
+            "deleteCharacter-emoji04",
+            "deleteCharacter-emoji05",
+            "deleteCharacter-emoji06",
+            "deleteCharacter-emoji07",
+            "deleteCharacter-emoji08",
+            "deleteCharacter-endnote01",
+            "deleteCharacter-endnote02",
+            "deleteCharacter-endnote03",
+            "deleteCharacter-endnote04",
+            "deleteCharacter-endnote05",
+            "deleteCharacter-endnote06",
+            "deleteCharacter-endnote07",
+            "deleteCharacter-endnote08",
+            "deleteCharacter-endnote09",
+            "deleteCharacter-endnote10",
+            "deleteCharacter-figcaption01",
+            "deleteCharacter-figcaption02",
+            "deleteCharacter-figcaption03",
+            "deleteCharacter-figcaption04",
+            "deleteCharacter-figure01",
+            "deleteCharacter-figure02",
+            "deleteCharacter-figure03",
+            "deleteCharacter-figure04",
+            "deleteCharacter-footnote01",
+            "deleteCharacter-footnote02",
+            "deleteCharacter-footnote03",
+            "deleteCharacter-footnote04",
+            "deleteCharacter-footnote05",
+            "deleteCharacter-footnote06",
+            "deleteCharacter-footnote07",
+            "deleteCharacter-footnote08",
+            "deleteCharacter-footnote09",
+            "deleteCharacter-footnote10",
+            "deleteCharacter-last01",
+            "deleteCharacter-last02",
+            "deleteCharacter-last03",
+            "deleteCharacter-last03a",
+            "deleteCharacter-last04",
+            "deleteCharacter-last04a",
+            "deleteCharacter-last05",
+            "deleteCharacter-last05a",
+            "deleteCharacter-last06",
+            "deleteCharacter-last06a",
+            "deleteCharacter-last07",
+            "deleteCharacter-last07a",
+            "deleteCharacter-last08",
+            "deleteCharacter-last08a",
+            "deleteCharacter-last09",
+            "deleteCharacter-last09a",
+            "deleteCharacter-last10",
+            "deleteCharacter-last10a",
+            "deleteCharacter-last11",
+            "deleteCharacter-last11a",
+            "deleteCharacter-last13",
+            "deleteCharacter-link01",
+            "deleteCharacter-link02",
+            "deleteCharacter-link03",
+            "deleteCharacter-link04",
+            "deleteCharacter-list01",
+            "deleteCharacter-list02",
+            "deleteCharacter-list03",
+            "deleteCharacter-list04",
+            "deleteCharacter-list05",
+            "deleteCharacter-list06",
+            "deleteCharacter-list07",
+            "deleteCharacter-reference01",
+            "deleteCharacter-reference02",
+            "deleteCharacter-reference03",
+            "deleteCharacter-reference04",
+            "deleteCharacter-table01",
+            "deleteCharacter-table02",
+            "deleteCharacter-table03",
+            "deleteCharacter-table04",
+            "deleteCharacter-tablecaption01",
+            "deleteCharacter-tablecaption02",
+            "deleteCharacter-toc01",
+            "deleteCharacter-toc02",
+            "deleteCharacter-toc03",
+            "deleteCharacter-toc04",
+            "deleteCharacter01",
+            "deleteCharacter02",
+            "deleteCharacter03",
+            "deleteCharacter04",
+            "deleteCharacter04a",
+            "deleteCharacter04b",
+            "deleteCharacter05",
+            "deleteCharacter05a",
+            "deleteCharacter05b",
+            "deleteCharacter06",
+            "deleteCharacter06a",
+            "deleteCharacter06b",
+            "deleteCharacter07",
+            "deleteCharacter07a",
+            "deleteCharacter07b",
+            "deleteCharacter08",
+            "deleteCharacter08a",
+            "deleteCharacter08b",
+            "deleteCharacter09",
+            "deleteCharacter10",
+            "deleteCharacter11",
+            "deleteCharacter12",
+            "deleteCharacter13",
+            "deleteCharacter14",
+            "deleteCharacter15",
+            "deleteCharacter16",
+            "deleteCharacter17",
+            "deleteCharacter18",
+            "deleteCharacter19",
+            "deleteCharacter20",
+            "deleteCharacter21",
+            "deleteCharacter22",
+            "deleteCharacter23",
+            "deleteCharacter24",
+            "doubleSpacePeriod01",
+            "doubleSpacePeriod02",
+            "doubleSpacePeriod03",
+            "doubleSpacePeriod04",
+            "doubleSpacePeriod05",
+            "enter-delete01",
+            "enter-delete02",
+            "enter-delete03",
+            "enterAfterFigure01",
+            "enterAfterFigure02",
+            "enterAfterFigure03",
+            "enterAfterTable01",
+            "enterAfterTable02",
+            "enterAfterTable03",
+            "enterBeforeFigure01",
+            "enterBeforeFigure02",
+            "enterBeforeFigure03",
+            "enterBeforeTable01",
+            "enterBeforeTable02",
+            "enterBeforeTable03",
+            "enterPressed-caption01",
+            "enterPressed-caption02",
+            "enterPressed-emptyContainer01",
+            "enterPressed-emptyContainer01a",
+            "enterPressed-emptyContainer02",
+            "enterPressed-emptyContainer02a",
+            "enterPressed-emptyContainer03",
+            "enterPressed-emptyContainer03a",
+            "enterPressed-emptyContainer04",
+            "enterPressed-emptyContainer04a",
+            "enterPressed-emptyContainer05",
+            "enterPressed-emptyContainer05a",
+            "enterPressed-emptyContainer06",
+            "enterPressed-emptyContainer06a",
+            "enterPressed-emptyContainer07",
+            "enterPressed-emptyContainer07a",
+            "enterPressed-emptyContainer08",
+            "enterPressed-emptyContainer08a",
+            "enterPressed-endnote01",
+            "enterPressed-endnote02",
+            "enterPressed-endnote03",
+            "enterPressed-endnote04",
+            "enterPressed-endnote05",
+            "enterPressed-endnote06",
+            "enterPressed-endnote07",
+            "enterPressed-endnote08",
+            "enterPressed-figcaption01",
+            "enterPressed-figcaption02",
+            "enterPressed-footnote01",
+            "enterPressed-footnote02",
+            "enterPressed-footnote03",
+            "enterPressed-footnote04",
+            "enterPressed-footnote05",
+            "enterPressed-footnote06",
+            "enterPressed-footnote07",
+            "enterPressed-footnote08",
+            "enterPressed-heading01",
+            "enterPressed-heading02",
+            "enterPressed-heading03",
+            "enterPressed-heading04",
+            "enterPressed-heading05",
+            "enterPressed-heading06",
+            "enterPressed-heading07",
+            "enterPressed-heading08",
+            "enterPressed-heading09",
+            "enterPressed-heading10",
+            "enterPressed-heading11",
+            "enterPressed-heading12",
+            "enterPressed-heading13",
+            "enterPressed-list-nop01",
+            "enterPressed-list-nop02",
+            "enterPressed-list-nop03",
+            "enterPressed-list-nop04",
+            "enterPressed-list-nop05",
+            "enterPressed-list-nop06",
+            "enterPressed-list-nop07",
+            "enterPressed-list-nop08",
+            "enterPressed-list01",
+            "enterPressed-list02",
+            "enterPressed-list03",
+            "enterPressed-list04",
+            "enterPressed-list05",
+            "enterPressed-list06",
+            "enterPressed-list07",
+            "enterPressed-list08",
+            "enterPressed-list09",
+            "enterPressed-list10",
+            "enterPressed-list11",
+            "enterPressed-list12",
+            "enterPressed-list13",
+            "enterPressed-list14",
+            "enterPressed-list15",
+            "enterPressed-list16",
+            "enterPressed-list17",
+            "enterPressed-list18",
+            "enterPressed-list19",
+            "enterPressed-list20",
+            "enterPressed-list21",
+            "enterPressed-list22",
+            "enterPressed-list23",
+            "enterPressed-list24",
+            "enterPressed-list25",
+            "enterPressed-list26",
+            "enterPressed-list27",
+            "enterPressed-list28",
+            "enterPressed-list29",
+            "enterPressed-list30",
+            "enterPressed-list31",
+            "enterPressed-list32",
+            "enterPressed-list33",
+            "enterPressed-next01",
+            "enterPressed-next02",
+            "enterPressed-next03",
+            "enterPressed-next04",
+            "enterPressed-next05a",
+            "enterPressed-next05b",
+            "enterPressed-next05c",
+            "enterPressed-next05d",
+            "enterPressed-next05e",
+            "enterPressed-next06",
+            "enterPressed-next07",
+            "enterPressed-next08",
+            "enterPressed-next09",
+            "enterPressed-paragraphClass01",
+            "enterPressed-paragraphClass02",
+            "enterPressed-paragraphClass03",
+            "enterPressed-paragraphClass04",
+            "enterPressed-paragraphClass05",
+            "enterPressed-paragraphClass06",
+            "enterPressed-selection01",
+            "enterPressed-selection02",
+            "enterPressed-selection03",
+            "enterPressed-selection04",
+            "enterPressed01",
+            "enterPressed02",
+            "enterPressed03",
+            "enterPressed04",
+            "enterPressed05",
+            "enterPressed06",
+            "enterPressed07",
+            "enterPressed08",
+            "enterPressed09",
+            "enterPressed10",
+            "enterPressed11",
+            "enterPressed12",
+            "enterPressed13",
+            "enterPressed14",
+            "enterPressed15",
+            "enterPressed16",
+            "enterPressed17",
+            "enterPressed18",
+            "enterPressed19",
+            "enterPressed20",
+            "enterPressed21",
+            "enterPressed22",
+            "enterPressed23",
+            "enterPressed24",
+            "enterPressed25",
+            "enterPressed26",
+            "enterPressed27",
+            "enterPressed28",
+            "enterPressed29",
+            "enterPressed30",
+            "enterPressed31",
+            "enterPressed32",
+            "enterPressed33",
+            "enterPressed34",
+            "enterPressed35",
+            "insertCharacter-caption01",
+            "insertCharacter-caption02",
+            "insertCharacter-dash01",
+            "insertCharacter-dash02",
+            "insertCharacter-dash03",
+            "insertCharacter-dash04",
+            "insertCharacter-empty01",
+            "insertCharacter-empty02",
+            "insertCharacter-empty03",
+            "insertCharacter-empty04",
+            "insertCharacter-empty05",
+            "insertCharacter-empty06",
+            "insertCharacter-empty07",
+            "insertCharacter-empty08",
+            "insertCharacter-empty09",
+            "insertCharacter-empty10",
+            "insertCharacter-empty11",
+            "insertCharacter-figcaption01",
+            "insertCharacter-figcaption02",
+            "insertCharacter-list01",
+            "insertCharacter-list02",
+            "insertCharacter-list03",
+            "insertCharacter-list04",
+            "insertCharacter-list05",
+            "insertCharacter-list06",
+            "insertCharacter-list07",
+            "insertCharacter-list08",
+            "insertCharacter-list09",
+            "insertCharacter-list10",
+            "insertCharacter-quotes01",
+            "insertCharacter-space01",
+            "insertCharacter-space02",
+            "insertCharacter-space03",
+            "insertCharacter-space04",
+            "insertCharacter-space05",
+            "insertCharacter-space06",
+            "insertCharacter-space07",
+            "insertCharacter-space08",
+            "insertCharacter-spchar01",
+            "insertCharacter-spchar02",
+            "insertCharacter-spchar03",
+            "insertCharacter-spchar04",
+            "insertCharacter-table01",
+            "insertCharacter-table02",
+            "insertCharacter-table03",
+            "insertCharacter-table04",
+            "insertCharacter-table05",
+            "insertCharacter-table06",
+            "insertCharacter-table07",
+            "insertCharacter-table08",
+            "insertCharacter-table09",
+            "insertCharacter-table10",
+            "insertCharacter-table11",
+            "insertCharacter-table12",
+            "insertCharacter-table13",
+            "insertCharacter-table14",
+            "insertCharacter-table15",
+            "insertCharacter-toparagraph01",
+            "insertCharacter-toparagraph02",
+            "insertCharacter-toparagraph03",
+            "insertCharacter-toparagraph04",
+            "insertCharacter-toparagraph05",
+            "insertCharacter-toparagraph06",
+            "insertCharacter-toparagraph07",
+            "insertCharacter-toparagraph08",
+            "insertCharacter01",
+            "insertCharacter02",
+            "insertCharacter03",
+            "insertCharacter04",
+            "insertCharacter05",
+            "insertCharacter06",
+            "insertCharacter07",
+            "insertCharacter08",
+            "insertCharacter09",
+            "insertCharacter10",
+            "insertCharacter11",
+            "insertCharacter12",
+            "insertCharacter13",
+            "insertCharacter14",
+            "insertCharacter15",
+            "insertCharacter16",
+            "insertEndnote01",
+            "insertEndnote02",
+            "insertEndnote03",
+            "insertEndnote04",
+            "insertEndnote05",
+            "insertEndnote06",
+            "insertEndnote07",
+            "insertEndnote08",
+            "insertEndnote09",
+            "insertFootnote01",
+            "insertFootnote02",
+            "insertFootnote03",
+            "insertFootnote04",
+            "insertFootnote05",
+            "insertFootnote06",
+            "insertFootnote07",
+            "insertFootnote08",
+            "insertFootnote09",
+            "makeContainerInsertionPoint01",
+            "makeContainerInsertionPoint02a",
+            "makeContainerInsertionPoint02b",
+            "makeContainerInsertionPoint02c",
+            "makeContainerInsertionPoint03a",
+            "makeContainerInsertionPoint03b",
+            "makeContainerInsertionPoint03c",
+            "makeContainerInsertionPoint04",
+            "makeContainerInsertionPoint05a",
+            "makeContainerInsertionPoint05b",
+            "makeContainerInsertionPoint05c",
+            "makeContainerInsertionPoint06",
+            "makeContainerInsertionPoint07",
+            "nbsp01",
+            "nbsp02",
+            "nbsp03",
+            "nbsp04",
+            "nbsp05",
+            "position-br01",
+            "position-br02",
+            "position-br03",
+            "position-br04",
+            "textAfterFigure01",
+            "textAfterFigure02",
+            "textAfterFigure03",
+            "textAfterTable01",
+            "textAfterTable02",
+            "textAfterTable03",
+            "textBeforeFigure01",
+            "textBeforeFigure02",
+            "textBeforeFigure03",
+            "textBeforeTable01",
+            "textBeforeTable02",
+            "textBeforeTable03"] },
+  { dir: "dom",
+    files: ["Position_next",
+            "Position_prev",
+            "Range_getOutermostNodes",
+            "Range_isForward",
+            "avoidInline01",
+            "avoidInline02",
+            "avoidInline03",
+            "avoidInline04",
+            "avoidInline05",
+            "avoidInline06",
+            "avoidInline07",
+            "avoidInline08",
+            "ensureInlineNodesInParagraph01",
+            "ensureInlineNodesInParagraph02",
+            "ensureInlineNodesInParagraph03",
+            "ensureInlineNodesInParagraph04",
+            "ensureInlineNodesInParagraph05",
+            "ensureInlineNodesInParagraph06",
+            "ensureInlineNodesInParagraph07",
+            "ensureInlineNodesInParagraph08",
+            "ensureInlineNodesInParagraph09",
+            "ensureInlineNodesInParagraph10",
+            "ensureInlineNodesInParagraph11",
+            "ensureInlineNodesInParagraph12",
+            "ensureInlineNodesInParagraph13",
+            "ensureInlineNodesInParagraph14",
+            "ensureInlineNodesInParagraph15",
+            "ensureInlineNodesInParagraph16",
+            "ensureValidHierarchy01",
+            "ensureValidHierarchy02",
+            "ensureValidHierarchy03",
+            "ensureValidHierarchy04",
+            "ensureValidHierarchy05",
+            "ensureValidHierarchy06",
+            "ensureValidHierarchy07",
+            "ensureValidHierarchy08",
+            "ensureValidHierarchy09",
+            "ensureValidHierarchy10",
+            "ensureValidHierarchy11",
+            "ensureValidHierarchy12",
+            "mergeWithNeighbours01",
+            "mergeWithNeighbours02",
+            "mergeWithNeighbours03",
+            "mergeWithNeighbours04",
+            "mergeWithNeighbours05",
+            "mergeWithNeighbours06",
+            "mergeWithNeighbours07",
+            "mergeWithNeighbours08",
+            "mergeWithNeighbours09",
+            "mergeWithNeighbours10",
+            "mergeWithNeighbours11",
+            "mergeWithNeighbours12",
+            "mergeWithNeighbours13",
+            "mergeWithNeighbours14",
+            "moveCharacters01",
+            "moveCharacters02",
+            "moveCharacters03",
+            "moveCharacters04",
+            "moveNode01",
+            "moveNode02",
+            "moveNode03",
+            "moveNode04",
+            "moveNode05",
+            "moveNode06",
+            "moveNode07",
+            "moveNode08",
+            "moveNode09",
+            "moveNode10",
+            "moveNode11",
+            "moveNode12",
+            "moveNode13",
+            "moveNode14",
+            "moveNode15",
+            "moveNode16",
+            "moveNode17",
+            "moveNode18",
+            "moveNode19",
+            "moveNode20",
+            "moveNode21",
+            "moveNode22",
+            "moveNode23",
+            "moveNode24",
+            "nextNode01",
+            "nextNode02",
+            "removeNodeButKeepChildren1",
+            "removeNodeButKeepChildren2",
+            "removeNodeButKeepChildren3",
+            "removeNodeButKeepChildren4",
+            "removeNodeButKeepChildren5",
+            "removeNodeButKeepChildren6",
+            "replaceElement01",
+            "replaceElement02",
+            "replaceElement03",
+            "replaceElement04",
+            "replaceElement05",
+            "replaceElement06",
+            "replaceElement07",
+            "replaceElement08",
+            "replaceElement09",
+            "replaceElement10",
+            "splitAroundSelection-endnote01",
+            "splitAroundSelection-endnote02",
+            "splitAroundSelection-endnote03",
+            "splitAroundSelection-footnote01",
+            "splitAroundSelection-footnote02",
+            "splitAroundSelection-footnote03",
+            "splitAroundSelection-nested01",
+            "splitAroundSelection-nested02",
+            "splitAroundSelection-nested03",
+            "splitAroundSelection-nested04",
+            "splitAroundSelection-nested05",
+            "splitAroundSelection-nested06",
+            "splitAroundSelection-nested07",
+            "splitAroundSelection-nested08",
+            "splitAroundSelection-nested09",
+            "splitAroundSelection-nested10",
+            "splitAroundSelection-nested11",
+            "splitAroundSelection-nested12",
+            "splitAroundSelection-nested13",
+            "splitAroundSelection-nested14",
+            "splitAroundSelection-nested15",
+            "splitAroundSelection-nested16",
+            "splitAroundSelection-nested17",
+            "splitAroundSelection-nested18",
+            "splitAroundSelection-nested19",
+            "splitAroundSelection-nested20",
+            "splitAroundSelection-nested21",
+            "splitAroundSelection01",
+            "splitAroundSelection02",
+            "splitAroundSelection03",
+            "splitAroundSelection04",
+            "splitAroundSelection05",
+            "splitAroundSelection06",
+            "splitAroundSelection07",
+            "splitAroundSelection08",
+            "splitAroundSelection09",
+            "splitAroundSelection10",
+            "splitAroundSelection11",
+            "splitAroundSelection12",
+            "splitAroundSelection13",
+            "splitAroundSelection14",
+            "splitAroundSelection15",
+            "splitAroundSelection16",
+            "splitAroundSelection17",
+            "splitAroundSelection18",
+            "splitAroundSelection19",
+            "splitAroundSelection20",
+            "splitAroundSelection21",
+            "splitAroundSelection22",
+            "splitAroundSelection23",
+            "splitAroundSelection24",
+            "stripComments01",
+            "tracking-delete01",
+            "tracking-delete02",
+            "tracking-delete03",
+            "tracking-mergeWithNeighbours01",
+            "tracking-mergeWithNeighbours02",
+            "tracking-moveNode",
+            "tracking-removeNodeButKeepChildren",
+            "tracking-replaceElement",
+            "tracking-text1",
+            "tracking-text2",
+            "tracking-text3",
+            "tracking-text4",
+            "tracking-text5",
+            "tracking-text6",
+            "tracking-text7",
+            "tracking-text8",
+            "tracking-text9",
+            "tracking-wrapNode",
+            "tracking1",
+            "tracking2",
+            "tracking3",
+            "tracking4",
+            "wrapSiblings01",
+            "wrapSiblings02",
+            "wrapSiblings03",
+            "wrapSiblings04"] },
+  { dir: "figures",
+    files: ["getProperties01",
+            "getProperties02",
+            "getProperties03",
+            "getProperties04",
+            "getProperties05",
+            "getProperties06",
+            "getProperties07",
+            "getProperties08",
+            "insertFigure-hierarchy01",
+            "insertFigure-hierarchy02",
+            "insertFigure-hierarchy03",
+            "insertFigure-hierarchy04",
+            "insertFigure-hierarchy05",
+            "insertFigure-hierarchy06",
+            "insertFigure-hierarchy07",
+            "insertFigure-hierarchy08",
+            "insertFigure01",
+            "insertFigure02",
+            "insertFigure03",
+            "insertFigure04",
+            "insertFigure05",
+            "setProperties01",
+            "setProperties02",
+            "setProperties03",
+            "setProperties04"] },
+  { dir: "formatting",
+    files: ["classNames01",
+            "classNames02",
+            "classNames03",
+            "classNames04",
+            "classNames05",
+            "classNames06",
+            "classNames07",
+            "classNames08",
+            "empty01",
+            "empty02",
+            "empty03",
+            "empty04",
+            "empty05",
+            "empty06",
+            "empty07",
+            "empty08",
+            "getFormatting-class01",
+            "getFormatting-class02",
+            "getFormatting-class03",
+            "getFormatting-class04",
+            "getFormatting-class05",
+            "getFormatting-class06",
+            "getFormatting-class07",
+            "getFormatting-class08",
+            "getFormatting-empty01a",
+            "getFormatting-empty01b",
+            "getFormatting-empty02a",
+            "getFormatting-empty02b",
+            "getFormatting-empty03a",
+            "getFormatting-empty03b",
+            "getFormatting-empty04a",
+            "getFormatting-empty04b",
+            "getFormatting-empty05a",
+            "getFormatting-empty05b",
+            "getFormatting-empty06a",
+            "getFormatting-empty06b",
+            "getFormatting-list01",
+            "getFormatting-list02",
+            "getFormatting-list03",
+            "getFormatting-list04",
+            "getFormatting-list05",
+            "getFormatting-list06",
+            "getFormatting-list07",
+            "getFormatting-list08",
+            "getFormatting-list09",
+            "getFormatting-list10",
+            "getFormatting-list11",
+            "getFormatting-list12",
+            "getFormatting-list13",
+            "getFormatting-list14",
+            "getFormatting-list15",
+            "getFormatting-list16",
+            "getFormatting-list17",
+            "getFormatting-list18",
+            "getFormatting-list19",
+            "getFormatting-list20",
+            "getFormatting01",
+            "getFormatting02",
+            "getFormatting03",
+            "getFormatting04",
+            "getFormatting05",
+            "getFormatting06",
+            "getFormatting07",
+            "getFormatting08",
+            "getFormatting09",
+            "getFormatting10",
+            "getFormatting11",
+            "getFormatting12",
+            "indiv01a",
+            "indiv01b",
+            "indiv02a",
+            "indiv02b",
+            "indiv03a",
+            "indiv03b",
+            "inline-change01",
+            "inline-change02",
+            "inline-change03",
+            "inline-change04",
+            "inline-change05",
+            "inline-change06",
+            "inline-change07",
+            "inline-change08",
+            "inline-change09",
+            "inline-change10",
+            "inline-change11",
+            "inline-change12",
+            "inline-change13",
+            "inline-change14",
+            "inline-change15",
+            "inline-change16",
+            "inline-change17",
+            "inline-change18",
+            "inline-change19",
+            "inline-change20",
+            "inline-change21",
+            "inline-change22",
+            "inline-endnote01",
+            "inline-endnote02",
+            "inline-endnote03",
+            "inline-endnote04",
+            "inline-endnote05",
+            "inline-endnote06",
+            "inline-footnote01",
+            "inline-footnote02",
+            "inline-footnote03",
+            "inline-footnote04",
+            "inline-footnote05",
+            "inline-footnote06",
+            "inline-remove01",
+            "inline-remove02",
+            "inline-remove03",
+            "inline-remove04",
+            "inline-remove05",
+            "inline-remove06",
+            "inline-remove07",
+            "inline-remove08",
+            "inline-remove09",
+            "inline-remove10",
+            "inline-remove11",
+            "inline-remove12",
+            "inline-remove13",
+            "inline-remove14",
+            "inline-remove15",
+            "inline-remove16",
+            "inline-remove17",
+            "inline-remove18",
+            "inline-remove19",
+            "inline-remove20",
+            "inline-set01-nop",
+            "inline-set01-outer",
+            "inline-set01-p",
+            "inline-set02-nop",
+            "inline-set02-outer",
+            "inline-set02-p",
+            "inline-set03-nop",
+            "inline-set03-outer",
+            "inline-set03-p",
+            "inline-set04",
+            "inline-set05",
+            "inline-set06",
+            "inline-set07",
+            "inline-set07-outer",
+            "inline-set08",
+            "inline-set08-outer",
+            "justCursor01",
+            "justCursor02",
+            "justCursor03",
+            "justCursor04",
+            "mergeUpwards01",
+            "mergeUpwards02",
+            "mergeUpwards03",
+            "mergeUpwards04",
+            "mergeUpwards05",
+            "mergeUpwards06",
+            "mergeUpwards07",
+            "mergeUpwards08",
+            "paragraph-change01",
+            "paragraph-change02",
+            "paragraph-change03",
+            "paragraph-change04",
+            "paragraph-change05",
+            "paragraph-change06",
+            "paragraph-change07",
+            "paragraph-change08",
+            "paragraph-remove01",
+            "paragraph-remove02",
+            "paragraph-remove03",
+            "paragraph-remove04",
+            "paragraph-remove05",
+            "paragraph-remove06",
+            "paragraph-remove07",
+            "paragraph-remove08",
+            "paragraph-remove09",
+            "paragraph-remove10",
+            "paragraph-set01",
+            "paragraph-set02",
+            "paragraph-set03",
+            "paragraph-set04",
+            "paragraph-set05",
+            "paragraph-set06",
+            "paragraph-set07",
+            "paragraphTextUpToPosition01",
+            "paragraphTextUpToPosition02",
+            "paragraphTextUpToPosition03",
+            "paragraphTextUpToPosition04",
+            "paragraphTextUpToPosition05",
+            "paragraphTextUpToPosition06",
+            "paragraphTextUpToPosition07",
+            "paragraphTextUpToPosition08",
+            "paragraphTextUpToPosition09",
+            "paragraphTextUpToPosition10",
+            "paragraphTextUpToPosition11",
+            "paragraphTextUpToPosition12",
+            "paragraphTextUpToPosition13",
+            "preserveAbstract01a",
+            "preserveAbstract01b",
+            "preserveAbstract02a",
+            "preserveAbstract02b",
+            "preserveAbstract03a",
+            "preserveAbstract03b",
+            "preserveParaProps01",
+            "preserveParaProps02",
+            "preserveParaProps03",
+            "preserveParaProps04",
+            "preserveParaProps05",
+            "preserveParaProps06",
+            "preserveParaProps07",
+            "preserveParaProps08",
+            "preserveParaProps09",
+            "pushDownInlineProperties-structure01",
+            "pushDownInlineProperties-structure02",
+            "pushDownInlineProperties-structure03",
+            "pushDownInlineProperties-structure04",
+            "pushDownInlineProperties-structure05",
+            "pushDownInlineProperties-structure06",
+            "pushDownInlineProperties-structure07",
+            "pushDownInlineProperties-structure08",
+            "pushDownInlineProperties-structure09",
+            "pushDownInlineProperties-structure10",
+            "pushDownInlineProperties-structure11",
+            "pushDownInlineProperties-structure12",
+            "pushDownInlineProperties-structure13",
+            "pushDownInlineProperties-structure14",
+            "pushDownInlineProperties-structure15",
+            "pushDownInlineProperties-structure16",
+            "pushDownInlineProperties-structure17",
+            "pushDownInlineProperties01",
+            "pushDownInlineProperties02",
+            "pushDownInlineProperties03",
+            "pushDownInlineProperties04",
+            "pushDownInlineProperties05",
+            "pushDownInlineProperties06",
+            "pushDownInlineProperties07",
+            "pushDownInlineProperties08",
+            "pushDownInlineProperties09",
+            "pushDownInlineProperties10",
+            "pushDownInlineProperties11",
+            "pushDownInlineProperties12",
+            "pushDownInlineProperties13",
+            "pushDownInlineProperties14",
+            "pushDownInlineProperties15",
+            "pushDownInlineProperties16",
+            "pushDownInlineProperties17",
+            "pushDownInlineProperties18",
+            "pushDownInlineProperties19",
+            "splitTextAfter01",
+            "splitTextBefore01",
+            "style-nop01",
+            "style-nop01a",
+            "style-nop02",
+            "style-nop03",
+            "style-nop04",
+            "style-nop05",
+            "style-nop06",
+            "style-nop07",
+            "style-nop08",
+            "style-nop09",
+            "style01",
+            "style02",
+            "style03",
+            "style04",
+            "style05",
+            "style06",
+            "style07",
+            "style08",
+            "style09",
+            "style10",
+            "style11-nop",
+            "style11-p",
+            "style12-nop",
+            "style12-p",
+            "style13",
+            "style14",
+            "style15",
+            "style16-nop",
+            "style16-p",
+            "style17-nop",
+            "style17-p",
+            "style18-nop",
+            "style18-p",
+            "style19-nop",
+            "style19-p",
+            "style20-nop",
+            "style20-p",
+            "style21-nop",
+            "style21-p",
+            "style22-nop",
+            "style22-p",
+            "style23-nop",
+            "style23-p",
+            "style24"] },
+  { dir: "inline",
+    files: ["unwrap-multiplep3",
+            "unwrap-nop3",
+            "unwrap-singlep3",
+            "wrap-multiplep1",
+            "wrap-multiplep2",
+            "wrap-multiplep3",
+            "wrap-multiplep4",
+            "wrap-multiplep5",
+            "wrap-nop1",
+            "wrap-nop2",
+            "wrap-nop3",
+            "wrap-nop4",
+            "wrap-nop5",
+            "wrap-singlep1",
+            "wrap-singlep2",
+            "wrap-singlep3",
+            "wrap-singlep4",
+            "wrap-singlep5"] },
+  { dir: "input",
+    files: ["moveDown01a",
+            "moveDown01b",
+            "moveDown01c",
+            "moveDown01d",
+            "moveDown02a",
+            "moveDown02b",
+            "moveDown03a",
+            "moveDown03b",
+            "moveDown03c",
+            "moveDown03d",
+            "moveDown04a",
+            "moveDown04b",
+            "moveDown04c",
+            "moveDown04d",
+            "moveDown04e",
+            "moveUp01a",
+            "moveUp01b",
+            "moveUp01c",
+            "moveUp01d",
+            "moveUp02a",
+            "moveUp02b",
+            "moveUp03a",
+            "moveUp03b",
+            "moveUp03c",
+            "moveUp03d",
+            "moveUp04a",
+            "moveUp04b",
+            "moveUp04c",
+            "moveUp04d",
+            "moveUp04e",
+            "positionAtBoundary-line-backward",
+            "positionAtBoundary-line-forward",
+            "positionAtBoundary-paragraph-backward",
+            "positionAtBoundary-paragraph-forward",
+            "positionAtBoundary-word-backward",
+            "positionAtBoundary-word-forward",
+            "positionToBoundary-line-backward",
+            "positionToBoundary-line-forward",
+            "positionToBoundary-paragraph-backward",
+            "positionToBoundary-paragraph-forward",
+            "positionToBoundary-word-backward",
+            "positionToBoundary-word-forward",
+            "positionWithin-line-backward",
+            "positionWithin-line-forward",
+            "positionWithin-paragraph-backward",
+            "positionWithin-paragraph-forward",
+            "positionWithin-word-backward",
+            "positionWithin-word-forward",
+            "rangeEnclosing-line-backward",
+            "rangeEnclosing-line-forward",
+            "rangeEnclosing-paragraph-backward",
+            "rangeEnclosing-paragraph-forward",
+            "rangeEnclosing-word-backward",
+            "rangeEnclosing-word-forward",
+            "replaceRange01",
+            "replaceRange02",
+            "replaceRange03",
+            "replaceRange04",
+            "replaceRange05",
+            "replaceRange06",
+            "replaceRange07",
+            "replaceRange08",
+            "replaceRange09",
+            "replaceRange10"] },
+  { dir: "lists",
+    files: ["clearList01a",
+            "clearList01b",
+            "clearList02a",
+            "clearList02b",
+            "clearList03a",
+            "clearList03b",
+            "clearList04a",
+            "clearList04b",
+            "clearList05a",
+            "clearList05b",
+            "clearList06a",
+            "clearList06b",
+            "clearList07a",
+            "clearList07b",
+            "clearList08a",
+            "clearList08b",
+            "clearList09a",
+            "clearList09b",
+            "clearList10a",
+            "clearList10b",
+            "clearList10c",
+            "clearList10d",
+            "clearList10e",
+            "clearList11a",
+            "clearList11b",
+            "clearList11c",
+            "decrease-flat-tozero01a",
+            "decrease-flat-tozero01b",
+            "decrease-flat-tozero02a",
+            "decrease-flat-tozero02b",
+            "decrease-flat-tozero03a",
+            "decrease-flat-tozero03b",
+            "decrease-flat-tozero04a",
+            "decrease-flat-tozero04b",
+            "decrease-nested-toone01a",
+            "decrease-nested-toone01b",
+            "decrease-nested-toone02a",
+            "decrease-nested-toone02b",
+            "decrease-nested-toone03a",
+            "decrease-nested-toone03b",
+            "decrease-nested-toone04a",
+            "decrease-nested-toone04b",
+            "decrease-nested-toone05a",
+            "decrease-nested-toone05b",
+            "decrease-nested-toone06a",
+            "decrease-nested-toone06b",
+            "decrease-nested-tozero01a",
+            "decrease-nested-tozero01b",
+            "decrease-nested-tozero02a",
+            "decrease-nested-tozero02b",
+            "decrease-nested-tozero03a",
+            "decrease-nested-tozero03b",
+            "decrease-nested-tozero04a",
+            "decrease-nested-tozero04b",
+            "decrease-nested-tozero05a",
+            "decrease-nested-tozero05b",
+            "decrease-nested01a",
+            "decrease-nested01b",
+            "decrease-nested02a",
+            "decrease-nested02b",
+            "decrease-nested03a",
+            "decrease-nested03b",
+            "decrease-nested04a",
+            "decrease-nested04b",
+            "decrease-nested05a",
+            "decrease-nested05b",
+            "decrease-nested06a",
+            "decrease-nested06b",
+            "decrease-nested07a",
+            "decrease-nested07b",
+            "div01a",
+            "div01b",
+            "div02a",
+            "div02b",
+            "div03a",
+            "div03b",
+            "increase-flat01a",
+            "increase-flat01b",
+            "increase-flat02a",
+            "increase-flat02b",
+            "increase-flat03a",
+            "increase-flat03b",
+            "increase-flat04a",
+            "increase-flat04b",
+            "increase-flat05a",
+            "increase-flat05b",
+            "increase-misc01a",
+            "increase-misc01b",
+            "increase-misc02a",
+            "increase-misc02b",
+            "increase-misc03a",
+            "increase-misc03b",
+            "increase-multiple01a",
+            "increase-multiple01b",
+            "increase-multiple02a",
+            "increase-multiple02b",
+            "increase-nested01a",
+            "increase-nested01b",
+            "increase-nested02a",
+            "increase-nested02b",
+            "merge01a",
+            "merge02a",
+            "merge02b",
+            "merge03a",
+            "merge03b",
+            "merge04a",
+            "merge04b",
+            "ol-from-ul-adjacent01a",
+            "ol-from-ul-adjacent01b",
+            "ol-from-ul-adjacent02a",
+            "ol-from-ul-adjacent02b",
+            "ol-from-ul-adjacent03a",
+            "ol-from-ul-adjacent03b",
+            "ol-from-ul01a",
+            "ol-from-ul01b",
+            "ol-from-ul02a",
+            "ol-from-ul02b",
+            "ol-from-ul03a",
+            "ol-from-ul03b",
+            "ol-from-ul04a",
+            "ol-from-ul04b",
+            "ol-from-ul05a",
+            "ol-from-ul05b",
+            "ol-from-ul06a",
+            "ol-from-ul06b",
+            "ol-from-ul07a",
+            "ol-from-ul07b",
+            "ol01",
+            "ol02",
+            "ol03",
+            "ol04",
+            "setList-adjacentLists01",
+            "setList-adjacentLists02",
+            "setList-adjacentLists03",
+            "setList-adjacentLists04",
+            "setList-emptyLIs01",
+            "setList-emptyLIs02",
+            "setList-emptyLIs03",
+            "setList-emptyLIs04",
+            "setList-headings01",
+            "setList-headings02",
+            "setList-headings03",
+            "setList-headings04",
+            "setList-innerp01",
+            "setList-innerp02",
+            "setList-innerp03",
+            "setList-innerp04",
+            "setList-mixed01",
+            "setList-mixed02",
+            "setList-mixed03",
+            "setList-nested01",
+            "setList-nested02",
+            "setList-nested03",
+            "setList-nested04",
+            "setList-nested05",
+            "setList-nested06",
+            "setList-nested07",
+            "setList-nested08",
+            "setList-nop01",
+            "setList-nop02",
+            "setList-nop03",
+            "setList-nop04",
+            "setList-nop05",
+            "setList-paragraphs01",
+            "setList-paragraphs02",
+            "setList-paragraphs03",
+            "setList-paragraphs04",
+            "setList-paragraphs05",
+            "setList-paragraphs06",
+            "setList-paragraphs07",
+            "ul01",
+            "ul02",
+            "ul03",
+            "ul04"] },
+  { dir: "main",
+    files: ["removeSpecial01",
+            "removeSpecial02",
+            "removeSpecial03"] },
+  { dir: "outline",
+    files: ["changeHeadingToParagraph",
+            "changeHeadingType",
+            "deleteSection-inner01",
+            "deleteSection-inner02",
+            "deleteSection-inner03",
+            "deleteSection-nested01",
+            "deleteSection-nested02",
+            "deleteSection-nested03",
+            "deleteSection01",
+            "deleteSection02",
+            "deleteSection03",
+            "discovery01",
+            "discovery02",
+            "discovery03",
+            "discovery04",
+            "discovery05",
+            "discovery06",
+            "discovery07",
+            "discovery08",
+            "discovery09",
+            "discovery10",
+            "heading-editing01",
+            "heading-editing02",
+            "heading-editing03",
+            "heading-editing04",
+            "heading-editing05",
+            "heading-editing06",
+            "heading-editing07",
+            "heading-editing08",
+            "heading-hierarchy01a",
+            "heading-hierarchy01b",
+            "heading-hierarchy01c",
+            "heading-hierarchy02a",
+            "heading-hierarchy02b",
+            "heading-hierarchy02c",
+            "heading-hierarchy03a",
+            "heading-hierarchy03b",
+            "heading-hierarchy03c",
+            "heading-hierarchy04a",
+            "heading-hierarchy04b",
+            "heading-hierarchy04c",
+            "heading-numbering01",
+            "heading-numbering02",
+            "heading-numbering03",
+            "heading-numbering04",
+            "heading-numbering05",
+            "heading-numbering06",
+            "heading-numbering07",
+            "heading-numbering08",
+            "heading-numbering09",
+            "heading-numbering10",
+            "headings01",
+            "headings02",
+            "headings03",
+            "headings04",
+            "headings05",
+            "itemtypes01",
+            "listOfFigures01",
+            "listOfFigures02",
+            "listOfFigures03",
+            "listOfFigures04",
+            "listOfFigures05",
+            "listOfFigures06",
+            "listOfFigures07",
+            "listOfFigures08",
+            "listOfFigures09",
+            "listOfFigures09a",
+            "listOfFigures10",
+            "listOfFigures11",
+            "listOfTables01",
+            "listOfTables02",
+            "listOfTables03",
+            "listOfTables04",
+            "listOfTables05",
+            "listOfTables06",
+            "listOfTables07",
+            "listOfTables08",
+            "listOfTables09",
+            "listOfTables09a",
+            "listOfTables10",
+            "listOfTables11",
+            "moveSection-inner01",
+            "moveSection-inner02",
+            "moveSection-inner03",
+            "moveSection-inner04",
+            "moveSection-inner05",
+            "moveSection-inner06",
+            "moveSection-inner07",
+            "moveSection-inner08",
+            "moveSection-inner09",
+            "moveSection-nested01",
+            "moveSection-nested02",
+            "moveSection-nested03",
+            "moveSection-nested04",
+            "moveSection-nested05",
+            "moveSection-nested06",
+            "moveSection-nested07",
+            "moveSection-nested08",
+            "moveSection-nested09",
+            "moveSection-newparent01",
+            "moveSection-newparent02",
+            "moveSection-newparent03",
+            "moveSection-newparent04",
+            "moveSection-newparent05",
+            "moveSection01",
+            "moveSection02",
+            "moveSection03",
+            "moveSection04",
+            "moveSection05",
+            "moveSection06",
+            "moveSection07",
+            "moveSection08",
+            "moveSection09",
+            "moveSection10",
+            "refTitle-figure01",
+            "refTitle-figure02",
+            "refTitle-figure03",
+            "refTitle-figure04",
+            "refTitle-figure05",
+            "refTitle-figure06",
+            "refTitle-figure07",
+            "refTitle-section01",
+            "refTitle-section02",
+            "refTitle-section03",
+            "refTitle-section04",
+            "refTitle-section05",
+            "refTitle-section06",
+            "refTitle-section07",
+            "refTitle-table01",
+            "refTitle-table02",
+            "refTitle-table03",
+            "refTitle-table04",
+            "refTitle-table05",
+            "refTitle-table06",
+            "refTitle-table07",
+            "refType-figure-numbered",
+            "refType-figure-unnumbered",
+            "refType-section-numbered",
+            "refType-section-unnumbered",
+            "refType-section-unnumbered2",
+            "refType-table-numbered",
+            "refType-table-unnumbered",
+            "reference-insert01",
+            "reference-insert02",
+            "reference-insert03",
+            "reference-static01",
+            "reference-static02",
+            "reference-static03",
+            "reference-update01",
+            "reference-update02",
+            "reference-update03",
+            "reference01",
+            "refsById01",
+            "setNumbered-figure01",
+            "setNumbered-figure02",
+            "setNumbered-figure03",
+            "setNumbered-figure04",
+            "setNumbered-table01",
+            "setNumbered-table02",
+            "setNumbered-table03",
+            "setNumbered-table04",
+            "tableOfContents-insert01",
+            "tableOfContents-insert02",
+            "tableOfContents-insert03",
+            "tableOfContents-insert04",
+            "tableOfContents-insert05",
+            "tableOfContents-insert06",
+            "tableOfContents-insert07",
+            "tableOfContents01",
+            "tableOfContents02",
+            "tableOfContents03",
+            "tableOfContents04",
+            "tableOfContents05",
+            "tableOfContents06",
+            "tableOfContents07",
+            "tableOfContents08",
+            "tableOfContents09",
+            "tableOfContents10",
+            "tableOfContents11",
+            "tocInHeading01",
+            "tocInsert01",
+            "tocInsert02",
+            "tocInsert03"] },
+  { dir: "position",
+    files: ["isValidCursorPosition-afterbr01a",
+            "isValidCursorPosition-afterbr01b",
+            "isValidCursorPosition-afterbr01c",
+            "isValidCursorPosition-afterbr01d",
+            "isValidCursorPosition-afterbr01e",
+            "isValidCursorPosition-afterbr02a",
+            "isValidCursorPosition-afterbr02b",
+            "isValidCursorPosition-afterbr02c",
+            "isValidCursorPosition-afterbr03a",
+            "isValidCursorPosition-afterbr03b",
+            "isValidCursorPosition-afterbr03c",
+            "isValidCursorPosition-afterbr04a",
+            "isValidCursorPosition-afterbr04b",
+            "isValidCursorPosition-afterbr04c",
+            "isValidCursorPosition-body01a",
+            "isValidCursorPosition-body01b",
+            "isValidCursorPosition-body01c",
+            "isValidCursorPosition-body01d",
+            "isValidCursorPosition-body01e",
+            "isValidCursorPosition-body01f",
+            "isValidCursorPosition-body01g",
+            "isValidCursorPosition-caption01a",
+            "isValidCursorPosition-caption01b",
+            "isValidCursorPosition-caption01c",
+            "isValidCursorPosition-endnote01",
+            "isValidCursorPosition-endnote02",
+            "isValidCursorPosition-endnote03",
+            "isValidCursorPosition-endnote04",
+            "isValidCursorPosition-endnote05",
+            "isValidCursorPosition-endnote06",
+            "isValidCursorPosition-endnote07",
+            "isValidCursorPosition-endnote08",
+            "isValidCursorPosition-endnote09",
+            "isValidCursorPosition-endnote10",
+            "isValidCursorPosition-figure01a",
+            "isValidCursorPosition-figure01b",
+            "isValidCursorPosition-figure01c",
+            "isValidCursorPosition-footnote01",
+            "isValidCursorPosition-footnote02",
+            "isValidCursorPosition-footnote03",
+            "isValidCursorPosition-footnote04",
+            "isValidCursorPosition-footnote05",
+            "isValidCursorPosition-footnote06",
+            "isValidCursorPosition-footnote07",
+            "isValidCursorPosition-footnote08",
+            "isValidCursorPosition-footnote09",
+            "isValidCursorPosition-footnote10",
+            "isValidCursorPosition-footnote11",
+            "isValidCursorPosition-footnote12",
+            "isValidCursorPosition-footnote13",
+            "isValidCursorPosition-footnote14",
+            "isValidCursorPosition-heading01a",
+            "isValidCursorPosition-heading01b",
+            "isValidCursorPosition-heading01c",
+            "isValidCursorPosition-image01a",
+            "isValidCursorPosition-image01b",
+            "isValidCursorPosition-image01c",
+            "isValidCursorPosition-image02a",
+            "isValidCursorPosition-image02b",
+            "isValidCursorPosition-image02c",
+            "isValidCursorPosition-image03a",
+            "isValidCursorPosition-image03b",
+            "isValidCursorPosition-image03c",
+            "isValidCursorPosition-image04a",
+            "isValidCursorPosition-image04b",
+            "isValidCursorPosition-image04c",
+            "isValidCursorPosition-inline01a",
+            "isValidCursorPosition-inline01b",
+            "isValidCursorPosition-inline01c",
+            "isValidCursorPosition-inline01d",
+            "isValidCursorPosition-inline01e",
+            "isValidCursorPosition-inline01f",
+            "isValidCursorPosition-inline01g",
+            "isValidCursorPosition-inline02a",
+            "isValidCursorPosition-inline02b",
+            "isValidCursorPosition-inline02c",
+            "isValidCursorPosition-inline02d",
+            "isValidCursorPosition-inline02e",
+            "isValidCursorPosition-inline02f",
+            "isValidCursorPosition-inline02g",
+            "isValidCursorPosition-inline03a",
+            "isValidCursorPosition-inline03b",
+            "isValidCursorPosition-inline03c",
+            "isValidCursorPosition-inline05a",
+            "isValidCursorPosition-inline05b",
+            "isValidCursorPosition-inline05c",
+            "isValidCursorPosition-inline05d",
+            "isValidCursorPosition-inline05e",
+            "isValidCursorPosition-inline05f",
+            "isValidCursorPosition-inline05g",
+            "isValidCursorPosition-inline06a",
+            "isValidCursorPosition-inline06b",
+            "isValidCursorPosition-inline06c",
+            "isValidCursorPosition-inline06d",
+            "isValidCursorPosition-inline06e",
+            "isValidCursorPosition-inline06f",
+            "isValidCursorPosition-inline06g",
+            "isValidCursorPosition-inline06h",
+            "isValidCursorPosition-inline06i",
+            "isValidCursorPosition-inline06j",
+            "isValidCursorPosition-inline06k",
+            "isValidCursorPosition-inline07a",
+            "isValidCursorPosition-inline07b",
+            "isValidCursorPosition-inline07c",
+            "isValidCursorPosition-inline07d",
+            "isValidCursorPosition-inline07e",
+            "isValidCursorPosition-inline07f",
+            "isValidCursorPosition-inline07g",
+            "isValidCursorPosition-inline08a",
+            "isValidCursorPosition-inline08b",
+            "isValidCursorPosition-inline08c",
+            "isValidCursorPosition-inline08d",
+            "isValidCursorPosition-inline08e",
+            "isValidCursorPosition-inline08f",
+            "isValidCursorPosition-inline08g",
+            "isValidCursorPosition-inline08h",
+            "isValidCursorPosition-inline08i",
+            "isValidCursorPosition-inline08j",
+            "isValidCursorPosition-inline08k",
+            "isValidCursorPosition-link01a",
+            "isValidCursorPosition-link01b",
+            "isValidCursorPosition-link01c",
+            "isValidCursorPosition-list01a",
+            "isValidCursorPosition-list01b",
+            "isValidCursorPosition-list01c",
+            "isValidCursorPosition-list02a",
+            "isValidCursorPosition-list02b",
+            "isValidCursorPosition-list02c",
+            "isValidCursorPosition-list03a",
+            "isValidCursorPosition-list03b",
+            "isValidCursorPosition-list03c",
+            "isValidCursorPosition-list04a",
+            "isValidCursorPosition-list04b",
+            "isValidCursorPosition-list04c",
+            "isValidCursorPosition-list05a",
+            "isValidCursorPosition-list05b",
+            "isValidCursorPosition-list05c",
+            "isValidCursorPosition-list05d",
+            "isValidCursorPosition-list05e",
+            "isValidCursorPosition-paragraph01a",
+            "isValidCursorPosition-paragraph01b",
+            "isValidCursorPosition-paragraph01c",
+            "isValidCursorPosition-paragraph01d",
+            "isValidCursorPosition-paragraph01e",
+            "isValidCursorPosition-paragraph02a",
+            "isValidCursorPosition-paragraph02b",
+            "isValidCursorPosition-paragraph02c",
+            "isValidCursorPosition-paragraph02d",
+            "isValidCursorPosition-paragraph03a",
+            "isValidCursorPosition-paragraph03b",
+            "isValidCursorPosition-paragraph03c",
+            "isValidCursorPosition-paragraph03d",
+            "isValidCursorPosition-paragraph04a",
+            "isValidCursorPosition-paragraph04b",
+            "isValidCursorPosition-paragraph04c",
+            "isValidCursorPosition-paragraph05a",
+            "isValidCursorPosition-paragraph05b",
+            "isValidCursorPosition-paragraph05c",
+            "isValidCursorPosition-paragraph06a",
+            "isValidCursorPosition-paragraph06b",
+            "isValidCursorPosition-paragraph06c",
+            "isValidCursorPosition-paragraph07a",
+            "isValidCursorPosition-paragraph07b",
+            "isValidCursorPosition-paragraph07c",
+            "isValidCursorPosition-paragraph08a",
+            "isValidCursorPosition-paragraph08b",
+            "isValidCursorPosition-paragraph08c",
+            "isValidCursorPosition-paragraph08d",
+            "isValidCursorPosition-paragraph08e",
+            "isValidCursorPosition-paragraph08f",
+            "isValidCursorPosition-paragraph08g",
+            "isValidCursorPosition-table01a",
+            "isValidCursorPosition-table01b",
+            "isValidCursorPosition-table01c",
+            "isValidCursorPosition-table01d",
+            "isValidCursorPosition-table01e",
+            "isValidCursorPosition-table01f",
+            "isValidCursorPosition-table02a",
+            "isValidCursorPosition-table02b",
+            "isValidCursorPosition-table02c",
+            "isValidCursorPosition-table03a",
+            "isValidCursorPosition-table03b",
+            "isValidCursorPosition-table03c",
+            "isValidCursorPosition-toc01a"] },
+  { dir: "range",
+    files: ["cloneContents-list01",
+            "cloneContents-list02",
+            "cloneContents-list03",
+            "cloneContents-list04",
+            "cloneContents-list05",
+            "cloneContents-list06",
+            "cloneContents-list07",
+            "cloneContents-list08",
+            "cloneContents-list09",
+            "cloneContents-list10",
+            "cloneContents-list11",
+            "cloneContents01",
+            "cloneContents02",
+            "cloneContents03",
+            "cloneContents04",
+            "cloneContents05",
+            "cloneContents06",
+            "cloneContents07",
+            "cloneContents08",
+            "cloneContents09",
+            "cloneContents10",
+            "cloneContents11",
+            "cloneContents12",
+            "cloneContents13",
+            "cloneContents14",
+            "cloneContents15",
+            "cloneContents16",
+            "cloneContents17",
+            "cloneContents18",
+            "cloneContents19",
+            "cloneContents20",
+            "getText01",
+            "getText02",
+            "getText03",
+            "getText04",
+            "getText05",
+            "getText06",
+            "getText07",
+            "getText08",
+            "getText09",
+            "getText10",
+            "getText11",
+            "getText12",
+            "getText13",
+            "getText14",
+            "getText15",
+            "getText16",
+            "getText17",
+            "getText18",
+            "getText19",
+            "getText20",
+            "getText21",
+            "rangeHasContent01",
+            "rangeHasContent02",
+            "rangeHasContent03",
+            "rangeHasContent04",
+            "rangeHasContent05",
+            "rangeHasContent06",
+            "rangeHasContent07"] },
+  { dir: "scan",
+    files: ["next01",
+            "next02",
+            "next03",
+            "next04",
+            "next05",
+            "next06",
+            "next07",
+            "replaceMatch01",
+            "replaceMatch02",
+            "replaceMatch03",
+            "replaceMatch04",
+            "replaceMatch05",
+            "showMatch01",
+            "showMatch02",
+            "showMatch03",
+            "showMatch04",
+            "showMatch05"] },
+  { dir: "selection",
+    files: ["boundaries-table01",
+            "boundaries-table02",
+            "boundaries-table03",
+            "boundaries-table04",
+            "boundaries-table05",
+            "boundaries-table06",
+            "boundaries-table07",
+            "boundaries-table08",
+            "boundaries-table09",
+            "boundaries-table10",
+            "delete01",
+            "delete02",
+            "delete03",
+            "delete04",
+            "delete05",
+            "deleteContents-list01",
+            "deleteContents-list02",
+            "deleteContents-list03",
+            "deleteContents-list04",
+            "deleteContents-list05",
+            "deleteContents-list06",
+            "deleteContents-list07",
+            "deleteContents-list08",
+            "deleteContents-list09",
+            "deleteContents-list10",
+            "deleteContents-list11",
+            "deleteContents-list12",
+            "deleteContents-list13",
+            "deleteContents-list14",
+            "deleteContents-list15",
+            "deleteContents-list16",
+            "deleteContents-list17",
+            "deleteContents-list18",
+            "deleteContents-list19",
+            "deleteContents-paragraph-span01",
+            "deleteContents-paragraph-span02",
+            "deleteContents-paragraph-span03",
+            "deleteContents-paragraph-span04",
+            "deleteContents-paragraph-span05",
+            "deleteContents-paragraph-span06",
+            "deleteContents-paragraph-span07",
+            "deleteContents-paragraph01",
+            "deleteContents-paragraph02",
+            "deleteContents-paragraph03",
+            "deleteContents-paragraph04",
+            "deleteContents-paragraph05",
+            "deleteContents-paragraph06",
+            "deleteContents-paragraph07",
+            "deleteContents-table01",
+            "deleteContents-table02",
+            "deleteContents-table03",
+            "deleteContents-table04",
+            "deleteContents-table05",
+            "deleteContents-table06",
+            "deleteContents-table07",
+            "deleteContents-table08",
+            "deleteContents-table09",
+            "deleteContents-table10",
+            "deleteContents-table11",
+            "deleteContents-table12",
+            "deleteContents-table13",
+            "deleteContents-table14",
+            "deleteContents-table15",
+            "deleteContents01",
+            "deleteContents02",
+            "deleteContents03",
+            "deleteContents04",
+            "deleteContents05",
+            "deleteContents06",
+            "deleteContents07",
+            "deleteContents08",
+            "deleteContents09",
+            "deleteContents10",
+            "deleteContents11",
+            "deleteContents12",
+            "deleteContents13",
+            "deleteContents14",
+            "deleteContents15",
+            "deleteContents16",
+            "deleteContents17",
+            "deleteContents18",
+            "deleteContents18a",
+            "deleteContents18b",
+            "deleteContents19",
+            "deleteContents19a",
+            "deleteContents19b",
+            "deleteContents20",
+            "deleteContents20a",
+            "deleteContents20b",
+            "deleteContents21",
+            "deleteContents21a",
+            "deleteContents21b",
+            "deleteContents22",
+            "deleteContents22a",
+            "deleteContents22b",
+            "highlights-figure01",
+            "highlights-figure02",
+            "highlights-table01",
+            "highlights-table02",
+            "highlights-table03",
+            "highlights-toc01",
+            "highlights-toc02",
+            "highlights01",
+            "highlights02",
+            "highlights03",
+            "highlights04",
+            "highlights05",
+            "positions-inner01a",
+            "positions-inner01b",
+            "positions-inner02a",
+            "positions-inner02b",
+            "positions-inner03a",
+            "positions-inner03b",
+            "positions-inner04a",
+            "positions-inner04b",
+            "positions-inner05a",
+            "positions-inner05b",
+            "positions-inner06a",
+            "positions-inner06b",
+            "positions-outer01a",
+            "positions-outer01b",
+            "positions-outer02a",
+            "positions-outer02b",
+            "positions-outer03a",
+            "positions-outer03b",
+            "positions-outer04a",
+            "positions-outer04b",
+            "positions-outer05a",
+            "positions-outer05b",
+            "positions-outer06a",
+            "positions-outer06b",
+            "selectAll-from-table01",
+            "selectAll-from-table02",
+            "selectParagraph01",
+            "selectParagraph02",
+            "selectParagraph03",
+            "selectParagraph04",
+            "selectParagraph05",
+            "selectParagraph06",
+            "selectWordAtCursor-figure01",
+            "selectWordAtCursor-figure02",
+            "selectWordAtCursor-table01",
+            "selectWordAtCursor-table02",
+            "selectWordAtCursor01",
+            "selectWordAtCursor02",
+            "selectWordAtCursor03",
+            "selectWordAtCursor04",
+            "selectWordAtCursor05",
+            "selectWordAtCursor06",
+            "selectWordAtCursor07",
+            "selectWordAtCursor08",
+            "selectWordAtCursor09",
+            "selectWordAtCursor10",
+            "selectWordAtCursor11",
+            "selectWordAtCursor12",
+            "selectWordAtCursor13",
+            "selectWordAtCursor14",
+            "tableSelection01"] },
+  { dir: "tables",
+    files: ["addAdjacentColumn01",
+            "addAdjacentColumn02",
+            "addAdjacentColumn03",
+            "addAdjacentColumn04",
+            "addAdjacentColumn05",
+            "addAdjacentColumn06",
+            "addAdjacentColumn07",
+            "addAdjacentColumn08",
+            "addAdjacentColumn09",
+            "addAdjacentColumn10",
+            "addAdjacentColumn11",
+            "addAdjacentColumn12",
+            "addAdjacentColumn13",
+            "addAdjacentColumn14",
+            "addAdjacentColumn15",
+            "addAdjacentColumn16",
+            "addAdjacentColumn17",
+            "addAdjacentColumn18",
+            "addAdjacentColumn19",
+            "addAdjacentColumn20",
+            "addAdjacentRow01",
+            "addAdjacentRow02",
+            "addAdjacentRow03",
+            "addAdjacentRow04",
+            "addAdjacentRow05",
+            "addAdjacentRow06",
+            "addAdjacentRow07",
+            "addAdjacentRow08",
+            "addAdjacentRow09",
+            "addAdjacentRow10",
+            "addAdjacentRow11",
+            "addAdjacentRow12",
+            "addAdjacentRow13",
+            "addAdjacentRow14",
+            "addAdjacentRow15",
+            "addAdjacentRow16",
+            "addAdjacentRow17",
+            "addAdjacentRow18",
+            "addAdjacentRow19",
+            "addAdjacentRow20",
+            "addColElement01",
+            "addColElement02",
+            "addColElement03",
+            "addColElement04",
+            "addColElement05",
+            "addColElement06",
+            "addColElement07",
+            "addColElement08",
+            "addColElement09",
+            "addColElement10",
+            "addColElement11",
+            "addColElement12",
+            "caption-moveLeft",
+            "caption-moveRight",
+            "copy01",
+            "copy02",
+            "copy03",
+            "copy04",
+            "copy05",
+            "copy06",
+            "copy07",
+            "copy08",
+            "copy09",
+            "copy10",
+            "deleteCellContents01",
+            "deleteCellContents02",
+            "deleteCellContents03",
+            "deleteCellContents04",
+            "deleteCellContents05",
+            "deleteCellContents06",
+            "deleteCellContents07",
+            "deleteCellContents08",
+            "deleteCellContents09",
+            "deleteColElements01",
+            "deleteColElements02",
+            "deleteColElements05",
+            "deleteColElements06",
+            "deleteColElements07",
+            "deleteColElements10",
+            "deleteColElements11",
+            "deleteColElements12",
+            "deleteColumns01",
+            "deleteColumns02",
+            "deleteColumns03",
+            "deleteColumns04",
+            "deleteColumns05",
+            "deleteColumns06",
+            "deleteColumns07",
+            "deleteRows01",
+            "deleteRows02",
+            "deleteRows03",
+            "deleteRows04",
+            "deleteRows05",
+            "deleteRows06",
+            "deleteRows07",
+            "fixTable01",
+            "fixTable02",
+            "fixTable03",
+            "fixTable04",
+            "fixTable05",
+            "fixTable06",
+            "fixTable07",
+            "fixTable08",
+            "fixTable09",
+            "fixTable10",
+            "fixTable11",
+            "fixTable12",
+            "fixTable13",
+            "fixTable14",
+            "fixTable15",
+            "formattingInCell01",
+            "formattingInCell02",
+            "getColWidths01",
+            "getColWidths02",
+            "getColWidths03",
+            "getColWidths04",
+            "getColWidths05",
+            "getColWidths06",
+            "getColWidths07",
+            "insertTable-hierarchy01",
+            "insertTable-hierarchy02",
+            "insertTable-hierarchy03",
+            "insertTable-hierarchy04",
+            "insertTable-hierarchy05",
+            "insertTable-hierarchy06",
+            "insertTable-hierarchy07",
+            "insertTable-hierarchy08",
+            "insertTable01",
+            "insertTable02",
+            "insertTable03",
+            "insertTable04",
+            "insertTable05",
+            "insertTable06",
+            "insertTable07",
+            "paste-merged01a",
+            "paste-merged01b",
+            "paste-merged01c",
+            "paste-merged01d",
+            "paste-merged01e",
+            "paste-merged01f",
+            "paste-merged01g",
+            "paste-merged02a",
+            "paste-merged02b",
+            "paste-merged02c",
+            "paste-merged02d",
+            "paste-merged02e",
+            "paste-merged02f",
+            "paste-merged02g",
+            "paste-merged03a",
+            "paste-merged03b",
+            "paste-merged03c",
+            "paste-merged03d",
+            "paste-merged03e",
+            "paste-merged03f",
+            "paste-merged03g",
+            "paste-merged04a",
+            "paste-merged04b",
+            "paste-merged04c",
+            "paste-merged04d",
+            "paste-merged04e",
+            "paste-merged04f",
+            "paste-merged04g",
+            "paste01a",
+            "paste01b",
+            "paste01c",
+            "paste01d",
+            "paste01e",
+            "paste02a",
+            "paste02b",
+            "paste02c",
+            "paste02d",
+            "paste03a",
+            "paste03b",
+            "paste03c",
+            "paste03d",
+            "paste04a",
+            "paste04b",
+            "paste04c",
+            "paste04d",
+            "paste04e",
+            "paste04f",
+            "paste04g",
+            "paste05a",
+            "paste05b",
+            "paste05c",
+            "paste05d",
+            "paste06a",
+            "paste06b",
+            "paste06c",
+            "regionFromRange01",
+            "regionFromRange02",
+            "regionFromRange03",
+            "regionFromRange04",
+            "regionFromRange05",
+            "regionFromRange06",
+            "regionFromRange07",
+            "regionFromRange08",
+            "regionFromRange09",
+            "regionFromRange10",
+            "regionFromRange11",
+            "regionFromRange12",
+            "regionFromRange13",
+            "regionFromRange14",
+            "regionSpan01",
+            "regionSpan02",
+            "regionSpan03",
+            "regionSpan04",
+            "regionSpan05",
+            "regionSpan06",
+            "regionSpan07",
+            "regionSpan08",
+            "regionSpan09",
+            "regionSpan10",
+            "regionSpan11",
+            "regionSpan12",
+            "regionSpan13",
+            "regionSpan14",
+            "regionSpan15",
+            "regionSpan16",
+            "removeAdjacentColumn01inside",
+            "removeAdjacentColumn01right",
+            "removeAdjacentColumn02inside",
+            "removeAdjacentColumn02left",
+            "removeAdjacentColumn02right",
+            "removeAdjacentColumn03inside",
+            "removeAdjacentColumn03left",
+            "removeAdjacentColumn04inside",
+            "removeAdjacentColumn04right",
+            "removeAdjacentColumn05inside",
+            "removeAdjacentColumn05left",
+            "removeAdjacentColumn05right",
+            "removeAdjacentColumn06inside",
+            "removeAdjacentColumn06left",
+            "removeAdjacentColumn07",
+            "removeAdjacentColumn08",
+            "removeAdjacentColumn09",
+            "removeAdjacentColumn10",
+            "removeAdjacentColumn11",
+            "removeAdjacentRow01below",
+            "removeAdjacentRow01inside",
+            "removeAdjacentRow02above",
+            "removeAdjacentRow02below",
+            "removeAdjacentRow02inside",
+            "removeAdjacentRow03above",
+            "removeAdjacentRow03inside",
+            "removeAdjacentRow04below",
+            "removeAdjacentRow04inside",
+            "removeAdjacentRow05above",
+            "removeAdjacentRow05below",
+            "removeAdjacentRow05inside",
+            "removeAdjacentRow06above",
+            "removeAdjacentRow06inside",
+            "removeAdjacentRow07",
+            "removeAdjacentRow08",
+            "removeAdjacentRow09",
+            "removeAdjacentRow10",
+            "removeAdjacentRow11",
+            "setColWidths01",
+            "setColWidths02",
+            "split00a",
+            "split00b",
+            "split00c",
+            "split00d",
+            "split00e",
+            "split00f",
+            "split00g",
+            "split01",
+            "split02",
+            "split03",
+            "split04",
+            "split05",
+            "split05a",
+            "split05b",
+            "split05c",
+            "split06",
+            "split06a",
+            "split07",
+            "split07a",
+            "split07b",
+            "split07c",
+            "split08",
+            "split08a",
+            "split08b",
+            "split09",
+            "split09a",
+            "split09b",
+            "split10",
+            "split10a",
+            "split10b",
+            "split11",
+            "split11a",
+            "split11b",
+            "split11c",
+            "split12"] },
+  { dir: "text",
+    files: ["analyseParagraph-implicit01",
+            "analyseParagraph-implicit02",
+            "analyseParagraph-implicit03",
+            "analyseParagraph01",
+            "analyseParagraph02",
+            "analyseParagraph03"] },
+  { dir: "undo",
+    files: ["addAdjacentColumn",
+            "addAdjacentRow",
+            "cut01",
+            "deleteTOC01",
+            "insertDelete01",
+            "insertDelete02",
+            "insertDelete03",
+            "insertDelete04",
+            "insertDelete05",
+            "insertFigure01",
+            "insertFigure02",
+            "insertFigure03",
+            "insertFigure04",
+            "insertFigure05",
+            "insertHeading01",
+            "insertHeading02",
+            "insertTable01",
+            "insertTable02",
+            "insertTable03",
+            "insertTable04",
+            "insertTable05",
+            "nodeValue01",
+            "nodeValue02",
+            "nodeValue03",
+            "nodeValue04",
+            "nodeValue05",
+            "nodeValue06",
+            "nodeValue07",
+            "outline01",
+            "setAttribute01",
+            "setAttribute02",
+            "setAttribute03",
+            "setAttribute04",
+            "setAttributeNS01",
+            "setAttributeNS02",
+            "setAttributeNS03",
+            "setAttributeNS04",
+            "setStyleProperties01",
+            "setStyleProperties02",
+            "undo01",
+            "undo02",
+            "undo03"] }
+];

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-expected.html b/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-expected.html
new file mode 100644
index 0000000..811f002
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efgh</b>
+      ijklmnopqrstuvwxyz
+    </p>
+    <p>
+      abcdefghijklmnopqr
+      <b>stuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-input.html b/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-input.html
new file mode 100644
index 0000000..7719c63
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/unwrap-multiplep3-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionUnwrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqrstuv</b>wxyz</p>
+<p>abcd<b>efghijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-expected.html b/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-expected.html
new file mode 100644
index 0000000..f6b84f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b>efgh</b>
+    ijklmnopqr
+    <b>stuv</b>
+    wxyz
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-input.html b/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-input.html
new file mode 100644
index 0000000..31271c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/unwrap-nop3-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionUnwrapElement("B");
+}
+</script>
+</head>
+<body>
+abcd<b>efgh[ijklmnopqr]stuv</b>wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-expected.html b/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-expected.html
new file mode 100644
index 0000000..1e138c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efgh</b>
+      ijklmnopqr
+      <b>stuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-input.html b/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-input.html
new file mode 100644
index 0000000..03c7c06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/unwrap-singlep3-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionUnwrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-expected.html
new file mode 100644
index 0000000..4e791e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efghijklmnopqrstuvwxyz</b>
+    </p>
+    <p>
+      <b>abcdefghijklmnopqrstuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed31-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed31-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed31-expected.html
new file mode 100644
index 0000000..665ebaf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed31-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>On</p>
+      <p>[]e</p>
+      <p>Two</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed31-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed31-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed31-input.html
new file mode 100644
index 0000000..77a26e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed31-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div>
+  <p>On[]e</p>
+  <p>Two</p>
+  <p>Three</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed32-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed32-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed32-expected.html
new file mode 100644
index 0000000..e1d92ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed32-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>On</p>
+      <p>[]e</p>
+      <p>Two</p>
+      <p>Three</p>
+    </div>
+    <div>
+      <p>Four</p>
+      <p>Five</p>
+      <p>Six</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed32-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed32-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed32-input.html
new file mode 100644
index 0000000..4bf16c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed32-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div>
+  <p>On[]e</p>
+  <p>Two</p>
+  <p>Three</p>
+</div>
+<div>
+  <p>Four</p>
+  <p>Five</p>
+  <p>Six</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed33-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed33-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed33-expected.html
new file mode 100644
index 0000000..a82a248
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed33-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <p>
+        []
+        <br/>
+      </p>
+      <p>Two</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed33-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed33-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed33-input.html
new file mode 100644
index 0000000..4de2dd0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed33-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div>
+  <p>One[]</p>
+  <p>Two</p>
+  <p>Three</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed34-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed34-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed34-expected.html
new file mode 100644
index 0000000..ebe5f38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed34-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <p>
+        []
+        <br/>
+      </p>
+      <p>Two</p>
+      <p>Three</p>
+    </div>
+    <div>
+      <p>Four</p>
+      <p>Five</p>
+      <p>Six</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed34-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed34-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed34-input.html
new file mode 100644
index 0000000..93d56aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed34-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div>
+  <p>One[]</p>
+  <p>Two</p>
+  <p>Three</p>
+</div>
+<div>
+  <p>Four</p>
+  <p>Five</p>
+  <p>Six</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed35-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed35-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed35-expected.html
new file mode 100644
index 0000000..93c094c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed35-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed35-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed35-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed35-input.html
new file mode 100644
index 0000000..1c35389
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed35-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<p>[Two]</p>
+<p>Three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-expected.html
new file mode 100644
index 0000000..abbcf70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>TestX[]</caption>
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-input.html
new file mode 100644
index 0000000..99952e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption01-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("CAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,4,last,4);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <caption>
+      Table 1: Test
+    </caption>
+    <col width="50%">
+    <col width="50%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-expected.html
new file mode 100644
index 0000000..434a323
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>TesX[]t</caption>
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-input.html
new file mode 100644
index 0000000..1de4e27
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-caption02-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("CAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,3,last,3);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <caption>
+      Table 1: Test
+    </caption>
+    <col width="50%">
+    <col width="50%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-expected.html
new file mode 100644
index 0000000..4a3d3f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Hyphen: Test-[]</p>
+    <p>charCode = 45</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-input.html
new file mode 100644
index 0000000..2672220
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash01-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("-",true);
+    var text = getNodeText(document.body).replace(/\s+$/,"");
+    var charCode = text.charCodeAt(text.length-1);
+    var p = DOM_createElement(document,"P");
+    DOM_appendChild(p,DOM_createTextNode(document,"charCode = "+charCode));
+    DOM_appendChild(document.body,p);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Hyphen: Test[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-expected.html
new file mode 100644
index 0000000..e56ca87
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>En dash: 3–[]</p>
+    <p>charCode = 8211</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-input.html
new file mode 100644
index 0000000..6160915
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("-",true);
+    var text = getNodeText(document.body).replace(/\s+$/,"");
+    var charCode = text.charCodeAt(text.length-1);
+    var p = DOM_createElement(document,"P");
+    DOM_appendChild(p,DOM_createTextNode(document,"charCode = "+charCode));
+    DOM_appendChild(document.body,p);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>En dash: 3[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-expected.html
new file mode 100644
index 0000000..393d898
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Em dash: Test —[]</p>
+    <p>charCode = 8212</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-input.html
new file mode 100644
index 0000000..f5ea661
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ",true);
+    Cursor_insertCharacter("-",true);
+    var text = getNodeText(document.body).replace(/\s+$/,"");
+    var charCode = text.charCodeAt(text.length-1);
+    var p = DOM_createElement(document,"P");
+    DOM_appendChild(p,DOM_createTextNode(document,"charCode = "+charCode));
+    DOM_appendChild(document.body,p);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Em dash: Test[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-expected.html
new file mode 100644
index 0000000..690f325
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>En dash: 3 –[]</p>
+    <p>charCode = 8211</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-input.html
new file mode 100644
index 0000000..62d81f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-dash04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ",true);
+    Cursor_insertCharacter("-",true);
+    var text = getNodeText(document.body).replace(/\s+$/,"");
+    var charCode = text.charCodeAt(text.length-1);
+    var p = DOM_createElement(document,"P");
+    DOM_appendChild(p,DOM_createTextNode(document,"charCode = "+charCode));
+    DOM_appendChild(document.body,p);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>En dash: 3[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-input.html
new file mode 100644
index 0000000..bd02079
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]<p></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-input.html
new file mode 100644
index 0000000..1274890
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-input.html
new file mode 100644
index 0000000..e0f1581
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p></p>[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-input.html
new file mode 100644
index 0000000..94b7158
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-input.html
new file mode 100644
index 0000000..cfc8445
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-input.html
new file mode 100644
index 0000000..1d7e4b0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-input.html
new file mode 100644
index 0000000..6bd86e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-input.html
new file mode 100644
index 0000000..48126b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty08-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = DOM_createTextNode(document,"");
+    DOM_insertBefore(p,text,p.firstChild);
+    Selection_setEmptySelectionAt(text,0);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-input.html
new file mode 100644
index 0000000..9bc1a88
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty09-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = DOM_createTextNode(document,"");
+    DOM_appendChild(p,text);
+    Selection_setEmptySelectionAt(text,0);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-input.html
new file mode 100644
index 0000000..b90ca34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty10-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var br = document.getElementsByTagName("BR")[0];
+    Selection_setEmptySelectionAt(br,0);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-expected.html
new file mode 100644
index 0000000..cd37670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-input.html
new file mode 100644
index 0000000..5ee8a10
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-empty11-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-expected.html
new file mode 100644
index 0000000..251ec5a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png"/>
+      <figcaption>TestX[]</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-input.html
new file mode 100644
index 0000000..4ddb2ff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("FIGCAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,4,last,4);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption>Figure 1: Test</figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-expected.html
new file mode 100644
index 0000000..feb6a58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png"/>
+      <figcaption>TesX[]t</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-input.html
new file mode 100644
index 0000000..1e81518
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-figcaption02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("FIGCAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,3,last,3);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption>Figure 1: Test</figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-expected.html
new file mode 100644
index 0000000..a9ec003
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>X[]One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-input.html
new file mode 100644
index 0000000..4f681f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list01-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-expected.html
new file mode 100644
index 0000000..043de04
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>ThreeX[]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-input.html
new file mode 100644
index 0000000..d7419ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-expected.html
new file mode 100644
index 0000000..a9ec003
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>X[]One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-input.html
new file mode 100644
index 0000000..41236f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  []
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-expected.html
new file mode 100644
index 0000000..8d32bc9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>X[]Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-input.html
new file mode 100644
index 0000000..8cadcde
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  []
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-expected.html
new file mode 100644
index 0000000..043de04
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>ThreeX[]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-input.html
new file mode 100644
index 0000000..02cac2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  []
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-expected.html
new file mode 100644
index 0000000..d278786
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ol>
+      <li>X[]One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-input.html
new file mode 100644
index 0000000..fa77a38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list06-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+[]
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-expected.html
new file mode 100644
index 0000000..b623da5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <p>X[]After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-input.html
new file mode 100644
index 0000000..fb981c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list07-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+[]
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-expected.html
new file mode 100644
index 0000000..d278786
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ol>
+      <li>X[]One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-input.html
new file mode 100644
index 0000000..5cdcb46
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list08-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ol>
+  []
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-expected.html
new file mode 100644
index 0000000..cfa37d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>X[]Three</li>
+    </ol>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-input.html
new file mode 100644
index 0000000..8a74535
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list09-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  []
+  <li>Three</li>
+</ol>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-expected.html
new file mode 100644
index 0000000..b623da5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <p>X[]After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-input.html
new file mode 100644
index 0000000..3905f4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-list10-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  []
+</ol>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-expected.html
new file mode 100644
index 0000000..c76e9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <meta charset="utf-8"/>
+  </head>
+  <body>
+    <p>A 15" “screen”</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-input.html
new file mode 100644
index 0000000..8b2dd72
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-quotes01-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("A");
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter("1");
+    Cursor_insertCharacter("5");
+    Cursor_insertCharacter("“");
+    Cursor_insertCharacter("”");
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter("“");
+    Cursor_insertCharacter("s");
+    Cursor_insertCharacter("c");
+    Cursor_insertCharacter("r");
+    Cursor_insertCharacter("e");
+    Cursor_insertCharacter("e");
+    Cursor_insertCharacter("n");
+    Cursor_insertCharacter("”");
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-expected.html
new file mode 100644
index 0000000..17b4917
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X&nbsp;[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-input.html
new file mode 100644
index 0000000..c2aa8b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-expected.html
new file mode 100644
index 0000000..46a6a7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-input.html
new file mode 100644
index 0000000..b0d9aa9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-expected.html
new file mode 100644
index 0000000..7cea116
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>[]</b>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-input.html
new file mode 100644
index 0000000..742eca2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>[]</b><br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-expected.html
new file mode 100644
index 0000000..c8e8199
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <b/>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-input.html
new file mode 100644
index 0000000..39765f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<b></b><br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-expected.html
new file mode 100644
index 0000000..d7c548c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b/>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-input.html
new file mode 100644
index 0000000..16ad3cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b></b>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-expected.html
new file mode 100644
index 0000000..57afce5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><u>[]</u></i></b>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-input.html
new file mode 100644
index 0000000..cd35e0a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>[]</u></i></b><br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-expected.html
new file mode 100644
index 0000000..0424077
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <b><i><u/></i></b>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-input.html
new file mode 100644
index 0000000..12ffb04
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<b><i><u></u></i></b><br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-expected.html
new file mode 100644
index 0000000..9664dbc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><u/></i></b>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-input.html
new file mode 100644
index 0000000..e3736bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-space08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u></u></i></b>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-expected.html
new file mode 100644
index 0000000..5be3b04
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>{X[]}</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-input.html
new file mode 100644
index 0000000..84b2edd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+    showNonEmptyTextNodes();
+}
+</script>
+</head>
+<body>
+<p> []<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-expected.html
new file mode 100644
index 0000000..31e2180
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b></b>
+      {X[]}
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-input.html
new file mode 100644
index 0000000..c3e6fb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+    showNonEmptyTextNodes();
+}
+</script>
+</head>
+<body>
+<p><b> []</b><br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-expected.html
new file mode 100644
index 0000000..2877945
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>{X[]}</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-input.html
new file mode 100644
index 0000000..40df599
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+    showNonEmptyTextNodes();
+}
+</script>
+</head>
+<body>
+<p> []<b></b><br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-expected.html
new file mode 100644
index 0000000..a94940b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b/>
+      {X[]}
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-input.html
new file mode 100644
index 0000000..502f8d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-spchar04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+    showNonEmptyTextNodes();
+}
+</script>
+</head>
+<body>
+<p><b></b> []<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-expected.html
new file mode 100644
index 0000000..9208e92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]</p>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-input.html
new file mode 100644
index 0000000..3cb1b98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table01-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-expected.html
new file mode 100644
index 0000000..1c435b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-input.html
new file mode 100644
index 0000000..c097f35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table02-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-expected.html
new file mode 100644
index 0000000..696f71d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>X[]One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-input.html
new file mode 100644
index 0000000..e3e7de6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table03-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(trs[0].parentNode,DOM_nodeOffset(trs[0]));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-expected.html
new file mode 100644
index 0000000..4b35fbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>X[]Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-input.html
new file mode 100644
index 0000000..39b72b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table04-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(trs[2].parentNode,DOM_nodeOffset(trs[2]));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-expected.html
new file mode 100644
index 0000000..1c435b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-input.html
new file mode 100644
index 0000000..70b4e0f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table05-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(trs[2].parentNode,DOM_nodeOffset(trs[2])+1);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-expected.html
new file mode 100644
index 0000000..4b35fbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>X[]Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-input.html
new file mode 100644
index 0000000..6d23df0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table06-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(tds[6].parentNode,DOM_nodeOffset(tds[6]));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-expected.html
new file mode 100644
index 0000000..5b97824
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>X[]Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-input.html
new file mode 100644
index 0000000..f033d0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table07-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(tds[8].parentNode,DOM_nodeOffset(tds[8]));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change18-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change18-expected.html
new file mode 100644
index 0000000..6bfae74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change18-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="font-size: 18pt">
+        <s>One</s>
+        <s>Two</s>
+        <s>Three</s>
+      </span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change18-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change18-input.html
new file mode 100644
index 0000000..8edc8c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change18-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <span style="color: blue; font-size: 18pt">
+    [<s>One</s>
+    <s>Two</s>
+    <s>Three</s>]
+  </span>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change19-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change19-expected.html
new file mode 100644
index 0000000..6bfae74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change19-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="font-size: 18pt">
+        <s>One</s>
+        <s>Two</s>
+        <s>Three</s>
+      </span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change19-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change19-input.html
new file mode 100644
index 0000000..7c1262a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change19-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue; font-size: 18pt">
+    <s>One</s>
+    <s>Two</s>
+    <s>Three</s>
+  </span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change20-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change20-expected.html
new file mode 100644
index 0000000..34f708a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change20-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue"><s>One</s></span>
+      <s>Two</s>
+      <span style="color: blue"><s>Three</s></span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change20-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change20-input.html
new file mode 100644
index 0000000..010b3ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change20-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <span style="color: blue">
+    <s>One</s>
+    [<s>Two</s>]
+    <s>Three</s>
+  </span>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change21-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change21-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change21-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change21-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change21-input.html
new file mode 100644
index 0000000..32f5809
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change21-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <span style="color: blue">
+    [<s>One</s>
+    <s>Two</s>
+    <s>Three</s>]
+  </span>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change22-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change22-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change22-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change22-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change22-input.html
new file mode 100644
index 0000000..46495fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change22-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">
+    <s>One</s>
+    <s>Two</s>
+    <s>Three</s>
+  </span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html
new file mode 100644
index 0000000..984c59c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <b>[two]</b>
+      three
+      <span class="endnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html
new file mode 100644
index 0000000..e21130b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="endnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html
new file mode 100644
index 0000000..2d0bd0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span style="color: red">[two]</span>
+      three
+      <span class="endnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html
new file mode 100644
index 0000000..165b67d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="endnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html
new file mode 100644
index 0000000..4c9d6c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">two</span>
+      three
+      <b>[four]</b>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html
new file mode 100644
index 0000000..33244d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html
new file mode 100644
index 0000000..7e25e59
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">two</span>
+      three
+      <span style="color: red">[four]</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html
new file mode 100644
index 0000000..3e965f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html
new file mode 100644
index 0000000..e8e64ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">
+        two
+        <b>[three]</b>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html
new file mode 100644
index 0000000..672d698
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html
new file mode 100644
index 0000000..7b676ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">
+        two
+        <span style="color: red">[three]</span>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html
new file mode 100644
index 0000000..daf5a7d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html
new file mode 100644
index 0000000..407cc39
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <b>[two]</b>
+      three
+      <span class="footnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html
new file mode 100644
index 0000000..50f66fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="footnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html
new file mode 100644
index 0000000..c679c9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span style="color: red">[two]</span>
+      three
+      <span class="footnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html
new file mode 100644
index 0000000..7bf7ee4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="footnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html
new file mode 100644
index 0000000..2aa73ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">two</span>
+      three
+      <b>[four]</b>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html
new file mode 100644
index 0000000..6fe6601
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html
new file mode 100644
index 0000000..b1ef955
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">two</span>
+      three
+      <span style="color: red">[four]</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html
new file mode 100644
index 0000000..23f07d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html
new file mode 100644
index 0000000..91a8092
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">
+        two
+        <b>[three]</b>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html
new file mode 100644
index 0000000..2b45eac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html
new file mode 100644
index 0000000..9ecb197
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">
+        two
+        <span style="color: red">[three]</span>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html
new file mode 100644
index 0000000..b19e110
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove01-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove01-expected.html
new file mode 100644
index 0000000..b51a95a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s>Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove01-input.html
new file mode 100644
index 0000000..1d7493b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue">Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html
new file mode 100644
index 0000000..2c9f2b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="font-size: 18pt">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove02-input.html
new file mode 100644
index 0000000..7880b64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue; font-size: 18pt">Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove03-expected.html
new file mode 100644
index 0000000..db55ec6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text</s>
+      <s style="color: blue">Text</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove03-input.html
new file mode 100644
index 0000000..6bf9287
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  [<s>Text</s>]
+  <s>Text</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove04-expected.html
new file mode 100644
index 0000000..2f15273
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 5%">
+      <s style="font-size: 18pt">Text</s>
+      <s style="color: blue; font-size: 18pt">Text</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove04-input.html
new file mode 100644
index 0000000..952b7b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p style="color: blue; font-size: 18pt; margin-left: 5%">
+  [<s>Text</s>]
+  <s>Text</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html
new file mode 100644
index 0000000..fd43031
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: blue">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove05-input.html
new file mode 100644
index 0000000..f70f5f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-size": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue">Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html
new file mode 100644
index 0000000..39d4589
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><s>Text</s></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove06-input.html
new file mode 100644
index 0000000..969ccca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<b><s>Text</s></b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html
new file mode 100644
index 0000000..b6836e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><i><s>Text</s></i></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove07-input.html
new file mode 100644
index 0000000..f15e549
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<i><s>Text</s></i>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html
new file mode 100644
index 0000000..5e43b82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><u><s>Text</s></u></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove08-input.html
new file mode 100644
index 0000000..789c96d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<u><s>Text</s></u>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html
new file mode 100644
index 0000000..06d2712
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s><s>Text</s></s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove09-input.html
new file mode 100644
index 0000000..6602c3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove09-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null,
+                                 "font-style": null,
+                                 "text-decoration": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s><b><i><u><s>Text</s></u></i></b></s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html
new file mode 100644
index 0000000..26b646b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><span style="font-size: 18pt">Text</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove10-input.html
new file mode 100644
index 0000000..cc58a97
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove10-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue; font-size: 18pt">Text</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html
new file mode 100644
index 0000000..77761d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove11-input.html
new file mode 100644
index 0000000..8228361
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove11-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">Text</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html
new file mode 100644
index 0000000..77761d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove12-input.html
new file mode 100644
index 0000000..0c73cda
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove12-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null,
+                                 "font-weight": null,
+                                 "font-style": null,
+                                 "text-decoration": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue"><b><i><u>Text</u></i></b></span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove13-expected.html
new file mode 100644
index 0000000..5bd2cf9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove13-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <b><s>Text2</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove13-input.html
new file mode 100644
index 0000000..792ad0d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove13-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>[Text1]</s>
+    <s>Text2</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove14-expected.html
new file mode 100644
index 0000000..5bd2cf9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove14-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <b><s>Text2</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove14-input.html
new file mode 100644
index 0000000..de17d82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove14-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>]
+    <s>Text2</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove15-expected.html
new file mode 100644
index 0000000..835e78c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove15-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>Text1</s></b>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove15-input.html
new file mode 100644
index 0000000..0fe01c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove15-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>Text1</s>
+    <s>[Text2]</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove16-expected.html
new file mode 100644
index 0000000..835e78c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove16-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>Text1</s></b>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove16-input.html
new file mode 100644
index 0000000..faa8108
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove16-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>Text1</s>
+    [<s>Text2</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove17-expected.html
new file mode 100644
index 0000000..dfbeb29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove17-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove17-input.html
new file mode 100644
index 0000000..6629cd9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove17-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>
+    <s>Text2</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove18-expected.html
new file mode 100644
index 0000000..dfbeb29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove18-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove18-input.html
new file mode 100644
index 0000000..3bc0753
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove18-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<b>
+    <s>Text1</s>
+    <s>Text2</s>
+  </b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove19-expected.html
new file mode 100644
index 0000000..9dd20dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove19-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <s>Text1</s>
+    <s>Text2</s>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove19-input.html
new file mode 100644
index 0000000..ef86ad6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove19-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+[<b>
+  <s>Text1</s>
+  <s>Text2</s>
+</b>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove20-expected.html
new file mode 100644
index 0000000..02b1fe3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove20-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <s>Text1</s>
+    <b><s>Text2</s></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove20-input.html
new file mode 100644
index 0000000..cc99025
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove20-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<b>
+  <s>[Text1]</s>
+  <s>Text2</s>
+</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html
new file mode 100644
index 0000000..e09a322
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <span style="color: blue; font-size: 12pt">Sample text</span>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-input.html
new file mode 100644
index 0000000..9eb3d5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-input.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>[Sample text]</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html
new file mode 100644
index 0000000..e0e0797
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: blue; font-size: 12pt">Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-input.html
new file mode 100644
index 0000000..7b60ce1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+[<p>Sample text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html
new file mode 100644
index 0000000..e0e0797
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: blue; font-size: 12pt">Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-input.html
new file mode 100644
index 0000000..e3145ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-expected.html
new file mode 100644
index 0000000..fc4538a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <span style="color: blue; font-size: 12pt">Sample</span>
+    text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-input.html
new file mode 100644
index 0000000..04d9763
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-input.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>[Sample] text</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-expected.html
new file mode 100644
index 0000000..70c7b70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 12pt">Sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-input.html
new file mode 100644
index 0000000..5649a80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+[<p>Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-expected.html
new file mode 100644
index 0000000..70c7b70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 12pt">Sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-input.html
new file mode 100644
index 0000000..3843d34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>[Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html
new file mode 100644
index 0000000..48755bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <b>Sample text</b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-input.html
new file mode 100644
index 0000000..c804aa5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+}
+</script>
+</head>
+<body>
+[Sample text]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html
new file mode 100644
index 0000000..d79a0f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-input.html
new file mode 100644
index 0000000..34753d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+}
+</script>
+</head>
+<body>
+[<p>Sample text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html
new file mode 100644
index 0000000..d79a0f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-input.html
new file mode 100644
index 0000000..8b17623
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html
new file mode 100644
index 0000000..300d365
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample text</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set04-input.html
new file mode 100644
index 0000000..b2bb225
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set05-expected.html
new file mode 100644
index 0000000..eb10a69
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><u>Sample</u></i></b>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set05-input.html
new file mode 100644
index 0000000..93528ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>[Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set06-expected.html
new file mode 100644
index 0000000..a94c4ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set06-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 12pt"><b><i><u>Sample</u></i></b></span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set06-input.html
new file mode 100644
index 0000000..2d20e73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue",
+                                 "font-size": "12pt",
+                                 "font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>[Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-expected.html
new file mode 100644
index 0000000..593a93f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set07-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>
+      Paragraph
+      <span style="color: blue; font-size: 12pt">two</span>
+    </p>
+    <p style="color: blue; font-size: 12pt">Paragraph three</p>
+    <p>
+      <span style="color: blue; font-size: 12pt">Paragraph</span>
+      four
+    </p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-input.html
new file mode 100644
index 0000000..a8a3db9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph [two</p>
+<p>Paragraph three</p>
+<p>Paragraph] four</p>
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-expected.html
new file mode 100644
index 0000000..48e5574
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p style="color: blue; font-size: 12pt">Paragraph two</p>
+    <p style="color: blue; font-size: 12pt">Paragraph three</p>
+    <p style="color: blue; font-size: 12pt">Paragraph four</p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-input.html
new file mode 100644
index 0000000..006f9e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+[<p>Paragraph two</p>
+<p>Paragraph three</p>
+<p>Paragraph four</p>]
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-expected.html
new file mode 100644
index 0000000..db8085f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set08-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>
+      Paragraph
+      <span style="color: blue; font-size: 12pt"><b><i><u>two</u></i></b></span>
+    </p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph three</u></i></b></p>
+    <p>
+      <span style="color: blue; font-size: 12pt"><b><i><u>Paragraph</u></i></b></span>
+      four
+    </p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-input.html
new file mode 100644
index 0000000..665db73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set08-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue",
+                                 "font-size": "12pt",
+                                 "font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph [two</p>
+<p>Paragraph three</p>
+<p>Paragraph] four</p>
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-expected.html
new file mode 100644
index 0000000..de7f49d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph two</u></i></b></p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph three</u></i></b></p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph four</u></i></b></p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-input.html
new file mode 100644
index 0000000..6c60f21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue",
+                                 "font-size": "12pt",
+                                 "font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+[<p>Paragraph two</p>
+<p>Paragraph three</p>
+<p>Paragraph four</p>]
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor01-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor01-expected.html
new file mode 100644
index 0000000..4b86379
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Here is s
+      <b>X</b>
+      ome text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor01-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor01-input.html
new file mode 100644
index 0000000..257b6fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor02-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor02-expected.html
new file mode 100644
index 0000000..6353bcd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Here is s
+      <span style="color: red">X</span>
+      ome text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor02-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor02-input.html
new file mode 100644
index 0000000..6b013cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html
new file mode 100644
index 0000000..b0014b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="text-align: center">Here is sXome text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor03-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor03-input.html
new file mode 100644
index 0000000..6e6756e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-align": "center"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor04-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor04-expected.html
new file mode 100644
index 0000000..918331d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="text-align: center">
+      Here is s
+      <i>X</i>
+      ome text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor04-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor04-input.html
new file mode 100644
index 0000000..8201290
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": "italic",
+                                            "text-align": "center"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html
new file mode 100644
index 0000000..a1738e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>One two []three</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-input.html
new file mode 100644
index 0000000..3d8a6da
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b>One two </b><b>[]three</b></p>
+
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-expected.html
new file mode 100644
index 0000000..1c435b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-input.html
new file mode 100644
index 0000000..86dd63e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table08-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(tds[8].parentNode,DOM_nodeOffset(tds[8])+1);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-expected.html
new file mode 100644
index 0000000..4b35fbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>X[]Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-input.html
new file mode 100644
index 0000000..409d3cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table09-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(tds[5].parentNode,DOM_nodeOffset(tds[5])+1);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+ </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-expected.html
new file mode 100644
index 0000000..696f71d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>X[]One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-input.html
new file mode 100644
index 0000000..6e1625f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table10-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(tds[0].parentNode,DOM_nodeOffset(tds[0]));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+ </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-expected.html
new file mode 100644
index 0000000..696f71d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>X[]One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-input.html
new file mode 100644
index 0000000..7d20edf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table11-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(tbody.parentNode,DOM_nodeOffset(tbody));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tbody>
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+    </tr>
+    <tr>
+      <td>Four</td>
+      <td>Five</td>
+      <td>Six</td>
+    </tr>
+    <tr>
+      <td>Seven</td>
+      <td>Eight</td>
+      <td>Nine</td>
+    </tr>
+  </tbody>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-expected.html
new file mode 100644
index 0000000..1c435b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-input.html
new file mode 100644
index 0000000..6f4bf7e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table12-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(tbody.parentNode,DOM_nodeOffset(tbody)+1);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tbody>
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+    </tr>
+    <tr>
+      <td>Four</td>
+      <td>Five</td>
+      <td>Six</td>
+    </tr>
+    <tr>
+      <td>Seven</td>
+      <td>Eight</td>
+      <td>Nine</td>
+    </tr>
+  </tbody>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-expected.html
new file mode 100644
index 0000000..696f71d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>X[]One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-input.html
new file mode 100644
index 0000000..40bb67a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table13-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(trs[0].parentNode,DOM_nodeOffset(trs[0]));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tbody>
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+    </tr>
+    <tr>
+      <td>Four</td>
+      <td>Five</td>
+      <td>Six</td>
+    </tr>
+    <tr>
+      <td>Seven</td>
+      <td>Eight</td>
+      <td>Nine</td>
+    </tr>
+  </tbody>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-expected.html
new file mode 100644
index 0000000..4b35fbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>X[]Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-input.html
new file mode 100644
index 0000000..0fb6d8a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table14-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(trs[2].parentNode,DOM_nodeOffset(trs[2]));
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tbody>
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+    </tr>
+    <tr>
+      <td>Four</td>
+      <td>Five</td>
+      <td>Six</td>
+    </tr>
+    <tr>
+      <td>Seven</td>
+      <td>Eight</td>
+      <td>Nine</td>
+    </tr>
+  </tbody>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-expected.html
new file mode 100644
index 0000000..1c435b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>X[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-input.html
new file mode 100644
index 0000000..89e262e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-table15-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var trs = document.getElementsByTagName("TR");
+    var tds = document.getElementsByTagName("TD");
+    var tbody = document.getElementsByTagName("TBODY")[0];
+    Selection_setEmptySelectionAt(trs[2].parentNode,DOM_nodeOffset(trs[2])+1);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tbody>
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+    </tr>
+    <tr>
+      <td>Four</td>
+      <td>Five</td>
+      <td>Six</td>
+    </tr>
+    <tr>
+      <td>Seven</td>
+      <td>Eight</td>
+      <td>Nine</td>
+    </tr>
+  </tbody>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-expected.html
new file mode 100644
index 0000000..92f8165
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-input.html
new file mode 100644
index 0000000..eb9ff70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph01-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function deleteNeighbours(node)
+{
+    while (node.previousSibling != null)
+        DOM_deleteNode(node.previousSibling);
+    while (node.nextSibling != null)
+        DOM_deleteNode(node.nextSibling);
+}
+
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    deleteNeighbours(p);
+
+    Selection_setEmptySelectionAt(document.body,0);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-expected.html
new file mode 100644
index 0000000..d287729
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-input.html
new file mode 100644
index 0000000..46d771b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function deleteNeighbours(node)
+{
+    while (node.previousSibling != null)
+        DOM_deleteNode(node.previousSibling);
+    while (node.nextSibling != null)
+        DOM_deleteNode(node.nextSibling);
+}
+
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    deleteNeighbours(p);
+
+    Selection_setEmptySelectionAt(document.body,1);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-expected.html
new file mode 100644
index 0000000..92f8165
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-input.html
new file mode 100644
index 0000000..c255625
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph03-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function deleteNeighbours(node)
+{
+    while (node.previousSibling != null)
+        DOM_deleteNode(node.previousSibling);
+    while (node.nextSibling != null)
+        DOM_deleteNode(node.nextSibling);
+}
+
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    deleteNeighbours(p);
+
+    DOM_insertBefore(document.body,DOM_createTextNode(document,"  "),p);
+    DOM_insertBefore(document.body,DOM_createTextNode(document,"  "),p);
+    DOM_insertBefore(document.body,DOM_createTextNode(document,"  "),p);
+
+    Selection_setEmptySelectionAt(document.body,0);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-expected.html
new file mode 100644
index 0000000..d287729
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-input.html
new file mode 100644
index 0000000..845dc37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph04-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function deleteNeighbours(node)
+{
+    while (node.previousSibling != null)
+        DOM_deleteNode(node.previousSibling);
+    while (node.nextSibling != null)
+        DOM_deleteNode(node.nextSibling);
+}
+
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    deleteNeighbours(p);
+
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+
+    Selection_setEmptySelectionAt(document.body,document.body.childNodes.length);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-expected.html
new file mode 100644
index 0000000..92f8165
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-input.html
new file mode 100644
index 0000000..1743963
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph05-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function deleteNeighbours(node)
+{
+    while (node.previousSibling != null)
+        DOM_deleteNode(node.previousSibling);
+    while (node.nextSibling != null)
+        DOM_deleteNode(node.nextSibling);
+}
+
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    deleteNeighbours(p);
+
+    DOM_insertBefore(document.body,DOM_createTextNode(document,"  "),p);
+    DOM_insertBefore(document.body,DOM_createTextNode(document,"  "),p);
+    DOM_insertBefore(document.body,DOM_createTextNode(document,"  "),p);
+
+    Selection_setEmptySelectionAt(document.body.firstChild,0);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-expected.html
new file mode 100644
index 0000000..d287729
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-input.html
new file mode 100644
index 0000000..834af45
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph06-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function deleteNeighbours(node)
+{
+    while (node.previousSibling != null)
+        DOM_deleteNode(node.previousSibling);
+    while (node.nextSibling != null)
+        DOM_deleteNode(node.nextSibling);
+}
+
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    deleteNeighbours(p);
+
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+
+    Selection_setEmptySelectionAt(document.body.lastChild,0);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-expected.html
new file mode 100644
index 0000000..03bf992
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>X[]Second</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-input.html
new file mode 100644
index 0000000..383293b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph07-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    DOM_deleteAllChildren(document.body);
+
+
+    var p1 = DOM_createElement(document,"P");
+    var p2 = DOM_createElement(document,"P");
+    DOM_appendChild(p1,DOM_createTextNode(document,"First"));
+    DOM_appendChild(p2,DOM_createTextNode(document,"Second"));
+
+    DOM_appendChild(document.body,p1);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,p2);
+
+    Selection_setEmptySelectionAt(document.body,3);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-expected.html
new file mode 100644
index 0000000..03bf992
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>X[]Second</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-input.html
new file mode 100644
index 0000000..26fb865
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter-toparagraph08-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    DOM_deleteAllChildren(document.body);
+
+
+    var p1 = DOM_createElement(document,"P");
+    var p2 = DOM_createElement(document,"P");
+    DOM_appendChild(p1,DOM_createTextNode(document,"First"));
+    DOM_appendChild(p2,DOM_createTextNode(document,"Second"));
+
+    DOM_appendChild(document.body,p1);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"  "));
+    DOM_appendChild(document.body,p2);
+
+    Selection_setEmptySelectionAt(document.body.childNodes[3],0);
+
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-expected.html
new file mode 100644
index 0000000..d287729
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-input.html
new file mode 100644
index 0000000..d33d412
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-expected.html
new file mode 100644
index 0000000..19a3a39
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample tX[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-input.html
new file mode 100644
index 0000000..bbd2717
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-expected.html
new file mode 100644
index 0000000..92f8165
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-input.html
new file mode 100644
index 0000000..191419a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-expected.html
new file mode 100644
index 0000000..d287729
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-input.html
new file mode 100644
index 0000000..fd5e005
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+Sample text[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-expected.html
new file mode 100644
index 0000000..19a3a39
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample tX[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-input.html
new file mode 100644
index 0000000..baa2bb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+Sample t[]ext
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-expected.html
new file mode 100644
index 0000000..92f8165
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-input.html
new file mode 100644
index 0000000..2602ad1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]Sample text
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-expected.html
new file mode 100644
index 0000000..92f8165
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-input.html
new file mode 100644
index 0000000..6181d24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-expected.html
new file mode 100644
index 0000000..d287729
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-input.html
new file mode 100644
index 0000000..aab4e49
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-expected.html
new file mode 100644
index 0000000..03bf992
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>X[]Second</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-input.html
new file mode 100644
index 0000000..8fc5813
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter09-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First</p>
+[]
+<p>Second</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-expected.html
new file mode 100644
index 0000000..475d789
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text one two three[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-input.html
new file mode 100644
index 0000000..f1b4168
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter10-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var str = " one two three";
+    Cursor_insertCharacter(str);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-expected.html
new file mode 100644
index 0000000..fa6f10d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one   []</p>
+    <p>Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-input.html
new file mode 100644
index 0000000..6dc143f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter11-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("   ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First one[]</p>
+<p>Second two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-expected.html
new file mode 100644
index 0000000..7f3b692
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one</p>
+    <p>X[]</p>
+    <p>Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-input.html
new file mode 100644
index 0000000..00cc2be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter12-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("   ");
+    Cursor_enterPressed();
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First one[]</p>
+<p>Second two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-expected.html
new file mode 100644
index 0000000..74eb5c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one</p>
+    <p>X[]Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-input.html
new file mode 100644
index 0000000..6ed0d0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter13-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First one</p>
+<p>[]Second two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-expected.html
new file mode 100644
index 0000000..5b9b440
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>one A[]</p>
+    <p>three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-input.html
new file mode 100644
index 0000000..693563b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter14-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("A");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one [two]</p>
+<p>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-expected.html
new file mode 100644
index 0000000..6209a3d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>X[]</p>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-input.html
new file mode 100644
index 0000000..63fced5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter15-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<p>[Sample text]</p>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-expected.html
new file mode 100644
index 0000000..6209a3d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>X[]</p>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-input.html b/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-input.html
new file mode 100644
index 0000000..f33510a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertCharacter16-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<p>[]<br></p>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-expected.html
new file mode 100644
index 0000000..04301af
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="endnote">[Endnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-input.html
new file mode 100644
index 0000000..8a52b5c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-expected.html
new file mode 100644
index 0000000..ff397ec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="endnote">[Endnote content]</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-input.html
new file mode 100644
index 0000000..0875055
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-expected.html
new file mode 100644
index 0000000..46a51b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span class="endnote">[Endnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-input.html
new file mode 100644
index 0000000..b10fba6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-expected.html
new file mode 100644
index 0000000..dddacd5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><span class="endnote">[Endnote content]</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-input.html
new file mode 100644
index 0000000..5063da9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-expected.html
new file mode 100644
index 0000000..dddacd5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><span class="endnote">[Endnote content]</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-input.html
new file mode 100644
index 0000000..10e397f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-expected.html
new file mode 100644
index 0000000..47f40a9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <span class="endnote">[Endnote content]</span>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-input.html
new file mode 100644
index 0000000..040d642
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-expected.html
new file mode 100644
index 0000000..8b3f2f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="endnote">inside</span>
+      <span class="endnote">[Endnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-input.html
new file mode 100644
index 0000000..e4b618a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before <span class="endnote">ins[]ide</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-expected.html
new file mode 100644
index 0000000..8b3f2f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="endnote">inside</span>
+      <span class="endnote">[Endnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-input.html
new file mode 100644
index 0000000..5c5fa70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before <span class="endnote">inside[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-expected.html
new file mode 100644
index 0000000..8b3f2f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="endnote">inside</span>
+      <span class="endnote">[Endnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-input.html b/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-input.html
new file mode 100644
index 0000000..d915ef5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertEndnote09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertEndnote("Endnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before <span class="endnote">[]inside</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-expected.html
new file mode 100644
index 0000000..9298458
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="footnote">[Footnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-input.html
new file mode 100644
index 0000000..22c102b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-expected.html
new file mode 100644
index 0000000..d3dfd45
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="footnote">[Footnote content]</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-input.html
new file mode 100644
index 0000000..e1ac92a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-expected.html
new file mode 100644
index 0000000..c577e33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span class="footnote">[Footnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-input.html
new file mode 100644
index 0000000..b24f4df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-expected.html
new file mode 100644
index 0000000..331c33c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><span class="footnote">[Footnote content]</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-input.html
new file mode 100644
index 0000000..5e8ee78
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-expected.html
new file mode 100644
index 0000000..331c33c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><span class="footnote">[Footnote content]</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-input.html
new file mode 100644
index 0000000..a976635
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-expected.html
new file mode 100644
index 0000000..a70222a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <span class="footnote">[Footnote content]</span>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-input.html
new file mode 100644
index 0000000..d4c318c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-expected.html
new file mode 100644
index 0000000..70fa0f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="footnote">inside</span>
+      <span class="footnote">[Footnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-input.html
new file mode 100644
index 0000000..98ed6d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before <span class="footnote">ins[]ide</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-expected.html
new file mode 100644
index 0000000..70fa0f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="footnote">inside</span>
+      <span class="footnote">[Footnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-input.html
new file mode 100644
index 0000000..695c7d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before <span class="footnote">inside[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-expected.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-expected.html
new file mode 100644
index 0000000..70fa0f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      before
+      <span class="footnote">inside</span>
+      <span class="footnote">[Footnote content]</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-input.html b/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-input.html
new file mode 100644
index 0000000..9feec88
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/insertFootnote09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertFootnote("Footnote content");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before <span class="footnote">[]inside</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-expected.html
new file mode 100644
index 0000000..21162a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    Sam
+    []xt
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-input.html
new file mode 100644
index 0000000..098c7d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+Sam[ple te]xt
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-expected.html
new file mode 100644
index 0000000..1e1cae0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sam</p>
+    []
+    <p>xt</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-input.html
new file mode 100644
index 0000000..b7d1c09
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sam[ple te]xt</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-expected.html
new file mode 100644
index 0000000..673c0c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    []
+    <p>xt</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-input.html
new file mode 100644
index 0000000..a959adb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[Sample te]xt</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-expected.html
new file mode 100644
index 0000000..90101bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sam</p>
+    []
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-expected.html b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-expected.html
new file mode 100644
index 0000000..d7c34b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p><span class="uxwrite-selection">Before</span></p>
+    <div class="uxwrite-selection">
+      <table id="item1" width="100%">
+        <colgroup>
+          <col width="25%"/>
+          <col width="25%"/>
+          <col width="25%"/>
+          <col width="25%"/>
+        </colgroup>
+        <tbody>
+          <tr>
+            <td>One</td>
+            <td>Two</td>
+            <td>Three</td>
+            <td>Four</td>
+          </tr>
+          <tr>
+            <td>Five</td>
+            <td>Six</td>
+            <td>Seven</td>
+            <td>Eight</td>
+          </tr>
+          <tr>
+            <td>Nine</td>
+            <td>Ten</td>
+            <td>Eleven</td>
+            <td>Twelve</td>
+          </tr>
+          <tr>
+            <td>Thirteen</td>
+            <td>Fourteen</td>
+            <td>Fifteen</td>
+            <td>Sixteen</td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <p><span class="uxwrite-selection">After</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-input.html b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-input.html
new file mode 100644
index 0000000..178feac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table02-input.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    outputOptions.keepSelectionHighlights = true;
+    Selection_selectAll();
+//    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>Before</p>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six]</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+  <p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph01-expected.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph01-expected.html
new file mode 100644
index 0000000..e1feefe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>First paragraph</p>
+    <p>[Second paragraph]</p>
+    <p>Third paragraph</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph01-input.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph01-input.html
new file mode 100644
index 0000000..cfc8f7d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectParagraph();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>Second []paragraph</p>
+<p>Third paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph02-expected.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph02-expected.html
new file mode 100644
index 0000000..cfb3477
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph02-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>First paragraph</p>
+    <p>[Second paragraph</p>
+    <p>Third paragraph]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph02-input.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph02-input.html
new file mode 100644
index 0000000..f103c74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectParagraph();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>Second [paragraph</p>
+<p>Third ]paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph03-expected.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph03-expected.html
new file mode 100644
index 0000000..72e89a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>[First paragraph</p>
+    <p>Second paragraph]</p>
+    <p>Third paragraph</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph03-input.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph03-input.html
new file mode 100644
index 0000000..4898ccd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectParagraph();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First [paragraph</p>
+<p>Second ]paragraph</p>
+<p>Third paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph04-expected.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph04-expected.html
new file mode 100644
index 0000000..b9d7bf1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>[First paragraph</p>
+    <p>Second paragraph</p>
+    <p>Third paragraph]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph04-input.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph04-input.html
new file mode 100644
index 0000000..08ab848
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectParagraph();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First [paragraph</p>
+<p>Second paragraph</p>
+<p>Third ]paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph05-expected.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph05-expected.html
new file mode 100644
index 0000000..04a80c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph05-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First paragraph</p>
+      <p>[Second paragraph</p>
+      <p>Third paragraph</p>
+    </div>
+    <div>
+      <p>Fourth paragraph</p>
+      <p>Fifth paragraph]</p>
+      <p>Sixth paragraph</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph05-input.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph05-input.html
new file mode 100644
index 0000000..5cdd613
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph05-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectParagraph();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>First paragraph</p>
+    <p>Second [paragraph</p>
+    <p>Third paragraph</p>
+  </div>
+  <div>
+    <p>Fourth paragraph</p>
+    <p>Fifth ]paragraph</p>
+    <p>Sixth paragraph</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph06-expected.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph06-expected.html
new file mode 100644
index 0000000..b9d7bf1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph06-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>[First paragraph</p>
+    <p>Second paragraph</p>
+    <p>Third paragraph]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectParagraph06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectParagraph06-input.html b/experiments/editorFramework/test/Layer0/selection/selectParagraph06-input.html
new file mode 100644
index 0000000..99965e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectParagraph06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_set(document.body,0,document.body,DOM_maxChildOffset(document.body));
+    Selection_selectParagraph();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>Second paragraph</p>
+<p>Third paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-expected.html
new file mode 100644
index 0000000..e009c55
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <figure>
+      <img src="../figures/nothing.png"/>
+      <figcaption>Test figure</figcaption>
+    </figure>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-input.html
new file mode 100644
index 0000000..be62e2e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var figure = document.getElementsByTagName("FIGURE")[0];
+    var offset = DOM_nodeOffset(figure);
+    Selection_set(figure.parentNode,offset,figure.parentNode,offset);
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-expected.html
new file mode 100644
index 0000000..e009c55
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <figure>
+      <img src="../figures/nothing.png"/>
+      <figcaption>Test figure</figcaption>
+    </figure>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-input.html
new file mode 100644
index 0000000..d359ff2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-figure02-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var figure = document.getElementsByTagName("FIGURE")[0];
+    var offset = DOM_nodeOffset(figure);
+    Selection_set(figure.parentNode,offset+1,figure.parentNode,offset+1);
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-expected.html
new file mode 100644
index 0000000..f2c214b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-input.html
new file mode 100644
index 0000000..196d382
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table01-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var table = document.getElementsByTagName("TABLE")[0];
+    var offset = DOM_nodeOffset(table);
+    Selection_set(table.parentNode,offset,table.parentNode,offset);
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-expected.html
new file mode 100644
index 0000000..f2c214b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-input.html
new file mode 100644
index 0000000..23914fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor-table02-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var table = document.getElementsByTagName("TABLE")[0];
+    var offset = DOM_nodeOffset(table);
+    Selection_set(table.parentNode,offset+1,table.parentNode,offset+1);
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-expected.html
new file mode 100644
index 0000000..06f792e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One] two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-input.html
new file mode 100644
index 0000000..9b06bb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]One two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-expected.html
new file mode 100644
index 0000000..06f792e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One] two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-input.html
new file mode 100644
index 0000000..6269501
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>O[]ne two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-expected.html
new file mode 100644
index 0000000..06f792e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One] two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-input.html
new file mode 100644
index 0000000..c6048d7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One[] two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-expected.html
new file mode 100644
index 0000000..1e30363
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One [two] three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-input.html
new file mode 100644
index 0000000..4dd2f5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One []two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-expected.html
new file mode 100644
index 0000000..1e30363
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One [two] three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-input.html
new file mode 100644
index 0000000..8250ab0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One tw[]o three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-expected.html
new file mode 100644
index 0000000..1e30363
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One [two] three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-input.html
new file mode 100644
index 0000000..765039c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two[] three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-expected.html
new file mode 100644
index 0000000..c787408
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One two [three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-input.html
new file mode 100644
index 0000000..b12a22b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two []three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-expected.html
new file mode 100644
index 0000000..c787408
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One two [three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-input.html
new file mode 100644
index 0000000..6efe7f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two th[]ree</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-expected.html
new file mode 100644
index 0000000..c787408
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One two [three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-input.html
new file mode 100644
index 0000000..1933439
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two three[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-expected.html
new file mode 100644
index 0000000..59a0505
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One [two $*]*!&% three four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-input.html
new file mode 100644
index 0000000..da1ad29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two $*[]*!&% three four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-expected.html
new file mode 100644
index 0000000..06697fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One two $**![&% three] four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-input.html
new file mode 100644
index 0000000..8114291
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor11-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two $**![]&% three four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-expected.html
new file mode 100644
index 0000000..f2426fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One [two &%]&% three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-input.html
new file mode 100644
index 0000000..e9e4670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor12-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two &%[]&% three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-expected.html
new file mode 100644
index 0000000..3aaf4b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[&%!.One] two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-input.html
new file mode 100644
index 0000000..7029215
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor13-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]&%!.One two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-expected.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-expected.html
new file mode 100644
index 0000000..640492c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One two [three&%!.]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-input.html b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-input.html
new file mode 100644
index 0000000..3286bd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectWordAtCursor14-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectWordAtCursor();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>One two three&%!.[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/tableSelection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/tableSelection01-expected.html b/experiments/editorFramework/test/Layer0/selection/tableSelection01-expected.html
new file mode 100644
index 0000000..4324eb5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/tableSelection01-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>one [two three</td>
+          <td>four five six]</td>
+        </tr>
+        <tr>
+          <td>seven eight nine</td>
+          <td>ten eleven twelve</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/tableSelection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/tableSelection01-input.html b/experiments/editorFramework/test/Layer0/selection/tableSelection01-input.html
new file mode 100644
index 0000000..8e7990b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/tableSelection01-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // This tests that updateTableSelection() correctly tracks and updates the current
+    // selection when it removes selection highlights
+    var tds = document.getElementsByTagName("TD");
+    var selRange = Selection_get();
+    Selection_set(selRange.start.node,selRange.start.offset,
+                  tds[1].firstChild,13);
+    selRange = Selection_get();
+    Range_assertValid(selRange,"Selection");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>one [two] three</td>
+    <td>four five six</td>
+  </tr>
+  <tr>
+    <td>seven eight nine</td>
+    <td>ten eleven twelve</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/server.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/server.js b/experiments/editorFramework/test/Layer0/server.js
new file mode 100644
index 0000000..0e46945
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/server.js
@@ -0,0 +1,76 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function debug(str)
+{
+    console.log("%s",str);
+}
+
+var http = require("http");
+var fs = require("fs");
+
+var mimeTypes = {
+    "html": "text/html",
+    "js": "text/javascript",
+    "css": "text/css",
+    "xml": "test/xml",
+    "txt": "text/plain",
+    "png": "image/png",
+    "gif": "image/gif",
+    "jpg": "image/jpg",
+};
+
+function handler(request,response)
+{
+    var dotpos = request.url.lastIndexOf(".");
+    var extension = null;
+    var mimeType = "text/plain";
+    if (dotpos != -1) {
+        extension = request.url.substring(dotpos+1);
+        if (mimeTypes[extension] != null)
+            mimeType = mimeTypes[extension];
+    }
+
+    var path = decodeURI(request.url);
+
+    if (path != "/") {
+        path = path.substring(1);
+        debug("read "+path);
+        fs.readFile(path,function (err,data) {
+            if (err) {
+                response.writeHead(500,{"Content-Type": "text/plain"});
+                response.end("Could not read "+path);
+            }
+            else {
+                response.writeHead(200,{"Content-Type": mimeType});
+                response.end(data);
+            }
+        });
+    }
+    else {
+        response.writeHead(200,{"Content-Type": "text/html"});
+        response.write("<html><body>");
+        response.write("<b>Test</b> page: "+mimeType+"<br>");
+        response.write("url = "+request.url+"<br>");
+        response.write("path = "+path+"<br>");
+        response.write("</body></html>");
+        response.end();
+    }
+}
+
+
+http.createServer(handler).listen(8080,"localhost");

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/TableTests.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/TableTests.js b/experiments/editorFramework/test/Layer0/tables/TableTests.js
new file mode 100644
index 0000000..a8859e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/TableTests.js
@@ -0,0 +1,56 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function showSelectedTableRegion()
+{
+    var region = Tables_regionFromRange(Selection_get());
+    for (var row = region.top; row <= region.bottom; row++) {
+        for (var col = region.left; col <= region.right; col++) {
+            var cell = Table_get(region.structure,row,col);
+            DOM_setStyleProperties(cell.element,{"background-color": "silver"});
+        }
+    }
+}
+
+function getSelectedTableRegion()
+{
+    return Tables_regionFromRange(Selection_get());
+}
+
+function showTableStructure()
+{
+    var tableElement = document.getElementsByTagName("TABLE")[0];
+    var table = Tables_analyseStructure(tableElement);
+    var lines = new Array();
+    lines.push(PrettyPrinter.getHTML(document.documentElement));
+
+    for (var row = 0; row < table.numRows; row++) {
+        for (var col = 0; col < table.numCols; col++) {
+            var cell = Table_get(table,row,col);
+            if (cell == null) {
+                lines.push("Cell at ("+row+","+col+") = "+null);
+            }
+            else {
+                lines.push("Cell at ("+row+","+col+") = "+
+                           cell.rowspan+"x"+cell.colspan+" "+
+                           JSON.stringify(getNodeText(cell.element)));
+            }
+        }
+    }
+
+    return lines.join("\n");
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn01-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn01-expected.html
new file mode 100644
index 0000000..e436a62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn01-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen]</td>
+          <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/tables/addAdjacentColumn01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn01-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn01-input.html
new file mode 100644
index 0000000..8da57cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn01-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-expected.html
new file mode 100644
index 0000000..bc9011f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td><p><br/></p></td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td><p><br/></p></td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td><p><br/></p></td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen]</td>
+          <td><p><br/></p></td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-input.html
new file mode 100644
index 0000000..98ccec9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn02-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-expected.html
new file mode 100644
index 0000000..484dba8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td><p><br/></p></td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td><p><br/></p></td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td><p><br/></p></td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen]</td>
+          <td><p><br/></p></td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-input.html
new file mode 100644
index 0000000..1bf1fa9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn03-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen]</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn04-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn04-expected.html
new file mode 100644
index 0000000..2b5b99d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn04-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four]</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td colspan="2">Seven</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="3">Ten</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+          <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/tables/addAdjacentColumn04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn04-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn04-input.html
new file mode 100644
index 0000000..f84be8b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn04-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four]</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-expected.html
new file mode 100644
index 0000000..b6f25e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three]</td>
+          <td><p><br/></p></td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td colspan="3">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="4">Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td><p><br/></p></td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-input.html
new file mode 100644
index 0000000..db0a881
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn05-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three]</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-expected.html
new file mode 100644
index 0000000..87a3933
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-expected.html
@@ -0,0 +1,42 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two]</td>
+          <td><p><br/></p></td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td><p><br/></p></td>
+          <td colspan="2">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="4">Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td><p><br/></p></td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-input.html
new file mode 100644
index 0000000..3b2acce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn06-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two]</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-expected.html
new file mode 100644
index 0000000..9b6089a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One]</td>
+          <td><p><br/></p></td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td><p><br/></p></td>
+          <td>Six</td>
+          <td colspan="2">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td><p><br/></p></td>
+          <td colspan="3">Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td><p><br/></p></td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-input.html
new file mode 100644
index 0000000..77ff628
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn07-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One]</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn08-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn08-expected.html
new file mode 100644
index 0000000..e0955f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn08-expected.html
@@ -0,0 +1,40 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four]</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td colspan="2">Seven</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="3">Ten</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td colspan="4">Thirteen</td>
+          <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/tables/addAdjacentColumn08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn08-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn08-input.html
new file mode 100644
index 0000000..e5968d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn08-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four]</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td colspan="4">Thirteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-expected.html
new file mode 100644
index 0000000..53c7d1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-expected.html
@@ -0,0 +1,37 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three]</td>
+          <td><p><br/></p></td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td colspan="3">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="4">Ten</td>
+        </tr>
+        <tr>
+          <td colspan="5">Thirteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-input.html
new file mode 100644
index 0000000..27472ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn09-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three]</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td colspan="4">Thirteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-expected.html
new file mode 100644
index 0000000..fa52b83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-expected.html
@@ -0,0 +1,38 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two]</td>
+          <td><p><br/></p></td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td><p><br/></p></td>
+          <td colspan="2">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="4">Ten</td>
+        </tr>
+        <tr>
+          <td colspan="5">Thirteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-input.html
new file mode 100644
index 0000000..840679e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn10-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two]</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td colspan="4">Thirteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-expected.html
new file mode 100644
index 0000000..b7b4bbe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One]</td>
+          <td><p><br/></p></td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td><p><br/></p></td>
+          <td>Six</td>
+          <td colspan="2">Seven</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td><p><br/></p></td>
+          <td colspan="3">Ten</td>
+        </tr>
+        <tr>
+          <td colspan="5">Thirteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-input.html
new file mode 100644
index 0000000..d9afe01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn11-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One]</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td colspan="2">Seven</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="3">Ten</td>
+    </tr>
+    <tr>
+      <td colspan="4">Thirteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn12-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn12-expected.html
new file mode 100644
index 0000000..d0f8cce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn12-expected.html
@@ -0,0 +1,44 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four]</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td rowspan="2">Eight</td>
+          <td rowspan="2"><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+          <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/tables/addAdjacentColumn12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn12-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn12-input.html
new file mode 100644
index 0000000..cc416d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn12-input.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four]</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td rowspan="2">Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-expected.html
new file mode 100644
index 0000000..9c580aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three]</td>
+          <td><p><br/></p></td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td><p><br/></p></td>
+          <td rowspan="2">Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td><p><br/></p></td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-input.html
new file mode 100644
index 0000000..2ecbc28
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn13-input.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three]</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td rowspan="2">Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn14-expected.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn14-expected.html
new file mode 100644
index 0000000..d04f77e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn14-expected.html
@@ -0,0 +1,42 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four]</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td colspan="2" rowspan="2">Seven</td>
+          <td rowspan="2"><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+          <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/tables/addAdjacentColumn14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn14-input.html b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn14-input.html
new file mode 100644
index 0000000..6c32987
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addAdjacentColumn14-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four]</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="2" colspan="2">Seven</td>
+   </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+   </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner01b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner01b-expected.html
new file mode 100644
index 0000000..976d11d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner01b-expected.html
@@ -0,0 +1,27 @@
+From "one two [three] four five"
+To   "one [two three four] five"
+
+"|one two three four five"   ->   "|one two "     ->   "|one "             ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two "     ->   "o|ne "             ->   YES/YES
+"on|e two three four five"   ->   "on|e two "     ->   "on|e "             ->   YES/YES
+"one| two three four five"   ->   "one| two "     ->   "one| "             ->   YES/YES
+"one |two three four five"   ->   "one |two "     ->   "|two three four"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo "     ->   "t|wo three four"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o "     ->   "tw|o three four"   ->   YES/YES
+"one two| three four five"   ->   "one two| "     ->   "two| three four"   ->   YES/YES
+"one two |three four five"   ->   "|three"        ->   "two |three four"   ->   YES/YES
+"one two t|hree four five"   ->   "t|hree"        ->   "two t|hree four"   ->   YES/YES
+"one two th|ree four five"   ->   "th|ree"        ->   "two th|ree four"   ->   YES/YES
+"one two thr|ee four five"   ->   "thr|ee"        ->   "two thr|ee four"   ->   YES/YES
+"one two thre|e four five"   ->   "thre|e"        ->   "two thre|e four"   ->   YES/YES
+"one two three| four five"   ->   "three|"        ->   "two three| four"   ->   YES/YES
+"one two three |four five"   ->   " |four five"   ->   "two three |four"   ->   YES/YES
+"one two three f|our five"   ->   " f|our five"   ->   "two three f|our"   ->   YES/YES
+"one two three fo|ur five"   ->   " fo|ur five"   ->   "two three fo|ur"   ->   YES/YES
+"one two three fou|r five"   ->   " fou|r five"   ->   "two three fou|r"   ->   YES/YES
+"one two three four| five"   ->   " four| five"   ->   "two three four|"   ->   YES/YES
+"one two three four |five"   ->   " four |five"   ->   " |five"            ->   YES/YES
+"one two three four f|ive"   ->   " four f|ive"   ->   " f|ive"            ->   YES/YES
+"one two three four fi|ve"   ->   " four fi|ve"   ->   " fi|ve"            ->   YES/YES
+"one two three four fiv|e"   ->   " four fiv|e"   ->   " fiv|e"            ->   YES/YES
+"one two three four five|"   ->   " four five|"   ->   " five|"            ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner01b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner01b-input.html
new file mode 100644
index 0000000..767dfc2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner01b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two [three] four five"
+    // To   "one [two three four] five"
+    return positionTest(8,13,4,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner02a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner02a-expected.html
new file mode 100644
index 0000000..80f55d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner02a-expected.html
@@ -0,0 +1,27 @@
+From "one [two three four] five"
+To   "one [two three] four five"
+
+"|one two three four five"   ->   "|one "             ->   "|one "         ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "             ->   "o|ne "         ->   YES/YES
+"on|e two three four five"   ->   "on|e "             ->   "on|e "         ->   YES/YES
+"one| two three four five"   ->   "one| "             ->   "one| "         ->   YES/YES
+"one |two three four five"   ->   "|two three four"   ->   "|two three"    ->   YES/YES
+"one t|wo three four five"   ->   "t|wo three four"   ->   "t|wo three"    ->   YES/YES
+"one tw|o three four five"   ->   "tw|o three four"   ->   "tw|o three"    ->   YES/YES
+"one two| three four five"   ->   "two| three four"   ->   "two| three"    ->   YES/YES
+"one two |three four five"   ->   "two |three four"   ->   "two |three"    ->   YES/YES
+"one two t|hree four five"   ->   "two t|hree four"   ->   "two t|hree"    ->   YES/YES
+"one two th|ree four five"   ->   "two th|ree four"   ->   "two th|ree"    ->   YES/YES
+"one two thr|ee four five"   ->   "two thr|ee four"   ->   "two thr|ee"    ->   YES/YES
+"one two thre|e four five"   ->   "two thre|e four"   ->   "two thre|e"    ->   YES/YES
+"one two three| four five"   ->   "two three| four"   ->   "two three|"    ->   YES/YES
+"one two three |four five"   ->   "two three |four"   ->   " |four five"   ->   YES/YES
+"one two three f|our five"   ->   "two three f|our"   ->   " f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "two three fo|ur"   ->   " fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "two three fou|r"   ->   " fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "two three four|"   ->   " four| five"   ->   YES/YES
+"one two three four |five"   ->   " |five"            ->   " four |five"   ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"            ->   " four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"            ->   " four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"            ->   " four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   " five|"            ->   " four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner02a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner02a-input.html
new file mode 100644
index 0000000..0059baf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner02a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two three four] five"
+    // To   "one [two three] four five"
+    return positionTest(4,18,4,13);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner02b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner02b-expected.html
new file mode 100644
index 0000000..bdd8487
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner02b-expected.html
@@ -0,0 +1,27 @@
+From "one [two three] four five"
+To   "one [two three four] five"
+
+"|one two three four five"   ->   "|one "         ->   "|one "             ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "         ->   "o|ne "             ->   YES/YES
+"on|e two three four five"   ->   "on|e "         ->   "on|e "             ->   YES/YES
+"one| two three four five"   ->   "one| "         ->   "one| "             ->   YES/YES
+"one |two three four five"   ->   "|two three"    ->   "|two three four"   ->   YES/YES
+"one t|wo three four five"   ->   "t|wo three"    ->   "t|wo three four"   ->   YES/YES
+"one tw|o three four five"   ->   "tw|o three"    ->   "tw|o three four"   ->   YES/YES
+"one two| three four five"   ->   "two| three"    ->   "two| three four"   ->   YES/YES
+"one two |three four five"   ->   "two |three"    ->   "two |three four"   ->   YES/YES
+"one two t|hree four five"   ->   "two t|hree"    ->   "two t|hree four"   ->   YES/YES
+"one two th|ree four five"   ->   "two th|ree"    ->   "two th|ree four"   ->   YES/YES
+"one two thr|ee four five"   ->   "two thr|ee"    ->   "two thr|ee four"   ->   YES/YES
+"one two thre|e four five"   ->   "two thre|e"    ->   "two thre|e four"   ->   YES/YES
+"one two three| four five"   ->   "two three|"    ->   "two three| four"   ->   YES/YES
+"one two three |four five"   ->   " |four five"   ->   "two three |four"   ->   YES/YES
+"one two three f|our five"   ->   " f|our five"   ->   "two three f|our"   ->   YES/YES
+"one two three fo|ur five"   ->   " fo|ur five"   ->   "two three fo|ur"   ->   YES/YES
+"one two three fou|r five"   ->   " fou|r five"   ->   "two three fou|r"   ->   YES/YES
+"one two three four| five"   ->   " four| five"   ->   "two three four|"   ->   YES/YES
+"one two three four |five"   ->   " four |five"   ->   " |five"            ->   YES/YES
+"one two three four f|ive"   ->   " four f|ive"   ->   " f|ive"            ->   YES/YES
+"one two three four fi|ve"   ->   " four fi|ve"   ->   " fi|ve"            ->   YES/YES
+"one two three four fiv|e"   ->   " four fiv|e"   ->   " fiv|e"            ->   YES/YES
+"one two three four five|"   ->   " four five|"   ->   " five|"            ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner02b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner02b-input.html
new file mode 100644
index 0000000..21fa1cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner02b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two three] four five"
+    // To   "one [two three four] five"
+    return positionTest(4,13,4,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner03a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner03a-expected.html
new file mode 100644
index 0000000..ee4f5f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner03a-expected.html
@@ -0,0 +1,27 @@
+From "one [two three four] five"
+To   "one two [three four] five"
+
+"|one two three four five"   ->   "|one "             ->   "|one two "     ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "             ->   "o|ne two "     ->   YES/YES
+"on|e two three four five"   ->   "on|e "             ->   "on|e two "     ->   YES/YES
+"one| two three four five"   ->   "one| "             ->   "one| two "     ->   YES/YES
+"one |two three four five"   ->   "|two three four"   ->   "one |two "     ->   YES/YES
+"one t|wo three four five"   ->   "t|wo three four"   ->   "one t|wo "     ->   YES/YES
+"one tw|o three four five"   ->   "tw|o three four"   ->   "one tw|o "     ->   YES/YES
+"one two| three four five"   ->   "two| three four"   ->   "one two| "     ->   YES/YES
+"one two |three four five"   ->   "two |three four"   ->   "|three four"   ->   YES/YES
+"one two t|hree four five"   ->   "two t|hree four"   ->   "t|hree four"   ->   YES/YES
+"one two th|ree four five"   ->   "two th|ree four"   ->   "th|ree four"   ->   YES/YES
+"one two thr|ee four five"   ->   "two thr|ee four"   ->   "thr|ee four"   ->   YES/YES
+"one two thre|e four five"   ->   "two thre|e four"   ->   "thre|e four"   ->   YES/YES
+"one two three| four five"   ->   "two three| four"   ->   "three| four"   ->   YES/YES
+"one two three |four five"   ->   "two three |four"   ->   "three |four"   ->   YES/YES
+"one two three f|our five"   ->   "two three f|our"   ->   "three f|our"   ->   YES/YES
+"one two three fo|ur five"   ->   "two three fo|ur"   ->   "three fo|ur"   ->   YES/YES
+"one two three fou|r five"   ->   "two three fou|r"   ->   "three fou|r"   ->   YES/YES
+"one two three four| five"   ->   "two three four|"   ->   "three four|"   ->   YES/YES
+"one two three four |five"   ->   " |five"            ->   " |five"        ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"            ->   " f|ive"        ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"            ->   " fi|ve"        ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"            ->   " fiv|e"        ->   YES/YES
+"one two three four five|"   ->   " five|"            ->   " five|"        ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner03a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner03a-input.html
new file mode 100644
index 0000000..8de3c1b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner03a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two three four] five"
+    // To   "one two [three four] five"
+    return positionTest(4,18,8,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner03b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner03b-expected.html
new file mode 100644
index 0000000..317fe97
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner03b-expected.html
@@ -0,0 +1,27 @@
+From "one two [three four] five"
+To   "one [two three four] five"
+
+"|one two three four five"   ->   "|one two "     ->   "|one "             ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two "     ->   "o|ne "             ->   YES/YES
+"on|e two three four five"   ->   "on|e two "     ->   "on|e "             ->   YES/YES
+"one| two three four five"   ->   "one| two "     ->   "one| "             ->   YES/YES
+"one |two three four five"   ->   "one |two "     ->   "|two three four"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo "     ->   "t|wo three four"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o "     ->   "tw|o three four"   ->   YES/YES
+"one two| three four five"   ->   "one two| "     ->   "two| three four"   ->   YES/YES
+"one two |three four five"   ->   "|three four"   ->   "two |three four"   ->   YES/YES
+"one two t|hree four five"   ->   "t|hree four"   ->   "two t|hree four"   ->   YES/YES
+"one two th|ree four five"   ->   "th|ree four"   ->   "two th|ree four"   ->   YES/YES
+"one two thr|ee four five"   ->   "thr|ee four"   ->   "two thr|ee four"   ->   YES/YES
+"one two thre|e four five"   ->   "thre|e four"   ->   "two thre|e four"   ->   YES/YES
+"one two three| four five"   ->   "three| four"   ->   "two three| four"   ->   YES/YES
+"one two three |four five"   ->   "three |four"   ->   "two three |four"   ->   YES/YES
+"one two three f|our five"   ->   "three f|our"   ->   "two three f|our"   ->   YES/YES
+"one two three fo|ur five"   ->   "three fo|ur"   ->   "two three fo|ur"   ->   YES/YES
+"one two three fou|r five"   ->   "three fou|r"   ->   "two three fou|r"   ->   YES/YES
+"one two three four| five"   ->   "three four|"   ->   "two three four|"   ->   YES/YES
+"one two three four |five"   ->   " |five"        ->   " |five"            ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"        ->   " f|ive"            ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"        ->   " fi|ve"            ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"        ->   " fiv|e"            ->   YES/YES
+"one two three four five|"   ->   " five|"        ->   " five|"            ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner03b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner03b-input.html
new file mode 100644
index 0000000..d1ed09b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner03b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two [three four] five"
+    // To   "one [two three four] five"
+    return positionTest(8,18,4,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner04a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner04a-expected.html
new file mode 100644
index 0000000..c959aff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner04a-expected.html
@@ -0,0 +1,27 @@
+From "one [two three] four five"
+To   "one two [three four] five"
+
+"|one two three four five"   ->   "|one "         ->   "|one two "     ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "         ->   "o|ne two "     ->   YES/YES
+"on|e two three four five"   ->   "on|e "         ->   "on|e two "     ->   YES/YES
+"one| two three four five"   ->   "one| "         ->   "one| two "     ->   YES/YES
+"one |two three four five"   ->   "|two three"    ->   "one |two "     ->   YES/YES
+"one t|wo three four five"   ->   "t|wo three"    ->   "one t|wo "     ->   YES/YES
+"one tw|o three four five"   ->   "tw|o three"    ->   "one tw|o "     ->   YES/YES
+"one two| three four five"   ->   "two| three"    ->   "one two| "     ->   YES/YES
+"one two |three four five"   ->   "two |three"    ->   "|three four"   ->   YES/YES
+"one two t|hree four five"   ->   "two t|hree"    ->   "t|hree four"   ->   YES/YES
+"one two th|ree four five"   ->   "two th|ree"    ->   "th|ree four"   ->   YES/YES
+"one two thr|ee four five"   ->   "two thr|ee"    ->   "thr|ee four"   ->   YES/YES
+"one two thre|e four five"   ->   "two thre|e"    ->   "thre|e four"   ->   YES/YES
+"one two three| four five"   ->   "two three|"    ->   "three| four"   ->   YES/YES
+"one two three |four five"   ->   " |four five"   ->   "three |four"   ->   YES/YES
+"one two three f|our five"   ->   " f|our five"   ->   "three f|our"   ->   YES/YES
+"one two three fo|ur five"   ->   " fo|ur five"   ->   "three fo|ur"   ->   YES/YES
+"one two three fou|r five"   ->   " fou|r five"   ->   "three fou|r"   ->   YES/YES
+"one two three four| five"   ->   " four| five"   ->   "three four|"   ->   YES/YES
+"one two three four |five"   ->   " four |five"   ->   " |five"        ->   YES/YES
+"one two three four f|ive"   ->   " four f|ive"   ->   " f|ive"        ->   YES/YES
+"one two three four fi|ve"   ->   " four fi|ve"   ->   " fi|ve"        ->   YES/YES
+"one two three four fiv|e"   ->   " four fiv|e"   ->   " fiv|e"        ->   YES/YES
+"one two three four five|"   ->   " four five|"   ->   " five|"        ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner04a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner04a-input.html
new file mode 100644
index 0000000..b6ee197
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner04a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two three] four five"
+    // To   "one two [three four] five"
+    return positionTest(4,13,8,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner04b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner04b-expected.html
new file mode 100644
index 0000000..a2c875b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner04b-expected.html
@@ -0,0 +1,27 @@
+From "one two [three four] five"
+To   "one [two three] four five"
+
+"|one two three four five"   ->   "|one two "     ->   "|one "         ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two "     ->   "o|ne "         ->   YES/YES
+"on|e two three four five"   ->   "on|e two "     ->   "on|e "         ->   YES/YES
+"one| two three four five"   ->   "one| two "     ->   "one| "         ->   YES/YES
+"one |two three four five"   ->   "one |two "     ->   "|two three"    ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo "     ->   "t|wo three"    ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o "     ->   "tw|o three"    ->   YES/YES
+"one two| three four five"   ->   "one two| "     ->   "two| three"    ->   YES/YES
+"one two |three four five"   ->   "|three four"   ->   "two |three"    ->   YES/YES
+"one two t|hree four five"   ->   "t|hree four"   ->   "two t|hree"    ->   YES/YES
+"one two th|ree four five"   ->   "th|ree four"   ->   "two th|ree"    ->   YES/YES
+"one two thr|ee four five"   ->   "thr|ee four"   ->   "two thr|ee"    ->   YES/YES
+"one two thre|e four five"   ->   "thre|e four"   ->   "two thre|e"    ->   YES/YES
+"one two three| four five"   ->   "three| four"   ->   "two three|"    ->   YES/YES
+"one two three |four five"   ->   "three |four"   ->   " |four five"   ->   YES/YES
+"one two three f|our five"   ->   "three f|our"   ->   " f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "three fo|ur"   ->   " fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "three fou|r"   ->   " fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "three four|"   ->   " four| five"   ->   YES/YES
+"one two three four |five"   ->   " |five"        ->   " four |five"   ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"        ->   " four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"        ->   " four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"        ->   " four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   " five|"        ->   " four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner04b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner04b-input.html
new file mode 100644
index 0000000..09fe48e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner04b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two [three four] five"
+    // To   "one [two three] four five"
+    return positionTest(8,18,4,13);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner05a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner05a-expected.html
new file mode 100644
index 0000000..9a47890
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner05a-expected.html
@@ -0,0 +1,27 @@
+From "one [two th]ree four five"
+To   "one two th[ree four] five"
+
+"|one two three four five"   ->   "|one "            ->   "|one two th"   ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "            ->   "o|ne two th"   ->   YES/YES
+"on|e two three four five"   ->   "on|e "            ->   "on|e two th"   ->   YES/YES
+"one| two three four five"   ->   "one| "            ->   "one| two th"   ->   YES/YES
+"one |two three four five"   ->   "|two th"          ->   "one |two th"   ->   YES/YES
+"one t|wo three four five"   ->   "t|wo th"          ->   "one t|wo th"   ->   YES/YES
+"one tw|o three four five"   ->   "tw|o th"          ->   "one tw|o th"   ->   YES/YES
+"one two| three four five"   ->   "two| th"          ->   "one two| th"   ->   YES/YES
+"one two |three four five"   ->   "two |th"          ->   "one two |th"   ->   YES/YES
+"one two t|hree four five"   ->   "two t|h"          ->   "one two t|h"   ->   YES/YES
+"one two th|ree four five"   ->   "two th|"          ->   "|ree four"     ->   YES/YES
+"one two thr|ee four five"   ->   "r|ee four five"   ->   "r|ee four"     ->   YES/YES
+"one two thre|e four five"   ->   "re|e four five"   ->   "re|e four"     ->   YES/YES
+"one two three| four five"   ->   "ree| four five"   ->   "ree| four"     ->   YES/YES
+"one two three |four five"   ->   "ree |four five"   ->   "ree |four"     ->   YES/YES
+"one two three f|our five"   ->   "ree f|our five"   ->   "ree f|our"     ->   YES/YES
+"one two three fo|ur five"   ->   "ree fo|ur five"   ->   "ree fo|ur"     ->   YES/YES
+"one two three fou|r five"   ->   "ree fou|r five"   ->   "ree fou|r"     ->   YES/YES
+"one two three four| five"   ->   "ree four| five"   ->   "ree four|"     ->   YES/YES
+"one two three four |five"   ->   "ree four |five"   ->   " |five"        ->   YES/YES
+"one two three four f|ive"   ->   "ree four f|ive"   ->   " f|ive"        ->   YES/YES
+"one two three four fi|ve"   ->   "ree four fi|ve"   ->   " fi|ve"        ->   YES/YES
+"one two three four fiv|e"   ->   "ree four fiv|e"   ->   " fiv|e"        ->   YES/YES
+"one two three four five|"   ->   "ree four five|"   ->   " five|"        ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner05a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner05a-input.html
new file mode 100644
index 0000000..a01dfcb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner05a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two th]ree four five"
+    // To   "one two th[ree four] five"
+    return positionTest(4,10,10,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner05b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner05b-expected.html
new file mode 100644
index 0000000..a21cdd2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner05b-expected.html
@@ -0,0 +1,27 @@
+From "one two th[ree four] five"
+To   "one [two th]ree four five"
+
+"|one two three four five"   ->   "|one two th"   ->   "|one "            ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two th"   ->   "o|ne "            ->   YES/YES
+"on|e two three four five"   ->   "on|e two th"   ->   "on|e "            ->   YES/YES
+"one| two three four five"   ->   "one| two th"   ->   "one| "            ->   YES/YES
+"one |two three four five"   ->   "one |two th"   ->   "|two th"          ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo th"   ->   "t|wo th"          ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o th"   ->   "tw|o th"          ->   YES/YES
+"one two| three four five"   ->   "one two| th"   ->   "two| th"          ->   YES/YES
+"one two |three four five"   ->   "one two |th"   ->   "two |th"          ->   YES/YES
+"one two t|hree four five"   ->   "one two t|h"   ->   "two t|h"          ->   YES/YES
+"one two th|ree four five"   ->   "|ree four"     ->   "two th|"          ->   YES/YES
+"one two thr|ee four five"   ->   "r|ee four"     ->   "r|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "re|e four"     ->   "re|e four five"   ->   YES/YES
+"one two three| four five"   ->   "ree| four"     ->   "ree| four five"   ->   YES/YES
+"one two three |four five"   ->   "ree |four"     ->   "ree |four five"   ->   YES/YES
+"one two three f|our five"   ->   "ree f|our"     ->   "ree f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "ree fo|ur"     ->   "ree fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "ree fou|r"     ->   "ree fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "ree four|"     ->   "ree four| five"   ->   YES/YES
+"one two three four |five"   ->   " |five"        ->   "ree four |five"   ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"        ->   "ree four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"        ->   "ree four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"        ->   "ree four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   " five|"        ->   "ree four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner05b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner05b-input.html
new file mode 100644
index 0000000..1bb20d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner05b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two th[ree four] five"
+    // To   "one [two th]ree four five"
+    return positionTest(10,18,4,10);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner06a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner06a-expected.html
new file mode 100644
index 0000000..1db9e73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner06a-expected.html
@@ -0,0 +1,27 @@
+From "one [two] three four five"
+To   "one two three [four] five"
+
+"|one two three four five"   ->   "|one "               ->   "|one two three "   ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "               ->   "o|ne two three "   ->   YES/YES
+"on|e two three four five"   ->   "on|e "               ->   "on|e two three "   ->   YES/YES
+"one| two three four five"   ->   "one| "               ->   "one| two three "   ->   YES/YES
+"one |two three four five"   ->   "|two"                ->   "one |two three "   ->   YES/YES
+"one t|wo three four five"   ->   "t|wo"                ->   "one t|wo three "   ->   YES/YES
+"one tw|o three four five"   ->   "tw|o"                ->   "one tw|o three "   ->   YES/YES
+"one two| three four five"   ->   "two|"                ->   "one two| three "   ->   YES/YES
+"one two |three four five"   ->   " |three four five"   ->   "one two |three "   ->   YES/YES
+"one two t|hree four five"   ->   " t|hree four five"   ->   "one two t|hree "   ->   YES/YES
+"one two th|ree four five"   ->   " th|ree four five"   ->   "one two th|ree "   ->   YES/YES
+"one two thr|ee four five"   ->   " thr|ee four five"   ->   "one two thr|ee "   ->   YES/YES
+"one two thre|e four five"   ->   " thre|e four five"   ->   "one two thre|e "   ->   YES/YES
+"one two three| four five"   ->   " three| four five"   ->   "one two three| "   ->   YES/YES
+"one two three |four five"   ->   " three |four five"   ->   "|four"             ->   YES/YES
+"one two three f|our five"   ->   " three f|our five"   ->   "f|our"             ->   YES/YES
+"one two three fo|ur five"   ->   " three fo|ur five"   ->   "fo|ur"             ->   YES/YES
+"one two three fou|r five"   ->   " three fou|r five"   ->   "fou|r"             ->   YES/YES
+"one two three four| five"   ->   " three four| five"   ->   "four|"             ->   YES/YES
+"one two three four |five"   ->   " three four |five"   ->   " |five"            ->   YES/YES
+"one two three four f|ive"   ->   " three four f|ive"   ->   " f|ive"            ->   YES/YES
+"one two three four fi|ve"   ->   " three four fi|ve"   ->   " fi|ve"            ->   YES/YES
+"one two three four fiv|e"   ->   " three four fiv|e"   ->   " fiv|e"            ->   YES/YES
+"one two three four five|"   ->   " three four five|"   ->   " five|"            ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner06a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner06a-input.html
new file mode 100644
index 0000000..2ecc068
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner06a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two] three four five"
+    // To   "one two three [four] five"
+    return positionTest(4,7,14,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner06b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner06b-expected.html
new file mode 100644
index 0000000..c93a016
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner06b-expected.html
@@ -0,0 +1,27 @@
+From "one two three [four] five"
+To   "one [two] three four five"
+
+"|one two three four five"   ->   "|one two three "   ->   "|one "               ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two three "   ->   "o|ne "               ->   YES/YES
+"on|e two three four five"   ->   "on|e two three "   ->   "on|e "               ->   YES/YES
+"one| two three four five"   ->   "one| two three "   ->   "one| "               ->   YES/YES
+"one |two three four five"   ->   "one |two three "   ->   "|two"                ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo three "   ->   "t|wo"                ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o three "   ->   "tw|o"                ->   YES/YES
+"one two| three four five"   ->   "one two| three "   ->   "two|"                ->   YES/YES
+"one two |three four five"   ->   "one two |three "   ->   " |three four five"   ->   YES/YES
+"one two t|hree four five"   ->   "one two t|hree "   ->   " t|hree four five"   ->   YES/YES
+"one two th|ree four five"   ->   "one two th|ree "   ->   " th|ree four five"   ->   YES/YES
+"one two thr|ee four five"   ->   "one two thr|ee "   ->   " thr|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "one two thre|e "   ->   " thre|e four five"   ->   YES/YES
+"one two three| four five"   ->   "one two three| "   ->   " three| four five"   ->   YES/YES
+"one two three |four five"   ->   "|four"             ->   " three |four five"   ->   YES/YES
+"one two three f|our five"   ->   "f|our"             ->   " three f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "fo|ur"             ->   " three fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "fou|r"             ->   " three fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "four|"             ->   " three four| five"   ->   YES/YES
+"one two three four |five"   ->   " |five"            ->   " three four |five"   ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"            ->   " three four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"            ->   " three four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"            ->   " three four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   " five|"            ->   " three four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner06b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner06b-input.html
new file mode 100644
index 0000000..696557b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner06b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two three [four] five"
+    // To   "one [two] three four five"
+    return positionTest(14,18,4,7);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer01a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer01a-expected.html
new file mode 100644
index 0000000..2f0a340
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer01a-expected.html
@@ -0,0 +1,27 @@
+From "[one two three four five]"
+To   "one two [three] four five"
+
+"|one two three four five"   ->   "|one two three four five"   ->   "|one two "     ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two three four five"   ->   "o|ne two "     ->   YES/YES
+"on|e two three four five"   ->   "on|e two three four five"   ->   "on|e two "     ->   YES/YES
+"one| two three four five"   ->   "one| two three four five"   ->   "one| two "     ->   YES/YES
+"one |two three four five"   ->   "one |two three four five"   ->   "one |two "     ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo three four five"   ->   "one t|wo "     ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o three four five"   ->   "one tw|o "     ->   YES/YES
+"one two| three four five"   ->   "one two| three four five"   ->   "one two| "     ->   YES/YES
+"one two |three four five"   ->   "one two |three four five"   ->   "|three"        ->   YES/YES
+"one two t|hree four five"   ->   "one two t|hree four five"   ->   "t|hree"        ->   YES/YES
+"one two th|ree four five"   ->   "one two th|ree four five"   ->   "th|ree"        ->   YES/YES
+"one two thr|ee four five"   ->   "one two thr|ee four five"   ->   "thr|ee"        ->   YES/YES
+"one two thre|e four five"   ->   "one two thre|e four five"   ->   "thre|e"        ->   YES/YES
+"one two three| four five"   ->   "one two three| four five"   ->   "three|"        ->   YES/YES
+"one two three |four five"   ->   "one two three |four five"   ->   " |four five"   ->   YES/YES
+"one two three f|our five"   ->   "one two three f|our five"   ->   " f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "one two three fo|ur five"   ->   " fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "one two three fou|r five"   ->   " fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "one two three four| five"   ->   " four| five"   ->   YES/YES
+"one two three four |five"   ->   "one two three four |five"   ->   " four |five"   ->   YES/YES
+"one two three four f|ive"   ->   "one two three four f|ive"   ->   " four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   "one two three four fi|ve"   ->   " four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   "one two three four fiv|e"   ->   " four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   "one two three four five|"   ->   " four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer01a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer01a-input.html
new file mode 100644
index 0000000..973f777
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer01a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "[one two three four five]"
+    // To   "one two [three] four five"
+    return positionTest(0,23,8,13);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer01b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer01b-expected.html
new file mode 100644
index 0000000..c6f5b68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer01b-expected.html
@@ -0,0 +1,27 @@
+From "one two [three] four five"
+To   "[one two three four five]"
+
+"|one two three four five"   ->   "|one two "     ->   "|one two three four five"   ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two "     ->   "o|ne two three four five"   ->   YES/YES
+"on|e two three four five"   ->   "on|e two "     ->   "on|e two three four five"   ->   YES/YES
+"one| two three four five"   ->   "one| two "     ->   "one| two three four five"   ->   YES/YES
+"one |two three four five"   ->   "one |two "     ->   "one |two three four five"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo "     ->   "one t|wo three four five"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o "     ->   "one tw|o three four five"   ->   YES/YES
+"one two| three four five"   ->   "one two| "     ->   "one two| three four five"   ->   YES/YES
+"one two |three four five"   ->   "|three"        ->   "one two |three four five"   ->   YES/YES
+"one two t|hree four five"   ->   "t|hree"        ->   "one two t|hree four five"   ->   YES/YES
+"one two th|ree four five"   ->   "th|ree"        ->   "one two th|ree four five"   ->   YES/YES
+"one two thr|ee four five"   ->   "thr|ee"        ->   "one two thr|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "thre|e"        ->   "one two thre|e four five"   ->   YES/YES
+"one two three| four five"   ->   "three|"        ->   "one two three| four five"   ->   YES/YES
+"one two three |four five"   ->   " |four five"   ->   "one two three |four five"   ->   YES/YES
+"one two three f|our five"   ->   " f|our five"   ->   "one two three f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   " fo|ur five"   ->   "one two three fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   " fou|r five"   ->   "one two three fou|r five"   ->   YES/YES
+"one two three four| five"   ->   " four| five"   ->   "one two three four| five"   ->   YES/YES
+"one two three four |five"   ->   " four |five"   ->   "one two three four |five"   ->   YES/YES
+"one two three four f|ive"   ->   " four f|ive"   ->   "one two three four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   " four fi|ve"   ->   "one two three four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   " four fiv|e"   ->   "one two three four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   " four five|"   ->   "one two three four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer01b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer01b-input.html
new file mode 100644
index 0000000..f2e3427
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer01b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two [three] four five"
+    // To   "[one two three four five]"
+    return positionTest(8,13,0,23);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer02a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer02a-expected.html
new file mode 100644
index 0000000..e49852d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer02a-expected.html
@@ -0,0 +1,27 @@
+From "[one two three four] five"
+To   "[one two three] four five"
+
+"|one two three four five"   ->   "|one two three four"   ->   "|one two three"   ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two three four"   ->   "o|ne two three"   ->   YES/YES
+"on|e two three four five"   ->   "on|e two three four"   ->   "on|e two three"   ->   YES/YES
+"one| two three four five"   ->   "one| two three four"   ->   "one| two three"   ->   YES/YES
+"one |two three four five"   ->   "one |two three four"   ->   "one |two three"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo three four"   ->   "one t|wo three"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o three four"   ->   "one tw|o three"   ->   YES/YES
+"one two| three four five"   ->   "one two| three four"   ->   "one two| three"   ->   YES/YES
+"one two |three four five"   ->   "one two |three four"   ->   "one two |three"   ->   YES/YES
+"one two t|hree four five"   ->   "one two t|hree four"   ->   "one two t|hree"   ->   YES/YES
+"one two th|ree four five"   ->   "one two th|ree four"   ->   "one two th|ree"   ->   YES/YES
+"one two thr|ee four five"   ->   "one two thr|ee four"   ->   "one two thr|ee"   ->   YES/YES
+"one two thre|e four five"   ->   "one two thre|e four"   ->   "one two thre|e"   ->   YES/YES
+"one two three| four five"   ->   "one two three| four"   ->   "one two three|"   ->   YES/YES
+"one two three |four five"   ->   "one two three |four"   ->   " |four five"      ->   YES/YES
+"one two three f|our five"   ->   "one two three f|our"   ->   " f|our five"      ->   YES/YES
+"one two three fo|ur five"   ->   "one two three fo|ur"   ->   " fo|ur five"      ->   YES/YES
+"one two three fou|r five"   ->   "one two three fou|r"   ->   " fou|r five"      ->   YES/YES
+"one two three four| five"   ->   "one two three four|"   ->   " four| five"      ->   YES/YES
+"one two three four |five"   ->   " |five"                ->   " four |five"      ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"                ->   " four f|ive"      ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"                ->   " four fi|ve"      ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"                ->   " four fiv|e"      ->   YES/YES
+"one two three four five|"   ->   " five|"                ->   " four five|"      ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer02a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer02a-input.html
new file mode 100644
index 0000000..5427340
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer02a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "[one two three four] five"
+    // To   "[one two three] four five"
+    return positionTest(0,18,0,13);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer02b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer02b-expected.html
new file mode 100644
index 0000000..b796419
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer02b-expected.html
@@ -0,0 +1,27 @@
+From "[one two three] four five"
+To   "[one two three four] five"
+
+"|one two three four five"   ->   "|one two three"   ->   "|one two three four"   ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two three"   ->   "o|ne two three four"   ->   YES/YES
+"on|e two three four five"   ->   "on|e two three"   ->   "on|e two three four"   ->   YES/YES
+"one| two three four five"   ->   "one| two three"   ->   "one| two three four"   ->   YES/YES
+"one |two three four five"   ->   "one |two three"   ->   "one |two three four"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo three"   ->   "one t|wo three four"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o three"   ->   "one tw|o three four"   ->   YES/YES
+"one two| three four five"   ->   "one two| three"   ->   "one two| three four"   ->   YES/YES
+"one two |three four five"   ->   "one two |three"   ->   "one two |three four"   ->   YES/YES
+"one two t|hree four five"   ->   "one two t|hree"   ->   "one two t|hree four"   ->   YES/YES
+"one two th|ree four five"   ->   "one two th|ree"   ->   "one two th|ree four"   ->   YES/YES
+"one two thr|ee four five"   ->   "one two thr|ee"   ->   "one two thr|ee four"   ->   YES/YES
+"one two thre|e four five"   ->   "one two thre|e"   ->   "one two thre|e four"   ->   YES/YES
+"one two three| four five"   ->   "one two three|"   ->   "one two three| four"   ->   YES/YES
+"one two three |four five"   ->   " |four five"      ->   "one two three |four"   ->   YES/YES
+"one two three f|our five"   ->   " f|our five"      ->   "one two three f|our"   ->   YES/YES
+"one two three fo|ur five"   ->   " fo|ur five"      ->   "one two three fo|ur"   ->   YES/YES
+"one two three fou|r five"   ->   " fou|r five"      ->   "one two three fou|r"   ->   YES/YES
+"one two three four| five"   ->   " four| five"      ->   "one two three four|"   ->   YES/YES
+"one two three four |five"   ->   " four |five"      ->   " |five"                ->   YES/YES
+"one two three four f|ive"   ->   " four f|ive"      ->   " f|ive"                ->   YES/YES
+"one two three four fi|ve"   ->   " four fi|ve"      ->   " fi|ve"                ->   YES/YES
+"one two three four fiv|e"   ->   " four fiv|e"      ->   " fiv|e"                ->   YES/YES
+"one two three four five|"   ->   " four five|"      ->   " five|"                ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer02b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer02b-input.html
new file mode 100644
index 0000000..2d1e691
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer02b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "[one two three] four five"
+    // To   "[one two three four] five"
+    return positionTest(0,13,0,18);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer03a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer03a-expected.html
new file mode 100644
index 0000000..700efd8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer03a-expected.html
@@ -0,0 +1,27 @@
+From "one [two three four five]"
+To   "one two [three four five]"
+
+"|one two three four five"   ->   "|one "                  ->   "|one two "          ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "                  ->   "o|ne two "          ->   YES/YES
+"on|e two three four five"   ->   "on|e "                  ->   "on|e two "          ->   YES/YES
+"one| two three four five"   ->   "one| "                  ->   "one| two "          ->   YES/YES
+"one |two three four five"   ->   "|two three four five"   ->   "one |two "          ->   YES/YES
+"one t|wo three four five"   ->   "t|wo three four five"   ->   "one t|wo "          ->   YES/YES
+"one tw|o three four five"   ->   "tw|o three four five"   ->   "one tw|o "          ->   YES/YES
+"one two| three four five"   ->   "two| three four five"   ->   "one two| "          ->   YES/YES
+"one two |three four five"   ->   "two |three four five"   ->   "|three four five"   ->   YES/YES
+"one two t|hree four five"   ->   "two t|hree four five"   ->   "t|hree four five"   ->   YES/YES
+"one two th|ree four five"   ->   "two th|ree four five"   ->   "th|ree four five"   ->   YES/YES
+"one two thr|ee four five"   ->   "two thr|ee four five"   ->   "thr|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "two thre|e four five"   ->   "thre|e four five"   ->   YES/YES
+"one two three| four five"   ->   "two three| four five"   ->   "three| four five"   ->   YES/YES
+"one two three |four five"   ->   "two three |four five"   ->   "three |four five"   ->   YES/YES
+"one two three f|our five"   ->   "two three f|our five"   ->   "three f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "two three fo|ur five"   ->   "three fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "two three fou|r five"   ->   "three fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "two three four| five"   ->   "three four| five"   ->   YES/YES
+"one two three four |five"   ->   "two three four |five"   ->   "three four |five"   ->   YES/YES
+"one two three four f|ive"   ->   "two three four f|ive"   ->   "three four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   "two three four fi|ve"   ->   "three four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   "two three four fiv|e"   ->   "three four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   "two three four five|"   ->   "three four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer03a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer03a-input.html
new file mode 100644
index 0000000..e782120
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer03a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two three four five]"
+    // To   "one two [three four five]"
+    return positionTest(4,23,8,23);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer03b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer03b-expected.html
new file mode 100644
index 0000000..d226f07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer03b-expected.html
@@ -0,0 +1,27 @@
+From "one two [three four five]"
+To   "one [two three four five]"
+
+"|one two three four five"   ->   "|one two "          ->   "|one "                  ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two "          ->   "o|ne "                  ->   YES/YES
+"on|e two three four five"   ->   "on|e two "          ->   "on|e "                  ->   YES/YES
+"one| two three four five"   ->   "one| two "          ->   "one| "                  ->   YES/YES
+"one |two three four five"   ->   "one |two "          ->   "|two three four five"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo "          ->   "t|wo three four five"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o "          ->   "tw|o three four five"   ->   YES/YES
+"one two| three four five"   ->   "one two| "          ->   "two| three four five"   ->   YES/YES
+"one two |three four five"   ->   "|three four five"   ->   "two |three four five"   ->   YES/YES
+"one two t|hree four five"   ->   "t|hree four five"   ->   "two t|hree four five"   ->   YES/YES
+"one two th|ree four five"   ->   "th|ree four five"   ->   "two th|ree four five"   ->   YES/YES
+"one two thr|ee four five"   ->   "thr|ee four five"   ->   "two thr|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "thre|e four five"   ->   "two thre|e four five"   ->   YES/YES
+"one two three| four five"   ->   "three| four five"   ->   "two three| four five"   ->   YES/YES
+"one two three |four five"   ->   "three |four five"   ->   "two three |four five"   ->   YES/YES
+"one two three f|our five"   ->   "three f|our five"   ->   "two three f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "three fo|ur five"   ->   "two three fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "three fou|r five"   ->   "two three fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "three four| five"   ->   "two three four| five"   ->   YES/YES
+"one two three four |five"   ->   "three four |five"   ->   "two three four |five"   ->   YES/YES
+"one two three four f|ive"   ->   "three four f|ive"   ->   "two three four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   "three four fi|ve"   ->   "two three four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   "three four fiv|e"   ->   "two three four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   "three four five|"   ->   "two three four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer03b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer03b-input.html
new file mode 100644
index 0000000..39deb56
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer03b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two [three four five]"
+    // To   "one [two three four five]"
+    return positionTest(8,23,4,23);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer04a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer04a-expected.html
new file mode 100644
index 0000000..795fe46
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer04a-expected.html
@@ -0,0 +1,27 @@
+From "[one two three] four five"
+To   "one two [three four five]"
+
+"|one two three four five"   ->   "|one two three"   ->   "|one two "          ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two three"   ->   "o|ne two "          ->   YES/YES
+"on|e two three four five"   ->   "on|e two three"   ->   "on|e two "          ->   YES/YES
+"one| two three four five"   ->   "one| two three"   ->   "one| two "          ->   YES/YES
+"one |two three four five"   ->   "one |two three"   ->   "one |two "          ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo three"   ->   "one t|wo "          ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o three"   ->   "one tw|o "          ->   YES/YES
+"one two| three four five"   ->   "one two| three"   ->   "one two| "          ->   YES/YES
+"one two |three four five"   ->   "one two |three"   ->   "|three four five"   ->   YES/YES
+"one two t|hree four five"   ->   "one two t|hree"   ->   "t|hree four five"   ->   YES/YES
+"one two th|ree four five"   ->   "one two th|ree"   ->   "th|ree four five"   ->   YES/YES
+"one two thr|ee four five"   ->   "one two thr|ee"   ->   "thr|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "one two thre|e"   ->   "thre|e four five"   ->   YES/YES
+"one two three| four five"   ->   "one two three|"   ->   "three| four five"   ->   YES/YES
+"one two three |four five"   ->   " |four five"      ->   "three |four five"   ->   YES/YES
+"one two three f|our five"   ->   " f|our five"      ->   "three f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   " fo|ur five"      ->   "three fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   " fou|r five"      ->   "three fou|r five"   ->   YES/YES
+"one two three four| five"   ->   " four| five"      ->   "three four| five"   ->   YES/YES
+"one two three four |five"   ->   " four |five"      ->   "three four |five"   ->   YES/YES
+"one two three four f|ive"   ->   " four f|ive"      ->   "three four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   " four fi|ve"      ->   "three four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   " four fiv|e"      ->   "three four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   " four five|"      ->   "three four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer04a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer04a-input.html
new file mode 100644
index 0000000..6bf497c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer04a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "[one two three] four five"
+    // To   "one two [three four five]"
+    return positionTest(0,13,8,23);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer04b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer04b-expected.html
new file mode 100644
index 0000000..c4cba59
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer04b-expected.html
@@ -0,0 +1,27 @@
+From "one two [three four five]"
+To   "[one two three] four five"
+
+"|one two three four five"   ->   "|one two "          ->   "|one two three"   ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two "          ->   "o|ne two three"   ->   YES/YES
+"on|e two three four five"   ->   "on|e two "          ->   "on|e two three"   ->   YES/YES
+"one| two three four five"   ->   "one| two "          ->   "one| two three"   ->   YES/YES
+"one |two three four five"   ->   "one |two "          ->   "one |two three"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo "          ->   "one t|wo three"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o "          ->   "one tw|o three"   ->   YES/YES
+"one two| three four five"   ->   "one two| "          ->   "one two| three"   ->   YES/YES
+"one two |three four five"   ->   "|three four five"   ->   "one two |three"   ->   YES/YES
+"one two t|hree four five"   ->   "t|hree four five"   ->   "one two t|hree"   ->   YES/YES
+"one two th|ree four five"   ->   "th|ree four five"   ->   "one two th|ree"   ->   YES/YES
+"one two thr|ee four five"   ->   "thr|ee four five"   ->   "one two thr|ee"   ->   YES/YES
+"one two thre|e four five"   ->   "thre|e four five"   ->   "one two thre|e"   ->   YES/YES
+"one two three| four five"   ->   "three| four five"   ->   "one two three|"   ->   YES/YES
+"one two three |four five"   ->   "three |four five"   ->   " |four five"      ->   YES/YES
+"one two three f|our five"   ->   "three f|our five"   ->   " f|our five"      ->   YES/YES
+"one two three fo|ur five"   ->   "three fo|ur five"   ->   " fo|ur five"      ->   YES/YES
+"one two three fou|r five"   ->   "three fou|r five"   ->   " fou|r five"      ->   YES/YES
+"one two three four| five"   ->   "three four| five"   ->   " four| five"      ->   YES/YES
+"one two three four |five"   ->   "three four |five"   ->   " four |five"      ->   YES/YES
+"one two three four f|ive"   ->   "three four f|ive"   ->   " four f|ive"      ->   YES/YES
+"one two three four fi|ve"   ->   "three four fi|ve"   ->   " four fi|ve"      ->   YES/YES
+"one two three four fiv|e"   ->   "three four fiv|e"   ->   " four fiv|e"      ->   YES/YES
+"one two three four five|"   ->   "three four five|"   ->   " four five|"      ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer04b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer04b-input.html
new file mode 100644
index 0000000..0274d11
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer04b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two [three four five]"
+    // To   "[one two three] four five"
+    return positionTest(8,23,0,13);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer05a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer05a-expected.html
new file mode 100644
index 0000000..6fd6d7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer05a-expected.html
@@ -0,0 +1,27 @@
+From "[one two th]ree four five"
+To   "one two th[ree four five]"
+
+"|one two three four five"   ->   "|one two th"      ->   "|one two th"      ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two th"      ->   "o|ne two th"      ->   YES/YES
+"on|e two three four five"   ->   "on|e two th"      ->   "on|e two th"      ->   YES/YES
+"one| two three four five"   ->   "one| two th"      ->   "one| two th"      ->   YES/YES
+"one |two three four five"   ->   "one |two th"      ->   "one |two th"      ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo th"      ->   "one t|wo th"      ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o th"      ->   "one tw|o th"      ->   YES/YES
+"one two| three four five"   ->   "one two| th"      ->   "one two| th"      ->   YES/YES
+"one two |three four five"   ->   "one two |th"      ->   "one two |th"      ->   YES/YES
+"one two t|hree four five"   ->   "one two t|h"      ->   "one two t|h"      ->   YES/YES
+"one two th|ree four five"   ->   "one two th|"      ->   "|ree four five"   ->   YES/YES
+"one two thr|ee four five"   ->   "r|ee four five"   ->   "r|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "re|e four five"   ->   "re|e four five"   ->   YES/YES
+"one two three| four five"   ->   "ree| four five"   ->   "ree| four five"   ->   YES/YES
+"one two three |four five"   ->   "ree |four five"   ->   "ree |four five"   ->   YES/YES
+"one two three f|our five"   ->   "ree f|our five"   ->   "ree f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "ree fo|ur five"   ->   "ree fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "ree fou|r five"   ->   "ree fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "ree four| five"   ->   "ree four| five"   ->   YES/YES
+"one two three four |five"   ->   "ree four |five"   ->   "ree four |five"   ->   YES/YES
+"one two three four f|ive"   ->   "ree four f|ive"   ->   "ree four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   "ree four fi|ve"   ->   "ree four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   "ree four fiv|e"   ->   "ree four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   "ree four five|"   ->   "ree four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer05a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer05a-input.html
new file mode 100644
index 0000000..ca45336
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer05a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "[one two th]ree four five"
+    // To   "one two th[ree four five]"
+    return positionTest(0,10,10,23);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer05b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer05b-expected.html
new file mode 100644
index 0000000..1068614
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer05b-expected.html
@@ -0,0 +1,27 @@
+From "one two th[ree four five]"
+To   "[one two th]ree four five"
+
+"|one two three four five"   ->   "|one two th"      ->   "|one two th"      ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two th"      ->   "o|ne two th"      ->   YES/YES
+"on|e two three four five"   ->   "on|e two th"      ->   "on|e two th"      ->   YES/YES
+"one| two three four five"   ->   "one| two th"      ->   "one| two th"      ->   YES/YES
+"one |two three four five"   ->   "one |two th"      ->   "one |two th"      ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo th"      ->   "one t|wo th"      ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o th"      ->   "one tw|o th"      ->   YES/YES
+"one two| three four five"   ->   "one two| th"      ->   "one two| th"      ->   YES/YES
+"one two |three four five"   ->   "one two |th"      ->   "one two |th"      ->   YES/YES
+"one two t|hree four five"   ->   "one two t|h"      ->   "one two t|h"      ->   YES/YES
+"one two th|ree four five"   ->   "|ree four five"   ->   "one two th|"      ->   YES/YES
+"one two thr|ee four five"   ->   "r|ee four five"   ->   "r|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "re|e four five"   ->   "re|e four five"   ->   YES/YES
+"one two three| four five"   ->   "ree| four five"   ->   "ree| four five"   ->   YES/YES
+"one two three |four five"   ->   "ree |four five"   ->   "ree |four five"   ->   YES/YES
+"one two three f|our five"   ->   "ree f|our five"   ->   "ree f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "ree fo|ur five"   ->   "ree fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "ree fou|r five"   ->   "ree fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "ree four| five"   ->   "ree four| five"   ->   YES/YES
+"one two three four |five"   ->   "ree four |five"   ->   "ree four |five"   ->   YES/YES
+"one two three four f|ive"   ->   "ree four f|ive"   ->   "ree four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   "ree four fi|ve"   ->   "ree four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   "ree four fiv|e"   ->   "ree four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   "ree four five|"   ->   "ree four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer05b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer05b-input.html
new file mode 100644
index 0000000..de3a6fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer05b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two th[ree four five]"
+    // To   "[one two th]ree four five"
+    return positionTest(10,23,0,10);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer06a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer06a-expected.html
new file mode 100644
index 0000000..09d1581
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer06a-expected.html
@@ -0,0 +1,27 @@
+From "[one] two three four five"
+To   "one two three four [five]"
+
+"|one two three four five"   ->   "|one"                    ->   "|one two three four "   ->   YES/YES
+"o|ne two three four five"   ->   "o|ne"                    ->   "o|ne two three four "   ->   YES/YES
+"on|e two three four five"   ->   "on|e"                    ->   "on|e two three four "   ->   YES/YES
+"one| two three four five"   ->   "one|"                    ->   "one| two three four "   ->   YES/YES
+"one |two three four five"   ->   " |two three four five"   ->   "one |two three four "   ->   YES/YES
+"one t|wo three four five"   ->   " t|wo three four five"   ->   "one t|wo three four "   ->   YES/YES
+"one tw|o three four five"   ->   " tw|o three four five"   ->   "one tw|o three four "   ->   YES/YES
+"one two| three four five"   ->   " two| three four five"   ->   "one two| three four "   ->   YES/YES
+"one two |three four five"   ->   " two |three four five"   ->   "one two |three four "   ->   YES/YES
+"one two t|hree four five"   ->   " two t|hree four five"   ->   "one two t|hree four "   ->   YES/YES
+"one two th|ree four five"   ->   " two th|ree four five"   ->   "one two th|ree four "   ->   YES/YES
+"one two thr|ee four five"   ->   " two thr|ee four five"   ->   "one two thr|ee four "   ->   YES/YES
+"one two thre|e four five"   ->   " two thre|e four five"   ->   "one two thre|e four "   ->   YES/YES
+"one two three| four five"   ->   " two three| four five"   ->   "one two three| four "   ->   YES/YES
+"one two three |four five"   ->   " two three |four five"   ->   "one two three |four "   ->   YES/YES
+"one two three f|our five"   ->   " two three f|our five"   ->   "one two three f|our "   ->   YES/YES
+"one two three fo|ur five"   ->   " two three fo|ur five"   ->   "one two three fo|ur "   ->   YES/YES
+"one two three fou|r five"   ->   " two three fou|r five"   ->   "one two three fou|r "   ->   YES/YES
+"one two three four| five"   ->   " two three four| five"   ->   "one two three four| "   ->   YES/YES
+"one two three four |five"   ->   " two three four |five"   ->   "|five"                  ->   YES/YES
+"one two three four f|ive"   ->   " two three four f|ive"   ->   "f|ive"                  ->   YES/YES
+"one two three four fi|ve"   ->   " two three four fi|ve"   ->   "fi|ve"                  ->   YES/YES
+"one two three four fiv|e"   ->   " two three four fiv|e"   ->   "fiv|e"                  ->   YES/YES
+"one two three four five|"   ->   " two three four five|"   ->   "five|"                  ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer06a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer06a-input.html
new file mode 100644
index 0000000..40832f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer06a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "[one] two three four five"
+    // To   "one two three four [five]"
+    return positionTest(0,3,19,23);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer06b-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-outer06b-expected.html
new file mode 100644
index 0000000..8927be4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer06b-expected.html
@@ -0,0 +1,27 @@
+From "one two three four [five]"
+To   "[one] two three four five"
+
+"|one two three four five"   ->   "|one two three four "   ->   "|one"                    ->   YES/YES
+"o|ne two three four five"   ->   "o|ne two three four "   ->   "o|ne"                    ->   YES/YES
+"on|e two three four five"   ->   "on|e two three four "   ->   "on|e"                    ->   YES/YES
+"one| two three four five"   ->   "one| two three four "   ->   "one|"                    ->   YES/YES
+"one |two three four five"   ->   "one |two three four "   ->   " |two three four five"   ->   YES/YES
+"one t|wo three four five"   ->   "one t|wo three four "   ->   " t|wo three four five"   ->   YES/YES
+"one tw|o three four five"   ->   "one tw|o three four "   ->   " tw|o three four five"   ->   YES/YES
+"one two| three four five"   ->   "one two| three four "   ->   " two| three four five"   ->   YES/YES
+"one two |three four five"   ->   "one two |three four "   ->   " two |three four five"   ->   YES/YES
+"one two t|hree four five"   ->   "one two t|hree four "   ->   " two t|hree four five"   ->   YES/YES
+"one two th|ree four five"   ->   "one two th|ree four "   ->   " two th|ree four five"   ->   YES/YES
+"one two thr|ee four five"   ->   "one two thr|ee four "   ->   " two thr|ee four five"   ->   YES/YES
+"one two thre|e four five"   ->   "one two thre|e four "   ->   " two thre|e four five"   ->   YES/YES
+"one two three| four five"   ->   "one two three| four "   ->   " two three| four five"   ->   YES/YES
+"one two three |four five"   ->   "one two three |four "   ->   " two three |four five"   ->   YES/YES
+"one two three f|our five"   ->   "one two three f|our "   ->   " two three f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "one two three fo|ur "   ->   " two three fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "one two three fou|r "   ->   " two three fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "one two three four| "   ->   " two three four| five"   ->   YES/YES
+"one two three four |five"   ->   "|five"                  ->   " two three four |five"   ->   YES/YES
+"one two three four f|ive"   ->   "f|ive"                  ->   " two three four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   "fi|ve"                  ->   " two three four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   "fiv|e"                  ->   " two three four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   "five|"                  ->   " two three four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-outer06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-outer06b-input.html b/experiments/editorFramework/test/Layer0/selection/positions-outer06b-input.html
new file mode 100644
index 0000000..58fa0b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-outer06b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one two three four [five]"
+    // To   "[one] two three four five"
+    return positionTest(19,23,0,3);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-expected.html b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-expected.html
new file mode 100644
index 0000000..ea62a25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <div class="uxwrite-selection">
+      <table id="item1" width="100%">
+        <colgroup>
+          <col width="25%"/>
+          <col width="25%"/>
+          <col width="25%"/>
+          <col width="25%"/>
+        </colgroup>
+        <tbody>
+          <tr>
+            <td>One</td>
+            <td>Two</td>
+            <td>Three</td>
+            <td>Four</td>
+          </tr>
+          <tr>
+            <td>Five</td>
+            <td>Six</td>
+            <td>Seven</td>
+            <td>Eight</td>
+          </tr>
+          <tr>
+            <td>Nine</td>
+            <td>Ten</td>
+            <td>Eleven</td>
+            <td>Twelve</td>
+          </tr>
+          <tr>
+            <td>Thirteen</td>
+            <td>Fourteen</td>
+            <td>Fifteen</td>
+            <td>Sixteen</td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-input.html b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-input.html
new file mode 100644
index 0000000..baf1d44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/selectAll-from-table01-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    outputOptions.keepSelectionHighlights = true;
+    Selection_selectAll();
+//    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six]</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-input.html
new file mode 100644
index 0000000..ba0102d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-pre08-input.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>
+    First code example:
+    <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+  </li>
+  <li>
+    <ol>
+      <li>
+        Second code example:
+        <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+      </li>
+      <li>
+        Third code example:
+        <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+      </li>
+    </ol>
+  </li>
+  <li>
+    Fourth code example:
+    <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+  </li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy01-expected.html
new file mode 100644
index 0000000..ae8abc3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy01-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+Sample
+
+text/plain
+----------
+
+Sample

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy01-input.html
new file mode 100644
index 0000000..123978a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p>[Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy02-expected.html
new file mode 100644
index 0000000..e3907cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy02-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+text
+
+text/plain
+----------
+
+text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy02-input.html
new file mode 100644
index 0000000..7ee5582
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p>Sample [text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy03-expected.html
new file mode 100644
index 0000000..2c517fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy03-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+Sample text
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy03-input.html
new file mode 100644
index 0000000..3f20755
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy03-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy04-expected.html
new file mode 100644
index 0000000..683d985
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy04-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p>Sample text</p>
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy04-input.html
new file mode 100644
index 0000000..487a61d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy04-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p>Sample text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy05-expected.html
new file mode 100644
index 0000000..472c8e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy05-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i><u>ample</u></i></b> tex
+
+text/plain
+----------
+
+***ample*** tex

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy05-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy05-input.html
new file mode 100644
index 0000000..7aec3be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p><b><i><u>S[ample</u></i></b> tex]t</p>
+<p><b><i><u>Sample</u></i></b> text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy06-expected.html
new file mode 100644
index 0000000..9b65c52
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy06-expected.html
@@ -0,0 +1,12 @@
+text/html
+---------
+
+<p><b><i><u>ample</u></i></b> text</p>
+<p><b><i><u>Sample</u></i></b> tex</p>
+
+text/plain
+----------
+
+***ample*** text
+
+***Sample*** tex

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy06-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy06-input.html
new file mode 100644
index 0000000..a98f4bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p><b><i><u>S[ample</u></i></b> text</p>
+<p><b><i><u>Sample</u></i></b> tex]t</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-expected.html
new file mode 100644
index 0000000..225eabc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Three</p></li>
+    </ul>
+    <p>Sample text</p>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+      <li><p>TwoX[]</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-input.html
new file mode 100644
index 0000000..dd7b6ca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list01-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var dest = document.getElementById("dest");
+    var clip = Clipboard_cut();
+    Selection_set(dest,dest.childNodes.length,dest,dest.childNodes.length);
+    Clipboard_pasteHTML(clip["text/html"]);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ul>
+<p>Sample text</p>
+<ul>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p id="dest">Six</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-expected.html
new file mode 100644
index 0000000..1f9c115
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Three</p></li>
+    </ul>
+    <p>Sample text</p>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>TwoX[]</p></li>
+      <li><p>Six</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-input.html
new file mode 100644
index 0000000..6c6e7dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copypaste-list02-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var dest = document.getElementById("dest");
+    var clip = Clipboard_cut();
+    Selection_set(dest,dest.childNodes.length,dest,dest.childNodes.length);
+    Clipboard_pasteHTML(clip["text/html"]);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ul>
+<p>Sample text</p>
+<ul>
+  <li><p>Four</p></li>
+  <li><p id="dest">Five</p></li>
+  <li><p>Six</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li01-expected.html
new file mode 100644
index 0000000..5139c17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li01-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>Three</li></ul>
+
+text/plain
+----------
+
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li01-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li01-input.html
new file mode 100644
index 0000000..912ecff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li01-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li02-expected.html
new file mode 100644
index 0000000..b98ef02
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li02-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+  </body>
+</html>
+
+text/html
+---------
+
+<ol><li>Three</li></ol>
+
+text/plain
+----------
+
+1.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li02-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li02-input.html
new file mode 100644
index 0000000..f2f84a0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li03-expected.html
new file mode 100644
index 0000000..89e5071
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li03-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>T</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+hree
+
+text/plain
+----------
+
+hree

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li03-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li03-input.html
new file mode 100644
index 0000000..cb6ad8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>T[hree]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li04-expected.html
new file mode 100644
index 0000000..edbaeae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li04-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>One</li>
+  <li>Two</li>
+  <li>Three</li></ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li04-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li04-input.html
new file mode 100644
index 0000000..b0a5ffd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  [<li>One</li>
+  <li>Two</li>
+  <li>Three</li>]
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li05-expected.html
new file mode 100644
index 0000000..edbaeae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li05-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>One</li>
+  <li>Two</li>
+  <li>Three</li></ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li05-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li05-input.html
new file mode 100644
index 0000000..ec13825
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li06-expected.html
new file mode 100644
index 0000000..53a2ebc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li06-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>One</li></ul>
+
+text/plain
+----------
+
+  - One

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li06-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li06-input.html
new file mode 100644
index 0000000..51a483f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li07-expected.html
new file mode 100644
index 0000000..84e2750
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li07-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>
+    <ol>
+     <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </li></ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li07-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li07-input.html
new file mode 100644
index 0000000..c1dbbd4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li07-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <ol>
+     [<li>One</li>
+      <li>Two</li>
+      <li>Three</li>]
+    </ol>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li08-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li08-expected.html
new file mode 100644
index 0000000..62a7e5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li08-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Zero</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>
+    <ol>
+     <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </li></ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li08-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li08-input.html
new file mode 100644
index 0000000..4550806
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li08-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>Zero</li>
+  <li>
+    <ol>
+     [<li>One</li>
+      <li>Two</li>
+      <li>Three</li>]
+    </ol>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li09-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li09-expected.html
new file mode 100644
index 0000000..954bcf6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li09-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Four</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>
+    <ol>
+     <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </li></ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li09-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li09-input.html
new file mode 100644
index 0000000..6d7c136
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li09-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <ol>
+     [<li>One</li>
+      <li>Two</li>
+      <li>Three</li>]
+    </ol>
+  </li>
+  <li>Four</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li10-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li10-expected.html
new file mode 100644
index 0000000..0f3273e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li10-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Zero</li>
+      <li>Four</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>
+    <ol>
+     <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </li></ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li10-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li10-input.html
new file mode 100644
index 0000000..c123a49
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li10-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>Zero</li>
+  <li>
+    <ol>
+     [<li>One</li>
+      <li>Two</li>
+      <li>Three</li>]
+    </ol>
+  </li>
+  <li>Four</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li11-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li11-expected.html
new file mode 100644
index 0000000..389188e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li11-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li/>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>
+    <ol>
+     <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </li></ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li11-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li11-input.html
new file mode 100644
index 0000000..5e97532
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li11-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li></li>
+  <li>
+    <ol>
+     [<li>One</li>
+      <li>Two</li>
+      <li>Three</li>]
+    </ol>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li12-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li12-expected.html
new file mode 100644
index 0000000..389188e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li12-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li/>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>
+    <ol>
+     <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </li></ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li12-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li12-input.html
new file mode 100644
index 0000000..9f21e85
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li12-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <ol>
+     [<li>One</li>
+      <li>Two</li>
+      <li>Three</li>]
+    </ol>
+  </li>
+  <li></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li13-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li13-expected.html
new file mode 100644
index 0000000..a4dcc84
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li13-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li/>
+      <li/>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>
+    <ol>
+     <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </li></ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li13-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li13-input.html
new file mode 100644
index 0000000..ca776b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li13-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li></li>
+  <li>
+    <ol>
+     [<li>One</li>
+      <li>Two</li>
+      <li>Three</li>]
+    </ol>
+  </li>
+  <li></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li14-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li14-expected.html
new file mode 100644
index 0000000..d40944a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li14-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>[]Three</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>Two</li></ul>
+
+text/plain
+----------
+
+  - Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li14-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li14-input.html
new file mode 100644
index 0000000..779a18c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li14-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-expected.html
new file mode 100644
index 0000000..50d6eac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>[]Three</p></li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li><p>Two</p></li></ul>
+
+text/plain
+----------
+
+  - Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-input.html
new file mode 100644
index 0000000..e4b9e67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li14a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li15-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li15-expected.html
new file mode 100644
index 0000000..246eac6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li15-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One[]</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>Two</li>
+  <li>Three</li></ul>
+
+text/plain
+----------
+
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li15-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li15-input.html
new file mode 100644
index 0000000..11ceb4a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li15-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>[Two</li>
+  <li>Three]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-expected.html
new file mode 100644
index 0000000..dff4fb6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One[]</p></li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li><p>Two</p></li>
+  <li><p>Three</p></li></ul>
+
+text/plain
+----------
+
+  - Two
+
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-input.html
new file mode 100644
index 0000000..99eca68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li15a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>[Two</p></li>
+  <li><p>Three]</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li16-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li16-expected.html
new file mode 100644
index 0000000..e030c62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li16-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[]Three</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>One</li>
+  <li>Two</li></ul>
+
+text/plain
+----------
+
+  - One
+  - Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li16-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li16-input.html
new file mode 100644
index 0000000..fc235a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li16-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One</li>
+  <li>Two]</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-expected.html
new file mode 100644
index 0000000..41619fc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>[]Three</p></li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li><p>One</p></li>
+  <li><p>Two</p></li></ul>
+
+text/plain
+----------
+
+  - One
+
+  - Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-input.html
new file mode 100644
index 0000000..2d9b585
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li16a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>[One</p></li>
+  <li><p>Two]</p></li>
+  <li><p>Three</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li17-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li17-expected.html
new file mode 100644
index 0000000..af90fca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li17-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One[]</li>
+      <li>Four</li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li>Two</li>
+  <li>Three</li></ul>
+
+text/plain
+----------
+
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li17-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li17-input.html
new file mode 100644
index 0000000..29a6e93
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li17-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>[Two</li>
+  <li>Three]</li>
+  <li>Four</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-expected.html
new file mode 100644
index 0000000..f8dec50
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One[]</p></li>
+      <li><p>Four</p></li>
+    </ul>
+  </body>
+</html>
+
+text/html
+---------
+
+<ul><li><p>Two</p></li>
+  <li><p>Three</p></li></ul>
+
+text/plain
+----------
+
+  - Two
+
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-input.html
new file mode 100644
index 0000000..79a3f4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-li17a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>[Two</p></li>
+  <li><p>Three]</p></li>
+  <li><p>Four</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-td01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-td01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-td01-expected.html
new file mode 100644
index 0000000..729e14a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-td01-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>[]</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+text/html
+---------
+
+One
+
+text/plain
+----------
+
+One

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-td01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-td01-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-td01-input.html
new file mode 100644
index 0000000..d6a9e1c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-td01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>[One]</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-expected.html
new file mode 100644
index 0000000..e786be5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-expected.html
@@ -0,0 +1,32 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p>Two</p></td>
+        </tr>
+        <tr>
+          <td><p>Three</p></td>
+          <td><p>Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>
+
+text/html
+---------
+
+One
+
+text/plain
+----------
+
+One

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-input.html b/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-input.html
new file mode 100644
index 0000000..85730db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/cut-td01a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var clip = Clipboard_cut();
+    showSelection();
+    var html = PrettyPrinter.getHTML(document.documentElement);
+    return html+"\n"+showClipboard(clip);
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td><p>[One]</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-expected.html
new file mode 100644
index 0000000..ebe91b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p id="test">one</p>
+    <p>two</p>
+    <p>three[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-input.html
new file mode 100644
index 0000000..03f0327
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<p id='test'>one</p><p id='test'>two</p><p id='test'>three</p>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-expected.html
new file mode 100644
index 0000000..bcea4cb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="test">start</p>
+    <p>one</p>
+    <p>two</p>
+    <p>three[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-input.html
new file mode 100644
index 0000000..9fe5d92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<p id='test'>one</p><p id='test'>two</p><p id='test'>three</p>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="test">start</p>
+<p>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-expected.html
new file mode 100644
index 0000000..20d6cb1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>one</p>
+    <p>two</p>
+    <p>three[]</p>
+    <p id="test">end</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-input.html
new file mode 100644
index 0000000..c6d4968
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-dupIds03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<p id='test'>one</p><p id='test'>two</p><p id='test'>three</p>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<br/></p>
+<p id="test">end</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-expected.html
new file mode 100644
index 0000000..49ad39a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div class="page" title="Page 1">
+      []
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-input.html
new file mode 100644
index 0000000..ae36e01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\t<head>\n\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n\t\t<title></title>\n\t</head>\n\t<body>\n\t\t<div class=\"page\" title=\"Page 1\">\n\t\t\t\n\t\t</div>\n\t</body>\n</html>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-input.html
new file mode 100644
index 0000000..581a5c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-htmldoc02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("    ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-expected.html
new file mode 100644
index 0000000..d7249a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p1" z="1">Before</p>
+    <p>test[]</p>
+    <p z="1">After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-input.html
new file mode 100644
index 0000000..93de5e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<p>test</p>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1" z="1">Before[]After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-expected.html
new file mode 100644
index 0000000..220d0d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p1" z="1">Before</p>
+    <h1>test[]</h1>
+    <p z="1">After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-input.html
new file mode 100644
index 0000000..4d98c96
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<h1>test</h1>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1" z="1">Before[]After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-expected.html
new file mode 100644
index 0000000..8766587
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="h11" z="1">Before</h1>
+    <p>test[]</p>
+    <h1 z="1">After</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-input.html
new file mode 100644
index 0000000..f6aacd6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<p>test</p>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="h11" z="1">Before[]After</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-expected.html
new file mode 100644
index 0000000..3614113
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="h11" z="1">Before</h1>
+    <h1>test[]</h1>
+    <h1 z="1">After</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-input.html
new file mode 100644
index 0000000..4fd0911
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<h1>test</h1>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="h11" z="1">Before[]After</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-expected.html
new file mode 100644
index 0000000..f1addae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <b id="b1" z="1">Before</b>
+    <p><b z="1">test[]</b></p>
+    <b z="1">After</b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-input.html
new file mode 100644
index 0000000..bbb8188
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<p>test</p>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<b id="b1" z="1">Before[]After</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-expected.html
new file mode 100644
index 0000000..9067048
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <b id="b1" z="1"><i id="i1" z="2"><u id="u1" z="3">Before</u></i></b>
+    <p><b z="1"><i z="2"><u z="3">test[]</u></i></b></p>
+    <b z="1"><i z="2"><u z="3">After</u></i></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-input.html
new file mode 100644
index 0000000..663ff9b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<p>test</p>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<b id="b1" z="1"><i id="i1" z="2"><u id="u1" z="3">Before[]After</u></i></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-expected.html
new file mode 100644
index 0000000..3e9f6a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p1" z="1">Before</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three[]</li>
+    </ul>
+    <p z="1">After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-input.html
new file mode 100644
index 0000000..8f0d8cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<ul><li>One</li><li>Two</li><li>Three</li></ul>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1" z="1">Before[]After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-expected.html
new file mode 100644
index 0000000..d23fea9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p1" z="1">Before</p>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three[]</li>
+    </ol>
+    <p z="1">After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-input.html
new file mode 100644
index 0000000..6c7a5fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<ol><li>One</li><li>Two</li><li>Three</li></ol>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1" z="1">Before[]After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-expected.html
new file mode 100644
index 0000000..3e9f6a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p1" z="1">Before</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three[]</li>
+    </ul>
+    <p z="1">After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-input.html
new file mode 100644
index 0000000..8b1c1e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<li>One</li><li>Two</li><li>Three</li>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1" z="1">Before[]After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-expected.html
new file mode 100644
index 0000000..bf06bed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p1" z="1">Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>Table[]</td>
+        </tr>
+      </tbody>
+    </table>
+    <p z="1">After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-input.html
new file mode 100644
index 0000000..d0a3541
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-invalid10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML("<table><tr><td>Table</td></tr></table>");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1" z="1">Before[]After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li01-expected.html
new file mode 100644
index 0000000..4df509f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li01-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>BeforeSTART</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]After</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li01-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li01-input.html
new file mode 100644
index 0000000..907c6a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li01-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "<ul>"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "</ul>"+
+                        "MIDDLE"+
+                        "<ul>"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "</ul>"+
+                        "END"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Before[Two]After</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li02-expected.html
new file mode 100644
index 0000000..4df509f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li02-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>BeforeSTART</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]After</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li02-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li02-input.html
new file mode 100644
index 0000000..7742265
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li02-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "MIDDLE"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "END"
+                        );
+   showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Before[Two]After</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li03-expected.html
new file mode 100644
index 0000000..e2c4c43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li03-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>START</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li03-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li03-input.html
new file mode 100644
index 0000000..33ca8f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li03-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "<ul>"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "</ul>"+
+                        "MIDDLE"+
+                        "<ul>"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "</ul>"+
+                        "END"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li04-expected.html
new file mode 100644
index 0000000..e2c4c43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li04-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>START</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li04-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li04-input.html
new file mode 100644
index 0000000..6222b40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li04-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "MIDDLE"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "END"
+                        );
+   showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li05-expected.html
new file mode 100644
index 0000000..e2c4c43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li05-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>START</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li05-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li05-input.html
new file mode 100644
index 0000000..d9f0c6c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li05-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "<ul>"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "</ul>"+
+                        "MIDDLE"+
+                        "<ul>"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "</ul>"+
+                        "END"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li06-expected.html
new file mode 100644
index 0000000..e2c4c43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li06-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>START</li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>MIDDLE</li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>END[]</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li06-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li06-input.html
new file mode 100644
index 0000000..6f8974d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li06-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "START"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "MIDDLE"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "END"
+                        );
+   showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li07-expected.html
new file mode 100644
index 0000000..98b998e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li07-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>
+        ST
+        <u>AR</u>
+        T
+      </li>
+      <li>AAA</li>
+      <li>BBB</li>
+      <li>CCC</li>
+      <li>
+        MI
+        <u>DD</u>
+        LE
+      </li>
+      <li>DDD</li>
+      <li>EEE</li>
+      <li>FFF</li>
+      <li>
+        E
+        <u>N</u>
+        D[]
+      </li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/paste-li07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/paste-li07-input.html b/experiments/editorFramework/test/Layer0/clipboard/paste-li07-input.html
new file mode 100644
index 0000000..267ce2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/paste-li07-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Clipboard_pasteHTML(
+                        "ST<u>AR</u>T"+
+                        "<ul>"+
+                        "  <li>AAA</li>"+
+                        "  <li>BBB</li>"+
+                        "  <li>CCC</li>"+
+                        "</ul>"+
+                        "MI<u>DD</u>LE"+
+                        "<ul>"+
+                        "  <li>DDD</li>"+
+                        "  <li>EEE</li>"+
+                        "  <li>FFF</li>"+
+                        "</ul>"+
+                        "E<u>N</u>D"
+                        );
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-expected.html
new file mode 100644
index 0000000..b4c7d8e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <p>One</p>
+        <ul>
+          <li><p>Two</p></li>
+          <li>
+            <p>
+              []
+              <br/>
+            </p>
+          </li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-input.html
new file mode 100644
index 0000000..4269103
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list29-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>
+      <p>One</p>
+      <ul>
+        <li>
+          <p>Two[]</p>
+        </li>
+      </ul>
+    </li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-expected.html
new file mode 100644
index 0000000..7264aef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <p>One</p>
+        <ul>
+          <li>
+            <p>Two</p>
+            <ul>
+              <li><p>Three</p></li>
+              <li>
+                <p>
+                  []
+                  <br/>
+                </p>
+              </li>
+            </ul>
+          </li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-input.html
new file mode 100644
index 0000000..8c0b5ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list30-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>
+      <p>One</p>
+      <ul>
+        <li>
+          <p>Two</p>
+          <ul>
+            <li>
+              <p>Three[]</p>
+            </li>
+          </ul>
+        </li>
+      </ul>
+    </li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-expected.html
new file mode 100644
index 0000000..71813d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+        <ul>
+          <li><p>Two</p></li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-input.html
new file mode 100644
index 0000000..dc4d87b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list31-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>
+      <p>One[]</p>
+      <ul>
+        <li>
+          <p>Two</p>
+        </li>
+      </ul>
+    </li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-expected.html
new file mode 100644
index 0000000..866a621
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <p>One</p>
+        <ul>
+          <li><p>Two</p></li>
+          <li>
+            <p>
+              []
+              <br/>
+            </p>
+            <ul>
+              <li><p>Three</p></li>
+            </ul>
+          </li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-input.html
new file mode 100644
index 0000000..24457ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list32-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>
+      <p>One</p>
+      <ul>
+        <li>
+          <p>Two[]</p>
+          <ul>
+            <li>
+              <p>Three</p>
+            </li>
+          </ul>
+        </li>
+      </ul>
+    </li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-expected.html
new file mode 100644
index 0000000..11d2874
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+        <ul>
+          <li>
+            <p>Two</p>
+            <ul>
+              <li><p>Three</p></li>
+            </ul>
+          </li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-input.html
new file mode 100644
index 0000000..1236696
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list33-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>
+      <p>One[]</p>
+      <ul>
+        <li>
+          <p>Two</p>
+          <ul>
+            <li>
+              <p>Three</p>
+            </li>
+          </ul>
+        </li>
+      </ul>
+    </li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-expected.html
new file mode 100644
index 0000000..f2aa188
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">Sample t</h1>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-input.html
new file mode 100644
index 0000000..28a598b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="item1">Sample t[]ext</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-expected.html
new file mode 100644
index 0000000..db7dc66
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">Sample t</h1>
+    <p class="Foo">[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-input.html
new file mode 100644
index 0000000..6f4ef8d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setParagraphClass("Foo");
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="item1">Sample t[]ext</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-expected.html
new file mode 100644
index 0000000..1bac7f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-input.html
new file mode 100644
index 0000000..bdfb739
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-expected.html
new file mode 100644
index 0000000..1bac7f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-input.html
new file mode 100644
index 0000000..3c16599
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setParagraphClass("Foo");
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-expected.html
new file mode 100644
index 0000000..e3d6d90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-input.html
new file mode 100644
index 0000000..d78152a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // p.Foo is not valid JSON and should generate a parser error, and be ignored
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "p.Foo" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-expected.html
new file mode 100644
index 0000000..e3d6d90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-input.html
new file mode 100644
index 0000000..62167e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05b-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // 123 is valid JSON but is not a string, and should be ignored
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "123" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-expected.html
new file mode 100644
index 0000000..e3d6d90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-input.html
new file mode 100644
index 0000000..b7a0aef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05c-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // { a: 'x' } is valid JSON but is not a string, and should be ignored
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "{ \"a\": \"x\" }" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-expected.html
new file mode 100644
index 0000000..e3d6d90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-input.html
new file mode 100644
index 0000000..b54a20f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05d-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // true is valid JSON string but is not a string, and should be ignored
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "true" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-expected.html
new file mode 100644
index 0000000..e3d6d90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-input.html
new file mode 100644
index 0000000..be17c7d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next05e-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // null is valid JSON but is not a string, and should be ignored
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "null" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-expected.html
new file mode 100644
index 0000000..a75205f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <p class="Foo">[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-input.html
new file mode 100644
index 0000000..dcefcb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "\"p.Foo\"" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-expected.html
new file mode 100644
index 0000000..7ab9fa8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <blockquote>[]ext</blockquote>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-input.html
new file mode 100644
index 0000000..ea6cacf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "\"blockquote\"" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-expected.html
new file mode 100644
index 0000000..8303868
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p id="item1">Sample t</p>
+    <blockquote class="Foo">[]ext</blockquote>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-input.html
new file mode 100644
index 0000000..52832d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "\"blockquote.Foo\"" } });
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="item1">Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-expected.html
new file mode 100644
index 0000000..267b8e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <blockquote id="item1">Sample t</blockquote>
+    <blockquote>[]ext</blockquote>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-input.html
new file mode 100644
index 0000000..b81b444
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-next09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<blockquote id="item1">Sample t[]ext</blockquote>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-expected.html
new file mode 100644
index 0000000..8527bd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample t</h1>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-input.html
new file mode 100644
index 0000000..9f63245
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Sample t[]ext</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-expected.html
new file mode 100644
index 0000000..79f6e29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample text</h1>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-input.html
new file mode 100644
index 0000000..02ee52d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Sample text[]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-expected.html
new file mode 100644
index 0000000..c1725bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+    <h1>Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-input.html
new file mode 100644
index 0000000..89935a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>[]Sample text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-expected.html
new file mode 100644
index 0000000..3b7c93f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample t</h1>
+    <p class="Normal">[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-input.html
new file mode 100644
index 0000000..c16fcc0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setParagraphClass("Normal");
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Sample t[]ext</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-expected.html
new file mode 100644
index 0000000..c61c647
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample text</h1>
+    <p class="Normal">
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-input.html
new file mode 100644
index 0000000..9a9a9ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setParagraphClass("Normal");
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Sample text[]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-expected.html
new file mode 100644
index 0000000..b45256a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p class="Normal">
+      []
+      <br/>
+    </p>
+    <h1>Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-input.html
new file mode 100644
index 0000000..a775a28
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-paragraphClass06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Styles_setParagraphClass("Normal");
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>[]Sample text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-expected.html
new file mode 100644
index 0000000..da91fb6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sam</p>
+    <p>[]xt</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-input.html
new file mode 100644
index 0000000..2764de2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sam[ple te]xt</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-expected.html
new file mode 100644
index 0000000..6183f00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-input.html
new file mode 100644
index 0000000..411efea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-expected.html
new file mode 100644
index 0000000..085ca35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sam</p>
+    <p>[]nt</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-input.html
new file mode 100644
index 0000000..51fde91
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sam[ple text</p>
+<p>More conte]nt</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-expected.html
new file mode 100644
index 0000000..6183f00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-input.html
new file mode 100644
index 0000000..fb9bdd6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-selection04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[Sample text</p>
+<p>More content]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed01-expected.html
new file mode 100644
index 0000000..58c04c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed01-input.html
new file mode 100644
index 0000000..6d9b8b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample t[]ext</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed02-expected.html
new file mode 100644
index 0000000..58c04c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed02-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample t</p>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed02-input.html
new file mode 100644
index 0000000..6e7dcc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+Sample t[]ext
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed03-expected.html
new file mode 100644
index 0000000..ff5b01b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      Sample t
+    </div>
+    <div>
+      []ext
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed03-input.html
new file mode 100644
index 0000000..a3aa1e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div>Sample t[]ext</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed04-expected.html
new file mode 100644
index 0000000..0b17320
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed04-input.html
new file mode 100644
index 0000000..c22179e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed05-expected.html
new file mode 100644
index 0000000..ee8db9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text</p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed05-input.html
new file mode 100644
index 0000000..ef94848
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed06-expected.html
new file mode 100644
index 0000000..e85dc5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed06-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample t</b></p>
+    <p><b>[]ext</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed06-input.html
new file mode 100644
index 0000000..773f5ca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>Sample t[]ext</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed07-expected.html
new file mode 100644
index 0000000..bce2182
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed07-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p><b>[]Sample text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed07-input.html
new file mode 100644
index 0000000..4503c22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>[]Sample text</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed08-expected.html
new file mode 100644
index 0000000..e2382cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+    <p>
+      <b>[]</b>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed08-input.html
new file mode 100644
index 0000000..126ce8b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>Sample text[]</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed09-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed09-expected.html
new file mode 100644
index 0000000..006e734
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed09-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+    <p><b>X[]</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed09-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed09-input.html
new file mode 100644
index 0000000..7a1d1ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed09-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_insertCharacter("X");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>Sample text[]</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed10-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed10-expected.html
new file mode 100644
index 0000000..32944cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed10-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample t</u></i></b></p>
+    <p><b><i><u>[]ext</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed10-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed10-input.html
new file mode 100644
index 0000000..07859a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed10-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample t[]ext</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed11-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed11-expected.html
new file mode 100644
index 0000000..6997377
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed11-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p><b><i><u>[]Sample text</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed11-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed11-input.html
new file mode 100644
index 0000000..f4ca6f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed11-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>[]Sample text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed12-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed12-expected.html
new file mode 100644
index 0000000..4b556fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed12-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample text</u></i></b></p>
+    <p>
+      <b><i><u>[]</u></i></b>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed12-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed12-input.html
new file mode 100644
index 0000000..4866888
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed12-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample text[]</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed13-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed13-expected.html
new file mode 100644
index 0000000..7543691
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed13-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample text</u></i></b></p>
+    <p><b><i><u>X[]</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed13-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed13-input.html
new file mode 100644
index 0000000..8f44823
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed13-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_insertCharacter("X");
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample text[]</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed14-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed14-expected.html
new file mode 100644
index 0000000..f2b6255
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed14-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sam</p>
+    <p>
+      []ple
+      <b><i><u>text</u></i></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed14-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed14-input.html
new file mode 100644
index 0000000..88eb9d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed14-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sam[]ple <b><i><u>text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed15-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed15-expected.html
new file mode 100644
index 0000000..8af5c92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed15-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample</p>
+    <p>
+      []
+      <b><i><u>text</u></i></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed15-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed15-input.html
new file mode 100644
index 0000000..264f118
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed15-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample []<b><i><u>text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed16-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed16-expected.html
new file mode 100644
index 0000000..0a2583f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed16-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><u>Sample</u></i></b>
+      te
+    </p>
+    <p>[]xt</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed16-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed16-input.html
new file mode 100644
index 0000000..02cca24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed16-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample</u></i></b> te[]xt</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed17-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed17-expected.html
new file mode 100644
index 0000000..12fe0bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed17-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample</u></i></b></p>
+    <p>[] text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed17-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed17-input.html
new file mode 100644
index 0000000..bce07e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed17-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample</u></i></b>[] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed18-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed18-expected.html
new file mode 100644
index 0000000..8e26da0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed18-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <i>
+          <u>Sample</u>
+          te
+        </i>
+      </b>
+    </p>
+    <p><b><i>[]xt</i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed18-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed18-input.html
new file mode 100644
index 0000000..8593681
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed18-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample</u> te[]xt</i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed19-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed19-expected.html
new file mode 100644
index 0000000..8abab2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed19-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample</u></i></b></p>
+    <p><b><i>[] text</i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed19-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed19-input.html
new file mode 100644
index 0000000..5f5e30c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed19-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample</u>[] text</i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed20-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed20-expected.html
new file mode 100644
index 0000000..b168370
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed20-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <i>
+          <u>Sample</u>
+          text
+        </i>
+      </b>
+    </p>
+    <p>
+      <b><i>[]</i></b>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed20-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed20-input.html
new file mode 100644
index 0000000..40ec62a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed20-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample</u> text[]</i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed21-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed21-expected.html
new file mode 100644
index 0000000..3c553d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed21-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i>Sam</i></b></p>
+    <p>
+      <b>
+        <i>
+          []ple
+          <u>text</u>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed21-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed21-input.html
new file mode 100644
index 0000000..16878e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed21-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i>Sam[]ple <u>text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed22-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed22-expected.html
new file mode 100644
index 0000000..f3306b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed22-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>
+      <b>
+        <i>
+          []Sample
+          <u>text</u>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed22-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed22-input.html
new file mode 100644
index 0000000..c21cca8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed22-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i>[]Sample <u>text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed23-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed23-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed23-expected.html
new file mode 100644
index 0000000..c0c71c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed23-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i>Sample</i></b></p>
+    <p>
+      <b>
+        <i>
+          []
+          <u>text</u>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed23-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed23-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed23-input.html
new file mode 100644
index 0000000..10f87db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed23-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i>Sample []<u>text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed24-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed24-expected.html
new file mode 100644
index 0000000..5945812
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed24-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>
+      []*
+      <b><i><u>Sample text</u></i></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed24-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed24-input.html
new file mode 100644
index 0000000..a4c009f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed24-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<b><i><u>Sample text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed25-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed25-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed25-expected.html
new file mode 100644
index 0000000..f6e93fc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed25-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample text</u></i></b></p>
+    <p>
+      []*
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed25-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed25-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed25-input.html
new file mode 100644
index 0000000..f7b9e78
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed25-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample text</u></i></b>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed26-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed26-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed26-expected.html
new file mode 100644
index 0000000..e904127
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed26-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>
+      <b>
+        <i>
+          []*
+          <u>Sample text</u>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed26-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed26-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed26-input.html
new file mode 100644
index 0000000..92b3bee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed26-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i>[]<u>Sample text</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed27-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed27-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed27-expected.html
new file mode 100644
index 0000000..e34cfaa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed27-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample text</u></i></b></p>
+    <p>
+      <b><i>[]*</i></b>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed27-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed27-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed27-input.html
new file mode 100644
index 0000000..22fb7ff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed27-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sample text</u>[]</i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed28-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed28-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed28-expected.html
new file mode 100644
index 0000000..6b52335
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed28-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed28-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed28-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed28-input.html
new file mode 100644
index 0000000..6498510
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed28-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed29-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed29-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed29-expected.html
new file mode 100644
index 0000000..8fcc923
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed29-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>[]Some text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed29-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed29-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed29-input.html
new file mode 100644
index 0000000..bb68b7a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed29-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]Some text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed30-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed30-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed30-expected.html
new file mode 100644
index 0000000..4ca9994
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed30-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>one</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed30-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed30-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed30-input.html
new file mode 100644
index 0000000..8c2cfdd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed30-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one [two]</p>
+<p>three</p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge04a-input.html b/experiments/editorFramework/test/Layer0/lists/merge04a-input.html
new file mode 100644
index 0000000..3c0b3d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge04a-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+</ul>
+
+<ol>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>[Five]</p></li>
+</ol>
+
+<ul>
+  <li><p>Six</p></li>
+  <li><p>Seven</p></li>
+</ul>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge04b-expected.html b/experiments/editorFramework/test/Layer0/lists/merge04b-expected.html
new file mode 100644
index 0000000..2c1ed2e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge04b-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+    </ul>
+    <ol>
+      <li>Three</li>
+      <li>Four</li>
+    </ol>
+    <ul>
+      <li>Five</li>
+      <li>Six</li>
+      <li>Seven</li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge04b-input.html b/experiments/editorFramework/test/Layer0/lists/merge04b-input.html
new file mode 100644
index 0000000..5187aed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge04b-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+</ul>
+
+<ol>
+  <li>Three</li>
+  <li>Four</li>
+  <li>[Five]</li>
+</ol>
+
+<ul>
+  <li>Six</li>
+  <li>Seven</li>
+</ul>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-expected.html
new file mode 100644
index 0000000..4268f74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>Above 1</p></li>
+      <li><p>Above 2</p></li>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-input.html
new file mode 100644
index 0000000..7739ba9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01a-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>Above 1</p></li>
+  <li><p>Above 2</p></li>
+</ol>
+<ul>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-expected.html
new file mode 100644
index 0000000..f8ce90b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>Above 1</li>
+      <li>Above 2</li>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-input.html
new file mode 100644
index 0000000..273fcc0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent01b-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>Above 1</li>
+  <li>Above 2</li>
+</ol>
+<ul>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-expected.html
new file mode 100644
index 0000000..4b64c20
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Below 1</p></li>
+      <li><p>Below 2</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-input.html
new file mode 100644
index 0000000..8d7d556
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02a-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ul>
+<ol>
+  <li><p>Below 1</p></li>
+  <li><p>Below 2</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-expected.html
new file mode 100644
index 0000000..70e3d6f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Below 1</li>
+      <li>Below 2</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-input.html
new file mode 100644
index 0000000..55350d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent02b-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ul>
+<ol>
+  <li>Below 1</li>
+  <li>Below 2</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-expected.html
new file mode 100644
index 0000000..c476b4c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>Above 1</p></li>
+      <li><p>Above 2</p></li>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Below 1</p></li>
+      <li><p>Below 2</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-input.html
new file mode 100644
index 0000000..c2b6c3c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03a-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>Above 1</p></li>
+  <li><p>Above 2</p></li>
+</ol>
+<ul>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ul>
+<ol>
+  <li><p>Below 1</p></li>
+  <li><p>Below 2</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-expected.html
new file mode 100644
index 0000000..25e974d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>Above 1</li>
+      <li>Above 2</li>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Below 1</li>
+      <li>Below 2</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-input.html
new file mode 100644
index 0000000..be61f12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul-adjacent03b-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>Above 1</li>
+  <li>Above 2</li>
+</ol>
+<ul>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ul>
+<ol>
+  <li>Below 1</li>
+  <li>Below 2</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-expected.html
new file mode 100644
index 0000000..63bfcdc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-input.html
new file mode 100644
index 0000000..2ef09be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-expected.html
new file mode 100644
index 0000000..e3af9be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-input.html
new file mode 100644
index 0000000..df7b687
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul01b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-expected.html
new file mode 100644
index 0000000..29f51f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+    </ol>
+    <ul>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-input.html
new file mode 100644
index 0000000..8c65115
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>[One]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-expected.html
new file mode 100644
index 0000000..55be2e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+    </ol>
+    <ul>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-input.html
new file mode 100644
index 0000000..249b7e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul02b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One]</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-expected.html
new file mode 100644
index 0000000..780a1f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <ol>
+      <li><p>Three</p></li>
+    </ol>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-input.html
new file mode 100644
index 0000000..1aa1253
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>[Three]</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-expected.html
new file mode 100644
index 0000000..e957e61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+    </ul>
+    <ol>
+      <li>Three</li>
+    </ol>
+    <ul>
+      <li>Four</li>
+      <li>Five</li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-input.html
new file mode 100644
index 0000000..194cb8e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul03b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-expected.html
new file mode 100644
index 0000000..4f4f65e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+    </ul>
+    <ol>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-input.html
new file mode 100644
index 0000000..b4ff467
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>[Five]</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-expected.html
new file mode 100644
index 0000000..02bef3d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+    </ul>
+    <ol>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-input.html
new file mode 100644
index 0000000..79f33b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul04b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>[Five]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-expected.html
new file mode 100644
index 0000000..8c3d4f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <ul>
+          <li><p>First</p></li>
+          <li><p>Second</p></li>
+          <li><p>Third</p></li>
+        </ul>
+      </li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-input.html
new file mode 100644
index 0000000..322ade2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05a-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>[One</p></li>
+  <li><p>Two</p>
+    <ul>
+      <li><p>First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third</p></li>
+    </ul>
+  </li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-expected.html
new file mode 100644
index 0000000..08b4607
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        Two
+        <ul>
+          <li>First</li>
+          <li>Second</li>
+          <li>Third</li>
+        </ul>
+      </li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-input.html
new file mode 100644
index 0000000..700cb13
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul05b-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[One</li>
+  <li>Two
+    <ul>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third</li>
+    </ul>
+  </li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-expected.html
new file mode 100644
index 0000000..770a692
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>First</p></li>
+          <li><p>Second</p></li>
+          <li><p>Third</p></li>
+        </ol>
+      </li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-input.html
new file mode 100644
index 0000000..98f76f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06a-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p>
+    <ul>
+      <li><p>[First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third]</p></li>
+    </ul>
+  </li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-expected.html
new file mode 100644
index 0000000..2410c34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>
+        Two
+        <ol>
+          <li>First</li>
+          <li>Second</li>
+          <li>Third</li>
+        </ol>
+      </li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-input.html
new file mode 100644
index 0000000..8695dd0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul06b-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Two
+    <ul>
+      <li>[First</li>
+      <li>Second</li>
+      <li>Third]</li>
+    </ul>
+  </li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-expected.html
new file mode 100644
index 0000000..af0faed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+    </ul>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ul>
+          <li><p>First</p></li>
+          <li><p>Second</p></li>
+          <li><p>Third</p></li>
+        </ul>
+      </li>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Uno</p></li>
+          <li><p>Dos</p></li>
+          <li><p>Tres</p></li>
+        </ul>
+      </li>
+    </ol>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-input.html
new file mode 100644
index 0000000..bcb97c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07a-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p>
+    <ul>
+      <li><p>[First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third</p></li>
+    </ul>
+  </li>
+  <li><p>Three</p>
+    <ul>
+      <li><p>Uno</p></li>
+      <li><p>Dos</p></li>
+      <li><p>Tres]</p></li>
+    </ul>
+  </li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-expected.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-expected.html
new file mode 100644
index 0000000..28dd3d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+    </ul>
+    <ol>
+      <li>
+        Two
+        <ul>
+          <li>First</li>
+          <li>Second</li>
+          <li>Third</li>
+        </ul>
+      </li>
+      <li>
+        Three
+        <ul>
+          <li>Uno</li>
+          <li>Dos</li>
+          <li>Tres</li>
+        </ul>
+      </li>
+    </ol>
+    <ul>
+      <li>Four</li>
+      <li>Five</li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-input.html b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-input.html
new file mode 100644
index 0000000..e48084d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol-from-ul07b-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Two
+    <ul>
+      <li>[First</li>
+      <li>Second</li>
+      <li>Third</li>
+    </ul>
+  </li>
+  <li>Three
+    <ul>
+      <li>Uno</li>
+      <li>Dos</li>
+      <li>Tres]</li>
+    </ul>
+  </li>
+  <li>Four</li>
+  <li>Five</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol01-expected.html b/experiments/editorFramework/test/Layer0/lists/ol01-expected.html
new file mode 100644
index 0000000..63bfcdc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol01-input.html b/experiments/editorFramework/test/Layer0/lists/ol01-input.html
new file mode 100644
index 0000000..84396fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<p>[One</p>
+<p>Two</p>
+<p>Three</p>
+<p>Four</p>
+<p>Five]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol02-expected.html b/experiments/editorFramework/test/Layer0/lists/ol02-expected.html
new file mode 100644
index 0000000..3bde522
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+    </ol>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol02-input.html b/experiments/editorFramework/test/Layer0/lists/ol02-input.html
new file mode 100644
index 0000000..980fd22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<p>[One]</p>
+<p>Two</p>
+<p>Three</p>
+<p>Four</p>
+<p>Five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol03-expected.html b/experiments/editorFramework/test/Layer0/lists/ol03-expected.html
new file mode 100644
index 0000000..de420ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <ol>
+      <li><p>Three</p></li>
+    </ol>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol03-input.html b/experiments/editorFramework/test/Layer0/lists/ol03-input.html
new file mode 100644
index 0000000..ef63df9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<p>Two</p>
+<p>[Three]</p>
+<p>Four</p>
+<p>Five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol04-expected.html b/experiments/editorFramework/test/Layer0/lists/ol04-expected.html
new file mode 100644
index 0000000..fd4d870
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <ol>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ol04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ol04-input.html b/experiments/editorFramework/test/Layer0/lists/ol04-input.html
new file mode 100644
index 0000000..8b2823a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ol04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<p>Two</p>
+<p>Three</span></p>
+<p>Four</p>
+<p>[Five]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-expected.html
new file mode 100644
index 0000000..e0bbb62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-input.html
new file mode 100644
index 0000000..78d6028
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+//    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>[One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ul>
+    <ol>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-expected.html
new file mode 100644
index 0000000..cd6a84d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-input.html
new file mode 100644
index 0000000..e75cbad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists02-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+//    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ul>
+    <ol>
+      <li><p>[Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-expected.html
new file mode 100644
index 0000000..cd6a84d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-input.html
new file mode 100644
index 0000000..001ee1d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists03-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+//    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ol>
+      <li><p>[One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-expected.html
new file mode 100644
index 0000000..e0bbb62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-input.html
new file mode 100644
index 0000000..95add80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-adjacentLists04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+//    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ol>
+    <ul>
+      <li><p>[Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six]</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-expected.html
new file mode 100644
index 0000000..b95613d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li/>
+      <li/>
+      <li/>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-input.html
new file mode 100644
index 0000000..1d93eb5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+  <body>
+    <ul>
+     [<li></li>
+      <li></li>
+      <li></li>]
+   </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-expected.html
new file mode 100644
index 0000000..b95613d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li/>
+      <li/>
+      <li/>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-input.html
new file mode 100644
index 0000000..379a97f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+  <body>
+    <ol>
+     [<li></li>
+      <li></li>
+      <li></li>]
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-expected.html
new file mode 100644
index 0000000..62f3941
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li/>
+      <li/>
+      <li/>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-input.html
new file mode 100644
index 0000000..f39f85a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+  <body>
+    <ul>
+     [<li></li>
+      <li></li>
+      <li></li>]
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-expected.html
new file mode 100644
index 0000000..62f3941
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li/>
+      <li/>
+      <li/>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-input.html
new file mode 100644
index 0000000..a2c3572
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-emptyLIs04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+  <body>
+    <ol>
+     [<li></li>
+      <li></li>
+      <li></li>]
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-headings01-expected.html
new file mode 100644
index 0000000..57a648a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">[Test]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-headings01-input.html
new file mode 100644
index 0000000..4b1835f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Lists_setUnorderedList();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>[Test]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-headings02-expected.html
new file mode 100644
index 0000000..dafe95e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">[One</h1>
+    <ul>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-headings02-input.html
new file mode 100644
index 0000000..dae8338
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Lists_setUnorderedList();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>[One</h1>
+<p>Two</p>
+<p>Three]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-headings03-expected.html
new file mode 100644
index 0000000..7a9cd9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>[One</p></li>
+    </ul>
+    <h1 id="item1">Two</h1>
+    <ul>
+      <li><p>Three]</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-headings03-input.html
new file mode 100644
index 0000000..7f73931
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Lists_setUnorderedList();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[One</p>
+<h1>Two</h1>
+<p>Three]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-headings04-expected.html
new file mode 100644
index 0000000..a5ddcf7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>[One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <h1 id="item1">Three]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-headings04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-headings04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-headings04-input.html
new file mode 100644
index 0000000..90f9df8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-headings04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Lists_setUnorderedList();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[One</p>
+<p>Two</p>
+<h1>Three]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp01-expected.html
new file mode 100644
index 0000000..e2a77eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <p>[]One</p>
+        <p>Two</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp01-input.html
new file mode 100644
index 0000000..0d180f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp01-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li>
+        <p>[]One</p>
+        <p>Two</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp02-expected.html
new file mode 100644
index 0000000..3a20361
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp02-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <p>One</p>
+        <ul>
+          <li><p>[]Two</p></li>
+        </ul>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp02-input.html
new file mode 100644
index 0000000..b894bbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li>
+        <p>One</p>
+        <p>[]Two</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp03-expected.html
new file mode 100644
index 0000000..76f1004
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <ul>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>[]Five</p></li>
+        </ul>
+      </li>
+      <li><p>Six</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp03-input.html
new file mode 100644
index 0000000..f6e1715
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp03-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li>
+        <p>One</p>
+      </li>
+      <li>
+        <p>Two</p>
+        <ul>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+        </ul>
+        <p>[]Five</p>
+      </li>
+      <li>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp04-expected.html
new file mode 100644
index 0000000..d0fe455
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp04-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <ul>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+        </ul>
+        <ol>
+          <li><p>[]Five</p></li>
+        </ol>
+      </li>
+      <li><p>Six</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-innerp04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-innerp04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-innerp04-input.html
new file mode 100644
index 0000000..590ea01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-innerp04-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li>
+        <p>One</p>
+      </li>
+      <li>
+        <p>Two</p>
+        <ul>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+        </ul>
+        <p>[]Five</p>
+      </li>
+      <li>
+        <p>Six</p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-mixed01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-mixed01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-mixed01-expected.html
new file mode 100644
index 0000000..1b12141
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-mixed01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <ul>
+      <li><p>T[wo</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Si]x</p></li>
+    </ul>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-mixed01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-mixed01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-mixed01-input.html
new file mode 100644
index 0000000..2b9dc28
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-mixed01-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <p>One</p>
+    <p>T[wo</p>
+    <p>Three</p>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Si]x</p></li>
+    </ul>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-mixed02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-mixed02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-mixed02-expected.html
new file mode 100644
index 0000000..c3e686c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-mixed02-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    [
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Si]x</p></li>
+    </ul>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-mixed02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-mixed02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-mixed02-input.html
new file mode 100644
index 0000000..a79d56c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-mixed02-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    [
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Si]x</p></li>
+    </ul>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-mixed03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-mixed03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-mixed03-expected.html
new file mode 100644
index 0000000..d842f2a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-mixed03-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <ul>
+      <li><p>T[wo</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+      <li><p>Seven</p></li>
+    </ul>
+    ]
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-mixed03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-mixed03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-mixed03-input.html
new file mode 100644
index 0000000..0b7a80a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-mixed03-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <p>One</p>
+    <p>T[wo</p>
+    <p>Three</p>
+    <ul>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+    </ul>
+    <p>Seven</p>
+    ]
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested01-expected.html
new file mode 100644
index 0000000..b010456
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested01-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Five</p></li>
+          <li><p>Si]x</p></li>
+        </ul>
+      </li>
+    </ol>
+    <ul>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested01-input.html
new file mode 100644
index 0000000..8fd7e62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested01-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Five</p></li>
+          <li><p>Si]x</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested02-expected.html
new file mode 100644
index 0000000..5cd52d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested02-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Five</p></li>
+          <li><p>Si]x</p></li>
+        </ul>
+      </li>
+    </ol>
+    <ul>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested02-input.html
new file mode 100644
index 0000000..f153151
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested02-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Five</p></li>
+          <li><p>Si]x</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested03-expected.html
new file mode 100644
index 0000000..6377c96
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested03-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Fiv]e</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+    </ol>
+    <ul>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested03-input.html
new file mode 100644
index 0000000..fd1e183
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested03-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Fiv]e</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested04-expected.html
new file mode 100644
index 0000000..8a19193
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested04-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Fiv]e</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+    </ol>
+    <ul>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested04-input.html
new file mode 100644
index 0000000..7c8c53d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested04-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>O[ne</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>Fiv]e</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested05-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested05-expected.html
new file mode 100644
index 0000000..cbe960f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested05-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <ol>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nin]e</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested05-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested05-input.html
new file mode 100644
index 0000000..aa12109
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested05-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nin]e</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested06-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested06-expected.html
new file mode 100644
index 0000000..a3efad0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested06-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <ol>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nin]e</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested06-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested06-input.html
new file mode 100644
index 0000000..cf1ca3c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested06-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eight</p></li>
+      <li><p>Nin]e</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested07-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested07-expected.html
new file mode 100644
index 0000000..5caabe9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested07-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <ol>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eigh]t</p></li>
+    </ol>
+    <ul>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested07-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested07-input.html
new file mode 100644
index 0000000..5e69be3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested07-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>Three</p>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eigh]t</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested08-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nested08-expected.html
new file mode 100644
index 0000000..23e238e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested08-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <ol>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eigh]t</p></li>
+    </ol>
+    <ul>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nested08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nested08-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nested08-input.html
new file mode 100644
index 0000000..a4c4c51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nested08-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <ul>
+          <li><p>Four</p></li>
+          <li><p>F[ive</p></li>
+          <li><p>Six</p></li>
+        </ul>
+      </li>
+      <li><p>Seven</p></li>
+      <li><p>Eigh]t</p></li>
+      <li><p>Nine</p></li>
+    </ul>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy01-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy01-expected.html
new file mode 100644
index 0000000..02128a9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy01-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>First Table</caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy01-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy01-input.html
new file mode 100644
index 0000000..a1e3105
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",false,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>First Table[]</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy02-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy02-expected.html
new file mode 100644
index 0000000..768991a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy02-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>First Table</caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption/>
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy02-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy02-input.html
new file mode 100644
index 0000000..01dd824
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",true,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>First Table[]</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy03-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy03-expected.html
new file mode 100644
index 0000000..6a4d263
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy03-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>First Table</caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>Second Table</caption>
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy03-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy03-input.html
new file mode 100644
index 0000000..72cf300
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy03-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",true,"Second Table");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>First Table[]</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy04-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy04-expected.html
new file mode 100644
index 0000000..a4b393e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy04-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>
+        First
+        Table
+      </caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>Second Table</caption>
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy04-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy04-input.html
new file mode 100644
index 0000000..8b9d807
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",true,"Second Table");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>First []Table</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy05-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy05-expected.html
new file mode 100644
index 0000000..6a4d263
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy05-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>First Table</caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <table id="item2" style="width: 100%">
+      <caption>Second Table</caption>
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy05-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy05-input.html
new file mode 100644
index 0000000..b153e81
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",true,"Second Table");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>[]First Table</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy06-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy06-expected.html
new file mode 100644
index 0000000..09eea4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy06-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>Figure</figcaption>
+    </figure>
+    <table id="item2" style="width: 100%">
+      <caption>Table</caption>
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy06-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy06-input.html
new file mode 100644
index 0000000..b91b808
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy06-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",true,"Table");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>Figure[]</figcaption>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy07-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy07-expected.html
new file mode 100644
index 0000000..9b95403
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy07-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>
+        Fi
+        gure
+      </figcaption>
+    </figure>
+    <table id="item2" style="width: 100%">
+      <caption>Table</caption>
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy07-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy07-input.html
new file mode 100644
index 0000000..e258e28
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy07-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",true,"Table");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>Fi[]gure</figcaption>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy08-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy08-expected.html
new file mode 100644
index 0000000..09eea4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy08-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>Figure</figcaption>
+    </figure>
+    <table id="item2" style="width: 100%">
+      <caption>Table</caption>
+      <col width="50%"/>
+      <col width="50%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+          <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/tables/insertTable-hierarchy08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy08-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy08-input.html
new file mode 100644
index 0000000..3aa6e33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable-hierarchy08-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_insertTable(1,2,"100%",true,"Table");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>[]Figure</figcaption>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable01-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable01-expected.html
new file mode 100644
index 0000000..a7d8c5a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable01-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1">
+      <col width="33%"/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/insertTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable01-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable01-input.html
new file mode 100644
index 0000000..8be355c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,3,null,false,null);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable02-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable02-expected.html
new file mode 100644
index 0000000..7150cd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable02-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <col width="33%"/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/insertTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable02-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable02-input.html
new file mode 100644
index 0000000..3071c0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable02-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,3,"100%",false,"");
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable03-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable03-expected.html
new file mode 100644
index 0000000..11ccfdb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable03-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/insertTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable03-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable03-input.html
new file mode 100644
index 0000000..1f05b35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,3,"100%",true,null);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable04-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable04-expected.html
new file mode 100644
index 0000000..70b61b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable04-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption class="Unnumbered">Test caption</caption>
+      <col width="33%"/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/insertTable04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable04-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable04-input.html
new file mode 100644
index 0000000..508e94d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,3,"100%",false,"Test caption");
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable05-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable05-expected.html
new file mode 100644
index 0000000..07df8f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable05-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>Test caption</caption>
+      <col width="33%"/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td><p><br/></p></td>
+          <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/tables/insertTable05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable05-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable05-input.html
new file mode 100644
index 0000000..4575747
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,3,"100%",true,"Test caption");
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable06-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable06-expected.html
new file mode 100644
index 0000000..0e03215
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable06-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>abc</p>
+    <table id="item1" style="width: 100%">
+      <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/tables/insertTable06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable06-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable06-input.html
new file mode 100644
index 0000000..ba47dda
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(1,1,"100%",true,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>abc[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/insertTable07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable07-expected.html b/experiments/editorFramework/test/Layer0/tables/insertTable07-expected.html
new file mode 100644
index 0000000..72baaa4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable07-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>abc</p>
+    <table id="item1" style="width: 100%">
+      <caption/>
+      <col width="100%"/>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+        <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/tables/insertTable07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/insertTable07-input.html b/experiments/editorFramework/test/Layer0/tables/insertTable07-input.html
new file mode 100644
index 0000000..2ca1587
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/insertTable07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,1,"100%",true,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>abc[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01a-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01a-expected.html
new file mode 100644
index 0000000..c8be366
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01a-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+          <td><p><br/></p></td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01a-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01a-input.html
new file mode 100644
index 0000000..15fc811
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01a-input.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "<tr><td>A</td><td>B</td></tr>"+
+                        "<tr><td>C</td><td>D</td></tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>[Five</td>
+      <td colspan="2">Six</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten]</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01b-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01b-expected.html
new file mode 100644
index 0000000..1e0ded4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01b-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01b-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01b-input.html
new file mode 100644
index 0000000..efd4ea2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01b-input.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "<tr><td>A</td><td>B</td></tr>"+
+                        "<tr><td>C</td><td>D</td></tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>[Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="2">Ten</td>
+      <td>Twelve]</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01c-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01c-expected.html
new file mode 100644
index 0000000..1e0ded4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01c-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01c-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01c-input.html
new file mode 100644
index 0000000..5a99122
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01c-input.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "<tr><td>A</td><td>B</td></tr>"+
+                        "<tr><td>C</td><td>D</td></tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td colspan="2">[Six</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td colspan="2">Ten]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01d-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01d-expected.html
new file mode 100644
index 0000000..b79ec31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01d-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td><p><br/></p></td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01d-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01d-input.html
new file mode 100644
index 0000000..f7fd3eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01d-input.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "<tr><td>A</td><td>B</td></tr>"+
+                        "<tr><td>C</td><td>D</td></tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>[Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td rowspan="2">Six</td>
+      <td>Seven]</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01e-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01e-expected.html
new file mode 100644
index 0000000..1e0ded4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01e-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01e-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01e-input.html
new file mode 100644
index 0000000..4e584be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01e-input.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "<tr><td>A</td><td>B</td></tr>"+
+                        "<tr><td>C</td><td>D</td></tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td rowspan="2">Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>[Ten</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01f-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01f-expected.html
new file mode 100644
index 0000000..1e0ded4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01f-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01f-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01f-input.html
new file mode 100644
index 0000000..05bb314
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01f-input.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "<tr><td>A</td><td>B</td></tr>"+
+                        "<tr><td>C</td><td>D</td></tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td rowspan="2">[Six</td>
+      <td rowspan="2">Seven]</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01g-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01g-expected.html
new file mode 100644
index 0000000..1e0ded4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01g-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged01g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged01g-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged01g-input.html
new file mode 100644
index 0000000..9bced0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged01g-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "<tr><td>A</td><td>B</td></tr>"+
+                        "<tr><td>C</td><td>D</td></tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td rowspan="2" colspan="2">[Six]</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02a-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02a-expected.html
new file mode 100644
index 0000000..19adf34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02a-expected.html
@@ -0,0 +1,40 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td colspan="2">A</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>C</td>
+          <td>D[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02a-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02a-input.html
new file mode 100644
index 0000000..f2779e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02a-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>A</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>C</td>"+
+                        "    <td>D</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>[Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02b-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02b-expected.html
new file mode 100644
index 0000000..8b6f7a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02b-expected.html
@@ -0,0 +1,40 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="2">C[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02b-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02b-input.html
new file mode 100644
index 0000000..9c18905
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02b-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td>A</td>"+
+                        "    <td>B</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>C</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>[Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02c-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02c-expected.html
new file mode 100644
index 0000000..4c148a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02c-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td colspan="2">A</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td colspan="2">C[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02c-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02c-input.html
new file mode 100644
index 0000000..4b87d3a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02c-input.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>A</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>C</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>[Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02d-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02d-expected.html
new file mode 100644
index 0000000..238e119
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02d-expected.html
@@ -0,0 +1,40 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td rowspan="2">A</td>
+          <td>B</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>D[]</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02d-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02d-input.html
new file mode 100644
index 0000000..8621674
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02d-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td rowspan='2'>A</td>"+
+                        "    <td>B</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>D</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>[Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02e-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02e-expected.html
new file mode 100644
index 0000000..e699426
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02e-expected.html
@@ -0,0 +1,40 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>A</td>
+          <td rowspan="2">B[]</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>C</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02e-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02e-input.html
new file mode 100644
index 0000000..9bf65e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02e-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td>A</td>"+
+                        "    <td rowspan='2'>B</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>C</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>[Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02f-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02f-expected.html
new file mode 100644
index 0000000..38b186a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02f-expected.html
@@ -0,0 +1,39 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td rowspan="2">A</td>
+          <td rowspan="2">B[]</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02f-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02f-input.html
new file mode 100644
index 0000000..0eaa29a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02f-input.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td rowspan='2'>A</td>"+
+                        "    <td rowspan='2'>B</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>[Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02g-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02g-expected.html
new file mode 100644
index 0000000..0dc8f5c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02g-expected.html
@@ -0,0 +1,38 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td colspan="2" rowspan="2">A[]</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>Fourteen</td>
+          <td>Fifteen</td>
+          <td>Sixteen</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged02g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged02g-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged02g-input.html
new file mode 100644
index 0000000..9b34be9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged02g-input.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td rowspan='2' colspan='2'>A</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>[Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven]</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03a-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03a-expected.html
new file mode 100644
index 0000000..6799aea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03a-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td colspan="2">A</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td>C</td>
+          <td>D[]</td>
+          <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/tables/paste-merged03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03a-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03a-input.html
new file mode 100644
index 0000000..1c0269b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03a-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>A</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>C</td>"+
+                        "    <td>D</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>[Fourteen</td>
+      <td>Fifteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03b-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03b-expected.html
new file mode 100644
index 0000000..1e7d9d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03b-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>A</td>
+          <td>B</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td colspan="2">C[]</td>
+          <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/tables/paste-merged03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03b-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03b-input.html
new file mode 100644
index 0000000..08e8ebe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03b-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td>A</td>"+
+                        "    <td>B</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>C</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>[Fourteen</td>
+      <td>Fifteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03c-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03c-expected.html
new file mode 100644
index 0000000..ab86bc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03c-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td colspan="2">A</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td colspan="2">C[]</td>
+          <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/tables/paste-merged03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03c-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03c-input.html
new file mode 100644
index 0000000..ee75a51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03c-input.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>A</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td colspan='2'>C</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>[Fourteen</td>
+      <td>Fifteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged03d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03d-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03d-expected.html
new file mode 100644
index 0000000..eacdc8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03d-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td rowspan="2">A</td>
+          <td>B</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td>D[]</td>
+          <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/tables/paste-merged03d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03d-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03d-input.html
new file mode 100644
index 0000000..1c089e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03d-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td rowspan='2'>A</td>"+
+                        "    <td>B</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>D</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>[Fourteen</td>
+      <td>Fifteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/paste-merged03e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03e-expected.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03e-expected.html
new file mode 100644
index 0000000..5ec91c5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03e-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+        <tr>
+          <td>Five</td>
+          <td>Six</td>
+          <td>Seven</td>
+          <td>Eight</td>
+        </tr>
+        <tr>
+          <td>Nine</td>
+          <td>Ten</td>
+          <td>Eleven</td>
+          <td>Twelve</td>
+        </tr>
+        <tr>
+          <td>Thirteen</td>
+          <td>A</td>
+          <td rowspan="2">B[]</td>
+          <td>Sixteen</td>
+        </tr>
+        <tr>
+          <td><p><br/></p></td>
+          <td>C</td>
+          <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/tables/paste-merged03e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/paste-merged03e-input.html b/experiments/editorFramework/test/Layer0/tables/paste-merged03e-input.html
new file mode 100644
index 0000000..3a1d2e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/paste-merged03e-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Clipboard_pasteHTML("<table>"+
+                        "  <tr>"+
+                        "    <td>A</td>"+
+                        "    <td rowspan='2'>B</td>"+
+                        "  </tr>"+
+                        "  <tr>"+
+                        "    <td>C</td>"+
+                        "  </tr>"+
+                        "</table>");
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table width="100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>[Fourteen</td>
+      <td>Fifteen]</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-input.html
new file mode 100644
index 0000000..09fffaf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-input.html
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function createElementWithId(elementName,id)
+{
+    var element = DOM_createElement(document,elementName);
+    DOM_setAttribute(element,"id",id);
+    return element;
+}
+
+function performTest()
+{
+    // DOM_wrapNode() should not affect any positions, because the node itself remains in the
+    // tree unmodified.
+
+    DOM_deleteAllChildren(document.body);
+
+    var p = DOM_createElement(document,"P");
+
+    var span1 = createElementWithId("SPAN","span1");
+    var span2 = createElementWithId("SPAN","span2");
+    var span3 = createElementWithId("SPAN","span3");
+    var span4 = createElementWithId("SPAN","span4");
+    var span5 = createElementWithId("SPAN","span5");
+    DOM_setAttribute(span1,"style","color: blue");
+    DOM_setAttribute(span5,"style","color: blue");
+
+    DOM_appendChild(document.body,p);
+    DOM_appendChild(p,span1);
+    DOM_appendChild(p,span2);
+    DOM_appendChild(p,span3);
+    DOM_appendChild(p,span4);
+    DOM_appendChild(p,span5);
+
+    DOM_appendChild(span2,createElementWithId("BR","br1"));
+    DOM_appendChild(span2,createElementWithId("BR","br2"));
+    DOM_appendChild(span2,createElementWithId("BR","br3"));
+    DOM_appendChild(span3,createElementWithId("BR","br4"));
+    DOM_appendChild(span3,createElementWithId("BR","br5"));
+    DOM_appendChild(span3,createElementWithId("BR","br6"));
+    DOM_appendChild(span4,createElementWithId("BR","br7"));
+    DOM_appendChild(span4,createElementWithId("BR","br8"));
+    DOM_appendChild(span4,createElementWithId("BR","br9"));
+
+    var result = comparePositionsBeforeAndAfter(function() {
+
+        // Temporarily remove id attributes so that elements will be considered mergeable
+        DOM_removeAttribute(span1,"id");
+        DOM_removeAttribute(span2,"id");
+        DOM_removeAttribute(span3,"id");
+        DOM_removeAttribute(span4,"id");
+        DOM_removeAttribute(span5,"id");
+
+        Formatting_mergeWithNeighbours(span3,Formatting_MERGEABLE_INLINE);
+
+        DOM_setAttribute(span1,"id","span1");
+        DOM_setAttribute(span2,"id","span2");
+        DOM_setAttribute(span3,"id","span3");
+        DOM_setAttribute(span4,"id","span4");
+        DOM_setAttribute(span5,"id","span5");
+
+    });
+
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+result+"\n-"));
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-expected.html
new file mode 100644
index 0000000..561690d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-expected.html
@@ -0,0 +1,179 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P#p1,0)
+Before: positions[2] = (B,0)
+Before: positions[3] = "|ab"
+Before: positions[4] = "a|b"
+Before: positions[5] = "ab|"
+Before: positions[6] = (B,1)
+Before: positions[7] = (BR,0)
+Before: positions[8] = (B,2)
+Before: positions[9] = (P#p1,1)
+Before: positions[10] = (B,0)
+Before: positions[11] = "|cd"
+Before: positions[12] = "c|d"
+Before: positions[13] = "cd|"
+Before: positions[14] = (B,1)
+Before: positions[15] = (BR,0)
+Before: positions[16] = (B,2)
+Before: positions[17] = (P#p1,2)
+Before: positions[18] = (B,0)
+Before: positions[19] = "|ef"
+Before: positions[20] = "e|f"
+Before: positions[21] = "ef|"
+Before: positions[22] = (B,1)
+Before: positions[23] = (BR,0)
+Before: positions[24] = (B,2)
+Before: positions[25] = (P#p1,3)
+Before: positions[26] = (B,0)
+Before: positions[27] = "|gh"
+Before: positions[28] = "g|h"
+Before: positions[29] = "gh|"
+Before: positions[30] = (B,1)
+Before: positions[31] = (BR,0)
+Before: positions[32] = (B,2)
+Before: positions[33] = (P#p1,4)
+Before: positions[34] = (B,0)
+Before: positions[35] = "|ij"
+Before: positions[36] = "i|j"
+Before: positions[37] = "ij|"
+Before: positions[38] = (B,1)
+Before: positions[39] = (BR,0)
+Before: positions[40] = (B,2)
+Before: positions[41] = (P#p1,5)
+Before: positions[42] = (BODY,1)
+Before: positions[43] = (P#p2,0)
+Before: positions[44] = (B,0)
+Before: positions[45] = "|kl"
+Before: positions[46] = "k|l"
+Before: positions[47] = "kl|"
+Before: positions[48] = (B,1)
+Before: positions[49] = (BR,0)
+Before: positions[50] = (B,2)
+Before: positions[51] = (P#p2,1)
+Before: positions[52] = (B,0)
+Before: positions[53] = "|mn"
+Before: positions[54] = "m|n"
+Before: positions[55] = "mn|"
+Before: positions[56] = (B,1)
+Before: positions[57] = (BR,0)
+Before: positions[58] = (B,2)
+Before: positions[59] = (P#p2,2)
+Before: positions[60] = (B,0)
+Before: positions[61] = "|op"
+Before: positions[62] = "o|p"
+Before: positions[63] = "op|"
+Before: positions[64] = (B,1)
+Before: positions[65] = (BR,0)
+Before: positions[66] = (B,2)
+Before: positions[67] = (P#p2,3)
+Before: positions[68] = (B,0)
+Before: positions[69] = "|qr"
+Before: positions[70] = "q|r"
+Before: positions[71] = "qr|"
+Before: positions[72] = (B,1)
+Before: positions[73] = (BR,0)
+Before: positions[74] = (B,2)
+Before: positions[75] = (P#p2,4)
+Before: positions[76] = (B,0)
+Before: positions[77] = "|st"
+Before: positions[78] = "s|t"
+Before: positions[79] = "st|"
+Before: positions[80] = (B,1)
+Before: positions[81] = (BR,0)
+Before: positions[82] = (B,2)
+Before: positions[83] = (P#p2,5)
+Before: positions[84] = (BODY,2)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P#p1,0)
+After: positions[2] = (B,0)
+After: positions[3] = "|ab"
+After: positions[4] = "a|b"
+After: positions[5] = "ab|"
+After: positions[6] = (B,1)
+After: positions[7] = (BR,0)
+After: positions[8] = (B,2)
+After: positions[9] = (P#p2,3) - changed from (P#p1,1)
+After: positions[10] = (B,0)
+After: positions[11] = "|cd"
+After: positions[12] = "c|d"
+After: positions[13] = "cd|"
+After: positions[14] = (B,1)
+After: positions[15] = (BR,0)
+After: positions[16] = (B,2)
+After: positions[17] = (P#p1,1) - changed from (P#p1,2)
+After: positions[18] = (B,0)
+After: positions[19] = "|ef"
+After: positions[20] = "e|f"
+After: positions[21] = "ef|"
+After: positions[22] = (B,1)
+After: positions[23] = (BR,0)
+After: positions[24] = (B,2)
+After: positions[25] = (P#p1,2) - changed from (P#p1,3)
+After: positions[26] = (B,0)
+After: positions[27] = "|gh"
+After: positions[28] = "g|h"
+After: positions[29] = "gh|"
+After: positions[30] = (B,1)
+After: positions[31] = (BR,0)
+After: positions[32] = (B,2)
+After: positions[33] = (P#p1,3) - changed from (P#p1,4)
+After: positions[34] = (B,0)
+After: positions[35] = "|ij"
+After: positions[36] = "i|j"
+After: positions[37] = "ij|"
+After: positions[38] = (B,1)
+After: positions[39] = (BR,0)
+After: positions[40] = (B,2)
+After: positions[41] = (P#p1,4) - changed from (P#p1,5)
+After: positions[42] = (BODY,1)
+After: positions[43] = (P#p2,0)
+After: positions[44] = (B,0)
+After: positions[45] = "|kl"
+After: positions[46] = "k|l"
+After: positions[47] = "kl|"
+After: positions[48] = (B,1)
+After: positions[49] = (BR,0)
+After: positions[50] = (B,2)
+After: positions[51] = (P#p2,1)
+After: positions[52] = (B,0)
+After: positions[53] = "|mn"
+After: positions[54] = "m|n"
+After: positions[55] = "mn|"
+After: positions[56] = (B,1)
+After: positions[57] = (BR,0)
+After: positions[58] = (B,2)
+After: positions[59] = (P#p2,2)
+After: positions[60] = (B,0)
+After: positions[61] = "|op"
+After: positions[62] = "o|p"
+After: positions[63] = "op|"
+After: positions[64] = (B,1)
+After: positions[65] = (BR,0)
+After: positions[66] = (B,2)
+After: positions[67] = (P#p2,3)
+After: positions[68] = (B,0)
+After: positions[69] = "|qr"
+After: positions[70] = "q|r"
+After: positions[71] = "qr|"
+After: positions[72] = (B,1)
+After: positions[73] = (BR,0)
+After: positions[74] = (B,2)
+After: positions[75] = (P#p2,5) - changed from (P#p2,4)
+After: positions[76] = (B,0)
+After: positions[77] = "|st"
+After: positions[78] = "s|t"
+After: positions[79] = "st|"
+After: positions[80] = (B,1)
+After: positions[81] = (BR,0)
+After: positions[82] = (B,2)
+After: positions[83] = (P#p2,6) - changed from (P#p2,5)
+After: positions[84] = (BODY,2)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-input.html
new file mode 100644
index 0000000..3375f56
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-moveNode-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function performTest()
+{
+    // DOM_wrapNode() should not affect any positions, because the node itself remains in the
+    // tree unmodified.
+
+    removeWhitespaceAndCommentNodes(document.body);
+
+    var p1 = document.getElementById("p1");
+    var p2 = document.getElementById("p2");
+
+    var result = comparePositionsBeforeAndAfter(function() {
+        DOM_insertBefore(p2,p1.childNodes[1],p2.childNodes[3]);
+    });
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+result+"\n-"));
+}
+</script>
+</head>
+<body>
+<p id="p1">
+<b>ab<br></b>
+<b>cd<br></b>
+<b>ef<br></b>
+<b>gh<br></b>
+<b>ij<br></b>
+</p>
+<p id="p2">
+<b>kl<br></b>
+<b>mn<br></b>
+<b>op<br></b>
+<b>qr<br></b>
+<b>st<br></b>
+</p>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-expected.html
new file mode 100644
index 0000000..95eab37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-expected.html
@@ -0,0 +1,87 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P#p1,0)
+Before: positions[2] = "|ab"
+Before: positions[3] = "a|b"
+Before: positions[4] = "ab|"
+Before: positions[5] = (P#p1,1)
+Before: positions[6] = (BR,0)
+Before: positions[7] = (P#p1,2)
+Before: positions[8] = (BODY,1)
+Before: positions[9] = (P#p2,0)
+Before: positions[10] = "|cd"
+Before: positions[11] = "c|d"
+Before: positions[12] = "cd|"
+Before: positions[13] = (P#p2,1)
+Before: positions[14] = (B,0)
+Before: positions[15] = "|ef"
+Before: positions[16] = "e|f"
+Before: positions[17] = "ef|"
+Before: positions[18] = (B,1)
+Before: positions[19] = (BR,0)
+Before: positions[20] = (B,2)
+Before: positions[21] = (P#p2,2)
+Before: positions[22] = "|gh"
+Before: positions[23] = "g|h"
+Before: positions[24] = "gh|"
+Before: positions[25] = (P#p2,3)
+Before: positions[26] = (BODY,2)
+Before: positions[27] = (P#p3,0)
+Before: positions[28] = "|ij"
+Before: positions[29] = "i|j"
+Before: positions[30] = "ij|"
+Before: positions[31] = (P#p3,1)
+Before: positions[32] = (BR,0)
+Before: positions[33] = (P#p3,2)
+Before: positions[34] = (BODY,3)
+Before: positions[35] = "|\n\n"
+Before: positions[36] = "\n|\n"
+Before: positions[37] = "\n\n|"
+Before: positions[38] = (BODY,4)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P#p1,0)
+After: positions[2] = "|ab"
+After: positions[3] = "a|b"
+After: positions[4] = "ab|"
+After: positions[5] = (P#p1,1)
+After: positions[6] = (BR,0)
+After: positions[7] = (P#p1,2)
+After: positions[8] = (BODY,1)
+After: positions[9] = (BODY,1) - changed from (P#p2,0)
+After: positions[10] = "|cd"
+After: positions[11] = "c|d"
+After: positions[12] = "cd|"
+After: positions[13] = (BODY,2) - changed from (P#p2,1)
+After: positions[14] = (B,0)
+After: positions[15] = "|ef"
+After: positions[16] = "e|f"
+After: positions[17] = "ef|"
+After: positions[18] = (B,1)
+After: positions[19] = (BR,0)
+After: positions[20] = (B,2)
+After: positions[21] = (BODY,3) - changed from (P#p2,2)
+After: positions[22] = "|gh"
+After: positions[23] = "g|h"
+After: positions[24] = "gh|"
+After: positions[25] = (BODY,4) - changed from (P#p2,3)
+After: positions[26] = (BODY,4) - changed from (BODY,2)
+After: positions[27] = (P#p3,0)
+After: positions[28] = "|ij"
+After: positions[29] = "i|j"
+After: positions[30] = "ij|"
+After: positions[31] = (P#p3,1)
+After: positions[32] = (BR,0)
+After: positions[33] = (P#p3,2)
+After: positions[34] = (BODY,5) - changed from (BODY,3)
+After: positions[35] = "|\n\n"
+After: positions[36] = "\n|\n"
+After: positions[37] = "\n\n|"
+After: positions[38] = (BODY,6) - changed from (BODY,4)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-input.html
new file mode 100644
index 0000000..4ea6bc3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-removeNodeButKeepChildren-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function performTest()
+{
+    // DOM_wrapNode() should not affect any positions, because the node itself remains in the
+    // tree unmodified.
+
+   var result = comparePositionsBeforeAndAfter(function() {
+        DOM_removeNodeButKeepChildren(document.getElementById("p2"),"DIV");
+    });
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+result+"\n-"));
+}
+</script>
+</head>
+<body><p id="p1">ab<br></p><p id="p2">cd<b>ef<br></b>gh</b></p><p id="p3">ij<br></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-expected.html
new file mode 100644
index 0000000..a83cfa6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-expected.html
@@ -0,0 +1,87 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P#p1,0)
+Before: positions[2] = "|ab"
+Before: positions[3] = "a|b"
+Before: positions[4] = "ab|"
+Before: positions[5] = (P#p1,1)
+Before: positions[6] = (BR,0)
+Before: positions[7] = (P#p1,2)
+Before: positions[8] = (BODY,1)
+Before: positions[9] = (P#p2,0)
+Before: positions[10] = "|cd"
+Before: positions[11] = "c|d"
+Before: positions[12] = "cd|"
+Before: positions[13] = (P#p2,1)
+Before: positions[14] = (B,0)
+Before: positions[15] = "|ef"
+Before: positions[16] = "e|f"
+Before: positions[17] = "ef|"
+Before: positions[18] = (B,1)
+Before: positions[19] = (BR,0)
+Before: positions[20] = (B,2)
+Before: positions[21] = (P#p2,2)
+Before: positions[22] = "|gh"
+Before: positions[23] = "g|h"
+Before: positions[24] = "gh|"
+Before: positions[25] = (P#p2,3)
+Before: positions[26] = (BODY,2)
+Before: positions[27] = (P#p3,0)
+Before: positions[28] = "|ij"
+Before: positions[29] = "i|j"
+Before: positions[30] = "ij|"
+Before: positions[31] = (P#p3,1)
+Before: positions[32] = (BR,0)
+Before: positions[33] = (P#p3,2)
+Before: positions[34] = (BODY,3)
+Before: positions[35] = "|\n\n"
+Before: positions[36] = "\n|\n"
+Before: positions[37] = "\n\n|"
+Before: positions[38] = (BODY,4)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P#p1,0)
+After: positions[2] = "|ab"
+After: positions[3] = "a|b"
+After: positions[4] = "ab|"
+After: positions[5] = (P#p1,1)
+After: positions[6] = (BR,0)
+After: positions[7] = (P#p1,2)
+After: positions[8] = (BODY,1)
+After: positions[9] = (DIV#p2,0) - changed from (P#p2,0)
+After: positions[10] = "|cd"
+After: positions[11] = "c|d"
+After: positions[12] = "cd|"
+After: positions[13] = (DIV#p2,1) - changed from (P#p2,1)
+After: positions[14] = (B,0)
+After: positions[15] = "|ef"
+After: positions[16] = "e|f"
+After: positions[17] = "ef|"
+After: positions[18] = (B,1)
+After: positions[19] = (BR,0)
+After: positions[20] = (B,2)
+After: positions[21] = (DIV#p2,2) - changed from (P#p2,2)
+After: positions[22] = "|gh"
+After: positions[23] = "g|h"
+After: positions[24] = "gh|"
+After: positions[25] = (DIV#p2,3) - changed from (P#p2,3)
+After: positions[26] = (BODY,2)
+After: positions[27] = (P#p3,0)
+After: positions[28] = "|ij"
+After: positions[29] = "i|j"
+After: positions[30] = "ij|"
+After: positions[31] = (P#p3,1)
+After: positions[32] = (BR,0)
+After: positions[33] = (P#p3,2)
+After: positions[34] = (BODY,3)
+After: positions[35] = "|\n\n"
+After: positions[36] = "\n|\n"
+After: positions[37] = "\n\n|"
+After: positions[38] = (BODY,4)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-input.html
new file mode 100644
index 0000000..f4237b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-replaceElement-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function performTest()
+{
+    // DOM_wrapNode() should not affect any positions, because the node itself remains in the
+    // tree unmodified.
+
+    var result = comparePositionsBeforeAndAfter(function() {
+        DOM_replaceElement(document.getElementById("p2"),"DIV");
+    });
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+result+"\n-"));
+}
+</script>
+</head>
+<body><p id="p1">ab<br></p><p id="p2">cd<b>ef<br></b>gh</b></p><p id="p3">ij<br></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text1-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text1-expected.html
new file mode 100644
index 0000000..964c4f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text1-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|Here is text"
+positions[1] = "H|ere is text"
+positions[2] = "He|re is text"
+positions[3] = "Her|e is text"
+positions[4] = "Here| is text"
+positions[5] = "Here |is text"
+positions[6] = "Here i|s text"
+positions[7] = "Here is| text"
+positions[8] = "Here is |text"
+positions[9] = "Here is |text"
+positions[10] = "Here is |text"
+positions[11] = "Here is |text"
+positions[12] = "Here is |text"
+positions[13] = "Here is |text"
+positions[14] = "Here is t|ext"
+positions[15] = "Here is te|xt"
+positions[16] = "Here is tex|t"
+positions[17] = "Here is text|"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text1-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text1-input.html
new file mode 100644
index 0000000..aa854c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text1-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_deleteCharacters(text,8,13);
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text2-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text2-expected.html
new file mode 100644
index 0000000..d5c122d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text2-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|is some text"
+positions[1] = "|is some text"
+positions[2] = "|is some text"
+positions[3] = "|is some text"
+positions[4] = "|is some text"
+positions[5] = "|is some text"
+positions[6] = "i|s some text"
+positions[7] = "is| some text"
+positions[8] = "is |some text"
+positions[9] = "is s|ome text"
+positions[10] = "is so|me text"
+positions[11] = "is som|e text"
+positions[12] = "is some| text"
+positions[13] = "is some |text"
+positions[14] = "is some t|ext"
+positions[15] = "is some te|xt"
+positions[16] = "is some tex|t"
+positions[17] = "is some text|"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text2-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text2-input.html
new file mode 100644
index 0000000..f952c17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text2-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_deleteCharacters(text,0,5);
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text3-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text3-expected.html
new file mode 100644
index 0000000..1df6e5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text3-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|Here is some"
+positions[1] = "H|ere is some"
+positions[2] = "He|re is some"
+positions[3] = "Her|e is some"
+positions[4] = "Here| is some"
+positions[5] = "Here |is some"
+positions[6] = "Here i|s some"
+positions[7] = "Here is| some"
+positions[8] = "Here is |some"
+positions[9] = "Here is s|ome"
+positions[10] = "Here is so|me"
+positions[11] = "Here is som|e"
+positions[12] = "Here is some|"
+positions[13] = "Here is some|"
+positions[14] = "Here is some|"
+positions[15] = "Here is some|"
+positions[16] = "Here is some|"
+positions[17] = "Here is some|"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text3-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text3-input.html
new file mode 100644
index 0000000..e19dad9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text3-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_deleteCharacters(text,12);
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text4-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text4-expected.html
new file mode 100644
index 0000000..6103a83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text4-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|Here is (inserted)some text"
+positions[1] = "H|ere is (inserted)some text"
+positions[2] = "He|re is (inserted)some text"
+positions[3] = "Her|e is (inserted)some text"
+positions[4] = "Here| is (inserted)some text"
+positions[5] = "Here |is (inserted)some text"
+positions[6] = "Here i|s (inserted)some text"
+positions[7] = "Here is| (inserted)some text"
+positions[8] = "Here is |(inserted)some text"
+positions[9] = "Here is (inserted)s|ome text"
+positions[10] = "Here is (inserted)so|me text"
+positions[11] = "Here is (inserted)som|e text"
+positions[12] = "Here is (inserted)some| text"
+positions[13] = "Here is (inserted)some |text"
+positions[14] = "Here is (inserted)some t|ext"
+positions[15] = "Here is (inserted)some te|xt"
+positions[16] = "Here is (inserted)some tex|t"
+positions[17] = "Here is (inserted)some text|"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text4-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text4-input.html
new file mode 100644
index 0000000..7c1fe7b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text4-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_insertCharacters(text,8,"(inserted)");
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text5-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text5-expected.html
new file mode 100644
index 0000000..f935774
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text5-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|(inserted)Here is some text"
+positions[1] = "(inserted)H|ere is some text"
+positions[2] = "(inserted)He|re is some text"
+positions[3] = "(inserted)Her|e is some text"
+positions[4] = "(inserted)Here| is some text"
+positions[5] = "(inserted)Here |is some text"
+positions[6] = "(inserted)Here i|s some text"
+positions[7] = "(inserted)Here is| some text"
+positions[8] = "(inserted)Here is |some text"
+positions[9] = "(inserted)Here is s|ome text"
+positions[10] = "(inserted)Here is so|me text"
+positions[11] = "(inserted)Here is som|e text"
+positions[12] = "(inserted)Here is some| text"
+positions[13] = "(inserted)Here is some |text"
+positions[14] = "(inserted)Here is some t|ext"
+positions[15] = "(inserted)Here is some te|xt"
+positions[16] = "(inserted)Here is some tex|t"
+positions[17] = "(inserted)Here is some text|"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text5-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text5-input.html
new file mode 100644
index 0000000..c4b0018
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text5-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_insertCharacters(text,0,"(inserted)");
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text6-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text6-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text6-expected.html
new file mode 100644
index 0000000..0f5ab29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text6-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|Here is some text(inserted)"
+positions[1] = "H|ere is some text(inserted)"
+positions[2] = "He|re is some text(inserted)"
+positions[3] = "Her|e is some text(inserted)"
+positions[4] = "Here| is some text(inserted)"
+positions[5] = "Here |is some text(inserted)"
+positions[6] = "Here i|s some text(inserted)"
+positions[7] = "Here is| some text(inserted)"
+positions[8] = "Here is |some text(inserted)"
+positions[9] = "Here is s|ome text(inserted)"
+positions[10] = "Here is so|me text(inserted)"
+positions[11] = "Here is som|e text(inserted)"
+positions[12] = "Here is some| text(inserted)"
+positions[13] = "Here is some |text(inserted)"
+positions[14] = "Here is some t|ext(inserted)"
+positions[15] = "Here is some te|xt(inserted)"
+positions[16] = "Here is some tex|t(inserted)"
+positions[17] = "Here is some text|(inserted)"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text6-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text6-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text6-input.html
new file mode 100644
index 0000000..07b8887
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text6-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_insertCharacters(text,text.nodeValue.length,"(inserted)");
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text7-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text7-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text7-expected.html
new file mode 100644
index 0000000..6e62c11
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text7-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|Here is (inserted)text"
+positions[1] = "H|ere is (inserted)text"
+positions[2] = "He|re is (inserted)text"
+positions[3] = "Her|e is (inserted)text"
+positions[4] = "Here| is (inserted)text"
+positions[5] = "Here |is (inserted)text"
+positions[6] = "Here i|s (inserted)text"
+positions[7] = "Here is| (inserted)text"
+positions[8] = "Here is |(inserted)text"
+positions[9] = "Here is |(inserted)text"
+positions[10] = "Here is |(inserted)text"
+positions[11] = "Here is |(inserted)text"
+positions[12] = "Here is |(inserted)text"
+positions[13] = "Here is |(inserted)text"
+positions[14] = "Here is (inserted)t|ext"
+positions[15] = "Here is (inserted)te|xt"
+positions[16] = "Here is (inserted)tex|t"
+positions[17] = "Here is (inserted)text|"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text7-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text7-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text7-input.html
new file mode 100644
index 0000000..00942ca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text7-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_deleteCharacters(text,8,13);
+        DOM_insertCharacters(text,8,"(inserted)");
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text8-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text8-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text8-expected.html
new file mode 100644
index 0000000..7fff8bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text8-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|(inserted) is some text"
+positions[1] = "|(inserted) is some text"
+positions[2] = "|(inserted) is some text"
+positions[3] = "|(inserted) is some text"
+positions[4] = "|(inserted) is some text"
+positions[5] = "(inserted) |is some text"
+positions[6] = "(inserted) i|s some text"
+positions[7] = "(inserted) is| some text"
+positions[8] = "(inserted) is |some text"
+positions[9] = "(inserted) is s|ome text"
+positions[10] = "(inserted) is so|me text"
+positions[11] = "(inserted) is som|e text"
+positions[12] = "(inserted) is some| text"
+positions[13] = "(inserted) is some |text"
+positions[14] = "(inserted) is some t|ext"
+positions[15] = "(inserted) is some te|xt"
+positions[16] = "(inserted) is some tex|t"
+positions[17] = "(inserted) is some text|"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text8-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text8-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text8-input.html
new file mode 100644
index 0000000..d40c4a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text8-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_deleteCharacters(text,0,4);
+        DOM_insertCharacters(text,0,"(inserted)");
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text9-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text9-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-text9-expected.html
new file mode 100644
index 0000000..369dd26
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text9-expected.html
@@ -0,0 +1,45 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before text change:
+positions[0] = "|Here is some text"
+positions[1] = "H|ere is some text"
+positions[2] = "He|re is some text"
+positions[3] = "Her|e is some text"
+positions[4] = "Here| is some text"
+positions[5] = "Here |is some text"
+positions[6] = "Here i|s some text"
+positions[7] = "Here is| some text"
+positions[8] = "Here is |some text"
+positions[9] = "Here is s|ome text"
+positions[10] = "Here is so|me text"
+positions[11] = "Here is som|e text"
+positions[12] = "Here is some| text"
+positions[13] = "Here is some |text"
+positions[14] = "Here is some t|ext"
+positions[15] = "Here is some te|xt"
+positions[16] = "Here is some tex|t"
+positions[17] = "Here is some text|"
+After text change:
+positions[0] = "|text(inserted)"
+positions[1] = "|text(inserted)"
+positions[2] = "|text(inserted)"
+positions[3] = "|text(inserted)"
+positions[4] = "|text(inserted)"
+positions[5] = "|text(inserted)"
+positions[6] = "|text(inserted)"
+positions[7] = "|text(inserted)"
+positions[8] = "|text(inserted)"
+positions[9] = "|text(inserted)"
+positions[10] = "|text(inserted)"
+positions[11] = "|text(inserted)"
+positions[12] = "|text(inserted)"
+positions[13] = "|text(inserted)"
+positions[14] = "t|ext(inserted)"
+positions[15] = "te|xt(inserted)"
+positions[16] = "tex|t(inserted)"
+positions[17] = "text|(inserted)"
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-text9-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-text9-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-text9-input.html
new file mode 100644
index 0000000..326c848
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-text9-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    var positions = new Array();
+    for (var i = 0; i <= text.nodeValue.length; i++)
+        positions.push(new Position(text,i));
+
+    var messages = new Array();
+    messages.push("Before text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_deleteCharacters(text,0,13);
+        DOM_insertCharacters(text,text.nodeValue.length,"(inserted)");
+    });
+
+    messages.push("After text change:");
+    for (var i = 0; i < positions.length; i++)
+        messages.push("positions["+i+"] = "+positions[i]);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>Here is some text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-expected.html
new file mode 100644
index 0000000..7012054
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-expected.html
@@ -0,0 +1,67 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P#p1,0)
+Before: positions[2] = "|ab"
+Before: positions[3] = "a|b"
+Before: positions[4] = "ab|"
+Before: positions[5] = (P#p1,1)
+Before: positions[6] = (BR,0)
+Before: positions[7] = (P#p1,2)
+Before: positions[8] = (BODY,1)
+Before: positions[9] = (P#p2,0)
+Before: positions[10] = "|cd"
+Before: positions[11] = "c|d"
+Before: positions[12] = "cd|"
+Before: positions[13] = (P#p2,1)
+Before: positions[14] = (BR,0)
+Before: positions[15] = (P#p2,2)
+Before: positions[16] = (BODY,2)
+Before: positions[17] = (P#p3,0)
+Before: positions[18] = "|ef"
+Before: positions[19] = "e|f"
+Before: positions[20] = "ef|"
+Before: positions[21] = (P#p3,1)
+Before: positions[22] = (BR,0)
+Before: positions[23] = (P#p3,2)
+Before: positions[24] = (BODY,3)
+Before: positions[25] = "|\n\n"
+Before: positions[26] = "\n|\n"
+Before: positions[27] = "\n\n|"
+Before: positions[28] = (BODY,4)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P#p1,0)
+After: positions[2] = "|ab"
+After: positions[3] = "a|b"
+After: positions[4] = "ab|"
+After: positions[5] = (P#p1,1)
+After: positions[6] = (BR,0)
+After: positions[7] = (P#p1,2)
+After: positions[8] = (DIV,0) - changed from (BODY,1)
+After: positions[9] = (P#p2,0)
+After: positions[10] = "|cd"
+After: positions[11] = "c|d"
+After: positions[12] = "cd|"
+After: positions[13] = (P#p2,1)
+After: positions[14] = (BR,0)
+After: positions[15] = (P#p2,2)
+After: positions[16] = (DIV,1) - changed from (BODY,2)
+After: positions[17] = (P#p3,0)
+After: positions[18] = "|ef"
+After: positions[19] = "e|f"
+After: positions[20] = "ef|"
+After: positions[21] = (P#p3,1)
+After: positions[22] = (BR,0)
+After: positions[23] = (P#p3,2)
+After: positions[24] = (BODY,3)
+After: positions[25] = "|\n\n"
+After: positions[26] = "\n|\n"
+After: positions[27] = "\n\n|"
+After: positions[28] = (BODY,4)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-input.html
new file mode 100644
index 0000000..b38dc71
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-wrapNode-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function performTest()
+{
+    // DOM_wrapNode() should only affect positions which come directly
+    // before or after the node.
+
+    var result = comparePositionsBeforeAndAfter(function() {
+        DOM_wrapNode(document.getElementById("p2"),"DIV");
+    });
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+result+"\n-"));
+}
+</script>
+</head>
+<body><p id="p1">ab<br></p><p id="p2">cd<br></p><p id="p3">ef<br></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking1-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking1-expected.html
new file mode 100644
index 0000000..a4bd0ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking1-expected.html
@@ -0,0 +1,32 @@
+<html>
+  <head></head>
+  <body>
+    -
+posOffset 0, nodeOffset 0: (BODY,0) (BODY,0) (BODY,0)
+posOffset 0, nodeOffset 1: (BODY,0) (BODY,0) (BODY,0)
+posOffset 0, nodeOffset 2: (BODY,0) (BODY,0) (BODY,0)
+posOffset 0, nodeOffset 3: (BODY,0) (BODY,0) (BODY,0)
+posOffset 0, nodeOffset 4: (BODY,0) (BODY,0) (BODY,0)
+posOffset 1, nodeOffset 0: (BODY,1) (BODY,2) (BODY,1)
+posOffset 1, nodeOffset 1: (BODY,1) (BODY,1) (BODY,1)
+posOffset 1, nodeOffset 2: (BODY,1) (BODY,1) (BODY,1)
+posOffset 1, nodeOffset 3: (BODY,1) (BODY,1) (BODY,1)
+posOffset 1, nodeOffset 4: (BODY,1) (BODY,1) (BODY,1)
+posOffset 2, nodeOffset 0: (BODY,2) (BODY,3) (BODY,2)
+posOffset 2, nodeOffset 1: (BODY,2) (BODY,3) (BODY,2)
+posOffset 2, nodeOffset 2: (BODY,2) (BODY,2) (BODY,2)
+posOffset 2, nodeOffset 3: (BODY,2) (BODY,2) (BODY,2)
+posOffset 2, nodeOffset 4: (BODY,2) (BODY,2) (BODY,2)
+posOffset 3, nodeOffset 0: (BODY,3) (BODY,4) (BODY,3)
+posOffset 3, nodeOffset 1: (BODY,3) (BODY,4) (BODY,3)
+posOffset 3, nodeOffset 2: (BODY,3) (BODY,4) (BODY,3)
+posOffset 3, nodeOffset 3: (BODY,3) (BODY,3) (BODY,3)
+posOffset 3, nodeOffset 4: (BODY,3) (BODY,3) (BODY,3)
+posOffset 4, nodeOffset 0: (BODY,4) (BODY,5) (BODY,4)
+posOffset 4, nodeOffset 1: (BODY,4) (BODY,5) (BODY,4)
+posOffset 4, nodeOffset 2: (BODY,4) (BODY,5) (BODY,4)
+posOffset 4, nodeOffset 3: (BODY,4) (BODY,5) (BODY,4)
+posOffset 4, nodeOffset 4: (BODY,4) (BODY,4) (BODY,4)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking1-input.html b/experiments/editorFramework/test/Layer0/dom/tracking1-input.html
new file mode 100644
index 0000000..f819e8e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking1-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+
+    var messages = new Array();
+    var nodeCount = document.body.childNodes.length;
+    for (var posOffset = 0; posOffset <= nodeCount; posOffset++) {
+        for (var nodeOffset = 0; nodeOffset <= nodeCount; nodeOffset++) {
+            var position = new Position(document.body,posOffset);
+            var temp = DOM_createElement(document,"B");
+            Position_trackWhileExecuting([position],function() {
+                var message = "posOffset "+posOffset+", nodeOffset "+nodeOffset+": "+position;
+                DOM_insertBefore(document.body,temp,document.body.childNodes[nodeOffset]);
+                message += " "+position;
+                DOM_deleteNode(temp);
+                message += " "+position;
+                messages.push(message);
+            });
+        }
+    }
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>One</p><p>Two</p><p>Three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking2-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking2-expected.html
new file mode 100644
index 0000000..bfde537
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking2-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    -
+Before insertion: position = (BODY,4)
+After insertion: position = (BODY,4)
+Before removal: position = (BODY,4)
+After removal: position = (BODY,4)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking2-input.html b/experiments/editorFramework/test/Layer0/dom/tracking2-input.html
new file mode 100644
index 0000000..a17a42b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking2-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var messages = new Array();
+
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(document.body,document.body.childNodes.length);
+    messages.push("Before insertion: position = "+position);
+    Position_trackWhileExecuting([position],function() {
+        DOM_appendChild(ps[0],DOM_createTextNode(document,"X"));
+    });
+    messages.push("After insertion: position = "+position);
+
+    var position = new Position(document.body,document.body.childNodes.length);
+    messages.push("Before removal: position = "+position);
+    Position_trackWhileExecuting([position],function() {
+        DOM_deleteNode(ps[0].firstChild);
+    });
+    messages.push("After removal: position = "+position);
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+messages.join("\n")+"\n-"));
+}
+</script>
+</head>
+<body><p>One</p><p>Two</p><p>Three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking3-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking3-expected.html
new file mode 100644
index 0000000..92d4b24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking3-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <span>Zero</span>
+    <tt/>
+    <span>One</span>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking3-input.html b/experiments/editorFramework/test/Layer0/dom/tracking3-input.html
new file mode 100644
index 0000000..609fd52
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking3-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_removeNodeButKeepChildren(ps[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking4-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking4-expected.html
new file mode 100644
index 0000000..bf11c6b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking4-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b/>
+      <span>Zero</span>
+      <span>One</span>
+      <i/>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking4-input.html b/experiments/editorFramework/test/Layer0/dom/tracking4-input.html
new file mode 100644
index 0000000..3f78b47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking4-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var pos1 = new Position(ps[0],0);
+    var pos2 = new Position(ps[0],2);
+
+    Position_trackWhileExecuting([pos1,pos2],function() {
+        insertAtPosition(pos1,DOM_createElement(document,"b"));
+        insertAtPosition(pos2,DOM_createElement(document,"i"));
+    });
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-expected.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-expected.html
new file mode 100644
index 0000000..30ede3c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      (P,0)
+      <b>A</b>
+      (P,1)
+      <b>B</b>
+      <i>
+        (I,0)
+        <b>C</b>
+        (I,1)
+        <b>D</b>
+        (I,2)
+        <b>E</b>
+        (I,3)
+        <b>F</b>
+        (I,4)
+      </i>
+      <b>G</b>
+      (P,4)
+      <b>H</b>
+      (P,5)
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-input.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-input.html
new file mode 100644
index 0000000..4dcb25a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings01-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var nchildren = 8;
+    var positions = new Array();
+    var baseCode = "A".charCodeAt(0);
+    for (var i = 0; i < nchildren; i++) {
+        var b = DOM_createElement(document,"B");
+        DOM_appendChild(b,DOM_createTextNode(document,String.fromCharCode(baseCode+i)));
+        DOM_appendChild(p,b);
+        positions.push(new Position(p,i));
+    }
+    positions.push(new Position(p,nchildren));
+    DOM_appendChild(document.body,p);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_wrapSiblings(p.childNodes[2],p.childNodes[5],"I");
+    });
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++)
+        lines.push(positions[i].toString()+"\n");
+
+    for (var i = positions.length-1; i >= 0; i--) {
+        var pos = positions[i];
+        var text = DOM_createTextNode(document,pos.toString());
+        DOM_insertBefore(pos.node,text,pos.node.childNodes[pos.offset]);
+    }
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-expected.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-expected.html
new file mode 100644
index 0000000..2152c93
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      (P,0)
+      <b>A</b>
+      (P,1)
+      <b>B</b>
+      <i>
+        (I,0)
+        <b>C</b>
+        (I,1)
+      </i>
+      <b>D</b>
+      (P,4)
+      <b>E</b>
+      (P,5)
+      <b>F</b>
+      (P,6)
+      <b>G</b>
+      (P,7)
+      <b>H</b>
+      (P,8)
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-input.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-input.html
new file mode 100644
index 0000000..0c70e18
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings02-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var nchildren = 8;
+    var positions = new Array();
+    var baseCode = "A".charCodeAt(0);
+    for (var i = 0; i < nchildren; i++) {
+        var b = DOM_createElement(document,"B");
+        DOM_appendChild(b,DOM_createTextNode(document,String.fromCharCode(baseCode+i)));
+        DOM_appendChild(p,b);
+        positions.push(new Position(p,i));
+    }
+    positions.push(new Position(p,nchildren));
+    DOM_appendChild(document.body,p);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_wrapSiblings(p.childNodes[2],p.childNodes[2],"I");
+    });
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++)
+        lines.push(positions[i].toString()+"\n");
+
+    for (var i = positions.length-1; i >= 0; i--) {
+        var pos = positions[i];
+        var text = DOM_createTextNode(document,pos.toString());
+        DOM_insertBefore(pos.node,text,pos.node.childNodes[pos.offset]);
+    }
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-expected.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-expected.html
new file mode 100644
index 0000000..ffdb792
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <i>
+        (I,0)
+        <b>A</b>
+        (I,1)
+        <b>B</b>
+        (I,2)
+        <b>C</b>
+        (I,3)
+        <b>D</b>
+        (I,4)
+        <b>E</b>
+        (I,5)
+      </i>
+      <b>F</b>
+      (P,2)
+      <b>G</b>
+      (P,3)
+      <b>H</b>
+      (P,4)
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-input.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-input.html
new file mode 100644
index 0000000..14dffba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings03-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var nchildren = 8;
+    var positions = new Array();
+    var baseCode = "A".charCodeAt(0);
+    for (var i = 0; i < nchildren; i++) {
+        var b = DOM_createElement(document,"B");
+        DOM_appendChild(b,DOM_createTextNode(document,String.fromCharCode(baseCode+i)));
+        DOM_appendChild(p,b);
+        positions.push(new Position(p,i));
+    }
+    positions.push(new Position(p,nchildren));
+    DOM_appendChild(document.body,p);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_wrapSiblings(p.childNodes[0],p.childNodes[4],"I");
+    });
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++)
+        lines.push(positions[i].toString()+"\n");
+
+    for (var i = positions.length-1; i >= 0; i--) {
+        var pos = positions[i];
+        var text = DOM_createTextNode(document,pos.toString());
+        DOM_insertBefore(pos.node,text,pos.node.childNodes[pos.offset]);
+    }
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-expected.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-expected.html
new file mode 100644
index 0000000..2de899e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      (P,0)
+      <b>A</b>
+      (P,1)
+      <b>B</b>
+      (P,2)
+      <b>C</b>
+      <i>
+        (I,0)
+        <b>D</b>
+        (I,1)
+        <b>E</b>
+        (I,2)
+        <b>F</b>
+        (I,3)
+        <b>G</b>
+        (I,4)
+        <b>H</b>
+        (I,5)
+      </i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-input.html b/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-input.html
new file mode 100644
index 0000000..0516d5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/wrapSiblings04-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var nchildren = 8;
+    var positions = new Array();
+    var baseCode = "A".charCodeAt(0);
+    for (var i = 0; i < nchildren; i++) {
+        var b = DOM_createElement(document,"B");
+        DOM_appendChild(b,DOM_createTextNode(document,String.fromCharCode(baseCode+i)));
+        DOM_appendChild(p,b);
+        positions.push(new Position(p,i));
+    }
+    positions.push(new Position(p,nchildren));
+    DOM_appendChild(document.body,p);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_wrapSiblings(p.childNodes[3],p.childNodes[7],"I");
+    });
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++)
+        lines.push(positions[i].toString()+"\n");
+
+    for (var i = positions.length-1; i >= 0; i--) {
+        var pos = positions[i];
+        var text = DOM_createTextNode(document,pos.toString());
+        DOM_insertBefore(pos.node,text,pos.node.childNodes[pos.offset]);
+    }
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/FiguresTest.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/FiguresTest.js b/experiments/editorFramework/test/Layer0/figures/FiguresTest.js
new file mode 100644
index 0000000..385017a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/FiguresTest.js
@@ -0,0 +1,35 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function figurePropertiesString(index)
+{
+    var figure = document.getElementsByTagName("FIGURE")[0];
+    var parent = figure.parentNode;
+    var offset = DOM_nodeOffset(figure);
+    Selection_set(parent,offset,parent,offset+1);
+    var properties = Figures_getProperties(Figures_getSelectedFigureId());
+    var strings = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var name = names[i];
+        if (properties[name] == null)
+            strings.push(name+" = null");
+        else
+            strings.push(name+" = "+properties[name]);
+    }
+    return strings.join("\n");
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties01-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties01-expected.html
new file mode 100644
index 0000000..4a2f422
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties01-expected.html
@@ -0,0 +1,2 @@
+src = nothing.png
+width = null

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties01-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties01-input.html
new file mode 100644
index 0000000..0c79db8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,false,null);
+    PostponedActions_perform();
+
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties02-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties02-expected.html
new file mode 100644
index 0000000..1de41c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties02-expected.html
@@ -0,0 +1,2 @@
+src = nothing.png
+width = 60%

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties02-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties02-input.html
new file mode 100644
index 0000000..dfa32bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png","60%",false,null);
+    PostponedActions_perform();
+
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties03-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties03-expected.html
new file mode 100644
index 0000000..dbe1cb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties03-expected.html
@@ -0,0 +1,2 @@
+src = null
+width = null

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties03-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties03-input.html
new file mode 100644
index 0000000..3f756af
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+  <figure>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties04-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties04-expected.html
new file mode 100644
index 0000000..dbe1cb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties04-expected.html
@@ -0,0 +1,2 @@
+src = null
+width = null

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties04-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties04-input.html
new file mode 100644
index 0000000..2362417
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+  <figure>
+    Test
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties05-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties05-expected.html
new file mode 100644
index 0000000..4a2f422
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties05-expected.html
@@ -0,0 +1,2 @@
+src = nothing.png
+width = null

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties05-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties05-input.html
new file mode 100644
index 0000000..4b37359
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+  <figure>
+    <span><img src="nothing.png"></span>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties06-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties06-expected.html
new file mode 100644
index 0000000..1de41c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties06-expected.html
@@ -0,0 +1,2 @@
+src = nothing.png
+width = 60%

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties06-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties06-input.html
new file mode 100644
index 0000000..127e2d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties06-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+  <figure>
+    <span><img src="nothing.png" style="width: 60%"></span>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties07-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties07-expected.html
new file mode 100644
index 0000000..1de41c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties07-expected.html
@@ -0,0 +1,2 @@
+src = nothing.png
+width = 60%

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties07-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties07-input.html
new file mode 100644
index 0000000..0318a72
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties07-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+  <figure>
+    <span><img src="nothing.png" width="60%"></span>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties08-expected.html b/experiments/editorFramework/test/Layer0/figures/getProperties08-expected.html
new file mode 100644
index 0000000..0dc9cd1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties08-expected.html
@@ -0,0 +1,2 @@
+src = nothing.png
+width = 100%

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/getProperties08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/getProperties08-input.html b/experiments/editorFramework/test/Layer0/figures/getProperties08-input.html
new file mode 100644
index 0000000..35e98fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/getProperties08-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="FiguresTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    return figurePropertiesString(0);
+}
+</script>
+</head>
+<body>
+  <figure>
+    <span><img src="nothing.png" style="width: 100%" width="60%"></span>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-expected.html
new file mode 100644
index 0000000..e2892dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <img src="nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-input.html
new file mode 100644
index 0000000..cfcfb6a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,false,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>First figure[]</figcaption>
+</figure>
+
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-expected.html
new file mode 100644
index 0000000..5f52e4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="footnote"></span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-input.html
new file mode 100644
index 0000000..0ee7ad4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-expected.html
new file mode 100644
index 0000000..b9ab906
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="footnote"/>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-input.html
new file mode 100644
index 0000000..f2e61c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-expected.html
new file mode 100644
index 0000000..31207ea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before</p>
+    <p>
+      []
+      <span class="footnote">footnote</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-input.html
new file mode 100644
index 0000000..1c23e5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]<span class="footnote">footnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-expected.html
new file mode 100644
index 0000000..62280e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="footnote">footnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-input.html
new file mode 100644
index 0000000..78dc232
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">[]footnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-expected.html
new file mode 100644
index 0000000..62280e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="footnote">footnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-input.html
new file mode 100644
index 0000000..c7d159c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">foot[]note</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-expected.html
new file mode 100644
index 0000000..62280e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="footnote">footnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-input.html
new file mode 100644
index 0000000..e6777ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">footnote[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-expected.html
new file mode 100644
index 0000000..62280e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="footnote">footnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-input.html
new file mode 100644
index 0000000..50f1986
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">footnote</span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-expected.html
new file mode 100644
index 0000000..f2aa188
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">Sample t</h1>
+    <p>[]ext</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-input.html
new file mode 100644
index 0000000..f75e82d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_enterPressed();
+    showSelection();
+    Main_removeSpecial(document);
+}
+</script>
+</head>
+<body>
+<h1>Sample t[]ext</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-expected.html
new file mode 100644
index 0000000..5b8b602
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+    <h1 id="item1">Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-input.html
new file mode 100644
index 0000000..7b7a6b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading02-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    Cursor_enterPressed();
+    showSelection();
+    Main_removeSpecial(document);
+}
+</script>
+</head>
+<body>
+<h1>X[]Sample text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-expected.html
new file mode 100644
index 0000000..38cdb5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">Sample text</h1>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-input.html
new file mode 100644
index 0000000..cfc3359
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_enterPressed();
+    showSelection();
+    Main_removeSpecial(document);
+}
+</script>
+</head>
+<body>
+<h1>Sample text[]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-expected.html
new file mode 100644
index 0000000..7441b07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+    <h1>Some text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-input.html
new file mode 100644
index 0000000..0b52deb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>[]Some text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-expected.html
new file mode 100644
index 0000000..3df3e1e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1>S</h1>
+    <p>[]ome text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-input.html
new file mode 100644
index 0000000..39eed47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>S[]ome text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-expected.html
new file mode 100644
index 0000000..64894b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+    <h1><i>Some text</i></h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-input.html
new file mode 100644
index 0000000..109ec57
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1><i>[]Some text</i></h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-expected.html
new file mode 100644
index 0000000..f355235
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1><i>S</i></h1>
+    <p><i>[]ome text</i></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-input.html
new file mode 100644
index 0000000..1b38c5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1><i>S[]ome text</i></h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-expected.html
new file mode 100644
index 0000000..cd7e496
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+    <h1>
+      <i/>
+      Some text
+    </h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-input.html
new file mode 100644
index 0000000..f41b76c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1><i></i>[]Some text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-expected.html
new file mode 100644
index 0000000..c15aa54
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1><i>x</i></h1>
+    <p>[]Some text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-input.html
new file mode 100644
index 0000000..bb13914
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1><i>x</i>[]Some text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-expected.html
new file mode 100644
index 0000000..59cde39
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">[]Some text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-input.html
new file mode 100644
index 0000000..053ad14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading10-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+//    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>[]Some text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-expected.html
new file mode 100644
index 0000000..fc04b98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+    <h1 id="item1">Some text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-input.html
new file mode 100644
index 0000000..0deeab5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading11-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>[]Some text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-expected.html
new file mode 100644
index 0000000..2ab7291
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+    <h1 id="item1">
+      <i/>
+      Some text
+    </h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-input.html
new file mode 100644
index 0000000..f54befc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading12-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1><i></i>[]Some text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-expected.html
new file mode 100644
index 0000000..c58676a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1"><i>x</i></h1>
+    <p>[]Some text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-input.html
new file mode 100644
index 0000000..d4e7de9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-heading13-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1><i>x</i>[]Some text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-expected.html
new file mode 100644
index 0000000..3e27523
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li/>
+      <li>[]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-input.html
new file mode 100644
index 0000000..9ec125c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-expected.html
new file mode 100644
index 0000000..32433bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li/>
+      <li/>
+      <li/>
+      <li/>
+      <li>[]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-input.html
new file mode 100644
index 0000000..51e33f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-expected.html
new file mode 100644
index 0000000..adb29d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>aaa</li>
+      <li>[]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-input.html
new file mode 100644
index 0000000..528aeb5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>aaa[]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-expected.html
new file mode 100644
index 0000000..c9b3af9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>aaa</li>
+      <li/>
+      <li/>
+      <li/>
+      <li>[]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-input.html
new file mode 100644
index 0000000..925e56e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>aaa[]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-expected.html
new file mode 100644
index 0000000..443043c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li/>
+      <li>[]bbb</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-input.html
new file mode 100644
index 0000000..c023929
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]bbb</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-expected.html
new file mode 100644
index 0000000..bb5afc2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li/>
+      <li/>
+      <li/>
+      <li/>
+      <li>[]bbb</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-input.html
new file mode 100644
index 0000000..ebe7b71
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop06-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]bbb</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-expected.html
new file mode 100644
index 0000000..d7991f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>aaa</li>
+      <li>[]bbb</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-input.html
new file mode 100644
index 0000000..42eef60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>aaa[]bbb</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-expected.html
new file mode 100644
index 0000000..dfea136
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>aaa</li>
+      <li/>
+      <li/>
+      <li/>
+      <li>[]bbb</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-input.html
new file mode 100644
index 0000000..d2f2cae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list-nop08-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>aaa[]bbb</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-expected.html
new file mode 100644
index 0000000..da7d28e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>T</p></li>
+      <li><p>[]wo</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-input.html
new file mode 100644
index 0000000..cc0d9dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list01-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>T[]wo</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-expected.html
new file mode 100644
index 0000000..d387e6f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p><br/></p></li>
+      <li><p>[]Two</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-input.html
new file mode 100644
index 0000000..f500454
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>[]Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-expected.html
new file mode 100644
index 0000000..486502d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-input.html
new file mode 100644
index 0000000..01fa703
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two[]</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-expected.html
new file mode 100644
index 0000000..5d15822
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>T</li>
+      <li>[]wo</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-input.html
new file mode 100644
index 0000000..e9f08c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>T[]wo</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-expected.html
new file mode 100644
index 0000000..234f61a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li/>
+      <li>[]Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-input.html
new file mode 100644
index 0000000..dad996d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>[]Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-expected.html
new file mode 100644
index 0000000..36bdf73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>[]</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-input.html
new file mode 100644
index 0000000..00d7b87
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list06-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two[]</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-expected.html
new file mode 100644
index 0000000..0a3f942
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>[]</li>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-input.html
new file mode 100644
index 0000000..2defb77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list07-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  []
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-expected.html
new file mode 100644
index 0000000..36bdf73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>[]</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-input.html
new file mode 100644
index 0000000..a9359a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list08-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  []
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-expected.html
new file mode 100644
index 0000000..335564c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>[]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-input.html
new file mode 100644
index 0000000..a33fff8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list09-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  []
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-expected.html
new file mode 100644
index 0000000..7b314eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li/>
+      <li>
+        []*
+        <p>Two</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-input.html
new file mode 100644
index 0000000..082a6fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list10-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>[]<p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-expected.html
new file mode 100644
index 0000000..9b5c662
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li>[]</li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-input.html
new file mode 100644
index 0000000..569d01f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list11-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p>[]</li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-expected.html
new file mode 100644
index 0000000..64a7f61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li/>
+      <li>
+        []
+        <p>Two - first</p>
+        <p>Two - second</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-input.html
new file mode 100644
index 0000000..98b93db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list12-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    []<p>Two - first</p>
+    <p>Two - second</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-expected.html
new file mode 100644
index 0000000..26d108a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p><br/></p></li>
+      <li>
+        <p>[]Two - first</p>
+        <p>Two - second</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-input.html
new file mode 100644
index 0000000..cd746a0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list13-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>[]Two - first</p>
+    <p>Two - second</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-expected.html
new file mode 100644
index 0000000..88808b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two - f</p></li>
+      <li>
+        <p>[]irst</p>
+        <p>Two - second</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-input.html
new file mode 100644
index 0000000..71907e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list14-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two - f[]irst</p>
+    <p>Two - second</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-expected.html
new file mode 100644
index 0000000..36072b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two - first</p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+        <p>Two - second</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-input.html
new file mode 100644
index 0000000..6607ab0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list15-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two - first[]</p>
+    <p>Two - second</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-expected.html
new file mode 100644
index 0000000..3890e58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two - first</p></li>
+      <li>
+        []
+        <p>Two - second</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-input.html
new file mode 100644
index 0000000..a96a4f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list16-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two - first</p>
+    []
+    <p>Two - second</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-expected.html
new file mode 100644
index 0000000..690c725
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two - first</p>
+        <p/>
+      </li>
+      <li><p>[]Two - second</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-input.html
new file mode 100644
index 0000000..90036e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list17-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two - first</p>
+    <p>[]Two - second</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-expected.html
new file mode 100644
index 0000000..432176a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two - first</p>
+        <p>Two - s</p>
+      </li>
+      <li><p>[]econd</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-input.html
new file mode 100644
index 0000000..ad71760
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list18-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two - first</p>
+    <p>Two - s[]econd</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-expected.html
new file mode 100644
index 0000000..41abbf9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two - first</p>
+        <p>Two - second</p>
+      </li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-input.html
new file mode 100644
index 0000000..a971e2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list19-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two - first</p>
+    <p>Two - second[]</p>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-expected.html
new file mode 100644
index 0000000..b2593c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two - first</p>
+        <p>Two - second</p>
+      </li>
+      <li>[]</li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-input.html
new file mode 100644
index 0000000..ad7656b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list20-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two - first</p>
+    <p>Two - second</p>
+    []
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-expected.html
new file mode 100644
index 0000000..13e5ca9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p><b><i><u>T</u></i></b></p></li>
+      <li><p><b><i><u>[]wo</u></i></b></p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-input.html
new file mode 100644
index 0000000..ccf3230
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list21-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p><b><i><u>T[]wo</u></i></b></p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-expected.html
new file mode 100644
index 0000000..ca68248
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>
+          <b><i><u/></i></b>
+          <br/>
+        </p>
+      </li>
+      <li><p><b><i><u>[]Two</u></i></b></p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-input.html
new file mode 100644
index 0000000..57fb405
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list22-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p><b><i><u>[]Two</u></i></b></p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-expected.html
new file mode 100644
index 0000000..1e12dc1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p><b><i><u>Two</u></i></b></p></li>
+      <li>
+        <p>
+          <b><i><u>[]</u></i></b>
+          <br/>
+        </p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-input.html
new file mode 100644
index 0000000..c0a2d15
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list23-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Selection_preserveWhileExecuting(showEmptyTextNodes);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p><b><i><u>Two[]</u></i></b></p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-expected.html
new file mode 100644
index 0000000..7d783b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-input.html
new file mode 100644
index 0000000..d6fdbad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list24-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li><p>[]</p></li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-expected.html
new file mode 100644
index 0000000..562a7fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p><b><i><u>X[]</u></i></b></p></li>
+      <li><p><b><i><u>Two</u></i></b></p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-input.html
new file mode 100644
index 0000000..cee3f32
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list25-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    var range = Selection_get();
+    Range_trackWhileExecuting(range,showEmptyTextNodes);
+    var u = document.getElementsByTagName("U")[0];
+    Selection_set(u,0,u,0);
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p><b><i><u>[]Two</u></i></b></p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-expected.html
new file mode 100644
index 0000000..55f4d4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p><br/></p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-input.html
new file mode 100644
index 0000000..38925e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list26-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[]<br></p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-expected.html
new file mode 100644
index 0000000..27ad04d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-input.html
new file mode 100644
index 0000000..a13066e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list27-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[]<br></p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-expected.html
new file mode 100644
index 0000000..27ad04d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li><p><br/></p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-input.html
new file mode 100644
index 0000000..99986cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-list28-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[]</p></li>
+</ol>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-expected.html
new file mode 100644
index 0000000..372f917
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>One two []three</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-input.html
new file mode 100644
index 0000000..23be3e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b><i><u>One two </u></i></b><b><i><u>[]three</u></i></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-expected.html
new file mode 100644
index 0000000..b2ad811
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p><b>One two []three</b></p>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-input.html
new file mode 100644
index 0000000..e148fb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards03-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>Before</p><p><b>One two </b><b>[]three</b></p><p>After</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-expected.html
new file mode 100644
index 0000000..ffda085
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Before
+      <b>One two []three</b>
+      After
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-input.html
new file mode 100644
index 0000000..50058ca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_BLOCK_AND_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>Before</p><p><b>One two </b><b>[]three</b></p><p>After</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-expected.html
new file mode 100644
index 0000000..6be8697
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[]One two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-input.html
new file mode 100644
index 0000000..4ca7d4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>[]One two three<b></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-expected.html
new file mode 100644
index 0000000..6be8697
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[]One two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-input.html
new file mode 100644
index 0000000..89f4081
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards06-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>[]One two three<b><i><u></u></i></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-expected.html
new file mode 100644
index 0000000..6be8697
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[]One two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-input.html
new file mode 100644
index 0000000..dcff8e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards07-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b></b>[]One two three</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-expected.html
new file mode 100644
index 0000000..6be8697
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[]One two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-input.html
new file mode 100644
index 0000000..d30c89e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards08-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b><i><u></u></i></b>[]One two three</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-expected.html
new file mode 100644
index 0000000..4441b53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 20%"></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-input.html
new file mode 100644
index 0000000..e119e8a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "20%"});
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 10%">[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-expected.html
new file mode 100644
index 0000000..2fcd240
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 20%"/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-input.html
new file mode 100644
index 0000000..146b1f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "20%"});
+}
+</script>
+</head>
+<body>
+[<p style="margin-left: 10%"></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-expected.html
new file mode 100644
index 0000000..86f379f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 10%">
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-input.html
new file mode 100644
index 0000000..798c6c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+[<p style="margin-left: 1%">One</p>
+<h1 style="margin-left: 2%">Two</h1>
+<div style="margin-left: 3%">Three</div>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-expected.html
new file mode 100644
index 0000000..86f379f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 10%">
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-input.html
new file mode 100644
index 0000000..53e37e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 1%">O[ne</p>
+<h1 style="margin-left: 2%">Two</h1>
+<div style="margin-left: 3%">Thre]e</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-expected.html
new file mode 100644
index 0000000..65d536e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 1%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 3%">
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-input.html
new file mode 100644
index 0000000..b065f79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 1%">One</p>
+<h1 style="margin-left: 2%">T[]wo</h1>
+<div style="margin-left: 3%">Three</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-expected.html
new file mode 100644
index 0000000..55bd283
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 1%">
+      <p style="margin-left: 10%">One</p>
+      <p style="margin-left: 10%">Two</p>
+      <p style="margin-left: 10%">Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-input.html
new file mode 100644
index 0000000..d233b65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+}
+</script>
+</head>
+<body>
+<div style="margin-left: 1%">
+  <p style="margin-left: 2%">On[e</p>
+  <p style="margin-left: 3%">Two</p>
+  <p style="margin-left: 4%">Thre]e</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-expected.html
new file mode 100644
index 0000000..29b3fbf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 1%">
+      <p style="margin-left: 2%">One</p>
+      <p style="margin-left: 10%">Two</p>
+      <p style="margin-left: 4%">Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-input.html
new file mode 100644
index 0000000..7eddd1c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+}
+</script>
+</head>
+<body>
+<div style="margin-left: 1%">
+  <p style="margin-left: 2%">One</p>
+  <p style="margin-left: 3%">T[]wo</p>
+  <p style="margin-left: 4%">Three</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-expected.html
new file mode 100644
index 0000000..29b3fbf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 1%">
+      <p style="margin-left: 2%">One</p>
+      <p style="margin-left: 10%">Two</p>
+      <p style="margin-left: 4%">Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-input.html
new file mode 100644
index 0000000..bf06d74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-change08-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+}
+</script>
+</head>
+<body>
+<div style="margin-left: 1%">
+  <p style="margin-left: 2%">One</p>
+  [<p style="margin-left: 3%">Two</p>]
+  <p style="margin-left: 4%">Three</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-expected.html
new file mode 100644
index 0000000..4424e4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-input.html
new file mode 100644
index 0000000..a60dbba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 10%">[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-expected.html
new file mode 100644
index 0000000..572de6d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-right: 20%"></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-input.html
new file mode 100644
index 0000000..a2bf998
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 10%; margin-right: 20%">[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-expected.html
new file mode 100644
index 0000000..aec2fa1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-right: 20%"/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-input.html
new file mode 100644
index 0000000..c6a3bc9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove03-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+}
+</script>
+</head>
+<body>
+[<p style="margin-left: 10%; margin-right: 20%"></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-expected.html
new file mode 100644
index 0000000..22f5569
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <h1>Two</h1>
+    <div>
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-input.html
new file mode 100644
index 0000000..29328e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+[<p style="margin-left: 1%">One</p>
+<h1 style="margin-left: 2%">Two</h1>
+<div style="margin-left: 3%">Three</div>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-expected.html
new file mode 100644
index 0000000..6381bf2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 1%">One</p>
+    <h1>Two</h1>
+    <div style="margin-left: 3%">
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-input.html
new file mode 100644
index 0000000..66db01a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 1%">One</p>
+[<h1 style="margin-left: 2%">Two</h1>]
+<div style="margin-left: 3%">Three</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-expected.html
new file mode 100644
index 0000000..dd1cec2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 1%; margin-right: 11%">One</p>
+    <h1 style="margin-right: 22%">Two</h1>
+    <div style="margin-left: 3%; margin-right: 33%">
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-input.html
new file mode 100644
index 0000000..52508f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove06-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 1%; margin-right: 11%">One</p>
+[<h1 style="margin-left: 2%; margin-right: 22%">Two</h1>]
+<div style="margin-left: 3%; margin-right: 33%">Three</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-expected.html
new file mode 100644
index 0000000..3fc8b0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 1%">
+      <p>One</p>
+      <p>Two</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-input.html
new file mode 100644
index 0000000..55e96ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+}
+</script>
+</head>
+<body>
+<div style="margin-left: 1%">
+  <p style="margin-left: 2%">O[ne</p>
+  <p style="margin-left: 3%">Two</p>
+  <p style="margin-left: 4%">Thre]e</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-expected.html
new file mode 100644
index 0000000..3fc8b0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 1%">
+      <p>One</p>
+      <p>Two</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-input.html
new file mode 100644
index 0000000..26d3612
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove08-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+}
+</script>
+</head>
+<body>
+[<div style="margin-left: 1%">
+  <p style="margin-left: 2%">One</p>
+  <p style="margin-left: 3%">Two</p>
+  <p style="margin-left: 4%">Three</p>
+</div>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-expected.html
new file mode 100644
index 0000000..cc8a4e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 1%">
+      <p style="margin-left: 2%">One</p>
+      <p>Two</p>
+      <p style="margin-left: 4%">Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-input.html
new file mode 100644
index 0000000..f5bfdeb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove09-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+}
+</script>
+</head>
+<body>
+<div style="margin-left: 1%">
+  <p style="margin-left: 2%">One</p>
+  <p style="margin-left: 3%">T[]wo</p>
+  <p style="margin-left: 4%">Three</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-expected.html
new file mode 100644
index 0000000..cc8a4e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 1%">
+      <p style="margin-left: 2%">One</p>
+      <p>Two</p>
+      <p style="margin-left: 4%">Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-input.html
new file mode 100644
index 0000000..996455c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-remove10-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": null});
+}
+</script>
+</head>
+<body>
+<div style="margin-left: 1%">
+  <p style="margin-left: 2%">One</p>
+  [<p style="margin-left: 3%">Two</p>]
+  <p style="margin-left: 4%">Three</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-expected.html
new file mode 100644
index 0000000..7c2d2d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%"></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-input.html
new file mode 100644
index 0000000..9baf28b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-expected.html
new file mode 100644
index 0000000..63b2469
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%"/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-input.html
new file mode 100644
index 0000000..a407440
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+}
+</script>
+</head>
+<body>
+[<p></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-expected.html
new file mode 100644
index 0000000..86f379f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 10%">
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-input.html
new file mode 100644
index 0000000..8f22efb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+[<p>One</p>
+<h1>Two</h1>
+<div>Three</div>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-expected.html
new file mode 100644
index 0000000..86f379f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 10%">
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-input.html
new file mode 100644
index 0000000..40bc76d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>O[ne</p>
+<h1>Two</h1>
+<div>Thre]e</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-expected.html
new file mode 100644
index 0000000..7ce9c3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div>
+      Three
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-input.html
new file mode 100644
index 0000000..49eeee8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<h1>T[]wo</h1>
+<div>Three</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-expected.html
new file mode 100644
index 0000000..fe73b8b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p style="margin-left: 10%">One</p>
+      <p style="margin-left: 10%">Two</p>
+      <p style="margin-left: 10%">Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-input.html
new file mode 100644
index 0000000..f9f75fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+}
+</script>
+</head>
+<body>
+<div>
+  <p>On[e</p>
+  <p>Two</p>
+  <p>Thre]e</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-expected.html
new file mode 100644
index 0000000..2a50d2c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <p style="margin-left: 10%">Two</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-input.html
new file mode 100644
index 0000000..ca57de0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraph-set07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+}
+</script>
+</head>
+<body>
+<div>
+  <p>One</p>
+  <p>T[]wo</p>
+  <p>Three</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-expected.html
new file mode 100644
index 0000000..62a6e3c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-expected.html
@@ -0,0 +1 @@
+T

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-input.html
new file mode 100644
index 0000000..fedcf76
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>T[]he <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the </b>lazy dog.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-expected.html
new file mode 100644
index 0000000..9927244
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-expected.html
@@ -0,0 +1 @@
+The

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-input.html
new file mode 100644
index 0000000..4ce00f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The[] <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the </b>lazy dog.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-expected.html
new file mode 100644
index 0000000..fe8db22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-expected.html
@@ -0,0 +1 @@
+The qu

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-input.html
new file mode 100644
index 0000000..9b5afc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>qu[]ick</b> brown <b>fox <i>jumps <u>over</u></i> the </b>lazy dog.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-expected.html
new file mode 100644
index 0000000..236c983
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-expected.html
@@ -0,0 +1 @@
+The quick brown fox jum

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-input.html
new file mode 100644
index 0000000..2ec56ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jum[]ps <u>over</u></i> the </b>lazy dog.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-expected.html
new file mode 100644
index 0000000..30acd44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-expected.html
@@ -0,0 +1 @@
+The quick brown fox jumps ov

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-input.html
new file mode 100644
index 0000000..1ab91b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>ov[]er</u></i> the</b> <b>lazy</b> dog.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-expected.html
new file mode 100644
index 0000000..7dc05d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-expected.html
@@ -0,0 +1 @@
+The quick brown fox jumps over th

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-input.html
new file mode 100644
index 0000000..c6de815
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> th[]e</b> <b>lazy</b> dog.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-expected.html
new file mode 100644
index 0000000..85f4b6c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-expected.html
@@ -0,0 +1 @@
+The quick brown fox jumps over the laz

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-input.html
new file mode 100644
index 0000000..661153d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the</b> <b>laz[]y</b> dog.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-expected.html
new file mode 100644
index 0000000..84102df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-expected.html
@@ -0,0 +1 @@
+The quick brown fox jumps over the lazy dog

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-input.html
new file mode 100644
index 0000000..d2d10bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the</b> <b>lazy</b> dog[].</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-expected.html
new file mode 100644
index 0000000..2fe6575
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-expected.html
@@ -0,0 +1 @@
+The quick brown fox jumps over the lazy dog.

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-input.html
new file mode 100644
index 0000000..71b4480
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the</b> <b>lazy</b> dog.[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition10-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition10-expected.html
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition10-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition10-input.html
new file mode 100644
index 0000000..21e20b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition10-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the</b> <b>lazy</b> dog.</p>
+<p>[]And here is some more text.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-expected.html
new file mode 100644
index 0000000..dfdabb0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-expected.html
@@ -0,0 +1 @@
+And

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-input.html
new file mode 100644
index 0000000..cb4ea64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition11-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the</b> <b>lazy</b> dog.</p>
+<p>And[] here is some more text.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition12-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition12-expected.html
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition12-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition12-input.html
new file mode 100644
index 0000000..26195c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition12-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the</b> <b>lazy</b> dog.</p>
+[]
+<p>And here is some more text.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-expected.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-expected.html
new file mode 100644
index 0000000..f2ba8f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-expected.html
@@ -0,0 +1 @@
+abc
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-input.html b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-input.html
new file mode 100644
index 0000000..3610923
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/paragraphTextUpToPosition13-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    var selectionRange = Selection_get();
+    return Formatting_paragraphTextUpToPosition(selectionRange.start);
+}
+</script>
+</head>
+<body>
+<p>The <b>quick</b> brown <b>fox <i>jumps <u>over</u></i> the</b> <b>lazy</b> dog.</p>
+abc[]
+<p>And here is some more text.</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-expected.html
new file mode 100644
index 0000000..c7b4658
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span style="color: blue">[two]</span>
+      three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-input.html
new file mode 100644
index 0000000..806efb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>
+    <span id="test1">one [two] three</span>
+  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-expected.html
new file mode 100644
index 0000000..52ebdfe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span uxwrite-abstract="true">one</span>
+      <span id="test1" style="color: blue" uxwrite-abstract="true">[two]</span>
+      <span uxwrite-abstract="true">three</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-input.html
new file mode 100644
index 0000000..81797fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract01b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>
+    <span id="test1" uxwrite-abstract="true">one [two] three</span>
+  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-expected.html
new file mode 100644
index 0000000..7165cba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <b>[two]</b>
+      three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-input.html
new file mode 100644
index 0000000..1587916
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>
+    <span id="test1">one [two] three</span>
+  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-expected.html
new file mode 100644
index 0000000..5536762
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span uxwrite-abstract="true">one</span>
+      <span id="test1" uxwrite-abstract="true"><b>[two]</b></span>
+      <span uxwrite-abstract="true">three</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-input.html
new file mode 100644
index 0000000..a28f411
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract02b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>
+    <span id="test1" uxwrite-abstract="true">one [two] three</span>
+  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-expected.html
new file mode 100644
index 0000000..e245415
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <b><i><u>[two]</u></i></b>
+      three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-input.html
new file mode 100644
index 0000000..6947d4f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold",
+                                            "font-style": "italic",
+                                            "text-decoration": "underline"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>
+    <span id="test1">one [two] three</span>
+  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-expected.html
new file mode 100644
index 0000000..509c02b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span uxwrite-abstract="true">one</span>
+      <span id="test1" uxwrite-abstract="true"><b><i><u>[two]</u></i></b></span>
+      <span uxwrite-abstract="true">three</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-input.html
new file mode 100644
index 0000000..e9c3dbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveAbstract03b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold",
+                                            "font-style": "italic",
+                                            "text-decoration": "underline"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>
+    <span id="test1" uxwrite-abstract="true">one [two] three</span>
+  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-expected.html
new file mode 100644
index 0000000..a8bc926
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="border: 1px solid blue">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-input.html
new file mode 100644
index 0000000..5f44929
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="border: 1px solid blue">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-expected.html
new file mode 100644
index 0000000..b6cf21a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="padding: 20%">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-input.html
new file mode 100644
index 0000000..0d1ec80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="padding: 20%">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-expected.html
new file mode 100644
index 0000000..a668e0f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin: 20%">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-input.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-input.html
new file mode 100644
index 0000000..35c8c83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="margin: 20%">
+  Some [sample] text
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-expected.html
new file mode 100644
index 0000000..ba5e442
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="text-align: center">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html
new file mode 100644
index 0000000..f032705
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[test]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html
new file mode 100644
index 0000000..5474fc0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[test]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html
new file mode 100644
index 0000000..1e26a12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html
new file mode 100644
index 0000000..723105f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html
new file mode 100644
index 0000000..23649c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>test[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html
new file mode 100644
index 0000000..14174a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+test[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html
new file mode 100644
index 0000000..c43e793
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[]test</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html
new file mode 100644
index 0000000..8c58505
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]test
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html
new file mode 100644
index 0000000..1e26a12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html
new file mode 100644
index 0000000..844b096
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    DOM_deleteAllChildren(document.body);
+    Selection_set(document.body,0,document.body,0);
+
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html
new file mode 100644
index 0000000..142ab51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    [
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ul>
+    ]
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html
new file mode 100644
index 0000000..7b00f75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    [
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    ]
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html
new file mode 100644
index 0000000..afe7773
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    [
+    <ul>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ul>
+    ]
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html
new file mode 100644
index 0000000..85db2ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    [
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five</p>
+    ]
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html
new file mode 100644
index 0000000..ab32faf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    [
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ul>
+    ]
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html
new file mode 100644
index 0000000..ca93046
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    [
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five</p>
+    ]
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html
new file mode 100644
index 0000000..ed9a5d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    [
+    <ul>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+      <li><p>Seven</p></li>
+    </ul>
+    ]
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html
new file mode 100644
index 0000000..50551bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    [
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five</p>
+    <p>Six</p>
+    <p>Seven</p>
+    ]
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html
new file mode 100644
index 0000000..8172759
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>[]</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html
new file mode 100644
index 0000000..561c82f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html
new file mode 100644
index 0000000..b4060bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>test[]</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html
new file mode 100644
index 0000000..e600834
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>test[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html
new file mode 100644
index 0000000..548fbfe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>[]test</p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html
new file mode 100644
index 0000000..a04f539
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]test</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul01-expected.html b/experiments/editorFramework/test/Layer0/lists/ul01-expected.html
new file mode 100644
index 0000000..ca83af4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul01-input.html b/experiments/editorFramework/test/Layer0/lists/ul01-input.html
new file mode 100644
index 0000000..d9b191a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>[One</p>
+<p>Two</p>
+<p>Three</p>
+<p>Four</p>
+<p>Five]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul02-expected.html b/experiments/editorFramework/test/Layer0/lists/ul02-expected.html
new file mode 100644
index 0000000..f8fdae0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+    </ul>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul02-input.html b/experiments/editorFramework/test/Layer0/lists/ul02-input.html
new file mode 100644
index 0000000..e0fbea5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>[One]</p>
+<p>Two</p>
+<p>Three</p>
+<p>Four</p>
+<p>Five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul03-expected.html b/experiments/editorFramework/test/Layer0/lists/ul03-expected.html
new file mode 100644
index 0000000..230709c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <ul>
+      <li><p>Three</p></li>
+    </ul>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul03-input.html b/experiments/editorFramework/test/Layer0/lists/ul03-input.html
new file mode 100644
index 0000000..50584a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<p>Two</p>
+<p>[Three]</p>
+<p>Four</p>
+<p>Five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul04-expected.html b/experiments/editorFramework/test/Layer0/lists/ul04-expected.html
new file mode 100644
index 0000000..0c28fc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <ul>
+      <li><p>Five</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul04-input.html b/experiments/editorFramework/test/Layer0/lists/ul04-input.html
new file mode 100644
index 0000000..646c86b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<p>Two</p>
+<p>Three</span></p>
+<p>Four</p>
+<p>[Five]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html b/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html
new file mode 100644
index 0000000..ee604fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html
@@ -0,0 +1,27 @@
+Before
+------
+
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+    </p>
+  </body>
+</html>
+
+After
+-----
+
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      two
+      three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html b/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html
new file mode 100644
index 0000000..a92c85a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+// Test that autocorrect spans are removed
+
+function performTest()
+{
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    PostponedActions_perform();
+
+    var before = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+    Main_removeSpecial(document.documentElement);
+    var after = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+    return "Before\n------\n\n"+before+"\nAfter\n-----\n\n"+after;
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html b/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html
new file mode 100644
index 0000000..15d8615
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html
@@ -0,0 +1,19 @@
+Before
+------
+
+<html>
+  <head></head>
+  <body>
+    <p><span class="uxwrite-selection">one two three</span></p>
+  </body>
+</html>
+
+After
+-----
+
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html b/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html
new file mode 100644
index 0000000..4fda89c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+// Test that autocorrect spans are removed
+
+function performTest()
+{
+    Selection_selectAll();
+    outputOptions.keepSelectionHighlights = true;
+
+    var before = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+    Main_removeSpecial(document.documentElement);
+    var after = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+    return "Before\n------\n\n"+before+"\nAfter\n-----\n\n"+after;
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html b/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html
new file mode 100644
index 0000000..6baa319
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html
@@ -0,0 +1,27 @@
+Before
+------
+
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span class="uxwrite-selection">one</span>
+      <span class="uxwrite-autocorrect" original="twox"><span class="uxwrite-selection">two</span></span>
+      <span class="uxwrite-selection">three</span>
+    </p>
+  </body>
+</html>
+
+After
+-----
+
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      two
+      three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html b/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html
new file mode 100644
index 0000000..84c83a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    AutoCorrect_correctPrecedingWord(4,"two");
+    Cursor_insertCharacter(" three");
+    PostponedActions_perform();
+
+    Selection_selectAll();
+    outputOptions.keepSelectionHighlights = true;
+
+    var before = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+    Main_removeSpecial(document.documentElement);
+    var after = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+    return "Before\n------\n\n"+before+"\nAfter\n-----\n\n"+after;
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/OutlineTest.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/OutlineTest.js b/experiments/editorFramework/test/Layer0/outline/OutlineTest.js
new file mode 100644
index 0000000..587e82c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/OutlineTest.js
@@ -0,0 +1,111 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function createTestSections(topChildren)
+{
+    var index = 1;
+
+    processChildren(1,topChildren);
+
+    PostponedActions_perform();
+
+    setNumbering(true);
+
+    function processChildren(level,children)
+    {
+        if (typeof children == "number") {
+            for (var i = 0; i < children; i++)
+                recurse(level,null);
+        }
+        else if (children instanceof Array) {
+            for (var i = 0; i < children.length; i++)
+                recurse(level,children[i]);
+        }
+    }
+
+    function recurse(level,children)
+    {
+        var heading = DOM_createElement(document,"H"+level);
+
+        DOM_appendChild(heading,DOM_createTextNode(document,"Section "+index));
+
+        var p1 = DOM_createElement(document,"P");
+        var p2 = DOM_createElement(document,"P");
+
+        DOM_appendChild(p1,DOM_createTextNode(document,"Content "+index+" A"));
+        DOM_appendChild(p2,DOM_createTextNode(document,"Content "+index+" B"));
+
+
+        DOM_appendChild(document.body,heading);
+        DOM_appendChild(document.body,p1);
+        DOM_appendChild(document.body,p2);
+        index++;
+
+        processChildren(level+1,children);
+    }
+}
+
+function setupOutline(topChildren)
+{
+    Outline_init();
+    PostponedActions_perform();
+    createTestSections(topChildren);
+}
+
+function createTestFigures(count)
+{
+    for (var i = 0; i < count; i++) {
+        var figure = DOM_createElement(document,"FIGURE");
+        var figcaption = DOM_createElement(document,"FIGCAPTION");
+        var content = DOM_createTextNode(document,"(figure content)");
+        var text = DOM_createTextNode(document,"Test figure "+String.fromCharCode(65+i));
+        DOM_appendChild(figcaption,text);
+        DOM_appendChild(figure,content);
+        DOM_appendChild(figure,figcaption);
+        DOM_appendChild(document.body,figure);
+    }
+}
+
+function createTestTables(count)
+{
+    for (var i = 0; i < count; i++) {
+        var offset = document.body.childNodes.length;
+        Selection_set(document.body,offset,document.body,offset);
+        Tables_insertTable(1,1,"100%",true,"Test table "+String.fromCharCode(65+i));
+    }
+    PostponedActions_perform();
+}
+
+function removeOutlineHTML(node)
+{
+    if ((node.nodeName == "SPAN") &&
+        (node.getAttribute("class") == "uxwrite-heading-number")) {
+        DOM_removeNodeButKeepChildren(node);
+    }
+    else {
+        for (var child = node.firstChild; child != null; child = child.nextSibling)
+            removeOutlineHTML(child);
+        for (var child = node.firstChild; child != null; child = child.nextSibling)
+            Formatting_mergeWithNeighbours(child,Formatting_MERGEABLE_INLINE);
+    }
+}
+
+function cleanupOutline()
+{
+    PostponedActions_perform();
+    removeOutlineHTML(document.body);
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html
new file mode 100644
index 0000000..f9b3d80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">[No sections defined]</p>
+    </nav>
+    <p>Heading</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html
new file mode 100644
index 0000000..72e0be5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("P",{});
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+[<h1>Heading</h1>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html
new file mode 100644
index 0000000..d21ea79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html
@@ -0,0 +1,31 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          One
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          One - first subsection
+        </a>
+      </p>
+      <p class="toc2">
+        <a href="#item3">
+          2.1
+          One - second subsection
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h1 id="item2">One - first subsection</h1>
+    <h2 id="item3">One - second subsection</h2>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html
new file mode 100644
index 0000000..0ded0c5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+// TOC: This test isn't so meaningful any more, since we're not
+// actually automatic addition of numbering. Perhaps add a TOC,
+// to test that it's reflected?
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    setNumbering(true);
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+    <h2>[One - first subsection]</h2>
+    <h2>One - second subsection</h2>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html
new file mode 100644
index 0000000..d946484
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html
@@ -0,0 +1,46 @@
+<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="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>
+    <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/deleteSection-inner01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-input.html
new file mode 100644
index 0000000..7d9590a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-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_deleteItem("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/deleteSection-inner02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-expected.html
new file mode 100644
index 0000000..11d7820
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-expected.html
@@ -0,0 +1,46 @@
+<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="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>
+    <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/deleteSection-inner02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-input.html
new file mode 100644
index 0000000..3a610a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-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_deleteItem("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/deleteSection-inner03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-expected.html
new file mode 100644
index 0000000..a2ca2ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-expected.html
@@ -0,0 +1,46 @@
+<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="#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>
+    <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/deleteSection-inner03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-input.html
new file mode 100644
index 0000000..a9edd43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-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_deleteItem("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/deleteSection-nested01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-expected.html
new file mode 100644
index 0000000..98f4c6b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-expected.html
@@ -0,0 +1,66 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item8">1 Section 8</a></p>
+      <p class="toc2"><a href="#item9">1.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">1.1.1 Section 10</a></p>
+      <p class="toc3"><a href="#item11">1.1.2 Section 11</a></p>
+      <p class="toc2"><a href="#item12">1.2 Section 12</a></p>
+      <p class="toc3"><a href="#item13">1.2.1 Section 13</a></p>
+      <p class="toc3"><a href="#item14">1.2.2 Section 14</a></p>
+      <p class="toc1"><a href="#item15">2 Section 15</a></p>
+      <p class="toc2"><a href="#item16">2.1 Section 16</a></p>
+      <p class="toc3"><a href="#item17">2.1.1 Section 17</a></p>
+      <p class="toc3"><a href="#item18">2.1.2 Section 18</a></p>
+      <p class="toc2"><a href="#item19">2.2 Section 19</a></p>
+      <p class="toc3"><a href="#item20">2.2.1 Section 20</a></p>
+      <p class="toc3"><a href="#item21">2.2.2 Section 21</a></p>
+    </nav>
+    <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/deleteSection-nested01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-input.html
new file mode 100644
index 0000000..4f658cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-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_deleteItem("item1");
+
+    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/deleteSection-nested02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-expected.html
new file mode 100644
index 0000000..6029daa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-expected.html
@@ -0,0 +1,66 @@
+<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="#item15">2 Section 15</a></p>
+      <p class="toc2"><a href="#item16">2.1 Section 16</a></p>
+      <p class="toc3"><a href="#item17">2.1.1 Section 17</a></p>
+      <p class="toc3"><a href="#item18">2.1.2 Section 18</a></p>
+      <p class="toc2"><a href="#item19">2.2 Section 19</a></p>
+      <p class="toc3"><a href="#item20">2.2.1 Section 20</a></p>
+      <p class="toc3"><a href="#item21">2.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="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/deleteSection-nested02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-input.html
new file mode 100644
index 0000000..3f99354
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-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_deleteItem("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/deleteSection-nested03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-expected.html
new file mode 100644
index 0000000..413c731
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-expected.html
@@ -0,0 +1,66 @@
+<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>
+    </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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-input.html
new file mode 100644
index 0000000..197304b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-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_deleteItem("item15");
+
+    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/deleteSection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection01-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection01-expected.html
new file mode 100644
index 0000000..0043d0f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection01-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item2">1 Section 2</a></p>
+      <p class="toc1"><a href="#item3">2 Section 3</a></p>
+    </nav>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html
new file mode 100644
index 0000000..91a2260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_deleteItem("item1");
+
+    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/deleteSection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection02-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection02-expected.html
new file mode 100644
index 0000000..c6ecdfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection02-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item3">2 Section 3</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item3">Section 3</h1>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html
new file mode 100644
index 0000000..044e65c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_deleteItem("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/deleteSection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection03-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection03-expected.html
new file mode 100644
index 0000000..87ce5c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection03-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item2">2 Section 2</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h1 id="item2">Section 2</h1>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html
new file mode 100644
index 0000000..4b83cea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    setupOutline(3);
+
+    Outline_deleteItem("item3");
+
+    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/discovery01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery01-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery01-expected.html
new file mode 100644
index 0000000..6b82bc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery01-expected.html
@@ -0,0 +1,27 @@
+Sections:
+    First heading (item1)
+        Second heading (item4)
+            Third heading (item7)
+Figures:
+    [no caption] (item2)
+    [no caption] (item5)
+    [no caption] (item8)
+Tables:
+    [no caption] (item3)
+    [no caption] (item6)
+    [no caption] (item9)
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">First heading</h1>
+    <figure id="item2"/>
+    <table id="item3"/>
+    <h2 id="item4">Second heading</h2>
+    <figure id="item5"/>
+    <table id="item6"/>
+    <h3 id="item7">Third heading</h3>
+    <figure id="item8"/>
+    <table id="item9"/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery01-input.html b/experiments/editorFramework/test/Layer0/outline/discovery01-input.html
new file mode 100644
index 0000000..d587a09
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery01-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First heading</h1>
+<figure></figure>
+<table></table>
+<h2>Second heading</h2>
+<figure></figure>
+<table></table>
+<h3>Third heading</h3>
+<figure></figure>
+<table></table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html
new file mode 100644
index 0000000..dcb2a30
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html
@@ -0,0 +1,41 @@
+Sections:
+    1 First heading (item1)
+        1.1 Second heading (item4)
+            1.1.1 Third heading (item7)
+Figures:
+    1 (item2)
+    2 (item5)
+    3 (item8)
+Tables:
+    1 (item3)
+    2 (item6)
+    3 (item9)
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">First heading</h1>
+    <figure id="item2">
+      <figcaption/>
+    </figure>
+    <table id="item3">
+      <caption/>
+    </table>
+    <h2 id="item4">Second heading</h2>
+    <figure id="item5">
+      <figcaption/>
+    </figure>
+    <table id="item6">
+      <caption/>
+    </table>
+    <h3 id="item7">Third heading</h3>
+    <figure id="item8">
+      <figcaption/>
+    </figure>
+    <table id="item9">
+      <caption/>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery02-input.html b/experiments/editorFramework/test/Layer0/outline/discovery02-input.html
new file mode 100644
index 0000000..5967cac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery02-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    setNumbering(true);
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First heading</h1>
+<figure></figure>
+<table></table>
+<h2>Second heading</h2>
+<figure></figure>
+<table></table>
+<h3>Third heading</h3>
+<figure></figure>
+<table></table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html
new file mode 100644
index 0000000..dae801d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html
@@ -0,0 +1,39 @@
+Sections:
+    First section (item1)
+    Second section (item4)
+    Third section (item7)
+Figures:
+    First figure (item2)
+    Second figure (item5)
+    Third figure (item8)
+Tables:
+    First table (item3)
+    Second table (item6)
+    Third table (item9)
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">First section</h1>
+    <figure id="item2">
+      <figcaption class="Unnumbered">First figure</figcaption>
+    </figure>
+    <table id="item3">
+      <caption class="Unnumbered">First table</caption>
+    </table>
+    <h1 id="item4">Second section</h1>
+    <figure id="item5">
+      <figcaption class="Unnumbered">Second figure</figcaption>
+    </figure>
+    <table id="item6">
+      <caption class="Unnumbered">Second table</caption>
+    </table>
+    <h1 id="item7">Third section</h1>
+    <figure id="item8">
+      <figcaption class="Unnumbered">Third figure</figcaption>
+    </figure>
+    <table id="item9">
+      <caption class="Unnumbered">Third table</caption>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery03-input.html b/experiments/editorFramework/test/Layer0/outline/discovery03-input.html
new file mode 100644
index 0000000..4d5c4ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery03-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<figure><figcaption>First figure</figcaption></figure>
+<table><caption>First table</caption></table>
+<h1>Second section</h1>
+<figure><figcaption>Second figure</figcaption></figure>
+<table><caption>Second table</caption></table>
+<h1>Third section</h1>
+<figure><figcaption>Third figure</figcaption></figure>
+<table><caption>Third table</caption></table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html
new file mode 100644
index 0000000..09986e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html
@@ -0,0 +1,41 @@
+Sections:
+    1 First section (item1)
+    2 Second section (item4)
+    3 Third section (item7)
+Figures:
+    1 First figure (item2)
+    2 Second figure (item5)
+    3 Third figure (item8)
+Tables:
+    1 First table (item3)
+    2 Second table (item6)
+    3 Third table (item9)
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">First section</h1>
+    <figure id="item2">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <table id="item3">
+      <caption>First table</caption>
+    </table>
+    <h1 id="item4">Second section</h1>
+    <figure id="item5">
+      <figcaption>Second figure</figcaption>
+    </figure>
+    <table id="item6">
+      <caption>Second table</caption>
+    </table>
+    <h1 id="item7">Third section</h1>
+    <figure id="item8">
+      <figcaption>Third figure</figcaption>
+    </figure>
+    <table id="item9">
+      <caption>Third table</caption>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery04-input.html b/experiments/editorFramework/test/Layer0/outline/discovery04-input.html
new file mode 100644
index 0000000..ac0a6e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery04-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    setNumbering(true);
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<figure><figcaption>First figure</figcaption></figure>
+<table><caption>First table</caption></table>
+<h1>Second section</h1>
+<figure><figcaption>Second figure</figcaption></figure>
+<table><caption>Second table</caption></table>
+<h1>Third section</h1>
+<figure><figcaption>Third figure</figcaption></figure>
+<table><caption>Third table</caption></table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html
new file mode 100644
index 0000000..09986e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html
@@ -0,0 +1,41 @@
+Sections:
+    1 First section (item1)
+    2 Second section (item4)
+    3 Third section (item7)
+Figures:
+    1 First figure (item2)
+    2 Second figure (item5)
+    3 Third figure (item8)
+Tables:
+    1 First table (item3)
+    2 Second table (item6)
+    3 Third table (item9)
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">First section</h1>
+    <figure id="item2">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <table id="item3">
+      <caption>First table</caption>
+    </table>
+    <h1 id="item4">Second section</h1>
+    <figure id="item5">
+      <figcaption>Second figure</figcaption>
+    </figure>
+    <table id="item6">
+      <caption>Second table</caption>
+    </table>
+    <h1 id="item7">Third section</h1>
+    <figure id="item8">
+      <figcaption>Third figure</figcaption>
+    </figure>
+    <table id="item9">
+      <caption>Third table</caption>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery05-input.html b/experiments/editorFramework/test/Layer0/outline/discovery05-input.html
new file mode 100644
index 0000000..9c806e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery05-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>6 First section</h1>
+<figure><figcaption>Figure 4: First figure</figcaption></figure>
+<table><caption>Table 9: First table</caption></table>
+<h1>12.3 Second section</h1>
+<figure><figcaption>Figure 5.11: Second figure</figcaption></figure>
+<table><caption>Table 9.13: Second table</caption></table>
+<h1>14.5.3 Third section</h1>
+<figure><figcaption>Figure 3.12.199: Third figure</figcaption></figure>
+<table><caption>Table 88.55.44: Third table</caption></table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html
new file mode 100644
index 0000000..3f65556
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html
@@ -0,0 +1,41 @@
+Sections:
+    First section (item1)
+    Second section (item4)
+    Third section (item7)
+Figures:
+    First figure (item2)
+    Second figure (item5)
+    Third figure (item8)
+Tables:
+    First table (item3)
+    Second table (item6)
+    Third table (item9)
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 class="Unnumbered" id="item1">First section</h1>
+    <figure id="item2">
+      <figcaption class="Unnumbered">First figure</figcaption>
+    </figure>
+    <table id="item3">
+      <caption class="Unnumbered">First table</caption>
+    </table>
+    <h1 class="Unnumbered" id="item4">Second section</h1>
+    <figure id="item5">
+      <figcaption class="Unnumbered">Second figure</figcaption>
+    </figure>
+    <table id="item6">
+      <caption class="Unnumbered">Second table</caption>
+    </table>
+    <h1 class="Unnumbered" id="item7">Third section</h1>
+    <figure id="item8">
+      <figcaption class="Unnumbered">Third figure</figcaption>
+    </figure>
+    <table id="item9">
+      <caption class="Unnumbered">Third table</caption>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery06-input.html b/experiments/editorFramework/test/Layer0/outline/discovery06-input.html
new file mode 100644
index 0000000..8284d44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery06-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    setNumbering(true);
+    setNumbering(false);
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<figure><figcaption>First figure</figcaption></figure>
+<table><caption>First table</caption></table>
+<h1>Second section</h1>
+<figure><figcaption>Second figure</figcaption></figure>
+<table><caption>Second table</caption></table>
+<h1>Third section</h1>
+<figure><figcaption>Third figure</figcaption></figure>
+<table><caption>Third table</caption></table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html
new file mode 100644
index 0000000..3f65556
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html
@@ -0,0 +1,41 @@
+Sections:
+    First section (item1)
+    Second section (item4)
+    Third section (item7)
+Figures:
+    First figure (item2)
+    Second figure (item5)
+    Third figure (item8)
+Tables:
+    First table (item3)
+    Second table (item6)
+    Third table (item9)
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 class="Unnumbered" id="item1">First section</h1>
+    <figure id="item2">
+      <figcaption class="Unnumbered">First figure</figcaption>
+    </figure>
+    <table id="item3">
+      <caption class="Unnumbered">First table</caption>
+    </table>
+    <h1 class="Unnumbered" id="item4">Second section</h1>
+    <figure id="item5">
+      <figcaption class="Unnumbered">Second figure</figcaption>
+    </figure>
+    <table id="item6">
+      <caption class="Unnumbered">Second table</caption>
+    </table>
+    <h1 class="Unnumbered" id="item7">Third section</h1>
+    <figure id="item8">
+      <figcaption class="Unnumbered">Third figure</figcaption>
+    </figure>
+    <table id="item9">
+      <caption class="Unnumbered">Third table</caption>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery07-input.html b/experiments/editorFramework/test/Layer0/outline/discovery07-input.html
new file mode 100644
index 0000000..da5886c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery07-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    setNumbering(false);
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>6 First section</h1>
+<figure><figcaption>Figure 4: First figure</figcaption></figure>
+<table><caption>Table 9: First table</caption></table>
+<h1>12.3 Second section</h1>
+<figure><figcaption>Figure 5.11: Second figure</figcaption></figure>
+<table><caption>Table 9.13: Second table</caption></table>
+<h1>14.5.3 Third section</h1>
+<figure><figcaption>Figure 3.12.199: Third figure</figcaption></figure>
+<table><caption>Table 88.55.44: Third table</caption></table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html
new file mode 100644
index 0000000..cca44e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html
@@ -0,0 +1,25 @@
+Sections:
+    First section (item1)
+    1 Second section (item2)
+    2 Third section (item3)
+    3 Fourth section (item4)
+    4 Fifth section (item5)
+    5 Sixth section (item6)
+    6 Seventh section (item7)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 class="Unnumbered" id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+    <h1 id="item4">Fourth section</h1>
+    <h1 id="item5">Fifth section</h1>
+    <h1 id="item6">Sixth section</h1>
+    <h1 id="item7">Seventh section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery08-input.html b/experiments/editorFramework/test/Layer0/outline/discovery08-input.html
new file mode 100644
index 0000000..74a2810
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery08-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<h1>5 Second section</h1>
+<h1>5. Third section</h1>
+<h1>5.4 Fourth section</h1>
+<h1>5.4. Fifth section</h1>
+<h1>5.4.3 Sixth section</h1>
+<h1>5.4.3. Seventh section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html
new file mode 100644
index 0000000..584bdc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html
@@ -0,0 +1,27 @@
+Sections:
+    First section - not numbered (item1)
+    1 Second section (item2)
+    2 Third section (item3)
+    Fourth section - not numbered (item4)
+    Fifth section - not numbered (item5)
+    3 Sixth section (item6)
+    4 Seventh section (item7)
+    Eighth section - not numbered (item8)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 class="Unnumbered" id="item1">First section - not numbered</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+    <h1 class="Unnumbered" id="item4">Fourth section - not numbered</h1>
+    <h1 class="Unnumbered" id="item5">Fifth section - not numbered</h1>
+    <h1 id="item6">Sixth section</h1>
+    <h1 id="item7">Seventh section</h1>
+    <h1 class="Unnumbered" id="item8">Eighth section - not numbered</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery09-input.html b/experiments/editorFramework/test/Layer0/outline/discovery09-input.html
new file mode 100644
index 0000000..c1d0acf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery09-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section - not numbered</h1>
+<h1>99 Second section</h1>
+<h1>99 Third section</h1>
+<h1>Fourth section - not numbered</h1>
+<h1>Fifth section - not numbered</h1>
+<h1>99 Sixth section</h1>
+<h1>99 Seventh section</h1>
+<h1>Eighth section - not numbered</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html
new file mode 100644
index 0000000..3ac52bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html
@@ -0,0 +1,29 @@
+Sections:
+    1 Top-level heading (item1)
+        First section - not numbered (item2)
+        1.1 Second section (item3)
+        1.2 Third section (item4)
+        Fourth section - not numbered (item5)
+        Fifth section - not numbered (item6)
+        1.3 Sixth section (item7)
+        1.4 Seventh section (item8)
+        Eighth section - not numbered (item9)
+Figures:
+Tables:
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">Top-level heading</h1>
+    <h2 class="Unnumbered" id="item2">First section - not numbered</h2>
+    <h2 id="item3">Second section</h2>
+    <h2 id="item4">Third section</h2>
+    <h2 class="Unnumbered" id="item5">Fourth section - not numbered</h2>
+    <h2 class="Unnumbered" id="item6">Fifth section - not numbered</h2>
+    <h2 id="item7">Sixth section</h2>
+    <h2 id="item8">Seventh section</h2>
+    <h2 class="Unnumbered" id="item9">Eighth section - not numbered</h2>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html
new file mode 100644
index 0000000..d10e977
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one [two]</p>
+<p>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html
new file mode 100644
index 0000000..955a055
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>one[]</p>
+    <p>three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html
new file mode 100644
index 0000000..8835abc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one [two]</p>
+<p>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html
new file mode 100644
index 0000000..ff21e33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p id="p2">[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html
new file mode 100644
index 0000000..055ae34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1"><br></p>
+<p id="p2">[]Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html
new file mode 100644
index 0000000..768504b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">[]Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html
new file mode 100644
index 0000000..0d04467
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<h1>[]Sample text</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html
new file mode 100644
index 0000000..c57e8ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <h1>first sec[] fifth</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html
new file mode 100644
index 0000000..358d482
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 16; i++) {
+        Cursor_deleteCharacter();
+        PostponedActions_perform();
+    }
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<h1>first second third fourth[] fifth</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html
new file mode 100644
index 0000000..4bc23c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html
new file mode 100644
index 0000000..f2a4efb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<p>[Sample text]</p>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html
new file mode 100644
index 0000000..69d4d64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text.&nbsp;[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html
new file mode 100644
index 0000000..94314fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html
new file mode 100644
index 0000000..69d4d64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text.&nbsp;[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html
new file mode 100644
index 0000000..c8df755
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter(" ");
+   showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html
new file mode 100644
index 0000000..69d4d64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text.&nbsp;[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html
new file mode 100644
index 0000000..aa8d6e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text.[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html
new file mode 100644
index 0000000..ecc4490
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text []</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html
new file mode 100644
index 0000000..539f0f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text []</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html
new file mode 100644
index 0000000..c758a73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text. A.&nbsp;[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html
new file mode 100644
index 0000000..b9c790b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter("A");
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html
new file mode 100644
index 0000000..52c6d80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html
new file mode 100644
index 0000000..d1172be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html
new file mode 100644
index 0000000..5d81b5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_enterPressed();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html
new file mode 100644
index 0000000..1423796
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html
new file mode 100644
index 0000000..b1dcd9c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="../figures/nothing.png">
+</figure>[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html
new file mode 100644
index 0000000..e30e81e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    <p>a</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html
new file mode 100644
index 0000000..680356f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="../figures/nothing.png">
+</figure>a[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html
new file mode 100644
index 0000000..28082ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    <p>
+      []
+      <br/>
+    </p>
+    a
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html
new file mode 100644
index 0000000..06b1915
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="../figures/nothing.png">
+</figure>[]a
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html
new file mode 100644
index 0000000..32fa18c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html
new file mode 100644
index 0000000..6216142
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html
new file mode 100644
index 0000000..d1d67ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>a</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html
new file mode 100644
index 0000000..246829f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>a[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html
new file mode 100644
index 0000000..a1456e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+    a
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html
new file mode 100644
index 0000000..b44b35a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>[]a
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html
new file mode 100644
index 0000000..6ca614d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html
new file mode 100644
index 0000000..42cbacd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]<figure>
+  <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html
new file mode 100644
index 0000000..9f4264f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    a
+    <p>
+      []
+      <br/>
+    </p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html
new file mode 100644
index 0000000..2dc06c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+a[]<figure>
+  <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html
new file mode 100644
index 0000000..58cb2c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p><br/></p>
+    <p>[]a</p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html
new file mode 100644
index 0000000..dab3c44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]a<figure>
+  <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html
new file mode 100644
index 0000000..535d71c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html
new file mode 100644
index 0000000..a353c44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html
new file mode 100644
index 0000000..ced9713
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    a
+    <p>
+      []
+      <br/>
+    </p>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html
new file mode 100644
index 0000000..4ebd612
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+a[]<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html
new file mode 100644
index 0000000..921092b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p><br/></p>
+    <p>[]a</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html
new file mode 100644
index 0000000..41b0bd4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]a<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html
new file mode 100644
index 0000000..2aa7dab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>Test</caption>
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html
new file mode 100644
index 0000000..a23cc97
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("CAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,4,last,4);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <caption>
+      Table 1: Test
+    </caption>
+    <col width="50%">
+    <col width="50%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html
new file mode 100644
index 0000000..2aa7dab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <caption>Test</caption>
+      <colgroup>
+        <col width="50%"/>
+        <col width="50%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html
new file mode 100644
index 0000000..822de76
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("CAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,3,last,3);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <caption>
+      Table 1: Test
+    </caption>
+    <col width="50%">
+    <col width="50%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html
new file mode 100644
index 0000000..6183f00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html
new file mode 100644
index 0000000..2ab73f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>[]</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html
new file mode 100644
index 0000000..6183f00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html
new file mode 100644
index 0000000..123a62e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>[]</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html
new file mode 100644
index 0000000..5c245d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <p><br/></p>
+      <p>
+        []
+        <br/>
+      </p>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html
new file mode 100644
index 0000000..492697d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body><figure>[]</figure></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html
new file mode 100644
index 0000000..5c245d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <p><br/></p>
+      <p>
+        []
+        <br/>
+      </p>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html
new file mode 100644
index 0000000..dd8d57b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body><figure>[]</figure></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html
new file mode 100644
index 0000000..46f41bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <figcaption></figcaption>
+    </figure>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html
new file mode 100644
index 0000000..b0f293e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body><figure><figcaption>[]</figcaption></figure></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html
new file mode 100644
index 0000000..07efe23
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <figcaption/>
+    </figure>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html
new file mode 100644
index 0000000..dcef72b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body><figure><figcaption>[]</figcaption></figure></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html
new file mode 100644
index 0000000..3b39650
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <caption></caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html
new file mode 100644
index 0000000..3bde7f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <table>
+      <caption>[]</caption>
+      <tr>
+        <td>Cell</td>
+      </tr>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html
new file mode 100644
index 0000000..020c65b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <caption/>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html
new file mode 100644
index 0000000..4eebe75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <table>
+      <caption>[]</caption>
+      <tr>
+        <td>Cell</td>
+      </tr>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html
new file mode 100644
index 0000000..7a4cd21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            <p><br/></p>
+            <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/cursor/enterPressed-emptyContainer05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-input.html
new file mode 100644
index 0000000..609761b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <table>
+      <tr>
+        <td>[]</td>
+      </tr>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html
new file mode 100644
index 0000000..7a4cd21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            <p><br/></p>
+            <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/cursor/enterPressed-emptyContainer05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-input.html
new file mode 100644
index 0000000..e6fed06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <table>
+      <tr>
+        <td>[]</td>
+      </tr>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html
new file mode 100644
index 0000000..e777f58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <th>
+            <p><br/></p>
+            <p>
+              []
+              <br/>
+            </p>
+          </th>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html
new file mode 100644
index 0000000..88bae4c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <table>
+      <tr>
+        <th>[]</th>
+      </tr>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html
new file mode 100644
index 0000000..e777f58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <th>
+            <p><br/></p>
+            <p>
+              []
+              <br/>
+            </p>
+          </th>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html
new file mode 100644
index 0000000..feec701
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <table>
+      <tr>
+        <th>[]</th>
+      </tr>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html
new file mode 100644
index 0000000..35998e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li/>
+      <li>[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html
new file mode 100644
index 0000000..2bf330b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li>[]</li>
+    </ule>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html
new file mode 100644
index 0000000..35998e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li/>
+      <li>[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html
new file mode 100644
index 0000000..402ac1a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li>[]</li>
+    </ule>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html
new file mode 100644
index 0000000..50e6d8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p><br/></p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html
new file mode 100644
index 0000000..fb42c6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>[]</p></li>
+    </ule>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html
new file mode 100644
index 0000000..50e6d8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p><br/></p></li>
+      <li>
+        <p>
+          []
+          <br/>
+        </p>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html
new file mode 100644
index 0000000..6be38da
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+  <body>
+    <ul>
+      <li><p>[]</p></li>
+    </ule>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html
new file mode 100644
index 0000000..a0c6787
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before</p>
+    <p>
+      []
+      <span class="endnote"/>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html
new file mode 100644
index 0000000..6291f6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]<span class="endnote"></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html
new file mode 100644
index 0000000..3c70c9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="endnote"></span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html
new file mode 100644
index 0000000..0349f77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html
new file mode 100644
index 0000000..a3966aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="endnote"/>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html
new file mode 100644
index 0000000..ab48008
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"></span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html
new file mode 100644
index 0000000..1664fb5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before</p>
+    <p>
+      []
+      <span class="endnote">endnote</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html
new file mode 100644
index 0000000..e9e050e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]<span class="endnote">endnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="endnote">endnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html
new file mode 100644
index 0000000..6a3b67f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">[]endnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="endnote">endnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html
new file mode 100644
index 0000000..f13892f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">end[]note</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="endnote">endnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html
new file mode 100644
index 0000000..c57b762
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">endnote[]</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      before
+      <span class="endnote">endnote</span>
+    </p>
+    <p>[]after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html
new file mode 100644
index 0000000..79503c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">endnote</span>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html
new file mode 100644
index 0000000..7165288
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png"/>
+      <figcaption>Test</figcaption>
+    </figure>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html
new file mode 100644
index 0000000..c8794f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("FIGCAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,4,last,4);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption>Figure 1: Test</figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html
new file mode 100644
index 0000000..7165288
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png"/>
+      <figcaption>Test</figcaption>
+    </figure>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html
new file mode 100644
index 0000000..0068364
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var caption = document.getElementsByTagName("FIGCAPTION")[0];
+    var last = caption.lastChild;
+    Selection_set(last,3,last,3);
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <figure>
+    <img src="../figures/nothing.png">
+    <figcaption>Figure 1: Test</figcaption>
+  </figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html
new file mode 100644
index 0000000..3650dc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>before</p>
+    <p>
+      []
+      <span class="footnote"/>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html
new file mode 100644
index 0000000..7d1d2a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Cursor_enterPressed();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>before[]<span class="footnote"></span>after</p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery10-input.html b/experiments/editorFramework/test/Layer0/outline/discovery10-input.html
new file mode 100644
index 0000000..58ff03a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery10-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>99 Top-level heading</h1>
+<h2>First section - not numbered</h2>
+<h2>99 Second section</h2>
+<h2>99 Third section</h2>
+<h2>Fourth section - not numbered</h2>
+<h2>Fifth section - not numbered</h2>
+<h2>99 Sixth section</h2>
+<h2>99 Seventh section</h2>
+<h2>Eighth section - not numbered</h2>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing01-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing01-expected.html
new file mode 100644
index 0000000..f3e172d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing01-expected.html
@@ -0,0 +1,31 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          d[]
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item2">
+          2
+          Two
+        </a>
+      </p>
+      <p class="toc1">
+        <a href="#item3">
+          3
+          Three
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">d[]</h1>
+    <h1 id="item2">Two</h1>
+    <h1 id="item3">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing01-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing01-input.html
new file mode 100644
index 0000000..3333a45
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    var heading = document.getElementsByTagName("H1")[0];
+    Selection_set(heading.lastChild,0,heading.lastChild,heading.lastChild.nodeValue.length);
+    Cursor_insertCharacter("d");
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+<h1>Two</h1>
+<h1>Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing02-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing02-expected.html
new file mode 100644
index 0000000..21e8740
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">.O.n.e.</h1>
+    <h1 id="item2">.T.w.o.</h1>
+    <h1 id="item3">.T.h.r.e.e.</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing02-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing02-input.html
new file mode 100644
index 0000000..129b3e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../position/validPositions.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<h1>One</h1>
+<h1>Two</h1>
+<h1>Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing03-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing03-expected.html
new file mode 100644
index 0000000..55e2f54
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing03-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          er
+        </a>
+      </p>
+    </nav>
+    <p>Text</p>
+    <h1 id="item1">er</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing03-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing03-input.html
new file mode 100644
index 0000000..e19e9c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing03-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    for (var i = 0; i < 7; i++) {
+        Cursor_deleteCharacter();
+        PostponedActions_perform();
+   }
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<p>Text</p>
+<h1>One</h1>
+<p>Oth[]er</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing04-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing04-expected.html
new file mode 100644
index 0000000..25e101b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">[No sections defined]</p>
+    </nav>
+    <p>Texter</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing04-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing04-input.html
new file mode 100644
index 0000000..5888e83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    for (var i = 0; i < 8; i++) {
+        Cursor_deleteCharacter();
+        PostponedActions_perform();
+   }
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<p>Text</p>
+<h1>One</h1>
+<p>Oth[]er</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing05-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing05-expected.html
new file mode 100644
index 0000000..b01af02
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing05-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">[No sections defined]</p>
+    </nav>
+    <p>Texer</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing05-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing05-input.html
new file mode 100644
index 0000000..4909327
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing05-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    for (var i = 0; i < 9; i++) {
+        Cursor_deleteCharacter();
+        PostponedActions_perform();
+   }
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<p>Text</p>
+<h1>One</h1>
+<p>Oth[]er</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing06-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing06-expected.html
new file mode 100644
index 0000000..fdb03f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing06-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          Oner
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">Oner</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing06-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing06-input.html
new file mode 100644
index 0000000..c5c6f3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing06-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    for (var i = 0; i < 15; i++) {
+        Cursor_deleteCharacter();
+        PostponedActions_perform();
+   }
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+<h1>Two</h1>
+<h1>Three</h1>
+<p>Oth[]er</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing07-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing07-expected.html
new file mode 100644
index 0000000..616c3c5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing07-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1</a></p>
+    </nav>
+    <h1 id="item1"><br/></h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing07-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing07-input.html
new file mode 100644
index 0000000..bcaa501
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing07-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    for (var i = 0; i < 19; i++) {
+        Cursor_deleteCharacter();
+        PostponedActions_perform();
+    }
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+<h1>Two</h1>
+<h1>Three</h1>
+<p>Other[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing08-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-editing08-expected.html
new file mode 100644
index 0000000..7988be2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing08-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          One
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <p>Two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-editing08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-editing08-input.html b/experiments/editorFramework/test/Layer0/outline/heading-editing08-input.html
new file mode 100644
index 0000000..1bc61a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-editing08-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    for (var i = 0; i < 19; i++) {
+        Cursor_deleteCharacter();
+        PostponedActions_perform();
+    }
+    Cursor_insertCharacter("One");
+    Cursor_enterPressed();
+    Cursor_insertCharacter("Two");
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+<h1>Two</h1>
+<h1>Three</h1>
+<p>Other[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-expected.html
new file mode 100644
index 0000000..108bbfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">[One]</h1>
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-input.html
new file mode 100644
index 0000000..81cd522
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One]</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-expected.html
new file mode 100644
index 0000000..ca7eceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <h1 id="item1">[Three]</h1>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-input.html
new file mode 100644
index 0000000..85edf0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-expected.html
new file mode 100644
index 0000000..f7cbcf3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+    </ol>
+    <h1 id="item1">[Five]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-input.html
new file mode 100644
index 0000000..c476cbb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy01c-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>[Five]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-expected.html
new file mode 100644
index 0000000..e941693
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item1">[One]</h1>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-input.html
new file mode 100644
index 0000000..5b8e238
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-expected.html
new file mode 100644
index 0000000..a6c1992
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ol>
+    <h1 id="item1">[Three]</h1>
+    <ol>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-input.html
new file mode 100644
index 0000000..f6e8271
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>[Three]</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-expected.html
new file mode 100644
index 0000000..2a7e541
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+    </ol>
+    <h1 id="item1">[Five]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-input.html
new file mode 100644
index 0000000..84f471b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy02c-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>[Five]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-expected.html
new file mode 100644
index 0000000..5efc7d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+    </ol>
+    <h1 id="item1">[Two]</h1>
+    <ol>
+      <li>
+        <p>Three</p>
+        <p>Four</p>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-input.html
new file mode 100644
index 0000000..d30c1a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03a-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>[Two]</p>
+    <p>Three</p>
+    <p>Four</p>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-expected.html
new file mode 100644
index 0000000..a6c1992
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ol>
+    <h1 id="item1">[Three]</h1>
+    <ol>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-input.html
new file mode 100644
index 0000000..3ddf170
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03b-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two</p>
+    <p>[Three]</p>
+    <p>Four</p>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-expected.html
new file mode 100644
index 0000000..0ae7cc1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <p>Three</p>
+      </li>
+    </ol>
+    <h1 id="item1">[Four]</h1>
+    <ol>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-input.html
new file mode 100644
index 0000000..0ab35d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy03c-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <p>[Four]</p>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-expected.html
new file mode 100644
index 0000000..a95e2c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+    </ol>
+    <h1 id="item1">[Two]</h1>
+    <ol>
+      <li>
+        <ul>
+          <li>Three</li>
+          <li>Four</li>
+        </ul>
+      </li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-input.html
new file mode 100644
index 0000000..426b96e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>
+    <ul>
+      <li>[Two]</li>
+      <li>Three</li>
+      <li>Four</li>
+    </ul>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-expected.html
new file mode 100644
index 0000000..ca2038a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li><ul><li>Two</li></ul></li>
+    </ol>
+    <h1 id="item1">[Three]</h1>
+    <ol>
+      <li><ul><li>Four</li></ul></li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-input.html
new file mode 100644
index 0000000..34593b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>
+    <ul>
+      <li>Two</li>
+      <li>[Three]</li>
+      <li>Four</li>
+    </ul>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-expected.html
new file mode 100644
index 0000000..c320022
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        <ul>
+          <li>Two</li>
+          <li>Three</li>
+        </ul>
+      </li>
+    </ol>
+    <h1 id="item1">[Four]</h1>
+    <ol>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-input.html b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-input.html
new file mode 100644
index 0000000..6f148fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-hierarchy04c-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>
+    <ul>
+      <li>Two</li>
+      <li>Three</li>
+      <li>[Four]</li>
+    </ul>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering01-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering01-expected.html
new file mode 100644
index 0000000..5673eba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering01-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">One</a></p>
+      <p class="toc2"><a href="#item2">One - first subsection</a></p>
+      <p class="toc2"><a href="#item3">One - second subsection</a></p>
+      <p class="toc1"><a href="#item4">Two</a></p>
+      <p class="toc2"><a href="#item5">Two - first subsection</a></p>
+      <p class="toc3"><a href="#item6">Two - first level 3</a></p>
+      <p class="toc3"><a href="#item7">Two - second level 3</a></p>
+      <p class="toc2"><a href="#item8">Two - second subsection</a></p>
+      <p class="toc1"><a href="#item9">Three</a></p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h2 id="item2">One - first subsection</h2>
+    <h2 id="item3">One - second subsection</h2>
+    <h1 id="item4">Two</h1>
+    <h2 id="item5">Two - first subsection</h2>
+    <h3 id="item6">Two - first level 3</h3>
+    <h3 id="item7">Two - second level 3</h3>
+    <h2 id="item8">Two - second subsection</h2>
+    <h1 id="item9">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering01-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering01-input.html
new file mode 100644
index 0000000..97f85d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering01-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+  <h2>One - first subsection</h2>
+  <h2>One - second subsection</h2>
+<h1>Two</h1>
+  <h2>Two - first subsection</h2>
+    <h3>Two - first level 3</h3>
+    <h3>Two - second level 3</h3>
+  <h2>Two - second subsection</h2>
+<h1>Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering02-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering02-expected.html
new file mode 100644
index 0000000..4d685d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering02-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 One</a></p>
+      <p class="toc2"><a href="#item2">1.1 One - first subsection</a></p>
+      <p class="toc2"><a href="#item3">1.2 One - second subsection</a></p>
+      <p class="toc1"><a href="#item4">2 Two</a></p>
+      <p class="toc2"><a href="#item5">2.1 Two - first subsection</a></p>
+      <p class="toc3"><a href="#item6">2.1.1 Two - first level 3</a></p>
+      <p class="toc3"><a href="#item7">2.1.2 Two - second level 3</a></p>
+      <p class="toc2"><a href="#item8">2.2 Two - second subsection</a></p>
+      <p class="toc1"><a href="#item9">3 Three</a></p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h2 id="item2">One - first subsection</h2>
+    <h2 id="item3">One - second subsection</h2>
+    <h1 id="item4">Two</h1>
+    <h2 id="item5">Two - first subsection</h2>
+    <h3 id="item6">Two - first level 3</h3>
+    <h3 id="item7">Two - second level 3</h3>
+    <h2 id="item8">Two - second subsection</h2>
+    <h1 id="item9">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering02-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering02-input.html
new file mode 100644
index 0000000..a5e8d03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+  <h2>One - first subsection</h2>
+  <h2>One - second subsection</h2>
+<h1>Two</h1>
+  <h2>Two - first subsection</h2>
+    <h3>Two - first level 3</h3>
+    <h3>Two - second level 3</h3>
+  <h2>Two - second subsection</h2>
+<h1>Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering03-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering03-expected.html
new file mode 100644
index 0000000..4d685d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering03-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 One</a></p>
+      <p class="toc2"><a href="#item2">1.1 One - first subsection</a></p>
+      <p class="toc2"><a href="#item3">1.2 One - second subsection</a></p>
+      <p class="toc1"><a href="#item4">2 Two</a></p>
+      <p class="toc2"><a href="#item5">2.1 Two - first subsection</a></p>
+      <p class="toc3"><a href="#item6">2.1.1 Two - first level 3</a></p>
+      <p class="toc3"><a href="#item7">2.1.2 Two - second level 3</a></p>
+      <p class="toc2"><a href="#item8">2.2 Two - second subsection</a></p>
+      <p class="toc1"><a href="#item9">3 Three</a></p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h2 id="item2">One - first subsection</h2>
+    <h2 id="item3">One - second subsection</h2>
+    <h1 id="item4">Two</h1>
+    <h2 id="item5">Two - first subsection</h2>
+    <h3 id="item6">Two - first level 3</h3>
+    <h3 id="item7">Two - second level 3</h3>
+    <h2 id="item8">Two - second subsection</h2>
+    <h1 id="item9">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering03-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering03-input.html
new file mode 100644
index 0000000..34a4a5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering03-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>9 One</h1>
+  <h2>9 One - first subsection</h2>
+  <h2>9 One - second subsection</h2>
+<h1>91.331 Two</h1>
+  <h2>4. Two - first subsection</h2>
+    <h3>441 Two - first level 3</h3>
+    <h3>9.55.41 Two - second level 3</h3>
+  <h2>4.24 Two - second subsection</h2>
+<h1>1.2.3.4.5 Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering04-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering04-expected.html
new file mode 100644
index 0000000..8261741
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering04-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">One</a></p>
+      <p class="toc2"><a href="#item2">One - first subsection</a></p>
+      <p class="toc2"><a href="#item3">One - second subsection</a></p>
+      <p class="toc1"><a href="#item4">Two</a></p>
+      <p class="toc2"><a href="#item5">Two - first subsection</a></p>
+      <p class="toc3"><a href="#item6">Two - first level 3</a></p>
+      <p class="toc3"><a href="#item7">Two - second level 3</a></p>
+      <p class="toc2"><a href="#item8">Two - second subsection</a></p>
+      <p class="toc1"><a href="#item9">Three</a></p>
+    </nav>
+    <h1 class="Unnumbered" id="item1">One</h1>
+    <h2 class="Unnumbered" id="item2">One - first subsection</h2>
+    <h2 class="Unnumbered" id="item3">One - second subsection</h2>
+    <h1 class="Unnumbered" id="item4">Two</h1>
+    <h2 class="Unnumbered" id="item5">Two - first subsection</h2>
+    <h3 class="Unnumbered" id="item6">Two - first level 3</h3>
+    <h3 class="Unnumbered" id="item7">Two - second level 3</h3>
+    <h2 class="Unnumbered" id="item8">Two - second subsection</h2>
+    <h1 class="Unnumbered" id="item9">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering04-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering04-input.html
new file mode 100644
index 0000000..bc6e0c5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering04-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    setNumbering(false);
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>9 One</h1>
+  <h2>9 One - first subsection</h2>
+  <h2>9 One - second subsection</h2>
+<h1>91.331 Two</h1>
+  <h2>4. Two - first subsection</h2>
+    <h3>441 Two - first level 3</h3>
+    <h3>9.55.41 Two - second level 3</h3>
+  <h2>4.24 Two - second subsection</h2>
+<h1>1.2.3.4.5 Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering05-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering05-expected.html
new file mode 100644
index 0000000..9391a21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering05-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 One</a></p>
+      <p class="toc1"><a href="#item2">2 Two</a></p>
+      <p class="toc1"><a href="#item3">3 Three</a></p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h1 id="item2">Two</h1>
+    <h1 id="item3">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering05-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering05-input.html
new file mode 100644
index 0000000..f508c81
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering05-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+[<p>One</p>
+<p>Two</p>
+<p>Three</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering06-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering06-expected.html
new file mode 100644
index 0000000..6164cfb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering06-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">One</a></p>
+      <p class="toc1"><a href="#item3">Two</a></p>
+      <p class="toc1"><a href="#item2">Three</a></p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h1 id="item3">Two</h1>
+    <h1 id="item2">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering06-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering06-input.html
new file mode 100644
index 0000000..8c11784
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering06-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+[<p>Two</p>]
+<h1>Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering07-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering07-expected.html
new file mode 100644
index 0000000..293b448
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering07-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 One</a></p>
+      <p class="toc1"><a href="#item3">2 Two</a></p>
+      <p class="toc1"><a href="#item2">Three</a></p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h1 id="item3">Two</h1>
+    <h1 class="Unnumbered" id="item2">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering07-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering07-input.html
new file mode 100644
index 0000000..11c1b6f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering07-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>7 One</h1>
+[<p>Two</p>]
+<h1>Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering08-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering08-expected.html
new file mode 100644
index 0000000..bfea97f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering08-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">One</a></p>
+      <p class="toc1"><a href="#item3">1 Two</a></p>
+      <p class="toc1"><a href="#item2">2 Three</a></p>
+    </nav>
+    <h1 class="Unnumbered" id="item1">One</h1>
+    <h1 id="item3">Two</h1>
+    <h1 id="item2">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering08-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering08-input.html
new file mode 100644
index 0000000..6a00d8a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering08-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+[<p>Two</p>]
+<h1>7 Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering09-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering09-expected.html
new file mode 100644
index 0000000..0fcb631
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering09-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 One</a></p>
+      <p class="toc1"><a href="#item3">2 Two</a></p>
+      <p class="toc1"><a href="#item2">3 Three</a></p>
+    </nav>
+    <h1 id="item1">One</h1>
+    <h1 id="item3">Two</h1>
+    <h1 id="item2">Three</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering09-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering09-input.html
new file mode 100644
index 0000000..2fbff2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering09-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>7. One</h1>
+[<p>Two</p>]
+<h1>7. Three</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering10-expected.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering10-expected.html
new file mode 100644
index 0000000..2dfecf7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering10-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">One</h1>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 One</a></p>
+      <p class="toc1"><a href="#item2">2 Two</a></p>
+    </nav>
+    <h1 id="item2">Two</h1>
+    <p><br/></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/heading-numbering10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/heading-numbering10-input.html b/experiments/editorFramework/test/Layer0/outline/heading-numbering10-input.html
new file mode 100644
index 0000000..0b447a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/heading-numbering10-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+</style>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+
+    Cursor_insertCharacter("Two");
+    Formatting_applyFormattingChanges("h1",null);
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>1 One</h1>
+<p>[]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings01-expected.html b/experiments/editorFramework/test/Layer0/outline/headings01-expected.html
new file mode 100644
index 0000000..3e783b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings01-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          []
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">
+      []
+      <br/>
+    </h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings01-input.html b/experiments/editorFramework/test/Layer0/outline/headings01-input.html
new file mode 100644
index 0000000..362df1e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+    prependTableOfContents();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings02-expected.html b/experiments/editorFramework/test/Layer0/outline/headings02-expected.html
new file mode 100644
index 0000000..3e783b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings02-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          []
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">
+      []
+      <br/>
+    </h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings02-input.html b/experiments/editorFramework/test/Layer0/outline/headings02-input.html
new file mode 100644
index 0000000..03f4b66
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+    prependTableOfContents();
+}
+</script>
+</head>
+<body>
+<p>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings03-expected.html b/experiments/editorFramework/test/Layer0/outline/headings03-expected.html
new file mode 100644
index 0000000..5c278a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          A[]
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">A[]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings03-input.html b/experiments/editorFramework/test/Layer0/outline/headings03-input.html
new file mode 100644
index 0000000..1915e19
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings03-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    Cursor_insertCharacter("A");
+    showSelection();
+    prependTableOfContents();
+}
+</script>
+</head>
+<body>
+<p>[]<br/></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings04-expected.html b/experiments/editorFramework/test/Layer0/outline/headings04-expected.html
new file mode 100644
index 0000000..1da4740
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          [Test]
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">[Test]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings04-input.html b/experiments/editorFramework/test/Layer0/outline/headings04-input.html
new file mode 100644
index 0000000..b8e414a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+    prependTableOfContents();
+}
+</script>
+</head>
+<body>
+<p>[Test]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings05-expected.html b/experiments/editorFramework/test/Layer0/outline/headings05-expected.html
new file mode 100644
index 0000000..1da4740
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">
+        <a href="#item1">
+          1
+          [Test]
+        </a>
+      </p>
+    </nav>
+    <h1 id="item1">[Test]</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/headings05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/headings05-input.html b/experiments/editorFramework/test/Layer0/outline/headings05-input.html
new file mode 100644
index 0000000..f913948
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/headings05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Formatting_applyFormattingChanges("H1",{});
+    PostponedActions_perform();
+    showSelection();
+    prependTableOfContents();
+}
+</script>
+</head>
+<body>
+[Test]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/itemtypes01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/itemtypes01-expected.html b/experiments/editorFramework/test/Layer0/outline/itemtypes01-expected.html
new file mode 100644
index 0000000..09530eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/itemtypes01-expected.html
@@ -0,0 +1,82 @@
+Sections:
+    1 Heading A (item1)
+        1.1 Heading B (item2)
+        1.2 Heading C (item3)
+    2 Heading D (item4)
+        2.1 Heading E (item5)
+        2.2 Heading F (item6)
+Figures:
+    1 First figure caption (item8)
+    2 Second figure caption (item10)
+    3 (item12)
+Tables:
+    1 First table caption (item7)
+    2 Second table caption (item9)
+    3 (item11)
+<html>
+  <head>
+    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
+    <title>Test document</title>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item1">Heading A</h1>
+    <h2 id="item2">Heading B</h2>
+    <h2 id="item3">Heading C</h2>
+    <h1 id="item4">Heading D</h1>
+    <h2 id="item5">Heading E</h2>
+    <h2 id="item6">Heading F</h2>
+    <table align="center" id="item7" width="80%">
+      <caption>First table caption</caption>
+      <tbody>
+        <tr>
+          <td>First</td>
+          <td>First</td>
+        </tr>
+        <tr>
+          <td>First</td>
+          <td>First</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="item8">
+      <p>First figure content</p>
+      <figcaption>First figure caption</figcaption>
+    </figure>
+    <table align="center" id="item9" width="80%">
+      <caption>Second table caption</caption>
+      <tbody>
+        <tr>
+          <td>Second</td>
+          <td>Second</td>
+        </tr>
+        <tr>
+          <td>Second</td>
+          <td>Second</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="item10">
+      <p>[Second figure content]</p>
+      <figcaption>Second figure caption</figcaption>
+    </figure>
+    <table align="center" id="item11" width="80%">
+      <caption/>
+      <tbody>
+        <tr>
+          <td>Third</td>
+          <td>Third</td>
+        </tr>
+        <tr>
+          <td>Third</td>
+          <td>Third</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="item12">
+      <p>[Third figure content]</p>
+      <figcaption/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/itemtypes01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/itemtypes01-input.html b/experiments/editorFramework/test/Layer0/outline/itemtypes01-input.html
new file mode 100644
index 0000000..01fe246
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/itemtypes01-input.html
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Test document</title>
+<style>
+</style>
+<script type="text/javascript">
+
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    setNumbering(true);
+    return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+
+<h1>Heading A</h1>
+<h2>Heading B</h2>
+<h2>Heading C</h2>
+<h1>Heading D</h1>
+<h2>Heading E</h2>
+<h2>Heading F</h2>
+
+<table width="80%" align="center">
+  <caption>First table caption</caption>
+  <tr>
+    <td>First</td>
+    <td>First</td>
+  </tr>
+  <tr>
+    <td>First</td>
+    <td>First</td>
+  </tr>
+</table>
+
+<figure>
+  <p>[First figure content]</p>
+  <figcaption>First figure caption</figcaption>
+</figure>
+
+<table width="80%" align="center">
+  <caption>Second table caption</caption>
+  <tr>
+    <td>Second</td>
+    <td>Second</td>
+  </tr>
+  <tr>
+    <td>Second</td>
+    <td>Second</td>
+  </tr>
+</table>
+
+<figure>
+  <p>[Second figure content]</p>
+  <figcaption>Second figure caption</figcaption>
+</figure>
+
+<table width="80%" align="center">
+  <tr>
+    <td>Third</td>
+    <td>Third</td>
+  </tr>
+  <tr>
+    <td>Third</td>
+    <td>Third</td>
+  </tr>
+</table>
+
+<figure>
+  <p>[Third figure content]</p>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures01-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures01-expected.html
new file mode 100644
index 0000000..34e9a8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures01-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/listOfFigures01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures01-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures01-input.html
new file mode 100644
index 0000000..3e22f5a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures01-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 figures
+    createTestFigures(4);
+
+    // 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/listOfFigures02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures02-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures02-expected.html
new file mode 100644
index 0000000..73833c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures02-expected.html
@@ -0,0 +1,52 @@
+<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 BXYZ
+        </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
+        XYZ
+      </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/listOfFigures02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures02-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures02-input.html
new file mode 100644
index 0000000..81d0b70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures02-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 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_appendChild(figcaption,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/listOfFigures03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures03-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures03-expected.html
new file mode 100644
index 0000000..cc14ffe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures03-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
+          TeXYZst 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>TeXYZst 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/listOfFigures03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures03-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures03-input.html
new file mode 100644
index 0000000..a87177f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures03-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 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>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures04-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures04-expected.html
new file mode 100644
index 0000000..28578f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures04-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
+          Tegure 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>Tegure 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/listOfFigures04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures04-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures04-input.html
new file mode 100644
index 0000000..99c107b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures04-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 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_deleteCharacters(figcaption.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/listOfFigures05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures05-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures05-expected.html
new file mode 100644
index 0000000..34e9a8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures05-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/listOfFigures05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures05-input.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures05-input.html
new file mode 100644
index 0000000..f7cfb67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures05-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>Figure 9: Test figure A</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure B</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure C</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure D</figcaption>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/listOfFigures06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/listOfFigures06-expected.html b/experiments/editorFramework/test/Layer0/outline/listOfFigures06-expected.html
new file mode 100644
index 0000000..d182840
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/listOfFigures06-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>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-expected.html
new file mode 100644
index 0000000..377d3aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <ol>
+      <li>
+        Four
+        <ol>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-input.html
new file mode 100644
index 0000000..0fafea6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 3; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-expected.html
new file mode 100644
index 0000000..e44a924
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <ol>
+      <li><p>Five]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-input.html
new file mode 100644
index 0000000..3bb92b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 4; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-expected.html
new file mode 100644
index 0000000..7b4c5e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <ol>
+      <li>Five]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-input.html
new file mode 100644
index 0000000..d63bbc1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero04b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 4; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-expected.html
new file mode 100644
index 0000000..2aba8f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-input.html
new file mode 100644
index 0000000..8f97f92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 5; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-expected.html
new file mode 100644
index 0000000..2aba8f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-input.html
new file mode 100644
index 0000000..06dd605
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero05b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 5; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-expected.html
new file mode 100644
index 0000000..e9ef8f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two]</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-input.html
new file mode 100644
index 0000000..97f0bfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested01a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two]</p></li>
+    </ol>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-expected.html
new file mode 100644
index 0000000..b7f9d0e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two]</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-input.html
new file mode 100644
index 0000000..3c368e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested01b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two]</li>
+    </ol>
+  </li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-expected.html
new file mode 100644
index 0000000..5e7703c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>[Three]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-input.html
new file mode 100644
index 0000000..55e00cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested02a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two</p>
+    <ol>
+      <li><p>[Three]</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-expected.html
new file mode 100644
index 0000000..873d04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>[Three]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-input.html
new file mode 100644
index 0000000..dbbf099
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested02b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>
+    Two
+    <ol>
+      <li>[Three]</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-expected.html
new file mode 100644
index 0000000..64ac428
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-input.html
new file mode 100644
index 0000000..59b318e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested03a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-expected.html
new file mode 100644
index 0000000..ef6ceae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two</li>
+      <li>Three]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-input.html
new file mode 100644
index 0000000..4b7548f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested03b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two</li>
+      <li>Three]</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-expected.html
new file mode 100644
index 0000000..0c20332
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-input.html
new file mode 100644
index 0000000..68b75b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested04a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-expected.html
new file mode 100644
index 0000000..24f6d7e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>Two</li>
+      <li>Three]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-input.html
new file mode 100644
index 0000000..563a730
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested04b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>Two</li>
+      <li>Three]</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-expected.html
new file mode 100644
index 0000000..1026cfe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>Two</p></li>
+          <li><p>[Three</p></li>
+          <li><p>Four]</p></li>
+          <li><p>Five</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-input.html
new file mode 100644
index 0000000..8e157bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested05a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>[Three</p></li>
+          <li><p>Four]</p></li>
+        </ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-expected.html
new file mode 100644
index 0000000..a3e95ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>Two</li>
+          <li>[Three</li>
+          <li>Four]</li>
+          <li>Five</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-input.html
new file mode 100644
index 0000000..bf66bd2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested05b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>[Three</li>
+          <li>Four]</li>
+        </ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-expected.html
new file mode 100644
index 0000000..227bae5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>[Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-input.html
new file mode 100644
index 0000000..2d36595
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested06a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li>
+        <p>[Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-expected.html
new file mode 100644
index 0000000..48a781c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        [Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-input.html
new file mode 100644
index 0000000..ea2321a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested06b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>
+        [Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-expected.html
new file mode 100644
index 0000000..5e95180
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-input.html
new file mode 100644
index 0000000..565f95f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested07a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-expected.html
new file mode 100644
index 0000000..5ff2a90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-input.html
new file mode 100644
index 0000000..734780a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested07b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div01a-expected.html b/experiments/editorFramework/test/Layer0/lists/div01a-expected.html
new file mode 100644
index 0000000..3f37489
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div01a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <ol>
+        <li><p>Two[]</p></li>
+      </ol>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div01a-input.html b/experiments/editorFramework/test/Layer0/lists/div01a-input.html
new file mode 100644
index 0000000..a7f06b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div01a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div01b-expected.html b/experiments/editorFramework/test/Layer0/lists/div01b-expected.html
new file mode 100644
index 0000000..cca9de4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div01b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <ol>
+        <li><p>[One</p></li>
+        <li><p>Two</p></li>
+        <li><p>Three]</p></li>
+      </ol>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div01b-input.html b/experiments/editorFramework/test/Layer0/lists/div01b-input.html
new file mode 100644
index 0000000..980b74e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div01b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div02a-expected.html b/experiments/editorFramework/test/Layer0/lists/div02a-expected.html
new file mode 100644
index 0000000..dc94c9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <ul>
+        <li><p>One</p></li>
+      </ul>
+      <p>Two[]</p>
+      <ul>
+        <li><p>Three</p></li>
+      </ul>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div02a-input.html b/experiments/editorFramework/test/Layer0/lists/div02a-input.html
new file mode 100644
index 0000000..5173e70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div02a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two[]</p></li>
+      <li><p>Three</p></li>
+    </ul>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div02b-expected.html b/experiments/editorFramework/test/Layer0/lists/div02b-expected.html
new file mode 100644
index 0000000..e2ffc33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div02b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>[One</p>
+      <p>Two</p>
+      <p>Three]</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div02b-input.html b/experiments/editorFramework/test/Layer0/lists/div02b-input.html
new file mode 100644
index 0000000..76b5529
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div02b-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <ul>
+      <li><p>[One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ul>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div03a-expected.html b/experiments/editorFramework/test/Layer0/lists/div03a-expected.html
new file mode 100644
index 0000000..84a1a82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div03a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <ul>
+        <li>One</li>
+      </ul>
+      <p>Two[]</p>
+      <ul>
+        <li>Three</li>
+      </ul>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div03a-input.html b/experiments/editorFramework/test/Layer0/lists/div03a-input.html
new file mode 100644
index 0000000..d8ede64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div03a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <ul>
+      <li>One</li>
+      <li>Two[]</li>
+      <li>Three</li>
+    </ul>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div03b-expected.html b/experiments/editorFramework/test/Layer0/lists/div03b-expected.html
new file mode 100644
index 0000000..e2ffc33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>[One</p>
+      <p>Two</p>
+      <p>Three]</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/div03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/div03b-input.html b/experiments/editorFramework/test/Layer0/lists/div03b-input.html
new file mode 100644
index 0000000..5c42e16
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/div03b-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <ul>
+      <li>[One</li>
+      <li>Two</li>
+      <li>Three]</li>
+    </ul>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat01a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat01a-expected.html
new file mode 100644
index 0000000..259f950
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>[One]</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat01a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat01a-input.html
new file mode 100644
index 0000000..ae76ec4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat01a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat01b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat01b-expected.html
new file mode 100644
index 0000000..f025023
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>[One]</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat01b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat01b-input.html
new file mode 100644
index 0000000..5c6ad21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat01b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One]</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat02a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat02a-expected.html
new file mode 100644
index 0000000..3515f4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>[Two]</p></li>
+        </ol>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat02a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat02a-input.html
new file mode 100644
index 0000000..33bd20c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat02a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat02b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat02b-expected.html
new file mode 100644
index 0000000..7b82edc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>[Two]</li>
+        </ol>
+      </li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat02b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat02b-input.html
new file mode 100644
index 0000000..df1899a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat02b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat03a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat03a-expected.html
new file mode 100644
index 0000000..3ed43b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat03a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>[Three]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat03a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat03a-input.html
new file mode 100644
index 0000000..648dbf6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>[Three]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat03b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat03b-expected.html
new file mode 100644
index 0000000..7b3c432
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat03b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        Two
+        <ol>
+          <li>[Three]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat03b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat03b-input.html
new file mode 100644
index 0000000..98c3c68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat03b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat04a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat04a-expected.html
new file mode 100644
index 0000000..207f55e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat04a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>[Two</p></li>
+          <li><p>Three]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat04a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat04a-input.html
new file mode 100644
index 0000000..c54e999
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat04a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>[Two</p></li>
+  <li><p>Three]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat04b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat04b-expected.html
new file mode 100644
index 0000000..6d60845
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat04b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>[Two</li>
+          <li>Three]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat04b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat04b-input.html
new file mode 100644
index 0000000..24da92f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat04b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>[Two</li>
+  <li>Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat05a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat05a-expected.html
new file mode 100644
index 0000000..e900a5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat05a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>[One</p>
+        <ol>
+          <li><p>Two</p></li>
+          <li><p>Three]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat05a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat05a-input.html
new file mode 100644
index 0000000..bf6e8f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat05a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat05b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-flat05b-expected.html
new file mode 100644
index 0000000..71e635e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat05b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        [One
+        <ol>
+          <li>Two</li>
+          <li>Three]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-flat05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-flat05b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-flat05b-input.html
new file mode 100644
index 0000000..a61aed9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-flat05b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc01a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-misc01a-expected.html
new file mode 100644
index 0000000..69f9c96
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc01a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>[]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc01a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-misc01a-input.html
new file mode 100644
index 0000000..a86f36e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc01a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>[]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc01b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-misc01b-expected.html
new file mode 100644
index 0000000..c743f35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc01b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        Two
+        <ol>
+          <li>[]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc01b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-misc01b-input.html
new file mode 100644
index 0000000..8f2f682
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc01b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc02a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-misc02a-expected.html
new file mode 100644
index 0000000..63e1c40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p id="test">[]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc02a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-misc02a-input.html
new file mode 100644
index 0000000..0d94fd4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc02a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var test = document.getElementById("test");
+    DOM_deleteAllChildren(test);
+    Selection_set(test,0,test,0);
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p id="test"></p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc02b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-misc02b-expected.html
new file mode 100644
index 0000000..ec81c0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        Two
+        <ol>
+          <li id="test">[]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc02b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-misc02b-input.html
new file mode 100644
index 0000000..7182bf3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc02b-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var test = document.getElementById("test");
+    DOM_deleteAllChildren(test);
+    Selection_set(test,0,test,0);
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li id="test"></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc03a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-misc03a-expected.html
new file mode 100644
index 0000000..51cb507
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc03a-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>[]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc03a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-misc03a-input.html
new file mode 100644
index 0000000..4af1907
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc03a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    Cursor_insertCharacter("One");
+    Cursor_enterPressed();
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc03b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-misc03b-expected.html
new file mode 100644
index 0000000..41ca055
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc03b-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li>
+            <p>
+              []
+              <br/>
+            </p>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-misc03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-misc03b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-misc03b-input.html
new file mode 100644
index 0000000..2f1b396
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-misc03b-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    Cursor_insertCharacter("One");
+    Cursor_enterPressed();
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-expected.html
new file mode 100644
index 0000000..6df2b74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>[One</p>
+        <ol>
+          <li>
+            <p>Two</p>
+            <ol>
+              <li><p>Three</p></li>
+              <li><p>Four</p></li>
+              <li><p>Five]</p></li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-input.html
new file mode 100644
index 0000000..1567694
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple01a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-expected.html
new file mode 100644
index 0000000..7a1c876
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        [One
+        <ol>
+          <li>
+            Two
+            <ol>
+              <li>Three</li>
+              <li>Four</li>
+              <li>Five]</li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-input.html
new file mode 100644
index 0000000..c4e7fcf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple01b-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-expected.html
new file mode 100644
index 0000000..c51b85e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>[One</p>
+        <ol>
+          <li>
+            <p>Two</p>
+            <ol>
+              <li>
+                <p>Three</p>
+                <ol>
+                  <li>
+                    <p>Four</p>
+                    <ol>
+                      <li><p>Five]</p></li>
+                    </ol>
+                  </li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-input.html
new file mode 100644
index 0000000..b0cafd5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple02a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-expected.html
new file mode 100644
index 0000000..589b47f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        [One
+        <ol>
+          <li>
+            Two
+            <ol>
+              <li>
+                Three
+                <ol>
+                  <li>
+                    Four
+                    <ol>
+                      <li>Five]</li>
+                    </ol>
+                  </li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-input.html
new file mode 100644
index 0000000..cb703f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-multiple02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested01a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-nested01a-expected.html
new file mode 100644
index 0000000..1bbde90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested01a-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li>
+            <p>Two</p>
+            <ol>
+              <li><p>[Three</p></li>
+              <li><p>Four]</p></li>
+            </ol>
+          </li>
+          <li><p>Five</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested01a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-nested01a-input.html
new file mode 100644
index 0000000..2e3e33b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested01a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>[Three</p></li>
+      <li><p>Four]</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested01b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-nested01b-expected.html
new file mode 100644
index 0000000..00b135b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested01b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>
+            Two
+            <ol>
+              <li>[Three</li>
+              <li>Four]</li>
+            </ol>
+          </li>
+          <li>Five</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested01b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-nested01b-input.html
new file mode 100644
index 0000000..585940f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested01b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>Two</li>
+      <li>[Three</li>
+      <li>Four]</li>
+      <li>Five</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested02a-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-nested02a-expected.html
new file mode 100644
index 0000000..89a8142
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested02a-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li>
+            <p>[Two</p>
+            <ol>
+              <li><p>Three</p></li>
+              <li><p>Four</p></li>
+              <li><p>Five]</p></li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested02a-input.html b/experiments/editorFramework/test/Layer0/lists/increase-nested02a-input.html
new file mode 100644
index 0000000..769fd37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested02a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five]</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested02b-expected.html b/experiments/editorFramework/test/Layer0/lists/increase-nested02b-expected.html
new file mode 100644
index 0000000..02367b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested02b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>
+            [Two
+            <ol>
+              <li>Three</li>
+              <li>Four</li>
+              <li>Five]</li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/increase-nested02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/increase-nested02b-input.html b/experiments/editorFramework/test/Layer0/lists/increase-nested02b-input.html
new file mode 100644
index 0000000..a1a42e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/increase-nested02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_increaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five]</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge01a-expected.html b/experiments/editorFramework/test/Layer0/lists/merge01a-expected.html
new file mode 100644
index 0000000..63bfcdc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge01a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge01a-input.html b/experiments/editorFramework/test/Layer0/lists/merge01a-input.html
new file mode 100644
index 0000000..c84032c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge01a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+</ol>
+<p>[Three]</p>
+<ol>
+  <li><p>Four</p></li>
+  <li><p>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge02a-expected.html b/experiments/editorFramework/test/Layer0/lists/merge02a-expected.html
new file mode 100644
index 0000000..325cbac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge02a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ul>
+    <ol>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+    <ul>
+      <li><p>Six</p></li>
+      <li><p>Seven</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge02a-input.html b/experiments/editorFramework/test/Layer0/lists/merge02a-input.html
new file mode 100644
index 0000000..395e220
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge02a-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+</ul>
+
+<ol>
+  <li><p>[Three]</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ol>
+
+<ul>
+  <li><p>Six</p></li>
+  <li><p>Seven</p></li>
+</ul>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge02b-expected.html b/experiments/editorFramework/test/Layer0/lists/merge02b-expected.html
new file mode 100644
index 0000000..0e4ea8b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge02b-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+    <ul>
+      <li>Six</li>
+      <li>Seven</li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge02b-input.html b/experiments/editorFramework/test/Layer0/lists/merge02b-input.html
new file mode 100644
index 0000000..efbbf88
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge02b-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+</ul>
+
+<ol>
+  <li>[Three]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+
+<ul>
+  <li>Six</li>
+  <li>Seven</li>
+</ul>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge03a-expected.html b/experiments/editorFramework/test/Layer0/lists/merge03a-expected.html
new file mode 100644
index 0000000..906f4e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge03a-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <ol>
+      <li><p>Three</p></li>
+    </ol>
+    <ul>
+      <li><p>Four</p></li>
+    </ul>
+    <ol>
+      <li><p>Five</p></li>
+    </ol>
+    <ul>
+      <li><p>Six</p></li>
+      <li><p>Seven</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge03a-input.html b/experiments/editorFramework/test/Layer0/lists/merge03a-input.html
new file mode 100644
index 0000000..965142f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge03a-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+</ul>
+
+<ol>
+  <li><p>Three</p></li>
+  <li><p>[Four]</p></li>
+  <li><p>Five</p></li>
+</ol>
+
+<ul>
+  <li><p>Six</p></li>
+  <li><p>Seven</p></li>
+</ul>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge03b-expected.html b/experiments/editorFramework/test/Layer0/lists/merge03b-expected.html
new file mode 100644
index 0000000..1d2c048
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge03b-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+    </ul>
+    <ol>
+      <li>Three</li>
+    </ol>
+    <ul>
+      <li>Four</li>
+    </ul>
+    <ol>
+      <li>Five</li>
+    </ol>
+    <ul>
+      <li>Six</li>
+      <li>Seven</li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge03b-input.html b/experiments/editorFramework/test/Layer0/lists/merge03b-input.html
new file mode 100644
index 0000000..2a518cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge03b-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+</ul>
+
+<ol>
+  <li>Three</li>
+  <li>[Four]</li>
+  <li>Five</li>
+</ol>
+
+<ul>
+  <li>Six</li>
+  <li>Seven</li>
+</ul>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/merge04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/merge04a-expected.html b/experiments/editorFramework/test/Layer0/lists/merge04a-expected.html
new file mode 100644
index 0000000..7888abe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/merge04a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ul>
+    <ol>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+    </ol>
+    <ul>
+      <li><p>Five</p></li>
+      <li><p>Six</p></li>
+      <li><p>Seven</p></li>
+    </ul>
+  </body>
+</html>
\ No newline at end of file



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-update02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-update02-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-update02-expected.html
new file mode 100644
index 0000000..92d5bf3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-update02-expected.html
@@ -0,0 +1,42 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">3</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">4</a>
+    </p>
+    <figure id="one">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="item1">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="two">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="three">
+      <figcaption></figcaption>
+    </figure>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">3</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">4</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-update02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-update02-input.html b/experiments/editorFramework/test/Layer0/outline/reference-update02-input.html
new file mode 100644
index 0000000..b106603
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-update02-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var two = document.getElementById("two");
+    var figure = DOM_createElement(document,"FIGURE");
+    var figcaption = DOM_createElement(document,"FIGCAPTION");
+    DOM_appendChild(figure,figcaption);
+    DOM_appendChild(figcaption,DOM_createTextNode(document,""));
+    DOM_insertBefore(document.body,figure,two);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+<figure id="one"><figcaption>Figure 4</figcaption></figure>
+<figure id="two"><figcaption>Figure 4</figcaption></figure>
+<figure id="three"><figcaption>Figure 4</figcaption></figure>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-update03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-update03-expected.html b/experiments/editorFramework/test/Layer0/outline/reference-update03-expected.html
new file mode 100644
index 0000000..ec4edae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-update03-expected.html
@@ -0,0 +1,42 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">3</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">4</a>
+    </p>
+    <table id="one">
+      <caption></caption>
+    </table>
+    <table id="item1">
+      <caption></caption>
+    </table>
+    <table id="two">
+      <caption></caption>
+    </table>
+    <table id="three">
+      <caption></caption>
+    </table>
+    <p>
+      Reference
+      <a href="#one">1</a>
+    </p>
+    <p>
+      Reference
+      <a href="#two">3</a>
+    </p>
+    <p>
+      Reference
+      <a href="#three">4</a>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference-update03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference-update03-input.html b/experiments/editorFramework/test/Layer0/outline/reference-update03-input.html
new file mode 100644
index 0000000..614c87d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference-update03-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var two = document.getElementById("two");
+    var table = DOM_createElement(document,"TABLE");
+    var caption = DOM_createElement(document,"CAPTION");
+    DOM_appendChild(table,caption);
+    DOM_appendChild(caption,DOM_createTextNode(document,""));
+    DOM_insertBefore(document.body,table,two);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+<table id="one"><caption>Table 4</caption></table>
+<table id="two"><caption>Table 4</caption></table>
+<table id="three"><caption>Table 4</caption></table>
+<p>Reference <a href="#one">x</a></p>
+<p>Reference <a href="#two">x</a></p>
+<p>Reference <a href="#three">x</a></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference01-expected.html b/experiments/editorFramework/test/Layer0/outline/reference01-expected.html
new file mode 100644
index 0000000..fd32c84
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference01-expected.html
@@ -0,0 +1,136 @@
+<html>
+  <head>
+    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
+    <title>Test document</title>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item3">New section</h1>
+    <figure id="item2">
+      <figcaption/>
+    </figure>
+    <table id="item1">
+      <caption/>
+    </table>
+    <p>
+      Dynamically added reference:
+      <a href="#hb">2.1</a>
+    </p>
+    <p>
+      Dynamically added reference:
+      <a href="#hb">2.1</a>
+    </p>
+    <p>
+      Dynamically added reference:
+      <a href="#hb">2.1</a>
+    </p>
+    <ul>
+      <li>
+        Reference to
+        <a href="#ha">2</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#hb">2.1</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#hc">2.2</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#hd">3</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#he">3.1</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#hf">3.2</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#fa">2</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#fb">3</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#fc">4</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#ta">2</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#tb">3</a>
+      </li>
+      <li>
+        Reference to
+        <a href="#tc">4</a>
+      </li>
+    </ul>
+    <h1 id="ha">Heading A</h1>
+    <h2 id="hb">Heading B</h2>
+    <h2 id="hc">Heading C</h2>
+    <h1 id="hd">Heading D</h1>
+    <h2 id="he">Heading E</h2>
+    <h2 id="hf">Heading F</h2>
+    <table align="center" id="ta" width="80%">
+      <caption>First table caption</caption>
+      <tbody>
+        <tr>
+          <td>First</td>
+          <td>First</td>
+        </tr>
+        <tr>
+          <td>First</td>
+          <td>First</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="fa">
+      <p>First figure content</p>
+      <figcaption>First figure caption</figcaption>
+    </figure>
+    <table align="center" id="tb" width="80%">
+      <caption>Second table caption</caption>
+      <tbody>
+        <tr>
+          <td>Second</td>
+          <td>Second</td>
+        </tr>
+        <tr>
+          <td>Second</td>
+          <td>Second</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="fb">
+      <p>[Second figure content]</p>
+      <figcaption>Second figure caption</figcaption>
+    </figure>
+    <table align="center" id="tc" width="80%">
+      <caption/>
+      <tbody>
+        <tr>
+          <td>Third</td>
+          <td>Third</td>
+        </tr>
+        <tr>
+          <td>Third</td>
+          <td>Third</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="fc">
+      <p>[Third figure content]</p>
+      <figcaption/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/reference01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/reference01-input.html b/experiments/editorFramework/test/Layer0/outline/reference01-input.html
new file mode 100644
index 0000000..4f67d10
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/reference01-input.html
@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Test document</title>
+<style>
+</style>
+<script type="text/javascript">
+
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    setNumbering(true);
+
+    for (var i = 0; i < 3; i++) {
+        var ref = DOM_createElement(document,"A");
+        DOM_setAttribute(ref,"href","#hb");
+        DOM_appendChild(ref,DOM_createTextNode(document,"abcde"));
+
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(p,DOM_createTextNode(document,"Dynamically added reference: "));
+        DOM_appendChild(p,ref);
+        DOM_insertBefore(document.body,p,document.body.firstChild);
+    }
+
+    var newSection = DOM_createElement(document,"H1");
+    DOM_appendChild(newSection,DOM_createTextNode(document,"New section"));
+
+    var newFigure = DOM_createElement(document,"FIGURE");
+    var newTable = DOM_createElement(document,"TABLE");
+    DOM_appendChild(newFigure,DOM_createElement(document,"FIGCAPTION"));
+    DOM_appendChild(newTable,DOM_createElement(document,"CAPTION"));
+    DOM_insertBefore(document.body,newTable,document.body.firstChild);
+    DOM_insertBefore(document.body,newFigure,document.body.firstChild);
+    DOM_insertBefore(document.body,newSection,document.body.firstChild);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<ul>
+  <li>Reference to <a href="#ha">First heading</a></li>
+  <li>Reference to <a href="#hb">Second heading</a></li>
+  <li>Reference to <a href="#hc">Third heading</a></li>
+  <li>Reference to <a href="#hd">Fourth heading</a></li>
+  <li>Reference to <a href="#he">Fifth heading</a></li>
+  <li>Reference to <a href="#hf">Sixth heading</a></li>
+
+  <li>Reference to <a href="#fa">First figure</a></li>
+  <li>Reference to <a href="#fb">Second figure</a></li>
+  <li>Reference to <a href="#fc">Third figure</a></li>
+
+  <li>Reference to <a href="#ta">First table</a></li>
+  <li>Reference to <a href="#tb">Second table</a></li>
+  <li>Reference to <a href="#tc">Third table</a></li>
+</ul>
+
+<h1 id="ha">1 Heading A</h1>
+<h2 id="hb">1 Heading B</h2>
+<h2 id="hc">1 Heading C</h2>
+<h1 id="hd">1 Heading D</h1>
+<h2 id="he">1 Heading E</h2>
+<h2 id="hf">1 Heading F</h2>
+
+<table id="ta" width="80%" align="center">
+  <caption>First table caption</caption>
+  <tr>
+    <td>First</td>
+    <td>First</td>
+  </tr>
+  <tr>
+    <td>First</td>
+    <td>First</td>
+  </tr>
+</table>
+
+<figure id="fa">
+  <p>[First figure content]</p>
+  <figcaption>
+    First figure caption
+  </figcaption>
+</figure>
+
+<table id="tb" width="80%" align="center">
+  <caption>Second table caption</caption>
+  <tr>
+    <td>Second</td>
+    <td>Second</td>
+  </tr>
+  <tr>
+    <td>Second</td>
+    <td>Second</td>
+  </tr>
+</table>
+
+<figure id="fb">
+  <p>[Second figure content]</p>
+  <figcaption>
+    Second figure caption
+  </figcaption>
+</figure>
+
+<table id="tc" width="80%" align="center">
+  <tr>
+    <td>Third</td>
+    <td>Third</td>
+  </tr>
+  <tr>
+    <td>Third</td>
+    <td>Third</td>
+  </tr>
+</table>
+
+<figure id="fc">
+  <p>[Third figure content]</p>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refsById01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refsById01-expected.html b/experiments/editorFramework/test/Layer0/outline/refsById01-expected.html
new file mode 100644
index 0000000..6df1b7d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refsById01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/refsById01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/refsById01-input.html b/experiments/editorFramework/test/Layer0/outline/refsById01-input.html
new file mode 100644
index 0000000..7be238e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/refsById01-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    UndoManager_clear();
+
+    Selection_selectAll();
+    PostponedActions_perform();
+
+    Clipboard_cut();
+    PostponedActions_perform();
+
+    UndoManager_undo();
+    PostponedActions_perform();
+
+    Outline_deleteItem("item1");
+}
+</script>
+</head>
+<body>
+<h1 id="item1">First section</h1>
+<a href="#item2">ref</a>
+<h1 id="item2">Second section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-expected.html
new file mode 100644
index 0000000..f21d865
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png" width="25%"/>
+      <figcaption/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-input.html
new file mode 100644
index 0000000..7722906
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure01-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",true);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure id="item1">
+  <img src="../figures/nothing.png" width="25%">
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-expected.html
new file mode 100644
index 0000000..3760ea8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png" width="25%"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-input.html
new file mode 100644
index 0000000..e59b038
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",false);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure id="item1">
+  <img src="../figures/nothing.png" width="25%">
+  <figcaption/>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-expected.html
new file mode 100644
index 0000000..507cd45
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png" width="25%"/>
+      <figcaption class="Unnumbered">Test figure[]</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-input.html
new file mode 100644
index 0000000..ee7bee0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",false);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure id="item1">
+  <img src="../figures/nothing.png" width="25%">
+  <figcaption>Test figure[]</figcaption>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-expected.html
new file mode 100644
index 0000000..be66066
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png" width="25%"/>
+      <figcaption>Test figure[]</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-input.html
new file mode 100644
index 0000000..1927c35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-figure04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",true);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure id="item1">
+  <img src="../figures/nothing.png" width="25%">
+  <figcaption class="Unnumbered">Test figure[]</figcaption>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-expected.html
new file mode 100644
index 0000000..330b6d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table id="item1" width="100%">
+      <caption/>
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-input.html
new file mode 100644
index 0000000..e9aeeff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",true);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table id="item1" width="100%">
+  <tr>
+    <td>A</td>
+    <td>B</td>
+  </tr>
+  <tr>
+    <td>C</td>
+    <td>D</td>
+  </tr>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-expected.html
new file mode 100644
index 0000000..7c141f4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <table id="item1" width="100%">
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-input.html
new file mode 100644
index 0000000..a31d539
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",false);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table id="item1" width="100%">
+  <caption/>
+  <tr>
+    <td>A</td>
+    <td>B</td>
+  </tr>
+  <tr>
+    <td>C</td>
+    <td>D</td>
+  </tr>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-expected.html
new file mode 100644
index 0000000..4cc550e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table id="item1" width="100%">
+      <caption class="Unnumbered">Test table[]</caption>
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-input.html
new file mode 100644
index 0000000..49d780b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table03-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",false);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table id="item1" width="100%">
+  <caption>Test table[]</caption>
+  <tr>
+    <td>A</td>
+    <td>B</td>
+  </tr>
+  <tr>
+    <td>C</td>
+    <td>D</td>
+  </tr>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-expected.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-expected.html
new file mode 100644
index 0000000..48c3c30
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>Test table[]</caption>
+      <tbody>
+        <tr>
+          <td>A</td>
+          <td>B</td>
+        </tr>
+        <tr>
+          <td>C</td>
+          <td>D</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-input.html b/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-input.html
new file mode 100644
index 0000000..d323500
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/setNumbered-table04-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_setNumbered("item1",true);
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table id="item1" width="100%">
+  <caption class="Unnumbered">Test table[]</caption>
+  <tr>
+    <td>A</td>
+    <td>B</td>
+  </tr>
+  <tr>
+    <td>C</td>
+    <td>D</td>
+  </tr>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-expected.html
new file mode 100644
index 0000000..bb1088a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    Before
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item2">2 Section 2</a></p>
+      <p class="toc1"><a href="#item3">3 Section 3</a></p>
+    </nav>
+    After
+    <h1 id="item1">Section 1</h1>
+    <h1 id="item2">Section 2</h1>
+    <h1 id="item3">Section 3</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-input.html
new file mode 100644
index 0000000..9ec6646
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert01-input.html
@@ -0,0 +1,26 @@
+<!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();
+
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+Before[]After
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<h1>4 Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-expected.html
new file mode 100644
index 0000000..81d4288
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <p>Before</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc1"><a href="#item2">2 Section 2</a></p>
+      <p class="toc1"><a href="#item3">3 Section 3</a></p>
+    </nav>
+    <p>After</p>
+    <h1 id="item1">Section 1</h1>
+    <h1 id="item2">Section 2</h1>
+    <h1 id="item3">Section 3</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-input.html
new file mode 100644
index 0000000..7034c09
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert02-input.html
@@ -0,0 +1,26 @@
+<!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();
+
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<p>Before[]After</p>
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<h1>4 Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-expected.html
new file mode 100644
index 0000000..a04784d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item6">Before</h1>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item6">1 Before</a></p>
+      <p class="toc1"><a href="#item5">2 After</a></p>
+      <p class="toc1"><a href="#item2">3 Section 1</a></p>
+      <p class="toc1"><a href="#item3">4 Section 2</a></p>
+      <p class="toc1"><a href="#item4">5 Section 3</a></p>
+    </nav>
+    <h1 id="item5">After</h1>
+    <h1 id="item2">Section 1</h1>
+    <h1 id="item3">Section 2</h1>
+    <h1 id="item4">Section 3</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-input.html
new file mode 100644
index 0000000..cd1eec2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert03-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();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var h1 = document.getElementsByTagName("h1")[0];
+    Selection_set(h1.lastChild,6,h1.lastChild,6);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>4 BeforeAfter</h1>
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<h1>4 Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-expected.html
new file mode 100644
index 0000000..b1ab0e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item5">First</h1>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item5">1 First</a></p>
+      <p class="toc1"><a href="#item2">2 Section 1</a></p>
+      <p class="toc1"><a href="#item3">3 Section 2</a></p>
+      <p class="toc1"><a href="#item4">4 Section 3</a></p>
+    </nav>
+    <h1 id="item2">Section 1</h1>
+    <h1 id="item3">Section 2</h1>
+    <h1 id="item4">Section 3</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-input.html
new file mode 100644
index 0000000..8f1de0a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert04-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();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var h1 = document.getElementsByTagName("h1")[0];
+    Selection_set(h1.lastChild,5,h1.lastChild,5);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>4 First</h1>
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<h1>4 Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-expected.html
new file mode 100644
index 0000000..b1ab0e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item5">First</h1>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item5">1 First</a></p>
+      <p class="toc1"><a href="#item2">2 Section 1</a></p>
+      <p class="toc1"><a href="#item3">3 Section 2</a></p>
+      <p class="toc1"><a href="#item4">4 Section 3</a></p>
+    </nav>
+    <h1 id="item2">Section 1</h1>
+    <h1 id="item3">Section 2</h1>
+    <h1 id="item4">Section 3</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-input.html
new file mode 100644
index 0000000..3a1c976
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert05-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();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var h1 = document.getElementsByTagName("h1")[0];
+    Selection_set(h1,h1.childNodes.length,h1,h1.childNodes.length);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>4 First</h1>
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<h1>4 Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-expected.html
new file mode 100644
index 0000000..624dcfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item5">1 First</a></p>
+      <p class="toc1"><a href="#item2">2 Section 1</a></p>
+      <p class="toc1"><a href="#item3">3 Section 2</a></p>
+      <p class="toc1"><a href="#item4">4 Section 3</a></p>
+    </nav>
+    <h1 id="item5">First</h1>
+    <h1 id="item2">Section 1</h1>
+    <h1 id="item3">Section 2</h1>
+    <h1 id="item4">Section 3</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-input.html
new file mode 100644
index 0000000..0a6aaee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert06-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();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var h1 = document.getElementsByTagName("h1")[0];
+    Selection_set(h1.lastChild,0,h1.lastChild,0);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>4 First</h1>
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<h1>4 Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-expected.html
new file mode 100644
index 0000000..624dcfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item5">1 First</a></p>
+      <p class="toc1"><a href="#item2">2 Section 1</a></p>
+      <p class="toc1"><a href="#item3">3 Section 2</a></p>
+      <p class="toc1"><a href="#item4">4 Section 3</a></p>
+    </nav>
+    <h1 id="item5">First</h1>
+    <h1 id="item2">Section 1</h1>
+    <h1 id="item3">Section 2</h1>
+    <h1 id="item4">Section 3</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-input.html
new file mode 100644
index 0000000..16dc8dd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents-insert07-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();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+
+    var h1 = document.getElementsByTagName("h1")[0];
+    Selection_set(h1,0,h1,0);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>4 First</h1>
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<h1>4 Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents01-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents01-expected.html
new file mode 100644
index 0000000..7228c73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents01-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <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="toc2"><a href="#item3">1.2 Section 3</a></p>
+      <p class="toc1"><a href="#item4">2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">2.2.2 Section 10</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>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item4">Section 4</h1>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents01-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents01-input.html
new file mode 100644
index 0000000..d7cdc88
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    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();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents02-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents02-expected.html
new file mode 100644
index 0000000..2e55695
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents02-expected.html
@@ -0,0 +1,54 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <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="toc2"><a href="#item3">1.2 Section 3</a></p>
+      <p class="toc1"><a href="#item4">2 Section 4XYZ</a></p>
+      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">2.2.2 Section 10</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>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item4">
+      Section 4
+      XYZ
+    </h1>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents02-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents02-input.html
new file mode 100644
index 0000000..e325176
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents02-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    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();
+
+    // Modify the second heading, to verify that the change is reflected in the TOC
+    var heading = document.getElementsByTagName("h1")[1];
+    DOM_appendChild(heading,DOM_createTextNode(document,"XYZ"));
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents03-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents03-expected.html
new file mode 100644
index 0000000..31dfff6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents03-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <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="toc2"><a href="#item3">1.2 Section 3</a></p>
+      <p class="toc1"><a href="#item4">2 SeXYZction 4</a></p>
+      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">2.2.2 Section 10</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>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item4">SeXYZction 4</h1>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents03-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents03-input.html
new file mode 100644
index 0000000..15a0579
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents03-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    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();
+
+    // Modify the second heading, to verify that the change is reflected in the TOC
+    var heading = document.getElementsByTagName("h1")[1];
+    DOM_insertCharacters(heading.lastChild,2,"XYZ");
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents04-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents04-expected.html
new file mode 100644
index 0000000..976bf80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents04-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <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="toc2"><a href="#item3">1.2 Section 3</a></p>
+      <p class="toc1"><a href="#item4">2 Sen 4</a></p>
+      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">2.2.2 Section 10</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>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item4">Sen 4</h1>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents04-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents04-input.html
new file mode 100644
index 0000000..8d467f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents04-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    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();
+
+    // Modify the second heading, to verify that the change is reflected in the TOC
+    var heading = document.getElementsByTagName("h1")[1];
+    DOM_deleteCharacters(heading.lastChild,2,6);
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents05-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents05-expected.html
new file mode 100644
index 0000000..7228c73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents05-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <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="toc2"><a href="#item3">1.2 Section 3</a></p>
+      <p class="toc1"><a href="#item4">2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
+      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
+      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
+      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
+      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
+      <p class="toc3"><a href="#item10">2.2.2 Section 10</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>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item4">Section 4</h1>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents05-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents05-input.html
new file mode 100644
index 0000000..8d4ddf4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents05-input.html
@@ -0,0 +1,55 @@
+<!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();
+
+    // Add a table of contents
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>9 Section 1</h1>
+<p>Content 1 A</p>
+<p>Content 1 B</p>
+<h2>9 Section 2</h2>
+<p>Content 2 A</p>
+<p>Content 2 B</p>
+<h2>9 Section 3</h2>
+<p>Content 3 A</p>
+<p>Content 3 B</p>
+<h1>9 Section 4</h1>
+<p>Content 4 A</p>
+<p>Content 4 B</p>
+<h2>9 Section 5</h2>
+<p>Content 5 A</p>
+<p>Content 5 B</p>
+<h3>9 Section 6</h3>
+<p>Content 6 A</p>
+<p>Content 6 B</p>
+<h3>9 Section 7</h3>
+<p>Content 7 A</p>
+<p>Content 7 B</p>
+<h2>9 Section 8</h2>
+<p>Content 8 A</p>
+<p>Content 8 B</p>
+<h3>9 Section 9</h3>
+<p>Content 9 A</p>
+<p>Content 9 B</p>
+<h3>9 Section 10</h3>
+<p>Content 10 A</p>
+<p>Content 10 B</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents06-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents06-expected.html
new file mode 100644
index 0000000..59e90fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents06-expected.html
@@ -0,0 +1,49 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">Section 1</a></p>
+      <p class="toc2"><a href="#item2">Section 2</a></p>
+      <p class="toc2"><a href="#item3">Section 3</a></p>
+      <p class="toc1"><a href="#item4">Section 4</a></p>
+      <p class="toc2"><a href="#item5">Section 5</a></p>
+      <p class="toc3"><a href="#item6">Section 6</a></p>
+      <p class="toc3"><a href="#item7">Section 7</a></p>
+      <p class="toc2"><a href="#item8">Section 8</a></p>
+      <p class="toc3"><a href="#item9">Section 9</a></p>
+      <p class="toc3"><a href="#item10">Section 10</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>
+    <h2 id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item4">Section 4</h1>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents06-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents06-input.html
new file mode 100644
index 0000000..4b0c7da
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents06-input.html
@@ -0,0 +1,53 @@
+<!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();
+
+    // Add a table of contents
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<h1>Section 1</h1>
+<p>Content 1 A</p>
+<p>Content 1 B</p>
+<h2>Section 2</h2>
+<p>Content 2 A</p>
+<p>Content 2 B</p>
+<h2>Section 3</h2>
+<p>Content 3 A</p>
+<p>Content 3 B</p>
+<h1>Section 4</h1>
+<p>Content 4 A</p>
+<p>Content 4 B</p>
+<h2>Section 5</h2>
+<p>Content 5 A</p>
+<p>Content 5 B</p>
+<h3>Section 6</h3>
+<p>Content 6 A</p>
+<p>Content 6 B</p>
+<h3>Section 7</h3>
+<p>Content 7 A</p>
+<p>Content 7 B</p>
+<h2>Section 8</h2>
+<p>Content 8 A</p>
+<p>Content 8 B</p>
+<h3>Section 9</h3>
+<p>Content 9 A</p>
+<p>Content 9 B</p>
+<h3>Section 10</h3>
+<p>Content 10 A</p>
+<p>Content 10 B</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents07-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents07-expected.html
new file mode 100644
index 0000000..fe2f204
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents07-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">Section 1</a></p>
+      <p class="toc2"><a href="#item2">Section 2</a></p>
+      <p class="toc2"><a href="#item3">Section 3</a></p>
+      <p class="toc1"><a href="#item4">Section 4</a></p>
+      <p class="toc2"><a href="#item5">Section 5</a></p>
+      <p class="toc3"><a href="#item6">Section 6</a></p>
+      <p class="toc3"><a href="#item7">Section 7</a></p>
+      <p class="toc2"><a href="#item8">Section 8</a></p>
+      <p class="toc3"><a href="#item9">Section 9</a></p>
+      <p class="toc3"><a href="#item10">Section 10</a></p>
+    </nav>
+    <h1 class="Unnumbered" id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 class="Unnumbered" id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h2 class="Unnumbered" id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 class="Unnumbered" id="item4">Section 4</h1>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 class="Unnumbered" id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 class="Unnumbered" id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 class="Unnumbered" id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 class="Unnumbered" id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 class="Unnumbered" id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 class="Unnumbered" id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+  </body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents08-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents08-expected.html
new file mode 100644
index 0000000..fe2f204
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents08-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">Section 1</a></p>
+      <p class="toc2"><a href="#item2">Section 2</a></p>
+      <p class="toc2"><a href="#item3">Section 3</a></p>
+      <p class="toc1"><a href="#item4">Section 4</a></p>
+      <p class="toc2"><a href="#item5">Section 5</a></p>
+      <p class="toc3"><a href="#item6">Section 6</a></p>
+      <p class="toc3"><a href="#item7">Section 7</a></p>
+      <p class="toc2"><a href="#item8">Section 8</a></p>
+      <p class="toc3"><a href="#item9">Section 9</a></p>
+      <p class="toc3"><a href="#item10">Section 10</a></p>
+    </nav>
+    <h1 class="Unnumbered" id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 class="Unnumbered" id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h2 class="Unnumbered" id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 class="Unnumbered" id="item4">Section 4</h1>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 class="Unnumbered" id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 class="Unnumbered" id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 class="Unnumbered" id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 class="Unnumbered" id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 class="Unnumbered" id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 class="Unnumbered" id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+  </body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents09-expected.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents09-expected.html
new file mode 100644
index 0000000..6d21bb7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents09-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">1 Section 1</a></p>
+      <p class="toc2"><a href="#item2">Section 2</a></p>
+      <p class="toc2"><a href="#item3">Section 3</a></p>
+      <p class="toc1"><a href="#item4">2 Section 4</a></p>
+      <p class="toc2"><a href="#item5">Section 5</a></p>
+      <p class="toc3"><a href="#item6">Section 6</a></p>
+      <p class="toc3"><a href="#item7">Section 7</a></p>
+      <p class="toc2"><a href="#item8">Section 8</a></p>
+      <p class="toc3"><a href="#item9">Section 9</a></p>
+      <p class="toc3"><a href="#item10">Section 10</a></p>
+    </nav>
+    <h1 id="item1">Section 1</h1>
+    <p>Content 1 A</p>
+    <p>Content 1 B</p>
+    <h2 class="Unnumbered" id="item2">Section 2</h2>
+    <p>Content 2 A</p>
+    <p>Content 2 B</p>
+    <h2 class="Unnumbered" id="item3">Section 3</h2>
+    <p>Content 3 A</p>
+    <p>Content 3 B</p>
+    <h1 id="item4">Section 4</h1>
+    <p>Content 4 A</p>
+    <p>Content 4 B</p>
+    <h2 class="Unnumbered" id="item5">Section 5</h2>
+    <p>Content 5 A</p>
+    <p>Content 5 B</p>
+    <h3 class="Unnumbered" id="item6">Section 6</h3>
+    <p>Content 6 A</p>
+    <p>Content 6 B</p>
+    <h3 class="Unnumbered" id="item7">Section 7</h3>
+    <p>Content 7 A</p>
+    <p>Content 7 B</p>
+    <h2 class="Unnumbered" id="item8">Section 8</h2>
+    <p>Content 8 A</p>
+    <p>Content 8 B</p>
+    <h3 class="Unnumbered" id="item9">Section 9</h3>
+    <p>Content 9 A</p>
+    <p>Content 9 B</p>
+    <h3 class="Unnumbered" id="item10">Section 10</h3>
+    <p>Content 10 A</p>
+    <p>Content 10 B</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents09-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents09-input.html
new file mode 100644
index 0000000..b109e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents09-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+
+    // Create a series of headings
+    createTestSections([2,[2,2]]);
+
+    // Turn numbering off for all headings
+    setNumbering(false);
+    PostponedActions_perform();
+
+    // Add a table of contents
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+
+    // Turn numbering on for all H1s
+    var h1s = document.getElementsByTagName("h1");
+    Outline_setNumbered(h1s[0].getAttribute("id"),true);
+    Outline_setNumbered(h1s[1].getAttribute("id"),true);
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+</body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents10-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents10-input.html
new file mode 100644
index 0000000..0c2de9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents10-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 table of contents
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tableOfContents11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tableOfContents11-input.html b/experiments/editorFramework/test/Layer0/outline/tableOfContents11-input.html
new file mode 100644
index 0000000..3014bd3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tableOfContents11-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 headings
+    createTestSections([2,[2,2]]);
+
+    // Add a table of contents
+    Selection_set(document.body,0,document.body,0);
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+
+    // Delete all sections
+    var current = document.getElementsByTagName("h1")[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/tocInHeading01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInHeading01-expected.html b/experiments/editorFramework/test/Layer0/outline/tocInHeading01-expected.html
new file mode 100644
index 0000000..b1ddc67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInHeading01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">Before</h1>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">Before</a></p>
+      <p class="toc1"><a href="#item2">After</a></p>
+    </nav>
+    <h1 id="item2">After</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInHeading01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInHeading01-input.html b/experiments/editorFramework/test/Layer0/outline/tocInHeading01-input.html
new file mode 100644
index 0000000..7de6ed9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInHeading01-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<h1>
+  Before
+  <nav class="tableofcontents"></nav>
+  After
+</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert01-expected.html b/experiments/editorFramework/test/Layer0/outline/tocInsert01-expected.html
new file mode 100644
index 0000000..1c42cb7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert01-expected.html
@@ -0,0 +1,53 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item3">1 Section 1</a></p>
+      <p class="toc1"><a href="#item4">2 Section 2</a></p>
+    </nav>
+    <nav class="listoffigures">
+      <p class="toc1"><a href="#item5">1 Test figure A</a></p>
+      <p class="toc1"><a href="#item6">2 Test figure B</a></p>
+    </nav>
+    <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>
+    </nav>
+    <h1 id="item3">Section 1</h1>
+    <h1 id="item4">Section 2</h1>
+    <figure id="item5">
+      (figure content)
+      <figcaption>Test figure A</figcaption>
+    </figure>
+    <figure id="item6">
+      (figure content)
+      <figcaption>Test figure B</figcaption>
+    </figure>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert01-input.html b/experiments/editorFramework/test/Layer0/outline/tocInsert01-input.html
new file mode 100644
index 0000000..c2861f4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert01-input.html
@@ -0,0 +1,49 @@
+<!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();
+
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+//    showSelection();
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+[]
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure A</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure B</figcaption>
+</figure>
+<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>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert02-expected.html b/experiments/editorFramework/test/Layer0/outline/tocInsert02-expected.html
new file mode 100644
index 0000000..7a6dd77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert02-expected.html
@@ -0,0 +1,55 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    Before
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item3">1 Section 1</a></p>
+      <p class="toc1"><a href="#item4">2 Section 2</a></p>
+    </nav>
+    <nav class="listoffigures">
+      <p class="toc1"><a href="#item5">1 Test figure A</a></p>
+      <p class="toc1"><a href="#item6">2 Test figure B</a></p>
+    </nav>
+    <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>
+    </nav>
+    After
+    <h1 id="item3">Section 1</h1>
+    <h1 id="item4">Section 2</h1>
+    <figure id="item5">
+      (figure content)
+      <figcaption>Test figure A</figcaption>
+    </figure>
+    <figure id="item6">
+      (figure content)
+      <figcaption>Test figure B</figcaption>
+    </figure>
+    <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>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-input.html
new file mode 100644
index 0000000..342cf7a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint02c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sam[ple text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-expected.html
new file mode 100644
index 0000000..7c3ef20
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <h1 id="item3">Sam</h1>
+    []
+    <h1 id="item2">xt</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-input.html
new file mode 100644
index 0000000..cf4a8d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    Cursor_makeContainerInsertionPoint();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>Sam[ple te]xt</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-expected.html
new file mode 100644
index 0000000..5d9a930
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    []
+    <h1 id="item2">xt</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-input.html
new file mode 100644
index 0000000..a12724e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    Cursor_makeContainerInsertionPoint();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>4 [Sample te]xt</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-expected.html
new file mode 100644
index 0000000..b229ce8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="item2">Sam</h1>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-input.html
new file mode 100644
index 0000000..cadf465
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint03c-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    if (Outline_detectSectionNumbering())
+        setupOutlineNumbering();
+    PostponedActions_perform();
+    Cursor_makeContainerInsertionPoint();
+    PostponedActions_perform();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>4 Sam[ple text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-expected.html
new file mode 100644
index 0000000..6805b40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sam</b></p>
+    []
+    <p><b>xt</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-input.html
new file mode 100644
index 0000000..d2667d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>Sam[ple te]xt</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-expected.html
new file mode 100644
index 0000000..4dd1d56
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sam</u></i></b></p>
+    []
+    <p><b><i><u>xt</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-input.html
new file mode 100644
index 0000000..0baeeac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sam[ple te]xt</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-expected.html
new file mode 100644
index 0000000..0077c3b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    []
+    <p><b><i><u>xt</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-input.html
new file mode 100644
index 0000000..b09312d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>[Sample te]xt</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-expected.html
new file mode 100644
index 0000000..02e1240
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sam</u></i></b></p>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-input.html
new file mode 100644
index 0000000..84a9992
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint05c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>Sam[ple text]</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-expected.html
new file mode 100644
index 0000000..bc6dab9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Before</li>
+      <li>
+        <p><b><i><u>Sam</u></i></b></p>
+        []
+        <p><b><i><u>xt</u></i></b></p>
+      </li>
+      <li>After</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-input.html
new file mode 100644
index 0000000..f90f593
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint06-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>Before</li>
+  <li><p><b><i><u>Sam[ple te]xt</u></i></b></p></li>
+  <li>After</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-expected.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-expected.html
new file mode 100644
index 0000000..e277c81
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>
+            <p><b><i><u>Sam</u></i></b></p>
+            []
+            <p><b><i><u>xt</u></i></b></p>
+          </td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-input.html b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-input.html
new file mode 100644
index 0000000..5c87b11
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/makeContainerInsertionPoint07-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_makeContainerInsertionPoint();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>One</td>
+    <td><p><b><i><u>Sam[ple te]xt</u></i></b></p></td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp01-expected.html b/experiments/editorFramework/test/Layer0/cursor/nbsp01-expected.html
new file mode 100644
index 0000000..8098ad9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text&nbsp;[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp01-input.html b/experiments/editorFramework/test/Layer0/cursor/nbsp01-input.html
new file mode 100644
index 0000000..c855459
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp02-expected.html b/experiments/editorFramework/test/Layer0/cursor/nbsp02-expected.html
new file mode 100644
index 0000000..ecc4490
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text []</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp02-input.html b/experiments/editorFramework/test/Layer0/cursor/nbsp02-input.html
new file mode 100644
index 0000000..4c70a52
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp03-expected.html b/experiments/editorFramework/test/Layer0/cursor/nbsp03-expected.html
new file mode 100644
index 0000000..61c2a8a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text a[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp03-input.html b/experiments/editorFramework/test/Layer0/cursor/nbsp03-input.html
new file mode 100644
index 0000000..b8a4a1d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter("a");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp04-expected.html b/experiments/editorFramework/test/Layer0/cursor/nbsp04-expected.html
new file mode 100644
index 0000000..8098ad9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text&nbsp;[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp04-input.html b/experiments/editorFramework/test/Layer0/cursor/nbsp04-input.html
new file mode 100644
index 0000000..d0218b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter("a");
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp05-expected.html b/experiments/editorFramework/test/Layer0/cursor/nbsp05-expected.html
new file mode 100644
index 0000000..ecc4490
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text []</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/nbsp05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/nbsp05-input.html b/experiments/editorFramework/test/Layer0/cursor/nbsp05-input.html
new file mode 100644
index 0000000..00f9f41
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/nbsp05-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter(" ");
+    Cursor_insertCharacter("a");
+    Cursor_deleteCharacter();
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br01-expected.html b/experiments/editorFramework/test/Layer0/cursor/position-br01-expected.html
new file mode 100644
index 0000000..83e1635
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br01-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    .L.i.n.e. .1.
+    <br/>
+    .L.i.n.e. .2.
+    <br/>
+    .L.i.n.e. .3.
+    <br/>
+    .
+    <br/>
+    .
+    <br/>
+    .
+    <br/>
+    .L.i.n.e. .7.
+    <br/>
+    .L.i.n.e. .8.
+    <br/>
+    .L.i.n.e. .9.[]
+    <br/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br01-input.html b/experiments/editorFramework/test/Layer0/cursor/position-br01-input.html
new file mode 100644
index 0000000..a4a7145
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br01-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 45; i++) {
+        Cursor_insertCharacter(".",false,true);
+        Cursor_moveRight();
+    }
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]Line 1<br>
+Line 2<br>
+Line 3<br>
+<br>
+<br>
+<br>
+Line 7<br>
+Line 8<br>
+Line 9<br>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br02-expected.html b/experiments/editorFramework/test/Layer0/cursor/position-br02-expected.html
new file mode 100644
index 0000000..dacf76d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>.</p>
+    <p>.</p>
+    <p>.</p>
+    <p>.</p>
+    <p>.[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br02-input.html b/experiments/editorFramework/test/Layer0/cursor/position-br02-input.html
new file mode 100644
index 0000000..3e50268
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br02-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 5; i++) {
+        Cursor_insertCharacter(".",false,true);
+        Cursor_moveRight();
+    }
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]<br></p>
+<p><br></p>
+<p><br></p>
+<p><br></p>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br03-expected.html b/experiments/editorFramework/test/Layer0/cursor/position-br03-expected.html
new file mode 100644
index 0000000..a3cd77f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br03-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>.L.i.n.e. .1.</p>
+    .
+    <br/>
+    <p>.L.i.n.e. .2.</p>
+    .
+    <br/>
+    <p>.L.i.n.e. .3.</p>
+    .
+    <br/>
+    <p>.L.i.n.e. .4.</p>
+    .
+    <br/>
+    <p>.L.i.n.e. .5.</p>
+    .[]
+    <br/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br03-input.html b/experiments/editorFramework/test/Layer0/cursor/position-br03-input.html
new file mode 100644
index 0000000..847e17c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br03-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 40; i++) {
+        Cursor_insertCharacter(".",false,true);
+        Cursor_moveRight();
+    }
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]Line 1</p><br>
+<p>Line 2</p><br>
+<p>Line 3</p><br>
+<p>Line 4</p><br>
+<p>Line 5</p><br>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br04-expected.html b/experiments/editorFramework/test/Layer0/cursor/position-br04-expected.html
new file mode 100644
index 0000000..ccf0795
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br04-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head></head>
+  <body>
+    <p>.L.i.n.e. .1.</p>
+    .
+    <br/>
+    <p>.L.i.n.e. .2.</p>
+    .
+    <br/>
+    .
+    <br/>
+    <p>.L.i.n.e. .3.</p>
+    .
+    <br/>
+    .
+    <br/>
+    <p>.L.i.n.e. .4.</p>
+    .
+    <br/>
+    .
+    <br/>
+    <p>.L.i.n.e. .5.</p>
+    .
+    <br/>
+    .[]
+    <br/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/position-br04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/position-br04-input.html b/experiments/editorFramework/test/Layer0/cursor/position-br04-input.html
new file mode 100644
index 0000000..ad5b1ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/position-br04-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 44; i++) {
+        Cursor_insertCharacter(".",false,true);
+        Cursor_moveRight();
+    }
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]Line 1</p><br>
+<p>Line 2</p><br><br>
+<p>Line 3</p><br><br>
+<p>Line 4</p><br><br>
+<p>Line 5</p><br><br>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-expected.html b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-expected.html
new file mode 100644
index 0000000..5498785
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    <p>X[]</p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-input.html b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-input.html
new file mode 100644
index 0000000..94f51cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="../figures/nothing.png">
+</figure>[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-expected.html b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-expected.html
new file mode 100644
index 0000000..5163f29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    <p>aX[]</p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-input.html b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-input.html
new file mode 100644
index 0000000..2dd1105
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="../figures/nothing.png">
+</figure>a[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-expected.html b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-expected.html
new file mode 100644
index 0000000..6035b43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+    <p>X[]a</p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-input.html b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-input.html
new file mode 100644
index 0000000..cec8ad3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterFigure03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="../figures/nothing.png">
+</figure>[]a
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-expected.html b/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-expected.html
new file mode 100644
index 0000000..85d005a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>X[]</p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-input.html b/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-input.html
new file mode 100644
index 0000000..680af18
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterTable01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-expected.html b/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-expected.html
new file mode 100644
index 0000000..0fb0003
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>aX[]</p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-input.html b/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-input.html
new file mode 100644
index 0000000..acddf8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterTable02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>a[]
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-expected.html b/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-expected.html
new file mode 100644
index 0000000..cf2c37c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>X[]a</p>
+    <p>one two three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-input.html b/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-input.html
new file mode 100644
index 0000000..45aacd6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textAfterTable03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>[]a
+<p>one two three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-expected.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-expected.html
new file mode 100644
index 0000000..99ccaa9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>X[]</p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-input.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-input.html
new file mode 100644
index 0000000..497d51d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]<figure>
+  <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-expected.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-expected.html
new file mode 100644
index 0000000..92b6ebe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>aX[]</p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-input.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-input.html
new file mode 100644
index 0000000..481b99f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+a[]<figure>
+  <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-expected.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-expected.html
new file mode 100644
index 0000000..37ef96c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>X[]a</p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-input.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-input.html
new file mode 100644
index 0000000..9489405
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeFigure03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]a<figure>
+  <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-expected.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-expected.html
new file mode 100644
index 0000000..240c213
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>X[]</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-input.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-input.html
new file mode 100644
index 0000000..6123d87
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-expected.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-expected.html
new file mode 100644
index 0000000..0ba5dd0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>aX[]</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-input.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-input.html
new file mode 100644
index 0000000..f8fcf12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+a[]<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-expected.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-expected.html
new file mode 100644
index 0000000..36a0f77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three</p>
+    <p>X[]a</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-input.html b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-input.html
new file mode 100644
index 0000000..f1193b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/textBeforeTable03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("X");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]a<table>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Position_next-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Position_next-expected.html b/experiments/editorFramework/test/Layer0/dom/Position_next-expected.html
new file mode 100644
index 0000000..e960157
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Position_next-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    allPositions.length = 84
+    <br/>
+    Test results: total 84, pass 84, fail 0
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Position_next-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Position_next-input.html b/experiments/editorFramework/test/Layer0/dom/Position_next-input.html
new file mode 100644
index 0000000..7884c75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Position_next-input.html
@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function arraysEqual(a,b)
+{
+    if (a.length != b.length)
+        return false;
+
+    for (var i = 0; i < a.length; i++) {
+        if (a[i] != b[i])
+            return false;
+    }
+
+    return true;
+}
+
+function performTest()
+{
+    var root = document.body;
+    removeWhitespaceTextNodes(root);
+    setup(root);
+
+    var total = 0;
+    var pass = 0;
+    var fail = 0;
+    for (var index = 0; index < allPositions.length; index++) {
+        var pos = allPositions[index];
+
+        total++;
+
+        var actual = Position_next(pos);
+        var expected = allPositions[index+1];
+
+        if (comparePositions(actual,expected))
+            pass++;
+        else {
+            debug("fail: "+actual+" and "+expected+" (index "+index+")");
+            fail++;
+        }
+    }
+
+    var message1 = "allPositions.length = "+allPositions.length;
+    var message2 = "Test results: total "+total+", pass "+pass+", fail "+fail;
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,message1));
+    DOM_appendChild(document.body,DOM_createElement(document,"BR"));
+    DOM_appendChild(document.body,DOM_createTextNode(document,message2));
+
+    function comparePositions(a,b)
+    {
+        if ((a == null) && (b == null))
+            return true;
+        if ((a != null) && (b != null) &&
+            (a.node == b.node) && (a.offset == b.offset))
+            return true;
+        return false;
+    }
+}
+</script>
+</head>
+<body>
+
+<div style="display: none">
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div>One</div>
+            <div>Two</div>
+            <div></div>
+        </div>
+    </div>
+    <div>
+        <div>ONE</div>
+        <div>TWO</div>
+        <div>THREE</div>
+    </div>
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+        </div>
+    </div>
+</div>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Position_prev-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Position_prev-expected.html b/experiments/editorFramework/test/Layer0/dom/Position_prev-expected.html
new file mode 100644
index 0000000..e960157
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Position_prev-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    allPositions.length = 84
+    <br/>
+    Test results: total 84, pass 84, fail 0
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Position_prev-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Position_prev-input.html b/experiments/editorFramework/test/Layer0/dom/Position_prev-input.html
new file mode 100644
index 0000000..010737a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Position_prev-input.html
@@ -0,0 +1,104 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function arraysEqual(a,b)
+{
+    if (a.length != b.length)
+        return false;
+
+    for (var i = 0; i < a.length; i++) {
+        if (a[i] != b[i])
+            return false;
+    }
+
+    return true;
+}
+
+function performTest()
+{
+    var root = document.body;
+    removeWhitespaceTextNodes(root);
+    setup(root);
+
+    var total = 0;
+    var pass = 0;
+    var fail = 0;
+    for (var index = 0; index < allPositions.length; index++) {
+        var pos = allPositions[index];
+
+        total++;
+
+        var actual = Position_prev(pos);
+        var expected = allPositions[index-1];
+
+        if (comparePositions(actual,expected))
+            pass++;
+        else
+            fail++;
+    }
+
+    var message1 = "allPositions.length = "+allPositions.length;
+    var message2 = "Test results: total "+total+", pass "+pass+", fail "+fail;
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,message1));
+    DOM_appendChild(document.body,DOM_createElement(document,"BR"));
+    DOM_appendChild(document.body,DOM_createTextNode(document,message2));
+
+    function comparePositions(a,b)
+    {
+        if ((a == null) && (b == null))
+            return true;
+        if ((a != null) && (b != null) &&
+            (a.node == b.node) && (a.offset == b.offset))
+            return true;
+        return false;
+    }
+}
+</script>
+</head>
+<body>
+
+<div style="display: none">
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div>One</div>
+            <div>Two</div>
+            <div></div>
+        </div>
+    </div>
+    <div>
+        <div>ONE</div>
+        <div>TWO</div>
+        <div>THREE</div>
+    </div>
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+        </div>
+    </div>
+</div>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/RangeTest.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/RangeTest.js b/experiments/editorFramework/test/Layer0/dom/RangeTest.js
new file mode 100644
index 0000000..2d69cc3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/RangeTest.js
@@ -0,0 +1,182 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+var allPositions;
+var allPositionsIndexMap;
+
+function positionKey(pos)
+{
+    return pos.node._nodeId+","+pos.offset;
+}
+
+function removeWhitespaceTextNodes(parent)
+{
+    var next;
+    for (var child = parent.firstChild; child != null; child = next) {
+        next = child.nextSibling;
+        if (isWhitespaceTextNode(child) || (child.nodeType == Node.COMMENT_NODE))
+            DOM_deleteNode(child);
+        else
+            removeWhitespaceTextNodes(child);
+    }
+}
+
+function setup(root)
+{
+    allPositions = getAllPositions(root);
+
+    allPositionsIndexMap = new Object();
+    for (var i = 0; i < allPositions.length; i++) {
+        var pos = allPositions[i];
+        allPositionsIndexMap[positionKey(pos)] = i;
+    }
+}
+
+function comparePositionsBeforeAndAfter(fun)
+{
+    var messages = new Array();
+    var positions = getAllPositions(document.body);
+    var positionStrings = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        messages.push("Before: positions["+i+"] = "+positions[i]);
+        positionStrings[i] = positions[i].toString();
+    }
+
+    Position_trackWhileExecuting(positions,function() {
+        fun();
+
+    });
+
+    messages.push("");
+    for (var i = 0; i < positions.length; i++) {
+        if (positionStrings[i] != positions[i].toString())
+            messages.push("After: positions["+i+"] = "+positions[i]+" - changed from "+
+                          positionStrings[i]);
+        else
+            messages.push("After: positions["+i+"] = "+positions[i]);
+    }
+
+    return messages.join("\n");
+}
+
+function getAllPositions(root)
+{
+    var includeEmptyElements = true;
+
+    var positions = new Array();
+    var rootOffset = DOM_nodeOffset(root);
+//    positions.push(new Position(root.parentNode,rootOffset));
+    recurse(root);
+//    positions.push(new Position(root.parentNode,rootOffset+1));
+    return positions;
+
+    function recurse(node)
+    {
+        if (node.nodeType == Node.TEXT_NODE) {
+            for (var offset = 0; offset <= node.nodeValue.length; offset++)
+                positions.push(new Position(node,offset));
+        }
+        else if ((node.nodeType == Node.ELEMENT_NODE) &&
+                 (node.firstChild != null) || includeEmptyElements) {
+            var offset = 0;
+            for (var child = node.firstChild; child != null; child = child.nextSibling) {
+                positions.push(new Position(node,offset));
+                recurse(child);
+                offset++;
+            }
+            positions.push(new Position(node,offset));
+        }
+    }
+}
+
+function getPositionIndex(pos)
+{
+    var result = allPositionsIndexMap[pos.node._nodeId+","+pos.offset];
+    if (result == null)
+        throw new Error(pos+": no index for position");
+    return result;
+}
+
+function isForwardsSimple(range)
+{
+    var startIndex = getPositionIndex(range.start);
+    var endIndex = getPositionIndex(range.end);
+//    debug("startIndex = "+indices.startIndex+", endIndex = "+indices.endIndex);
+    return (endIndex >= startIndex);
+}
+
+function getOutermostNodesSimple(range)
+{
+    if (!isForwardsSimple(range)) {
+        var reverse = new Range(range.end.node,range.end.offset,
+                                range.start.node,range.start.offset);
+        if (!Range_isForwards(reverse)) {
+            var startIndex = getPositionIndex(range.start);
+            var endIndex = getPositionIndex(range.end);
+            debug("startIndex = "+startIndex+", endIndex = "+endIndex);
+            throw new Error("Both range "+range+" and its reverse are not forwards");
+        }
+        return getOutermostNodesSimple(reverse);
+    }
+
+    var startIndex = getPositionIndex(range.start);
+    var endIndex = getPositionIndex(range.end);
+    var havePositions = new Object();
+
+    var allArray = new Array();
+    var allSet = new NodeSet();
+
+    for (var i = startIndex; i <= endIndex; i++) {
+        var pos = allPositions[i];
+
+        if ((pos.node.nodeType == Node.TEXT_NODE) && (i < endIndex)) {
+            allArray.push(pos.node);
+            allSet.add(pos.node);
+        }
+        else if (pos.node.nodeType == Node.ELEMENT_NODE) {
+            var prev = new Position(pos.node,pos.offset-1);
+            if (havePositions[positionKey(prev)]) {
+                var target = pos.node.childNodes[pos.offset-1];
+                allArray.push(target);
+                allSet.add(target);
+            }
+            havePositions[positionKey(pos)] = true;
+        }
+
+    }
+
+    var outermostArray = new Array();
+    var outermostSet = new NodeSet();
+
+    allArray.forEach(function (node) {
+        if (!outermostSet.contains(node) && !setContainsAncestor(allSet,node)) {
+            outermostArray.push(node);
+            outermostSet.add(node);
+        }
+    });
+
+    return outermostArray;
+
+    function setContainsAncestor(set,node)
+    {
+        for (var ancestor = node.parentNode; ancestor != null; ancestor = ancestor.parentNode) {
+            if (set.contains(ancestor))
+                return true;
+        }
+        return false;
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-expected.html b/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-expected.html
new file mode 100644
index 0000000..a4a0331
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    allPositions.length = 82
+    <br/>
+    Test results: total 6724, pass 6724, fail 0
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-input.html b/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-input.html
new file mode 100644
index 0000000..6518538
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Range_getOutermostNodes-input.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function arraysEqual(a,b)
+{
+    if (a.length != b.length)
+        return false;
+
+    for (var i = 0; i < a.length; i++) {
+        if (a[i] != b[i])
+            return false;
+    }
+
+    return true;
+}
+
+function performTest()
+{
+    var root = document.getElementById("root");
+    removeWhitespaceTextNodes(root);
+    setup(root);
+
+    var total = 0;
+    var pass = 0;
+    var fail = 0;
+    for (var startIndex = 0; startIndex < allPositions.length; startIndex++) {
+        for (var endIndex = 0; endIndex < allPositions.length; endIndex++) {
+            var start = allPositions[startIndex];
+            var end = allPositions[endIndex];
+            var range = new Range(start.node,start.offset,end.node,end.offset);
+
+            total++;
+
+            var actual = Range_getOutermostNodes(range);
+            var expected = getOutermostNodesSimple(range);
+            if (arraysEqual(actual,expected))
+                pass++;
+            else
+                fail++;
+        }
+    }
+
+    var message1 = "allPositions.length = "+allPositions.length;
+    var message2 = "Test results: total "+total+", pass "+pass+", fail "+fail;
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,message1));
+    DOM_appendChild(document.body,DOM_createElement(document,"BR"));
+    DOM_appendChild(document.body,DOM_createTextNode(document,message2));
+}
+</script>
+</head>
+<body>
+
+<div id="root" style="display: none">
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div>One</div>
+            <div>Two</div>
+            <div></div>
+        </div>
+    </div>
+    <div>
+        <div>ONE</div>
+        <div>TWO</div>
+        <div>THREE</div>
+    </div>
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+        </div>
+    </div>
+</div>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Range_isForward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Range_isForward-expected.html b/experiments/editorFramework/test/Layer0/dom/Range_isForward-expected.html
new file mode 100644
index 0000000..a4a0331
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Range_isForward-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    allPositions.length = 82
+    <br/>
+    Test results: total 6724, pass 6724, fail 0
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/Range_isForward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/Range_isForward-input.html b/experiments/editorFramework/test/Layer0/dom/Range_isForward-input.html
new file mode 100644
index 0000000..d301a25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/Range_isForward-input.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function arraysEqual(a,b)
+{
+    if (a.length != b.length)
+        return false;
+
+    for (var i = 0; i < a.length; i++) {
+        if (a[i] != b[i])
+            return false;
+    }
+
+    return true;
+}
+
+function performTest()
+{
+    var root = document.getElementById("root");
+    removeWhitespaceTextNodes(root);
+    setup(root);
+
+    var total = 0;
+    var pass = 0;
+    var fail = 0;
+    for (var startIndex = 0; startIndex < allPositions.length; startIndex++) {
+        for (var endIndex = 0; endIndex < allPositions.length; endIndex++) {
+            var start = allPositions[startIndex];
+            var end = allPositions[endIndex];
+            var range = new Range(start.node,start.offset,end.node,end.offset);
+
+            total++;
+
+            var actual = Range_isForwards(range);
+            var expected = isForwardsSimple(range);
+            if (actual == expected)
+                pass++;
+            else
+                fail++;
+        }
+    }
+
+    var message1 = "allPositions.length = "+allPositions.length;
+    var message2 = "Test results: total "+total+", pass "+pass+", fail "+fail;
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,message1));
+    DOM_appendChild(document.body,DOM_createElement(document,"BR"));
+    DOM_appendChild(document.body,DOM_createTextNode(document,message2));
+}
+</script>
+</head>
+<body>
+
+<div id="root" style="display: none">
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div>One</div>
+            <div>Two</div>
+            <div></div>
+        </div>
+    </div>
+    <div>
+        <div>ONE</div>
+        <div>TWO</div>
+        <div>THREE</div>
+    </div>
+    <div>
+        <div>
+            <div></div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+            <div></div>
+        </div>
+        <div>
+            <div></div>
+        </div>
+    </div>
+</div>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline01-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline01-expected.html
new file mode 100644
index 0000000..9616757
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline01-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline01-input.html
new file mode 100644
index 0000000..2918fa6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+One
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline02-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline02-expected.html
new file mode 100644
index 0000000..f2b0ceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline02-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline02-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline02-input.html
new file mode 100644
index 0000000..d73d41b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+One
+<p>Two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline03-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline03-expected.html
new file mode 100644
index 0000000..f2b0ceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline03-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline03-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline03-input.html
new file mode 100644
index 0000000..3ed1274
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+<p>One</p>
+Two
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline04-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline04-expected.html
new file mode 100644
index 0000000..0efffd4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline04-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline04-input.html
new file mode 100644
index 0000000..2610418
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+One
+<p>Two</p>
+Three
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline05-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline05-expected.html
new file mode 100644
index 0000000..0efffd4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline05-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline05-input.html
new file mode 100644
index 0000000..cd8f440
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+<p>One</p>
+Two
+<p>Three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline06-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline06-expected.html
new file mode 100644
index 0000000..5963095
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      Three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline06-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline06-input.html
new file mode 100644
index 0000000..fff9662
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline06-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+One <b>Two</b> Three
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline07-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline07-expected.html
new file mode 100644
index 0000000..c81cb00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline07-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      Three
+    </p>
+    <p>Test</p>
+    <p>
+      Four
+      <b>Five</b>
+      Six
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline07-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline07-input.html
new file mode 100644
index 0000000..2b0ffb6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+One <b>Two</b> Three
+<p>Test</p>
+Four <b>Five</b> Six
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline08-expected.html b/experiments/editorFramework/test/Layer0/dom/avoidInline08-expected.html
new file mode 100644
index 0000000..6d06b64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline08-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>Test 1</p>
+    <p>
+      One
+      <b>Two</b>
+      Three
+    </p>
+    <p>Test 2</p>
+    <p>
+      Four
+      <b>Five</b>
+      Six
+    </p>
+    <p>Test 3</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/avoidInline08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/avoidInline08-input.html b/experiments/editorFramework/test/Layer0/dom/avoidInline08-input.html
new file mode 100644
index 0000000..ab28de1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/avoidInline08-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Hierarchy_avoidInlineChildren(document.body);
+}
+</script>
+</head>
+<body>
+<p>Test 1</p>
+One <b>Two</b> Three
+<p>Test 2</p>
+Four <b>Five</b> Six
+<p>Test 3</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-expected.html
new file mode 100644
index 0000000..7bd9ea5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Test</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-input.html
new file mode 100644
index 0000000..9660b9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+   Hierarchy_ensureInlineNodesInParagraph(document.body.firstChild,true);
+}
+</script>
+</head>
+<body>
+
+Test
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-expected.html
new file mode 100644
index 0000000..836c9a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      One
+      <br/>
+      Two
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-input.html
new file mode 100644
index 0000000..b46f632
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+   var br = document.getElementsByTagName("BR")[0];
+   Hierarchy_ensureInlineNodesInParagraph(br,true);
+}
+</script>
+</head>
+<body>
+
+<br>
+One
+<br>
+Two
+<br>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-expected.html
new file mode 100644
index 0000000..836c9a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      One
+      <br/>
+      Two
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-input.html
new file mode 100644
index 0000000..aaeacf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+   var br = document.getElementsByTagName("BR")[1];
+   Hierarchy_ensureInlineNodesInParagraph(br,true);
+}
+</script>
+</head>
+<body>
+
+<br>
+One
+<br>
+Two
+<br>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-expected.html
new file mode 100644
index 0000000..836c9a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      One
+      <br/>
+      Two
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-input.html
new file mode 100644
index 0000000..584b550
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+   var br = document.getElementsByTagName("BR")[2];
+   Hierarchy_ensureInlineNodesInParagraph(br,true);
+}
+</script>
+</head>
+<body>
+
+<br>
+One
+<br>
+Two
+<br>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-expected.html
new file mode 100644
index 0000000..a88c020
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      One
+      <br id="first"/>
+      Two
+      <br/>
+    </p>
+    <p>Explicit paragraph</p>
+    <p>
+      <br/>
+      Three
+      <br id="second"/>
+      Four
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-input.html
new file mode 100644
index 0000000..920df14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph05-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var first = document.getElementById("first");
+    var second = document.getElementById("second");
+    Hierarchy_ensureInlineNodesInParagraph(first,true);
+    Hierarchy_ensureInlineNodesInParagraph(second,true);
+}
+</script>
+</head>
+<body>
+
+<br>
+One
+<br id="first">
+Two
+<br>
+
+<p>Explicit paragraph</p>
+
+<br>
+Three
+<br id="second">
+Four
+<br>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-expected.html
new file mode 100644
index 0000000..b59738c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br id="first"/>
+      One
+      <br/>
+      Two
+      <br/>
+    </p>
+    <p>Explicit paragraph</p>
+    <p>
+      <br id="second"/>
+      Three
+      <br/>
+      Four
+      <br/>
+    </p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-expected.html
new file mode 100644
index 0000000..8b415de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <img src="nothing.png"/>
+      <figcaption/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-input.html
new file mode 100644
index 0000000..5e3aaf3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy02-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>First figure[]</figcaption>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-expected.html
new file mode 100644
index 0000000..03529c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <img src="nothing.png"/>
+      <figcaption>Second Figure</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-input.html
new file mode 100644
index 0000000..06a0cc4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy03-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,"Second Figure");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>First figure[]</figcaption>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-expected.html
new file mode 100644
index 0000000..a0274ea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>
+        First
+        figure
+      </figcaption>
+    </figure>
+    <figure id="item2">
+      <img src="nothing.png"/>
+      <figcaption>Second Figure</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-input.html
new file mode 100644
index 0000000..4c081db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,"Second Figure");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>First []figure</figcaption>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-expected.html
new file mode 100644
index 0000000..03529c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <img src="nothing.png"/>
+      <figcaption>Second Figure</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-input.html
new file mode 100644
index 0000000..5b42703
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy05-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,"Second Figure");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<figure>
+  <img src="nothing.png"/>
+  <figcaption>[]First figure</figcaption>
+</figure>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-expected.html
new file mode 100644
index 0000000..a1365b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>Table</caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="item2">
+      <img src="nothing.png"/>
+      <figcaption>Figure</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-input.html
new file mode 100644
index 0000000..9c70bda
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy06-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,"Figure");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>Table[]</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-expected.html
new file mode 100644
index 0000000..4668fe9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>
+        Ta
+        ble
+      </caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="item2">
+      <img src="nothing.png"/>
+      <figcaption>Figure</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-input.html
new file mode 100644
index 0000000..776ed7a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy07-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,"Figure");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>Ta[]ble</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-expected.html
new file mode 100644
index 0000000..a1365b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" width="100%">
+      <caption>Table</caption>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+          <td>Cell</td>
+        </tr>
+      </tbody>
+    </table>
+    <figure id="item2">
+      <img src="nothing.png"/>
+      <figcaption>Figure</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-input.html
new file mode 100644
index 0000000..71e225d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure-hierarchy08-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,"Figure");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+
+<table width="100%">
+  <caption>[]Table</caption>
+  <tr>
+    <td>Cell</td>
+    <td>Cell</td>
+  </tr>
+</table>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure01-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure01-expected.html
new file mode 100644
index 0000000..637519d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure01-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure01-input.html
new file mode 100644
index 0000000..a05cb6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,false,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure02-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure02-expected.html
new file mode 100644
index 0000000..a26e458
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png" style="width: 60%"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure02-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure02-input.html
new file mode 100644
index 0000000..b67d859
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure02-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png","60%",false,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure03-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure03-expected.html
new file mode 100644
index 0000000..2e6fa25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure03-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure03-input.html
new file mode 100644
index 0000000..a458cc4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,null);
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure04-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure04-expected.html
new file mode 100644
index 0000000..9ef1998
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption class="Unnumbered">Sample caption</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure04-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure04-input.html
new file mode 100644
index 0000000..6662220
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,false,"Sample caption");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure05-expected.html b/experiments/editorFramework/test/Layer0/figures/insertFigure05-expected.html
new file mode 100644
index 0000000..f7ff789
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure05-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>Sample caption</figcaption>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/insertFigure05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/insertFigure05-input.html b/experiments/editorFramework/test/Layer0/figures/insertFigure05-input.html
new file mode 100644
index 0000000..d54b63a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/insertFigure05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png",null,true,"Sample caption");
+    PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/nothing.png
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/nothing.png b/experiments/editorFramework/test/Layer0/figures/nothing.png
new file mode 100644
index 0000000..43b22cf
Binary files /dev/null and b/experiments/editorFramework/test/Layer0/figures/nothing.png differ

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties01-expected.html b/experiments/editorFramework/test/Layer0/figures/setProperties01-expected.html
new file mode 100644
index 0000000..846b467
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png" style="width: 50%"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties01-input.html b/experiments/editorFramework/test/Layer0/figures/setProperties01-input.html
new file mode 100644
index 0000000..a29375c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png","20%",false,null);
+    PostponedActions_perform();
+
+    Figures_setProperties("item1","50%","nothing.png");
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties02-expected.html b/experiments/editorFramework/test/Layer0/figures/setProperties02-expected.html
new file mode 100644
index 0000000..637519d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties02-input.html b/experiments/editorFramework/test/Layer0/figures/setProperties02-input.html
new file mode 100644
index 0000000..389aabc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png","20%",false,null);
+    PostponedActions_perform();
+
+    Figures_setProperties("item1",null,"nothing.png");
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties03-expected.html b/experiments/editorFramework/test/Layer0/figures/setProperties03-expected.html
new file mode 100644
index 0000000..b781301
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img src="other.png" style="width: 20%"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties03-input.html b/experiments/editorFramework/test/Layer0/figures/setProperties03-input.html
new file mode 100644
index 0000000..a557ed3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png","20%",false,null);
+    PostponedActions_perform();
+
+    Figures_setProperties("item1","20%","other.png");
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties04-expected.html b/experiments/editorFramework/test/Layer0/figures/setProperties04-expected.html
new file mode 100644
index 0000000..1ce2a75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <figure id="item1">
+      <img style="width: 20%"/>
+    </figure>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/figures/setProperties04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/figures/setProperties04-input.html b/experiments/editorFramework/test/Layer0/figures/setProperties04-input.html
new file mode 100644
index 0000000..396f8ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/figures/setProperties04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Figures_insertFigure("nothing.png","20%",false,null);
+    PostponedActions_perform();
+
+    Figures_setProperties("item1","20%",null);
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames01-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames01-expected.html
new file mode 100644
index 0000000..a988afe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p class="test">Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames01-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames01-input.html
new file mode 100644
index 0000000..ea893dd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("p.test",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames02-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames02-expected.html
new file mode 100644
index 0000000..a34d57e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames02-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames02-input.html
new file mode 100644
index 0000000..81e24b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("table.test",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames03-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames03-expected.html
new file mode 100644
index 0000000..a34d57e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames03-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames03-input.html
new file mode 100644
index 0000000..c4ddc4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames03-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("article.test",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames04-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames04-expected.html
new file mode 100644
index 0000000..a988afe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p class="test">Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames04-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames04-input.html
new file mode 100644
index 0000000..bce6b4c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames04-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".test",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames05-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames05-expected.html
new file mode 100644
index 0000000..756d54b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h2 class="test">Sample text</h2>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames05-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames05-input.html
new file mode 100644
index 0000000..e524381
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames05-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("h2.test",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames06-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames06-expected.html
new file mode 100644
index 0000000..966e4ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames06-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames06-input.html
new file mode 100644
index 0000000..348a9ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames06-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("p",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames07-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames07-expected.html
new file mode 100644
index 0000000..a34d57e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames07-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames07-input.html
new file mode 100644
index 0000000..35d7627
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames07-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("table",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames08-expected.html b/experiments/editorFramework/test/Layer0/formatting/classNames08-expected.html
new file mode 100644
index 0000000..a34d57e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>Sample text</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/classNames08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/classNames08-input.html b/experiments/editorFramework/test/Layer0/formatting/classNames08-input.html
new file mode 100644
index 0000000..e14d757
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/classNames08-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("article",null);
+}
+</script>
+</head>
+<body>
+<h1>[Sample text]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty01-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty01-expected.html
new file mode 100644
index 0000000..e459bf4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    a
+    <i>[]</i>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty01-input.html b/experiments/editorFramework/test/Layer0/formatting/empty01-input.html
new file mode 100644
index 0000000..93170ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": "italic"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+a[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty02-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty02-expected.html
new file mode 100644
index 0000000..4383c73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty02-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      a
+      <i>b[]</i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty02-input.html b/experiments/editorFramework/test/Layer0/formatting/empty02-input.html
new file mode 100644
index 0000000..7411c58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": "italic"});
+    Cursor_insertCharacter("b");
+    showSelection();
+}
+</script>
+</head>
+<body>
+a[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty03-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty03-expected.html
new file mode 100644
index 0000000..dff6e37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      a
+      <i>b</i>
+      []
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty03-input.html b/experiments/editorFramework/test/Layer0/formatting/empty03-input.html
new file mode 100644
index 0000000..82f82ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": "italic"});
+    Cursor_insertCharacter("b");
+    Formatting_applyFormattingChanges(null,{"font-style": null});
+    showSelection();
+}
+</script>
+</head>
+<body>
+a[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty04-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty04-expected.html
new file mode 100644
index 0000000..e80367f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      a
+      <i>b</i>
+      c[]
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty04-input.html b/experiments/editorFramework/test/Layer0/formatting/empty04-input.html
new file mode 100644
index 0000000..c374430
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": "italic"});
+    Cursor_insertCharacter("b");
+    Formatting_applyFormattingChanges(null,{"font-style": null});
+    Cursor_insertCharacter("c");
+    showSelection();
+}
+</script>
+</head>
+<body>
+a[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty05-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty05-expected.html
new file mode 100644
index 0000000..ee0a065
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>a[]</b></p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty05-input.html b/experiments/editorFramework/test/Layer0/formatting/empty05-input.html
new file mode 100644
index 0000000..e91c136
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    Cursor_insertCharacter("a");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty06-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty06-expected.html
new file mode 100644
index 0000000..e673975
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>a[]</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty06-input.html b/experiments/editorFramework/test/Layer0/formatting/empty06-input.html
new file mode 100644
index 0000000..c6693fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    Cursor_insertCharacter("a");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty07-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty07-expected.html
new file mode 100644
index 0000000..259fd6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty07-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><p><b>a[]</b></p></li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty07-input.html b/experiments/editorFramework/test/Layer0/formatting/empty07-input.html
new file mode 100644
index 0000000..fd58ebf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setUnorderedList();
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    Cursor_insertCharacter("a");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty08-expected.html b/experiments/editorFramework/test/Layer0/formatting/empty08-expected.html
new file mode 100644
index 0000000..7be8c46
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty08-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p style="padding-left: 80px">Test</p>
+    <p>A[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/empty08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/empty08-input.html b/experiments/editorFramework/test/Layer0/formatting/empty08-input.html
new file mode 100644
index 0000000..88b04e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/empty08-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("Test");
+    Formatting_applyFormattingChanges(null,{"padding-left": "80px"});
+    Cursor_enterPressed();
+    Formatting_applyFormattingChanges(null,{"padding-left": null});
+    Cursor_insertCharacter("A");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-expected.html
new file mode 100644
index 0000000..cf47ff1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = p

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-input.html
new file mode 100644
index 0000000..222cbfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class01-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-expected.html
new file mode 100644
index 0000000..820013e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = p.Something

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-input.html
new file mode 100644
index 0000000..d412a1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class02-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p class="Something">Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-expected.html
new file mode 100644
index 0000000..d53bd12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = h1

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-input.html
new file mode 100644
index 0000000..6142f40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class03-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<h1>Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-expected.html
new file mode 100644
index 0000000..3031a20
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = h1.Something

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-input.html
new file mode 100644
index 0000000..b169656
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class04-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<h1 class="Something">Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-expected.html
new file mode 100644
index 0000000..a347520
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = pre

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-input.html
new file mode 100644
index 0000000..5854952
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class05-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<pre>Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-expected.html
new file mode 100644
index 0000000..4b2540c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = pre.Something

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-input.html
new file mode 100644
index 0000000..f0c11a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class06-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<pre class="Something">Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-expected.html
new file mode 100644
index 0000000..da17a7b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = blockquote

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-input.html
new file mode 100644
index 0000000..afb08be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class07-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<blockquote>Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-expected.html
new file mode 100644
index 0000000..5146c6d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = blockquote.Something

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-input.html
new file mode 100644
index 0000000..d252896
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-class08-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<blockquote class="Something">Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-expected.html
new file mode 100644
index 0000000..4bca9a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-input.html
new file mode 100644
index 0000000..e9e88ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-expected.html
new file mode 100644
index 0000000..4bca9a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-input.html
new file mode 100644
index 0000000..e97854e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty01b-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.body;
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-expected.html
new file mode 100644
index 0000000..cf47ff1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = p

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-input.html
new file mode 100644
index 0000000..b9c2755
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-expected.html
new file mode 100644
index 0000000..cf47ff1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = p

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-input.html
new file mode 100644
index 0000000..210917f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("P")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-expected.html
new file mode 100644
index 0000000..d53bd12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = h1

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-input.html
new file mode 100644
index 0000000..79b753a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<h1>[]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-expected.html
new file mode 100644
index 0000000..d53bd12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = h1

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-input.html
new file mode 100644
index 0000000..f6b5a11
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty03b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("H1")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<h1></h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-expected.html
new file mode 100644
index 0000000..caa0e1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+font-weight = bold

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-input.html
new file mode 100644
index 0000000..8a79104
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<b>[]</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-expected.html
new file mode 100644
index 0000000..caa0e1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+font-weight = bold

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-input.html
new file mode 100644
index 0000000..ad06e0a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty04b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("B")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<b></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-expected.html
new file mode 100644
index 0000000..0ee5bf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-input.html
new file mode 100644
index 0000000..e964c36
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<span style="color: red">[]</span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-expected.html
new file mode 100644
index 0000000..0ee5bf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-input.html
new file mode 100644
index 0000000..bce83ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty05b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("SPAN")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<span style="color: red"></span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-expected.html
new file mode 100644
index 0000000..5bf4d75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-input.html
new file mode 100644
index 0000000..867e041
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p style="color: red">[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-expected.html
new file mode 100644
index 0000000..5bf4d75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-input.html
new file mode 100644
index 0000000..f009769
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-empty06b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("P")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p style="color: red"></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-input.html
new file mode 100644
index 0000000..079e9ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list01-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-input.html
new file mode 100644
index 0000000..eb2fe87
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list02-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One[]</li>
+</ol>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-expected.html
new file mode 100644
index 0000000..c0e2f65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one three]</p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-input.html
new file mode 100644
index 0000000..669fc77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[one<del> two</del> three]</p>
+  <p>ONE<del> TWO</del> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-expected.html
new file mode 100644
index 0000000..bc20661
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      <del>two</del>
+      three
+    </p>
+    <p>[ONE THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-input.html
new file mode 100644
index 0000000..312bdb1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del> two</del> three</p>
+  <p>[ONE<del> TWO</del> THREE]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-expected.html
new file mode 100644
index 0000000..3987d58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one[]
+      three
+    </p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-input.html
new file mode 100644
index 0000000..7c5a884
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del>[] two</del> three</p>
+  <p>ONE<del> TWO</del> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-expected.html
new file mode 100644
index 0000000..d9c75c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one three</p>
+    <p>ONE THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-input.html
new file mode 100644
index 0000000..a64a9a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<p>one<del> two</del> three</p>
+  <p>ONE<del> TWO</del> THREE</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-expected.html
new file mode 100644
index 0000000..3987d58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one[]
+      three
+    </p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-input.html
new file mode 100644
index 0000000..a1ce884
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del><b><i> t[]wo</i></b></del> three</p>
+  <p>ONE<del> TWO</del> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-expected.html
new file mode 100644
index 0000000..7302dfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>one[ three] five</p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+      <del>FOUR</del>
+      FIVE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-input.html
new file mode 100644
index 0000000..ddb86bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptDel06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del> t[wo</del> three<del> fo]ur</del> five</p>
+  <p>ONE<del> TWO</del> THREE<del> FOUR</del> FIVE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-expected.html
new file mode 100644
index 0000000..62c7869
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-input.html
new file mode 100644
index 0000000..fcd98b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>[one</li>
+    <li><ins>two</ins></li>
+    <li>three]</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-expected.html
new file mode 100644
index 0000000..f8cbc0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><ins>two</ins></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>[ONE</li>
+      <li>TWO</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-input.html
new file mode 100644
index 0000000..b6dde82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins>two</ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>[ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE]</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-expected.html
new file mode 100644
index 0000000..0943da2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[]two</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-input.html
new file mode 100644
index 0000000..d4b6a64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins>[]two</ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-expected.html
new file mode 100644
index 0000000..9be4a2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>TWO</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-input.html
new file mode 100644
index 0000000..5b1a4e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list04-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li>one</li>
+    <li><ins>two</ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-expected.html
new file mode 100644
index 0000000..59051c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><b><i>t[]wo</i></b></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins><b><i>TWO</i></b></ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-input.html
new file mode 100644
index 0000000..69387d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list05-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins><b><i>t[]wo</i></b></ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins><b><i>TWO</i></b></ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-expected.html
new file mode 100644
index 0000000..3a9ecbc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>t[wo</li>
+      <li>three</li>
+      <li>fo]ur</li>
+      <li>five</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+      <li><ins>FOUR</ins></li>
+      <li>FIVE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-input.html
new file mode 100644
index 0000000..9fa0242
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list06-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins>t[wo</ins></li>
+    <li>three</li>
+    <li><ins>fo]ur</ins></li>
+    <li>five</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+    <li><ins>FOUR</ins></li>
+    <li>FIVE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-expected.html
new file mode 100644
index 0000000..62c7869
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-input.html
new file mode 100644
index 0000000..a8b5687
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list07-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li><ins>[one</ins></li>
+    <li><ins>two</ins></li>
+    <li><ins>three]</ins></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-expected.html
new file mode 100644
index 0000000..62c7869
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-input.html
new file mode 100644
index 0000000..321f242
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list08-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><ins>one</ins></li>
+    <li><ins>two</ins></li>
+    <li><ins>three</ins></li>
+  </ul>]
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-expected.html
new file mode 100644
index 0000000..9be4a2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>TWO</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-input.html
new file mode 100644
index 0000000..0cb60e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns-list09-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><ins>one</ins></li>
+    <li><ins>two</ins></li>
+    <li><ins>three</ins></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-expected.html
new file mode 100644
index 0000000..900827e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one two three]</p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-input.html
new file mode 100644
index 0000000..f6055be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[one<ins> two</ins> three]</p>
+  <p>ONE<ins> TWO</ins> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-expected.html
new file mode 100644
index 0000000..ef642fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      <ins>two</ins>
+      three
+    </p>
+    <p>[ONE TWO THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-input.html
new file mode 100644
index 0000000..352ef9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins> two</ins> three</p>
+  <p>[ONE<ins> TWO</ins> THREE]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-expected.html
new file mode 100644
index 0000000..877060d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      [] two
+      three
+    </p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-input.html
new file mode 100644
index 0000000..96f5b13
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins>[] two</ins> three</p>
+  <p>ONE<ins> TWO</ins> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-expected.html
new file mode 100644
index 0000000..799be47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one two three</p>
+    <p>ONE TWO THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-input.html
new file mode 100644
index 0000000..c9f0740
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<p>one<ins> two</ins> three</p>
+  <p>ONE<ins> TWO</ins> THREE</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-expected.html
new file mode 100644
index 0000000..4e41681
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      <b><i>t[]wo</i></b>
+      three
+    </p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-input.html
new file mode 100644
index 0000000..a94a43f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins><b><i> t[]wo</i></b></ins> three</p>
+  <p>ONE<ins> TWO</ins> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-expected.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-expected.html
new file mode 100644
index 0000000..ab93000
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>one t[wo three fo]ur five</p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+      <ins>FOUR</ins>
+      FIVE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-input.html b/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-input.html
new file mode 100644
index 0000000..214d87a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/acceptIns06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins> t[wo</ins> three<ins> fo]ur</ins> five</p>
+  <p>ONE<ins> TWO</ins> THREE<ins> FOUR</ins> FIVE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/changetracking.css
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/changetracking.css b/experiments/editorFramework/test/Layer0/changetracking/changetracking.css
new file mode 100644
index 0000000..8e8b340
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/changetracking.css
@@ -0,0 +1,8 @@
+ins {
+    color: blue;
+}
+
+del {
+    color: red;
+    text-decoration: line-through;
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/changetracking/temp
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/changetracking/temp b/experiments/editorFramework/test/Layer0/changetracking/temp
new file mode 100644
index 0000000..82e32d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/changetracking/temp
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><ins>two</ins></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>TWO</li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-expected.html
new file mode 100644
index 0000000..1e18d87
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+First paragraph
+
+text/plain
+----------
+
+First paragraph

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-input.html
new file mode 100644
index 0000000..065262b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<blockquote>[First paragraph]</blockquote>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-expected.html
new file mode 100644
index 0000000..c3b8bf4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-expected.html
@@ -0,0 +1,17 @@
+text/html
+---------
+
+<blockquote>
+  <p>First paragraph</p>
+  <p>Second paragraph</p>
+  <p>Third paragraph</p>
+</blockquote>
+
+text/plain
+----------
+
+> First paragraph
+
+> Second paragraph
+
+> Third paragraph

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-input.html
new file mode 100644
index 0000000..aadea75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+  <p>First paragraph</p>
+  <p>Second paragraph</p>
+  <p>Third paragraph</p>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-expected.html
new file mode 100644
index 0000000..eb367ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-expected.html
@@ -0,0 +1,26 @@
+text/html
+---------
+
+<blockquote>
+  First paragraph
+  <p>Second paragraph</p>
+  Third paragraph
+  <p>Fourth paragraph</p>
+  <p>Fifth paragraph</p>
+  Sixth paragraph
+</blockquote>
+
+text/plain
+----------
+
+> First paragraph
+
+> Second paragraph
+
+> Third paragraph
+
+> Fourth paragraph
+
+> Fifth paragraph
+
+> Sixth paragraph

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-input.html
new file mode 100644
index 0000000..3b28830
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+  First paragraph
+  <p>Second paragraph</p>
+  Third paragraph
+  <p>Fourth paragraph</p>
+  <p>Fifth paragraph</p>
+  Sixth paragraph
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-expected.html
new file mode 100644
index 0000000..2388aa6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-expected.html
@@ -0,0 +1,35 @@
+text/html
+---------
+
+<blockquote>
+  Indent level 1 (start)
+  <blockquote>
+  Indent level 2 (start)
+  <blockquote>
+  Indent level 3 (start)
+  <blockquote>
+  Indent level 4
+  </blockquote>
+  Indent level 3 (end)
+  </blockquote>
+  Indent level 2 (end)
+  </blockquote>
+  Indent level 1 (end)
+</blockquote>
+
+text/plain
+----------
+
+> Indent level 1 (start)
+
+> > Indent level 2 (start)
+
+> > > Indent level 3 (start)
+
+> > > > Indent level 4
+
+> > > Indent level 3 (end)
+
+> > Indent level 2 (end)
+
+> Indent level 1 (end)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-input.html
new file mode 100644
index 0000000..2579492
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote04-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+  Indent level 1 (start)
+  <blockquote>
+  Indent level 2 (start)
+  <blockquote>
+  Indent level 3 (start)
+  <blockquote>
+  Indent level 4
+  </blockquote>
+  Indent level 3 (end)
+  </blockquote>
+  Indent level 2 (end)
+  </blockquote>
+  Indent level 1 (end)
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-expected.html
new file mode 100644
index 0000000..af9d6ff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-expected.html
@@ -0,0 +1,17 @@
+text/html
+---------
+
+<blockquote>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+</blockquote>
+
+text/plain
+----------
+
+>   - One
+>   - Two
+>   - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-input.html
new file mode 100644
index 0000000..31b7690
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-expected.html
new file mode 100644
index 0000000..ebad115
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-expected.html
@@ -0,0 +1,19 @@
+text/html
+---------
+
+<blockquote>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+</blockquote>
+
+text/plain
+----------
+
+>   - One
+
+>   - Two
+
+>   - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-input.html
new file mode 100644
index 0000000..d9ecd85
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote06-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-expected.html
new file mode 100644
index 0000000..9c1a995
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-expected.html
@@ -0,0 +1,17 @@
+text/html
+---------
+
+<blockquote>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</blockquote>
+
+text/plain
+----------
+
+> 1.  One
+> 2.  Two
+> 3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-input.html
new file mode 100644
index 0000000..732b088
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote07-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-expected.html
new file mode 100644
index 0000000..06ef23c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-expected.html
@@ -0,0 +1,19 @@
+text/html
+---------
+
+<blockquote>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</blockquote>
+
+text/plain
+----------
+
+> 1.  One
+
+> 2.  Two
+
+> 3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-input.html
new file mode 100644
index 0000000..7a48981
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote08-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-expected.html
new file mode 100644
index 0000000..9fd1fe2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-expected.html
@@ -0,0 +1,41 @@
+text/html
+---------
+
+<ol>
+  <li>
+    <blockquote>First block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Second block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Third block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+</ol>
+
+text/plain
+----------
+
+1.  > First block quote
+
+    > inside
+
+    > list
+
+2.  > Second block quote
+
+    > inside
+
+    > list
+
+3.  > Third block quote
+
+    > inside
+
+    > list

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-input.html
new file mode 100644
index 0000000..57b56a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-blockquote09-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>
+    <blockquote>First block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Second block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Third block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-expected.html
new file mode 100644
index 0000000..a4ae6fc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-expected.html
@@ -0,0 +1,15 @@
+text/html
+---------
+
+<p>*Sample* text</p>
+<p>**Sample** text</p>
+<p>***Sample*** text</p>
+
+text/plain
+----------
+
+\*Sample\* text
+
+\*\*Sample\*\* text
+
+\*\*\*Sample\*\*\* text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-input.html
new file mode 100644
index 0000000..339d39d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p>*Sample* text</p>
+<p>**Sample** text</p>
+<p>***Sample*** text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-expected.html
new file mode 100644
index 0000000..2d0e0fc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+[Daring Fireball](http://daringfireball.net) [Apple](http://www.apple.com)
+
+text/plain
+----------
+
+\[Daring Fireball\](http://daringfireball.net) \[Apple\](http://www.apple.com)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-input.html
new file mode 100644
index 0000000..c5182c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // Use DOM APIs here because we can't include literal [ and ] in page
+    removeWhitespaceAndCommentNodes(document.body);
+    var text = DOM_createTextNode(document,
+                                  "[Daring Fireball](http://daringfireball.net) "+
+                                  "[Apple](http://www.apple.com)");
+    DOM_appendChild(document.body,text);
+    Selection_set(document.body,0,document.body,document.body.childNodes.length);
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-expected.html
new file mode 100644
index 0000000..984bc6f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+To include a literal backslash (\) in markdown, you must write \\.
+
+text/plain
+----------
+
+To include a literal backslash (\\) in markdown, you must write \\\\.

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-input.html
new file mode 100644
index 0000000..b5df756
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping03-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[To include a literal backslash (\) in markdown, you must write \\.]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-expected.html
new file mode 100644
index 0000000..a11807a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-expected.html
@@ -0,0 +1,16 @@
+text/html
+---------
+
+Here is some example of markdown syntax, which should appear literally since it is inside pre tag:
+<pre>1. One *italic* **bold** ***italic and bold***
+2. Two \* blackash \\
+3. Three [Daring Fireball](http://daringfireball.net)</pre>
+
+text/plain
+----------
+
+Here is some example of markdown syntax, which should appear literally since it is inside pre tag:
+
+    1. One *italic* **bold** ***italic and bold***
+    2. Two \* blackash \\
+    3. Three [Daring Fireball](http://daringfireball.net)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-input.html
new file mode 100644
index 0000000..797b210
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-escaping04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var pre = document.getElementsByTagName("PRE")[0];
+    var text = pre;
+    while (text.lastChild != null) // will be wrapped in a selection span
+        text = text.lastChild;
+    var str = " [Daring Fireball](http://daringfireball.net)";
+    DOM_insertCharacters(text,text.nodeValue.length,str);
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[Here is some example of markdown syntax, which should appear literally since it is inside pre tag:
+<pre>
+1. One *italic* **bold** ***italic and bold***
+2. Two \* blackash \\
+3. Three</pre>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-expected.html
new file mode 100644
index 0000000..43ede38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b>Sample text</b>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-input.html
new file mode 100644
index 0000000..9305958
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<b>Sample text</b>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-expected.html
new file mode 100644
index 0000000..43ede38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b>Sample text</b>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-input.html
new file mode 100644
index 0000000..605bf25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b>[Sample text]</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-expected.html
new file mode 100644
index 0000000..b4f29e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b>mple</b>
+
+text/plain
+----------
+
+**mple**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-input.html
new file mode 100644
index 0000000..75788fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting01c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b>Sa[mple] text</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-expected.html
new file mode 100644
index 0000000..b6cafec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt">Sample text</span>
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-input.html
new file mode 100644
index 0000000..5c77ec5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<span style="color: red; font-size: 18pt">Sample text</span>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-expected.html
new file mode 100644
index 0000000..b6cafec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt">Sample text</span>
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-input.html
new file mode 100644
index 0000000..5225b3b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<span style="color: red; font-size: 18pt">[Sample text]</span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-expected.html
new file mode 100644
index 0000000..efba343
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt">mple</span>
+
+text/plain
+----------
+
+mple

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-input.html
new file mode 100644
index 0000000..36c9087
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting02c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<span style="color: red; font-size: 18pt">Sa[mple] text</span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-input.html
new file mode 100644
index 0000000..c830361
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-input.html
new file mode 100644
index 0000000..84c5270
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b>[<span style="color: red; font-size: 18pt"><i>Sample text</i></span>]</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-input.html
new file mode 100644
index 0000000..1b4cb19
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b><span style="color: red; font-size: 18pt">[<i>Sample text</i>]</span></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-input.html
new file mode 100644
index 0000000..4630537
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03d-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b><span style="color: red; font-size: 18pt"><i>[Sample text]</i></span></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-expected.html
new file mode 100644
index 0000000..b3694fc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>mple</i></span></b>
+
+text/plain
+----------
+
+***mple***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-input.html
new file mode 100644
index 0000000..e4749df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting03e-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b><span style="color: red; font-size: 18pt"><i>Sa[mple] text</i></span></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-expected.html
new file mode 100644
index 0000000..4376f4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p><b><i>Sample text</i></b></p>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-input.html
new file mode 100644
index 0000000..abea96f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p><b><i>Sample text</i></b></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-expected.html
new file mode 100644
index 0000000..4d586de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Sample text</i></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-input.html
new file mode 100644
index 0000000..4ed1ded
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p>[<b><i>Sample text</i></b>]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-expected.html
new file mode 100644
index 0000000..4d586de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Sample text</i></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-input.html
new file mode 100644
index 0000000..bb83896
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p><b>[<i>Sample text</i>]</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-expected.html
new file mode 100644
index 0000000..4d586de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Sample text</i></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-input.html
new file mode 100644
index 0000000..a00d4b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04d-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p><b><i>[Sample text]</i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-expected.html
new file mode 100644
index 0000000..13ec004
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>mple</i></b>
+
+text/plain
+----------
+
+***mple***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-input.html
new file mode 100644
index 0000000..ce7f4ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting04e-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p><b><i>Sa[mple] text</i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-expected.html
new file mode 100644
index 0000000..b2f9bb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p style="margin: 10%; text-align: center; color: red; font-size: 18pt">Sample text</p>
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-input.html
new file mode 100644
index 0000000..92afdb9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p style="margin: 10%; text-align: center; color: red; font-size: 18pt">Sample text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-expected.html
new file mode 100644
index 0000000..2753409
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt; ">Sample text</span>
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-input.html
new file mode 100644
index 0000000..0588794
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="margin: 10%; text-align: center; color: red; font-size: 18pt">[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-expected.html
new file mode 100644
index 0000000..4fad66c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt; ">mple</span>
+
+text/plain
+----------
+
+mple

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-input.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-input.html
new file mode 100644
index 0000000..9bf77a8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting05c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="margin: 10%; text-align: center; color: red; font-size: 18pt">Sa[mple] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-expected.html b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-expected.html
new file mode 100644
index 0000000..f5b44a0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/clipboard/copy-formatting06a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p style="text-align: center; color: red"><b>Sample text</b></p>
+
+text/plain
+----------
+
+**Sample text**



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement07-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement07-input.html
new file mode 100644
index 0000000..41f0578
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement07-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table>
+    <col width="80px">
+    <col width="80px">
+    <col width="80px">
+    <col width="80px">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement08-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement08-expected.html
new file mode 100644
index 0000000..e7ead65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement08-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <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/tables/addColElement08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement08-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement08-input.html
new file mode 100644
index 0000000..8cc5129
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement08-input.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement09-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement09-expected.html
new file mode 100644
index 0000000..650537f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement09-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="40%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2]</td>
+          <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/tables/addColElement09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement09-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement09-input.html
new file mode 100644
index 0000000..e564321
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement09-input.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="50%">
+    <col width="25%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2]</td>
+    </tr>
+ </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement10-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement10-expected.html
new file mode 100644
index 0000000..b7d8ae7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement10-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="16.67%"/>
+        <col width="16.67%"/>
+        <col width="16.67%"/>
+        <col width="16.67%"/>
+        <col width="16.67%"/>
+        <col width="16.67%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4]</td>
+          <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/tables/addColElement10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement10-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement10-input.html
new file mode 100644
index 0000000..1605e6c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement10-input.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement11-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement11-expected.html
new file mode 100644
index 0000000..c8de21c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement11-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="80px"/>
+        <col width="2cm"/>
+        <col width="1in"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <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/tables/addColElement11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement11-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement11-input.html
new file mode 100644
index 0000000..32bafe4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement11-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="80px">
+    <col width="2cm">
+    <col width="1in">
+    <col width="25%">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/addColElement12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement12-expected.html b/experiments/editorFramework/test/Layer0/tables/addColElement12-expected.html
new file mode 100644
index 0000000..2fcc1e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement12-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="80px"/>
+        <col width="2cm"/>
+        <col width="1in"/>
+        <col width="1in"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>[0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td><p><br/></p></td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3]</td>
+          <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/tables/addColElement12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/addColElement12-input.html b/experiments/editorFramework/test/Layer0/tables/addColElement12-input.html
new file mode 100644
index 0000000..23bb73e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/addColElement12-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Tables_addAdjacentColumn();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="80px">
+    <col width="2cm">
+    <col width="1in">
+    <tr>
+      <td>[0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-expected.html b/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-expected.html
new file mode 100644
index 0000000..04c340e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    20.
+    <table id="item1" style="width: 100%">
+      <caption>13.T12.e11.s10.t9. 8.c7.a6.p5.t4.i3.o2.n1.</caption>
+      <col width="33%"/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <tbody>
+        <tr>
+          <td><p>19.</p></td>
+          <td><p>18.</p></td>
+          <td><p>17.</p></td>
+        </tr>
+        <tr>
+          <td><p>16.</p></td>
+          <td><p>15.</p></td>
+          <td><p>14.</p></td>
+        </tr>
+      </tbody>
+    </table>
+    0.
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-input.html b/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-input.html
new file mode 100644
index 0000000..bbdc73f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/caption-moveLeft-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script language="javascript">
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,3,"100%",true,"Test caption");
+    PostponedActions_perform();
+
+    var pos = new Position(document.body,document.body.childNodes.length);
+    pos = Position_closestMatchBackwards(pos,Position_okForMovement);
+    Selection_set(pos.node,pos.offset,pos.node,pos.offset);
+
+    var positions = new Array();
+    for (var i = 0; i <= 20; i++) {
+        positions.push(Selection_get().end);
+        Cursor_moveLeft();
+    }
+
+    for (var i = 0; i < positions.length; i++) {
+        var pos = positions[i];
+        Selection_set(pos.node,pos.offset,pos.node,pos.offset);
+        Cursor_insertCharacter(i+".",false,true);
+    }
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/caption-moveRight-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/caption-moveRight-expected.html b/experiments/editorFramework/test/Layer0/tables/caption-moveRight-expected.html
new file mode 100644
index 0000000..c6b40a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/caption-moveRight-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    0.
+    <table id="item1" style="width: 100%">
+      <caption>7.T8.e9.s10.t11. 12.c13.a14.p15.t16.i17.o18.n19.</caption>
+      <col width="33%"/>
+      <col width="33%"/>
+      <col width="33%"/>
+      <tbody>
+        <tr>
+          <td><p>1.</p></td>
+          <td><p>2.</p></td>
+          <td><p>3.</p></td>
+        </tr>
+        <tr>
+          <td><p>4.</p></td>
+          <td><p>5.</p></td>
+          <td><p>6.</p></td>
+        </tr>
+      </tbody>
+    </table>
+    20.
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/caption-moveRight-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/caption-moveRight-input.html b/experiments/editorFramework/test/Layer0/tables/caption-moveRight-input.html
new file mode 100644
index 0000000..cef72b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/caption-moveRight-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script language="javascript">
+function performTest()
+{
+    Outline_init();
+
+    Tables_insertTable(2,3,"100%",true,"Test caption");
+    PostponedActions_perform();
+
+    var pos = new Position(document.body,0);
+    pos = Position_closestMatchForwards(pos,Position_okForMovement);
+    Selection_set(pos.node,pos.offset,pos.node,pos.offset);
+
+    var positions = new Array();
+    for (var i = 0; i <= 20; i++) {
+        positions.push(Selection_get().end);
+        Cursor_moveRight();
+    }
+
+    for (var i = positions.length-1; i >= 0; i--) {
+        var pos = positions[i];
+        Selection_set(pos.node,pos.offset,pos.node,pos.offset);
+        Cursor_insertCharacter(i+".",false,true);
+    }
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy01-expected.html b/experiments/editorFramework/test/Layer0/tables/copy01-expected.html
new file mode 100644
index 0000000..9d0fce3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy01-expected.html
@@ -0,0 +1,26 @@
+<table border="1" id="item1">
+    <tbody><tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </tbody></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy01-input.html b/experiments/editorFramework/test/Layer0/tables/copy01-input.html
new file mode 100644
index 0000000..f4ed1df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy01-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  [<table border="1">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy02-expected.html b/experiments/editorFramework/test/Layer0/tables/copy02-expected.html
new file mode 100644
index 0000000..d19d6fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy02-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>One</td><td>Two</td><td>Three</td><td>Four</td></tr><tr><td>Five</td><td>Six</td><td>Seven</td><td>Eight</td></tr><tr><td>Nine</td><td>Ten</td><td>Eleven</td><td>Twelve</td></tr><tr><td>Thirteen</td><td>Fourteen</td><td>Fifteen</td><td>Sixteen</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy02-input.html b/experiments/editorFramework/test/Layer0/tables/copy02-input.html
new file mode 100644
index 0000000..26f9349
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy02-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy03-expected.html b/experiments/editorFramework/test/Layer0/tables/copy03-expected.html
new file mode 100644
index 0000000..cb483bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy03-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>One</td></tr><tr><td>Five</td></tr><tr><td>Nine</td></tr><tr><td>Thirteen</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy03-input.html b/experiments/editorFramework/test/Layer0/tables/copy03-input.html
new file mode 100644
index 0000000..e44b804
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy03-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen]</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy04-expected.html b/experiments/editorFramework/test/Layer0/tables/copy04-expected.html
new file mode 100644
index 0000000..dbcf76a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy04-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>Four</td></tr><tr><td>Eight</td></tr><tr><td>Twelve</td></tr><tr><td>Sixteen</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy04-input.html b/experiments/editorFramework/test/Layer0/tables/copy04-input.html
new file mode 100644
index 0000000..bc99285
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy04-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>[Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy05-expected.html b/experiments/editorFramework/test/Layer0/tables/copy05-expected.html
new file mode 100644
index 0000000..9832fd1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy05-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>One</td><td>Two</td><td>Three</td><td>Four</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy05-input.html b/experiments/editorFramework/test/Layer0/tables/copy05-input.html
new file mode 100644
index 0000000..8775431
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy05-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four]</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy06-expected.html b/experiments/editorFramework/test/Layer0/tables/copy06-expected.html
new file mode 100644
index 0000000..4cfa847
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy06-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>Thirteen</td><td>Fourteen</td><td>Fifteen</td><td>Sixteen</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy06-input.html b/experiments/editorFramework/test/Layer0/tables/copy06-input.html
new file mode 100644
index 0000000..ab0daac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy06-input.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td>Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>[Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy07-expected.html b/experiments/editorFramework/test/Layer0/tables/copy07-expected.html
new file mode 100644
index 0000000..cb54621
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy07-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>One</td><td>Two</td><td>Three</td></tr><tr><td>Five</td><td colspan="2">Six</td></tr><tr><td>Nine</td><td>Ten</td><td>Eleven</td></tr><tr><td>Thirteen</td><td>Fourteen</td><td>Fifteen</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy07-input.html b/experiments/editorFramework/test/Layer0/tables/copy07-input.html
new file mode 100644
index 0000000..9021f34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy07-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td colspan="2">Six</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen]</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy08-expected.html b/experiments/editorFramework/test/Layer0/tables/copy08-expected.html
new file mode 100644
index 0000000..ffb5864
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy08-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>Two</td><td>Three</td><td>Four</td></tr><tr><td colspan="2">Six</td><td>Eight</td></tr><tr><td>Ten</td><td>Eleven</td><td>Twelve</td></tr><tr><td>Fourteen</td><td>Fifteen</td><td>Sixteen</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy08-input.html b/experiments/editorFramework/test/Layer0/tables/copy08-input.html
new file mode 100644
index 0000000..af7178a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy08-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>[Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td colspan="2">Six</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Ten</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy09-expected.html b/experiments/editorFramework/test/Layer0/tables/copy09-expected.html
new file mode 100644
index 0000000..c53667b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy09-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>One</td><td>Two</td><td>Three</td><td>Four</td></tr><tr><td>Five</td><td rowspan="2">Six</td><td>Seven</td><td>Eight</td></tr><tr><td>Nine</td><td>Eleven</td><td>Twelve</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy09-input.html b/experiments/editorFramework/test/Layer0/tables/copy09-input.html
new file mode 100644
index 0000000..e514eff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy09-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>[One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td rowspan="2">Six</td>
+      <td>Seven</td>
+      <td>Eight]</td>
+    </tr>
+    <tr>
+      <td>Nine</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy10-expected.html b/experiments/editorFramework/test/Layer0/tables/copy10-expected.html
new file mode 100644
index 0000000..69a9ac8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy10-expected.html
@@ -0,0 +1 @@
+<table border="1"><tr><td>Five</td><td rowspan="2">Six</td><td>Seven</td><td>Eight</td></tr><tr><td>Nine</td><td>Eleven</td><td>Twelve</td></tr><tr><td>Thirteen</td><td>Fourteen</td><td>Fifteen</td><td>Sixteen</td></tr></table>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/copy10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/copy10-input.html b/experiments/editorFramework/test/Layer0/tables/copy10-input.html
new file mode 100644
index 0000000..ea60720
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/copy10-input.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    var result = Clipboard_copy()["text/html"];
+    showSelection();
+    return result;
+}
+</script>
+</head>
+<body>
+  <table border="1">
+    <tr>
+      <td>One</td>
+      <td>Two</td>
+      <td>Three</td>
+      <td>Four</td>
+    </tr>
+    <tr>
+      <td>Five</td>
+      <td rowspan="2">Six</td>
+      <td>Seven</td>
+      <td>Eight</td>
+    </tr>
+    <tr>
+      <td>[Nine</td>
+      <td>Eleven</td>
+      <td>Twelve</td>
+    </tr>
+    <tr>
+      <td>Thirteen</td>
+      <td>Fourteen</td>
+      <td>Fifteen</td>
+      <td>Sixteen]</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-expected.html
new file mode 100644
index 0000000..86f394a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-expected.html
@@ -0,0 +1,53 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>[]</td>
+          <td/>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td/>
+          <td/>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td/>
+          <td/>
+          <td>2, 3</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td/>
+          <td/>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-input.html
new file mode 100644
index 0000000..3957bae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents01-input.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>[0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2]</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-expected.html
new file mode 100644
index 0000000..6f2ef00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-expected.html
@@ -0,0 +1,53 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>[]</td>
+          <td/>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td/>
+          <td/>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td/>
+          <td/>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td/>
+          <td/>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-input.html
new file mode 100644
index 0000000..0aa9405
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents02-input.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>[1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3]</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-expected.html
new file mode 100644
index 0000000..15bbf9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-expected.html
@@ -0,0 +1,53 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>[]</td>
+          <td/>
+          <td/>
+          <td/>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td/>
+          <td/>
+          <td/>
+          <td/>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-input.html
new file mode 100644
index 0000000..16e6ed5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents03-input.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>[1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3]</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-expected.html
new file mode 100644
index 0000000..d7e1e46
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-expected.html
@@ -0,0 +1,53 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>[]</td>
+          <td/>
+          <td/>
+          <td/>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td/>
+          <td/>
+          <td/>
+          <td/>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-input.html
new file mode 100644
index 0000000..c9ef817
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents04-input.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>[2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3</td>
+      <td>3, 4]</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-expected.html
new file mode 100644
index 0000000..9e04ed2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-expected.html
@@ -0,0 +1,53 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>[]</td>
+          <td/>
+          <td/>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td/>
+          <td/>
+          <td/>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td/>
+          <td/>
+          <td/>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-input.html
new file mode 100644
index 0000000..ec6b1d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents05-input.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>[1, 1</td>
+      <td>1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1</td>
+      <td>2, 2</td>
+      <td>2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2</td>
+      <td>3, 3]</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-expected.html
new file mode 100644
index 0000000..4a2fc0d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-expected.html
@@ -0,0 +1,50 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td/>
+          <td>[]</td>
+          <td/>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td/>
+          <td colspan="2" rowspan="2"/>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td/>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-input.html
new file mode 100644
index 0000000..f22d0fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents06-input.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>[1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>2, 1]</td>
+      <td colspan="2" rowspan="2">2, 2</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-expected.html
new file mode 100644
index 0000000..31380ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-expected.html
@@ -0,0 +1,50 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td/>
+          <td>[]</td>
+          <td/>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td colspan="2" rowspan="2"/>
+          <td/>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td/>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-input.html
new file mode 100644
index 0000000..0618fc2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents07-input.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td>[1, 2</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td colspan="2" rowspan="2">2, 1</td>
+      <td>2, 3]</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-expected.html
new file mode 100644
index 0000000..89fa9d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-expected.html
@@ -0,0 +1,50 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td/>
+          <td colspan="2" rowspan="2"/>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>[]</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td/>
+          <td/>
+          <td/>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-input.html
new file mode 100644
index 0000000..9eaded9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents08-input.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td>1, 1</td>
+      <td colspan="2" rowspan="2">1, 2</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>[2, 1</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2]</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-expected.html
new file mode 100644
index 0000000..578c2ff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-expected.html
@@ -0,0 +1,50 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td colspan="2" rowspan="2"/>
+          <td/>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>[]</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td/>
+          <td/>
+          <td/>
+          <td>3, 4</td>
+        </tr>
+        <tr>
+          <td>4, 0</td>
+          <td>4, 1</td>
+          <td>4, 2</td>
+          <td>4, 3</td>
+          <td>4, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-input.html b/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-input.html
new file mode 100644
index 0000000..698376c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteCellContents09-input.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+
+<body>
+  <table style="width: 100%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <col width="20%">
+    <tr>
+      <td>0, 0</td>
+      <td>0, 1</td>
+      <td>0, 2</td>
+      <td>0, 3</td>
+      <td>0, 4</td>
+    </tr>
+    <tr>
+      <td>1, 0</td>
+      <td colspan="2" rowspan="2">1, 1</td>
+      <td>1, 3</td>
+      <td>1, 4</td>
+    </tr>
+    <tr>
+      <td>2, 0</td>
+      <td>[2, 3</td>
+      <td>2, 4</td>
+    </tr>
+    <tr>
+      <td>3, 0</td>
+      <td>3, 1</td>
+      <td>3, 2]</td>
+      <td>3, 3</td>
+      <td>3, 4</td>
+    </tr>
+    <tr>
+      <td>4, 0</td>
+      <td>4, 1</td>
+      <td>4, 2</td>
+      <td>4, 3</td>
+      <td>4, 4</td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements01-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements01-expected.html
new file mode 100644
index 0000000..2dc2e25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements01-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements01-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements01-input.html
new file mode 100644
index 0000000..bd7cf31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements01-input.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1" style="width: 100%">
+    <colgroup>
+      <col width="20%"/>
+      <col width="20%"/>
+      <col width="20%"/>
+      <col width="20%"/>
+      <col width="20%"/>
+    </colgroup>
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>0, 3</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td>1, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td>2, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <td>3, 3</td>
+        <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/tables/deleteColElements02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements02-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements02-expected.html
new file mode 100644
index 0000000..6dfe236
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements02-expected.html
@@ -0,0 +1,35 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements02-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements02-input.html
new file mode 100644
index 0000000..0c960a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements02-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1" style="width: 100%">
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>0, 3</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td>1, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td>2, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <td>3, 3</td>
+        <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/tables/deleteColElements05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements05-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements05-expected.html
new file mode 100644
index 0000000..118c116
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements05-expected.html
@@ -0,0 +1,51 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="15%"/>
+        <col width="15%"/>
+        <col width="15%"/>
+        <col width="15%"/>
+        <col width="15%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+          <td>0, 5</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+          <td>1, 5</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+          <td>2, 5</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+          <td>3, 5</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements05-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements05-input.html
new file mode 100644
index 0000000..513d7ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements05-input.html
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1" style="width: 100%">
+    <colgroup>
+      <col width="12%"/>
+      <col width="12%"/>
+      <col width="12%"/>
+      <col width="12%"/>
+      <col width="12%"/>
+      <col width="20%"/>
+      <col width="20%"/>
+    </colgroup>
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>0, 3</td>
+        <td>0, 4</td>
+        <td>0, 5</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td>1, 3</td>
+        <td>1, 4</td>
+        <td>1, 5</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td>2, 3</td>
+        <td>2, 4</td>
+        <td>2, 5</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <td>3, 3</td>
+        <td>3, 4</td>
+        <td>3, 5</td>
+        <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/tables/deleteColElements06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements06-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements06-expected.html
new file mode 100644
index 0000000..bbd0a77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements06-expected.html
@@ -0,0 +1,36 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="50%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements06-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements06-input.html
new file mode 100644
index 0000000..7191c8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements06-input.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1" style="width: 100%">
+    <colgroup>
+      <col width="40%"/>
+      <col width="20%"/>
+      <col width="20%"/>
+      <col width="20%"/>
+    </colgroup>
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <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/tables/deleteColElements07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements07-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements07-expected.html
new file mode 100644
index 0000000..56afad6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements07-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1">
+      <colgroup>
+        <col width="80px"/>
+        <col width="80px"/>
+        <col width="80px"/>
+        <col width="80px"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements07-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements07-input.html
new file mode 100644
index 0000000..b17f99d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements07-input.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1">
+    <colgroup>
+      <col width="80px"/>
+      <col width="80px"/>
+      <col width="80px"/>
+      <col width="80px"/>
+      <col width="80px"/>
+    </colgroup>
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>0, 3</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td>1, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td>2, 3</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <td>3, 3</td>
+        <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/tables/deleteColElements10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements10-expected.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements10-expected.html
new file mode 100644
index 0000000..8ec8a5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements10-expected.html
@@ -0,0 +1,46 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table id="item1" style="width: 100%">
+      <colgroup>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+        <col width="20%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td>0, 0</td>
+          <td>0, 1</td>
+          <td>0, 2</td>
+          <td>0, 3</td>
+          <td>0, 4</td>
+        </tr>
+        <tr>
+          <td>1, 0</td>
+          <td>1, 1</td>
+          <td>1, 2</td>
+          <td>1, 3</td>
+          <td>1, 4</td>
+        </tr>
+        <tr>
+          <td>2, 0</td>
+          <td>2, 1</td>
+          <td>2, 2</td>
+          <td>2, 3</td>
+          <td>2, 4</td>
+        </tr>
+        <tr>
+          <td>3, 0</td>
+          <td>3, 1</td>
+          <td>3, 2</td>
+          <td>3, 3</td>
+          <td>3, 4</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/tables/deleteColElements10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/tables/deleteColElements10-input.html b/experiments/editorFramework/test/Layer0/tables/deleteColElements10-input.html
new file mode 100644
index 0000000..ca4ebb2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/tables/deleteColElements10-input.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+  <table id="item1" style="width: 100%">
+    <colgroup>
+      <col width="16.67%"/>
+      <col width="16.67%"/>
+      <col width="16.67%"/>
+      <col width="16.67%"/>
+      <col width="16.67%"/>
+      <col width="16.67%"/>
+    </colgroup>
+    <tbody>
+      <tr>
+        <td>0, 0</td>
+        <td>0, 1</td>
+        <td>0, 2</td>
+        <td>0, 3</td>
+        <td>0, 4</td>
+        <td>[<p><br/></p></td>
+      </tr>
+      <tr>
+        <td>1, 0</td>
+        <td>1, 1</td>
+        <td>1, 2</td>
+        <td>1, 3</td>
+        <td>1, 4</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>2, 0</td>
+        <td>2, 1</td>
+        <td>2, 2</td>
+        <td>2, 3</td>
+        <td>2, 4</td>
+        <td><p><br/></p></td>
+      </tr>
+      <tr>
+        <td>3, 0</td>
+        <td>3, 1</td>
+        <td>3, 2</td>
+        <td>3, 3</td>
+        <td>3, 4</td>
+        <td><p><br/></p>]</td>
+      </tr>
+    </tbody>
+  </table>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode01-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode01-expected.html
new file mode 100644
index 0000000..6aad3c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <tt/>
+    <span>Zero</span>
+    <p><span>One</span></p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode01-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode01-input.html
new file mode 100644
index 0000000..c2a167f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[0],ps[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode02-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode02-expected.html
new file mode 100644
index 0000000..8aca2c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><span>One</span></p>
+    <tt/>
+    <span>Zero</span>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode02-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode02-input.html
new file mode 100644
index 0000000..6ca508a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode02-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[0],ps[1]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode03-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode03-expected.html
new file mode 100644
index 0000000..023e626
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><span>One</span></p>
+    <p>Two</p>
+    <tt/>
+    <span>Zero</span>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode03-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode03-input.html
new file mode 100644
index 0000000..f2f4fe0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[0],ps[2]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode04-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode04-expected.html
new file mode 100644
index 0000000..0d92ebe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><span>One</span></p>
+    <p>Two</p>
+    <p>Three</p>
+    <tt/>
+    <span>Zero</span>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode04-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode04-input.html
new file mode 100644
index 0000000..2ad8ecc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[0],ps[3]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode05-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode05-expected.html
new file mode 100644
index 0000000..53dc1fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <tt/>
+    <span>One</span>
+    <p><span>Zero</span></p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode05-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode05-input.html
new file mode 100644
index 0000000..2db783e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[1],ps[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode06-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode06-expected.html
new file mode 100644
index 0000000..5842ce2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><span>Zero</span></p>
+    <tt/>
+    <span>One</span>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode06-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode06-input.html
new file mode 100644
index 0000000..5f32219
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode06-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[1],ps[1]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode07-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode07-expected.html
new file mode 100644
index 0000000..97072cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><span>Zero</span></p>
+    <p>Two</p>
+    <tt/>
+    <span>One</span>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode07-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode07-input.html
new file mode 100644
index 0000000..255861c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode07-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[1],ps[2]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode08-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode08-expected.html
new file mode 100644
index 0000000..dd2d2eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p><span>Zero</span></p>
+    <p>Two</p>
+    <p>Three</p>
+    <tt/>
+    <span>One</span>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode08-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode08-input.html
new file mode 100644
index 0000000..47fa98a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode08-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[1],null);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode09-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode09-expected.html
new file mode 100644
index 0000000..380df29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode09-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <span>One</span>
+    <p>
+      <tt/>
+      <span>Zero</span>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode09-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode09-input.html
new file mode 100644
index 0000000..7f0184b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode09-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[1],ps[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode10-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode10-expected.html
new file mode 100644
index 0000000..064dc3a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode10-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <span>Zero</span>
+    <p>
+      <tt/>
+      <span>One</span>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode10-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode10-input.html
new file mode 100644
index 0000000..72d7950
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode10-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[0],ps[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode11-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode11-expected.html
new file mode 100644
index 0000000..03e6860
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode11-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <span>Zero</span>
+    <p>
+      <span>One</span>
+      <tt/>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode11-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode11-input.html
new file mode 100644
index 0000000..bcf7118
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode11-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],2);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[0],ps[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode12-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode12-expected.html
new file mode 100644
index 0000000..1b755ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode12-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <span>One</span>
+    <p>
+      <span>Zero</span>
+      <tt/>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode12-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode12-input.html
new file mode 100644
index 0000000..d6705a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode12-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],2);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0].childNodes[1],ps[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode13-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode13-expected.html
new file mode 100644
index 0000000..52a99f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode13-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <tt/>
+      <span>Zero</span>
+      <span>One</span>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode13-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode13-input.html
new file mode 100644
index 0000000..1d81cf1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode13-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0],ps[1]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode14-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode14-expected.html
new file mode 100644
index 0000000..f05211e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode14-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Two</p>
+    <p>
+      <tt/>
+      <span>Zero</span>
+      <span>One</span>
+    </p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode14-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode14-input.html
new file mode 100644
index 0000000..6b75dbf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode14-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0],ps[2]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode15-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode15-expected.html
new file mode 100644
index 0000000..18b713e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode15-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Two</p>
+    <p>Three</p>
+    <p>
+      <tt/>
+      <span>Zero</span>
+      <span>One</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode15-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode15-input.html
new file mode 100644
index 0000000..18e8ce2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode15-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(document.body,ps[0],null);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode16-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode16-expected.html
new file mode 100644
index 0000000..755c665
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode16-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <tt/>
+      <span>One</span>
+      <span>Zero</span>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode16-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode16-input.html
new file mode 100644
index 0000000..e68ea06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode16-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(ps[0],ps[0].childNodes[1],ps[0].childNodes[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode17-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode17-expected.html
new file mode 100644
index 0000000..8f57d94
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode17-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <tt/>
+      <p>Two</p>
+      <p>Three</p>
+      <span>Zero</span>
+      <span>One</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode17-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode17-input.html
new file mode 100644
index 0000000..10a0f66
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode17-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        var p2 = ps[2];
+        var p1 = ps[1];
+        DOM_insertBefore(ps[0],p2,ps[0].childNodes[0]);
+        DOM_insertBefore(ps[0],p1,ps[0].childNodes[0]);
+   });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode18-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode18-expected.html
new file mode 100644
index 0000000..651d030
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode18-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <p>Two</p>
+      <p>Three</p>
+      <span>Zero</span>
+      <tt/>
+      <span>One</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode18-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode18-input.html
new file mode 100644
index 0000000..ce625dd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode18-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        var p2 = ps[2];
+        var p1 = ps[1];
+        DOM_insertBefore(ps[0],p2,ps[0].childNodes[0]);
+        DOM_insertBefore(ps[0],p1,ps[0].childNodes[0]);
+   });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode19-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode19-expected.html
new file mode 100644
index 0000000..214a26f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode19-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <p>Two</p>
+      <p>Three</p>
+      <span>Zero</span>
+      <span>One</span>
+      <tt/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode19-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode19-input.html
new file mode 100644
index 0000000..5c1892e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode19-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],2);
+
+    Position_trackWhileExecuting([position],function() {
+        var p2 = ps[2];
+        var p1 = ps[1];
+        DOM_insertBefore(ps[0],p2,ps[0].childNodes[0]);
+        DOM_insertBefore(ps[0],p1,ps[0].childNodes[0]);
+   });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode20-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode20-expected.html
new file mode 100644
index 0000000..755c665
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode20-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <tt/>
+      <span>One</span>
+      <span>Zero</span>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode20-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode20-input.html
new file mode 100644
index 0000000..e68ea06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode20-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(ps[0],ps[0].childNodes[1],ps[0].childNodes[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode21-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode21-expected.html
new file mode 100644
index 0000000..f581aa7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode21-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span>One</span>
+      <tt/>
+      <span>Zero</span>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode21-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode21-input.html
new file mode 100644
index 0000000..c5f6902
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode21-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],0);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(ps[0],ps[0].childNodes[0],null);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode22-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode22-expected.html
new file mode 100644
index 0000000..755c665
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode22-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <tt/>
+      <span>One</span>
+      <span>Zero</span>
+    </p>
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode22-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode22-input.html
new file mode 100644
index 0000000..5664cf1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode22-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(ps[0],ps[0].childNodes[1],ps[0].childNodes[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode23-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode23-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode23-expected.html
new file mode 100644
index 0000000..ada5910
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode23-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span>Two</span>
+      <span>Zero</span>
+      <tt/>
+      <span>One</span>
+    </p>
+    <p>Three</p>
+    <p>Four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode23-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode23-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode23-input.html
new file mode 100644
index 0000000..94907ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode23-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(ps[0],ps[0].childNodes[2],ps[0].childNodes[0]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span><span>Two</span></p><p>Three</p><p>Four</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode24-expected.html b/experiments/editorFramework/test/Layer0/dom/moveNode24-expected.html
new file mode 100644
index 0000000..1d4e46e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode24-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span>Zero</span>
+      <tt/>
+      <span>Two</span>
+      <span>One</span>
+    </p>
+    <p>Three</p>
+    <p>Four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveNode24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveNode24-input.html b/experiments/editorFramework/test/Layer0/dom/moveNode24-input.html
new file mode 100644
index 0000000..3446e6c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveNode24-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var position = new Position(ps[0],1);
+
+    Position_trackWhileExecuting([position],function() {
+        DOM_insertBefore(ps[0],ps[0].childNodes[2],ps[0].childNodes[1]);
+    });
+
+    var tt = DOM_createElement(document,"tt");
+    insertAtPosition(position,tt);
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span><span>Two</span></p><p>Three</p><p>Four</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/nextNode01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/nextNode01-expected.html b/experiments/editorFramework/test/Layer0/dom/nextNode01-expected.html
new file mode 100644
index 0000000..2ab6dd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/nextNode01-expected.html
@@ -0,0 +1,25 @@
+BODY
+n1
+n2
+n3
+n4
+n5
+n6
+n7
+n8
+n9
+n10
+n11
+n12
+n13
+n14
+n15
+n16
+n17
+n18
+n19
+n20
+n21
+n22
+n23
+n24

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/nextNode01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/nextNode01-input.html b/experiments/editorFramework/test/Layer0/dom/nextNode01-input.html
new file mode 100644
index 0000000..7a01d19
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/nextNode01-input.html
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    var result = new Array();
+    var current = document.body;
+    while (current != null) {
+        result.push(stringForNode(current));
+        current = nextNode(current);
+    }
+    return result.join("\n");
+
+    function stringForNode(node)
+    {
+        if ((node.nodeType == Node.ELEMENT_NODE) && (node.hasAttribute("id")))
+            return node.getAttribute("id");
+        else if (node.nodeType == Node.TEXT_NODE)
+            return node.nodeValue;
+        else
+            return node.nodeName;
+    }
+}
+</script>
+</head>
+<body>
+
+  <div id="n1">
+    <p id="n2">
+      <span id="n3">n4</span>
+      <span id="n5">n6</span>
+    </p>
+    <p id="n7">
+      <span id="n8"></span>
+      <span id="n9"></span>
+    </p>
+    <p id="n10">
+      <span id="n11"></span>
+    </p>
+    <p id="n12">
+    </p>
+  </div>
+
+  <div id="n13">
+    <p id="n14">
+    </p>
+    <p id="n15">
+      <span id="n16"></span>
+    </p>
+    <p id="n17">
+      <span id="n18"></span>
+      <span id="n19"></span>
+    </p>
+    <p id="n20">
+      <span id="n21">n22</span>
+      <span id="n23">n24</span>
+    </p>
+  </div>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/nextNode02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/nextNode02-expected.html b/experiments/editorFramework/test/Layer0/dom/nextNode02-expected.html
new file mode 100644
index 0000000..209a7a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/nextNode02-expected.html
@@ -0,0 +1,76 @@
+Current BODY
+Entering n1
+    Current n1
+    Entering n2
+        Current n2
+        Entering n3
+            Current n3
+            Entering n4
+                Current n4
+            Exiting n4
+        Exiting n3
+        Entering n5
+            Current n5
+            Entering n6
+                Current n6
+            Exiting n6
+        Exiting n5
+    Exiting n2
+    Entering n7
+        Current n7
+        Entering n8
+            Current n8
+        Exiting n8
+        Entering n9
+            Current n9
+        Exiting n9
+    Exiting n7
+    Entering n10
+        Current n10
+        Entering n11
+            Current n11
+        Exiting n11
+    Exiting n10
+    Entering n12
+        Current n12
+    Exiting n12
+Exiting n1
+Entering n13
+    Current n13
+    Entering n14
+        Current n14
+    Exiting n14
+    Entering n15
+        Current n15
+        Entering n16
+            Current n16
+        Exiting n16
+    Exiting n15
+    Entering n17
+        Current n17
+        Entering n18
+            Current n18
+        Exiting n18
+        Entering n19
+            Current n19
+        Exiting n19
+    Exiting n17
+    Entering n20
+        Current n20
+        Entering n21
+            Current n21
+            Entering n22
+                Current n22
+            Exiting n22
+        Exiting n21
+        Entering n23
+            Current n23
+            Entering n24
+                Current n24
+            Exiting n24
+        Exiting n23
+    Exiting n20
+Exiting n13
+Exiting BODY
+Exiting HTML
+Exiting #document

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/nextNode02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/nextNode02-input.html b/experiments/editorFramework/test/Layer0/dom/nextNode02-input.html
new file mode 100644
index 0000000..04d52a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/nextNode02-input.html
@@ -0,0 +1,76 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    removeWhitespaceAndCommentNodes(document.body);
+    var result = new Array();
+    var current = document.body;
+    var indent = "";
+    while (current != null) {
+        result.push(indent+"Current "+stringForNode(current));
+        current = nextNode(current,entering,exiting);
+    }
+    return result.join("\n");
+
+    function entering(node)
+    {
+        result.push(indent+"Entering "+stringForNode(node));
+        indent += "    ";
+    }
+
+    function exiting(node)
+    {
+        indent = indent.substring(0,indent.length-4);
+        result.push(indent+"Exiting "+stringForNode(node));
+    }
+
+    function stringForNode(node)
+    {
+        if ((node.nodeType == Node.ELEMENT_NODE) && (node.hasAttribute("id")))
+            return node.getAttribute("id");
+        else if (node.nodeType == Node.TEXT_NODE)
+            return node.nodeValue;
+        else
+            return node.nodeName;
+    }
+}
+</script>
+</head>
+<body>
+
+  <div id="n1">
+    <p id="n2">
+      <span id="n3">n4</span>
+      <span id="n5">n6</span>
+    </p>
+    <p id="n7">
+      <span id="n8"></span>
+      <span id="n9"></span>
+    </p>
+    <p id="n10">
+      <span id="n11"></span>
+    </p>
+    <p id="n12">
+    </p>
+  </div>
+
+  <div id="n13">
+    <p id="n14">
+    </p>
+    <p id="n15">
+      <span id="n16"></span>
+    </p>
+    <p id="n17">
+      <span id="n18"></span>
+      <span id="n19"></span>
+    </p>
+    <p id="n20">
+      <span id="n21">n22</span>
+      <span id="n23">n24</span>
+    </p>
+  </div>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-expected.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-expected.html
new file mode 100644
index 0000000..13bb807
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    (0)
+    <span>Zero</span>
+    (1)
+    <span>One</span>
+    (2)
+    <p>Two</p>
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-input.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-input.html
new file mode 100644
index 0000000..46f4181
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren1-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var positions = new Array();
+    for (var i = 0; i <= p.childNodes.length; i++)
+        positions[i] = new Position(p,i);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_removeNodeButKeepChildren(p);
+
+        for (var i = 0; i < positions.length; i++)
+            insertTextAtPosition(positions[i],"("+i+")");
+    });
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-expected.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-expected.html
new file mode 100644
index 0000000..ad670da
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Zero</p>
+    (0)
+    <span>One</span>
+    (1)
+    <span>Two</span>
+    (2)
+    <p>Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-input.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-input.html
new file mode 100644
index 0000000..4dd7ea9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren2-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[1];
+    var positions = new Array();
+    for (var i = 0; i <= p.childNodes.length; i++)
+        positions[i] = new Position(p,i);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_removeNodeButKeepChildren(p);
+
+        for (var i = 0; i < positions.length; i++)
+            insertTextAtPosition(positions[i],"("+i+")");
+    });
+}
+</script>
+</head>
+<body><p>Zero</p><p><span>One</span><span>Two</span></p><p>Three</p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-expected.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-expected.html
new file mode 100644
index 0000000..0690de8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>Zero</p>
+    <p>One</p>
+    (0)
+    <span>Two</span>
+    (1)
+    <span>Three</span>
+    (2)
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-input.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-input.html
new file mode 100644
index 0000000..d63c2b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren3-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    var positions = new Array();
+    for (var i = 0; i <= p.childNodes.length; i++)
+        positions[i] = new Position(p,i);
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_removeNodeButKeepChildren(p);
+
+        for (var i = 0; i < positions.length; i++)
+            insertTextAtPosition(positions[i],"("+i+")");
+    });
+}
+</script>
+</head>
+<body><p>Zero</p><p>One</p><p><span>Two</span><span>Three</span></p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-expected.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-expected.html
new file mode 100644
index 0000000..b38eae0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    (0)
+    <span>Zero</span>
+    <span>One</span>
+    (1)
+    <p>Two</p>
+    (2)
+    <p>Three</p>
+    (3)
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-input.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-input.html
new file mode 100644
index 0000000..c8d2853
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren4-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var positions = new Array();
+    for (var i = 0; i <= document.body.childNodes.length; i++)
+        positions[i] = new Position(document.body,i);
+    var p = document.getElementsByTagName("P")[0];
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_removeNodeButKeepChildren(p);
+
+        for (var i = 0; i < positions.length; i++)
+            insertTextAtPosition(positions[i],"("+i+")");
+    });
+}
+</script>
+</head>
+<body><p><span>Zero</span><span>One</span></p><p>Two</p><p>Three</p></body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-expected.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-expected.html
new file mode 100644
index 0000000..a29dcec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    (0)
+    <p>Zero</p>
+    (1)
+    <span>One</span>
+    <span>Two</span>
+    (2)
+    <p>Three</p>
+    (3)
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-input.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-input.html
new file mode 100644
index 0000000..298c04f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren5-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var positions = new Array();
+    for (var i = 0; i <= document.body.childNodes.length; i++)
+        positions[i] = new Position(document.body,i);
+    var p = document.getElementsByTagName("P")[1];
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_removeNodeButKeepChildren(p);
+
+        for (var i = 0; i < positions.length; i++)
+            insertTextAtPosition(positions[i],"("+i+")");
+    });
+}
+</script>
+</head>
+<body><p>Zero</p><p><span>One</span><span>Two</span></p><p>Three</p></body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-expected.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-expected.html
new file mode 100644
index 0000000..9804d95
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    (0)
+    <p>Zero</p>
+    (1)
+    <p>One</p>
+    (2)
+    <span>Two</span>
+    <span>Three</span>
+    (3)
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-input.html b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-input.html
new file mode 100644
index 0000000..5c9c95f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/removeNodeButKeepChildren6-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var positions = new Array();
+    for (var i = 0; i <= document.body.childNodes.length; i++)
+        positions[i] = new Position(document.body,i);
+    var p = document.getElementsByTagName("P")[2];
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_removeNodeButKeepChildren(p);
+
+        for (var i = 0; i < positions.length; i++)
+            insertTextAtPosition(positions[i],"("+i+")");
+    });
+}
+</script>
+</head>
+<body><p>Zero</p><p>One</p><p><span>Two</span><span>Three</span></p></body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement01-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement01-expected.html
new file mode 100644
index 0000000..bb9a23e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      Sample text
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement01-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement01-input.html
new file mode 100644
index 0000000..f545023
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    DOM_replaceElement(p,"DIV");
+}
+</script>
+</head>
+<body>
+
+<p>Sample text</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement02-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement02-expected.html
new file mode 100644
index 0000000..7b87b12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <div>
+      Three
+    </div>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement02-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement02-input.html
new file mode 100644
index 0000000..075be26
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    DOM_replaceElement(p,"DIV");
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>Three</p>
+<p>Four</p>
+<p>Five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement03-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement03-expected.html
new file mode 100644
index 0000000..560309a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <div align="center" style="color: red">
+      Three
+    </div>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement03-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement03-input.html
new file mode 100644
index 0000000..e10bdf9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    DOM_replaceElement(p,"DIV");
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p align="center" style="color: red">Three</p>
+<p>Four</p>
+<p>Five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement04-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement04-expected.html
new file mode 100644
index 0000000..11aea06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement04-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <div>
+      Three
+      <br/>
+      Four
+      <br/>
+      Five
+    </div>
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement04-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement04-input.html
new file mode 100644
index 0000000..3b980f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    DOM_replaceElement(p,"DIV");
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>Three<br>Four<br>Five</p>
+<p>Six</p>
+<p>Seven</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement05-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement05-expected.html
new file mode 100644
index 0000000..bb0e745
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement05-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <div>
+      Three
+      <br/>
+      <b>
+        <u>Four</u>
+        <br/>
+        <i>Five</i>
+      </b>
+    </div>
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement05-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement05-input.html
new file mode 100644
index 0000000..30d494a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    DOM_replaceElement(p,"DIV");
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>Three<br><b><u>Four</u><br><i>Five</i></b></p>
+<p>Six</p>
+<p>Seven</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement06-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement06-expected.html
new file mode 100644
index 0000000..362f32d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <div>
+      Sam[ple te]xt
+    </div>
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement06-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement06-input.html
new file mode 100644
index 0000000..a8aa329
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement06-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    Selection_set(p.firstChild,3,p.firstChild,9);
+    DOM_replaceElement(p,"DIV");
+    showSelection();
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>Sample text</p>
+<p>Six</p>
+<p>Seven</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement07-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement07-expected.html
new file mode 100644
index 0000000..ef72dcb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement07-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    [
+    <div>
+      Sample text
+    </div>
+    ]
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement07-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement07-input.html
new file mode 100644
index 0000000..68d035e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement07-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    var offset = DOM_nodeOffset(p);
+    Selection_set(document.body,offset,document.body,offset+1);
+    DOM_replaceElement(p,"DIV");
+    showSelection();
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>Sample text</p>
+<p>Six</p>
+<p>Seven</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement08-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement08-expected.html
new file mode 100644
index 0000000..377cfda
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <div>
+      [Sample text]
+    </div>
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement08-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement08-input.html
new file mode 100644
index 0000000..90560bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement08-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    var range = new Range(p,0,p,1);
+    Range_trackWhileExecuting(range,function() {
+        DOM_replaceElement(p,"DIV");
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>Sample text</p>
+<p>Six</p>
+<p>Seven</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement09-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement09-expected.html
new file mode 100644
index 0000000..6c27a53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement09-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <div>
+      A
+      <br/>
+      [B
+      <br/>
+      C
+      <br/>
+      D]
+      <br/>
+      E
+    </div>
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement09-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement09-input.html
new file mode 100644
index 0000000..0e46abf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement09-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    var range = new Range(p,2,p,7);
+    Range_trackWhileExecuting(range,function() {
+        DOM_replaceElement(p,"DIV");
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>A<br>B<br>C<br>D<br>E</p>
+<p>Six</p>
+<p>Seven</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement10-expected.html b/experiments/editorFramework/test/Layer0/dom/replaceElement10-expected.html
new file mode 100644
index 0000000..34c2a40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement10-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    [
+    <div>
+      A
+      <br/>
+      B
+      <br/>
+      C
+      <br/>
+      D
+      <br/>
+      E
+    </div>
+    ]
+    <p>Six</p>
+    <p>Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/replaceElement10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/replaceElement10-input.html b/experiments/editorFramework/test/Layer0/dom/replaceElement10-input.html
new file mode 100644
index 0000000..0113327
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/replaceElement10-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[2];
+    var offset = DOM_nodeOffset(p);
+    var range = new Range(document.body,offset,document.body,offset+1);
+    Range_trackWhileExecuting(range,function() {
+        DOM_replaceElement(p,"DIV");
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>One</p>
+<p>Two</p>
+<p>A<br>B<br>C<br>D<br>E</p>
+<p>Six</p>
+<p>Seven</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-expected.html
new file mode 100644
index 0000000..648d67e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">[two] three four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-input.html
new file mode 100644
index 0000000..394273a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Range_trackWhileExecuting(range,function() {
+        Formatting_splitAroundSelection(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">[two] three four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-expected.html
new file mode 100644
index 0000000..e722f31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">two [three] four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-input.html
new file mode 100644
index 0000000..bf3250d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Range_trackWhileExecuting(range,function() {
+        Formatting_splitAroundSelection(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-expected.html
new file mode 100644
index 0000000..f3ac04e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">two three [four]</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-input.html
new file mode 100644
index 0000000..ed7cb29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-endnote03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Range_trackWhileExecuting(range,function() {
+        Formatting_splitAroundSelection(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two three [four]</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-expected.html
new file mode 100644
index 0000000..5245a0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">[two] three four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-input.html
new file mode 100644
index 0000000..256fdc7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Range_trackWhileExecuting(range,function() {
+        Formatting_splitAroundSelection(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">[two] three four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-expected.html
new file mode 100644
index 0000000..fce0569
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">two [three] four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-input.html
new file mode 100644
index 0000000..737c18d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Range_trackWhileExecuting(range,function() {
+        Formatting_splitAroundSelection(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-expected.html
new file mode 100644
index 0000000..772d336
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">two three [four]</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-input.html
new file mode 100644
index 0000000..7dd0542
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-footnote03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Range_trackWhileExecuting(range,function() {
+        Formatting_splitAroundSelection(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two three [four]</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-expected.html
new file mode 100644
index 0000000..9861c31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Thr</u>
+      </b>
+      <b><u>[]</u></b>
+      <b>
+        <u>ee</u>
+        Four
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-input.html
new file mode 100644
index 0000000..1e79e0e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u.firstChild,3,u.firstChild,3);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three</u> Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-expected.html
new file mode 100644
index 0000000..588be88
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b><u>T</u></b>
+      <b><u>[]</u></b>
+      <b>
+        <u>wo</u>
+        Three Four
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-input.html
new file mode 100644
index 0000000..9e1c9d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u.firstChild,1,u.firstChild,1);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b><u>Two</u> Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-expected.html
new file mode 100644
index 0000000..34ebb6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two Three
+        <u>Fo</u>
+      </b>
+      <b><u>[]</u></b>
+      <b><u>ur</u></b>
+      Five
+    </p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-input.html
new file mode 100644
index 0000000..14d27dd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last10a-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td><p>One</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>T[]</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</table>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-expected.html
new file mode 100644
index 0000000..82e301d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>[]</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-input.html
new file mode 100644
index 0000000..2eed181
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td>O[]</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-expected.html
new file mode 100644
index 0000000..62ea5ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            <p>
+              []
+              <br/>
+            </p>
+          </td>
+          <td><p>Two</p></td>
+        </tr>
+        <tr>
+          <td><p>Three</p></td>
+          <td><p>Four</p></td>
+        </tr>
+      </tbody>
+    </table>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-input.html
new file mode 100644
index 0000000..40b4e22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last11a-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td><p>O[]</p></td>
+    <td><p>Two</p></td>
+  </tr>
+  <tr>
+    <td><p>Three</p></td>
+    <td><p>Four</p></td>
+  </tr>
+</table>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-expected.html
new file mode 100644
index 0000000..a22d7f4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-input.html
new file mode 100644
index 0000000..eec9f55
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-last13-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-expected.html
new file mode 100644
index 0000000..890a81d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Text
+      []
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-input.html
new file mode 100644
index 0000000..18e561a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text<a href="http://www.uxproductivity.com">UX Productivity</a>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-expected.html
new file mode 100644
index 0000000..7b72d83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-input.html
new file mode 100644
index 0000000..2a1dd79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertLink("UX Productivity","http://www.uxproductivity.com");
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-expected.html
new file mode 100644
index 0000000..e83036d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Text
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-input.html
new file mode 100644
index 0000000..8547177
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text<a href="http://www.uxproductivity.com">UX Productivity</a>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-expected.html
new file mode 100644
index 0000000..e83036d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Text
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-input.html
new file mode 100644
index 0000000..abc026c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-link04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertLink("UX Productivity","http://www.uxproductivity.com");
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-expected.html
new file mode 100644
index 0000000..ac79517
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before[]One</p>
+    <ul>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-input.html
new file mode 100644
index 0000000..ef43999
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>[]One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-expected.html
new file mode 100644
index 0000000..39a39b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three[]After</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-input.html
new file mode 100644
index 0000000..a772cf7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+<p>[]After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-expected.html
new file mode 100644
index 0000000..e4b53f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before[]</p>
+    <ul>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-input.html
new file mode 100644
index 0000000..bc3501c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>[]</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-expected.html
new file mode 100644
index 0000000..15bedaf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before[]</p>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-input.html
new file mode 100644
index 0000000..fa89fb0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<ul>
+  <li>[]</li>
+</ul>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-expected.html
new file mode 100644
index 0000000..2d59fcd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[]One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-input.html
new file mode 100644
index 0000000..d073741
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[]One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-expected.html
new file mode 100644
index 0000000..1e26a12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>[]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-input.html
new file mode 100644
index 0000000..f81ced9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>[]</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-input.html
new file mode 100644
index 0000000..8fef80e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-list07-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var lip = document.getElementsByTagName("P")[1];
+    Selection_set(lip,0,lip,0);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+<ul>
+  <li>
+    <p><br></p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-expected.html
new file mode 100644
index 0000000..7f13d9b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="test">Heading</h1>
+    <p>
+      Text
+      []
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-input.html
new file mode 100644
index 0000000..7dc3ebd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="test">Heading</h1>
+<p>Text<a href="#test"></a>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-expected.html
new file mode 100644
index 0000000..8555d94
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="test">Heading</h1>
+    <p>Text[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-input.html
new file mode 100644
index 0000000..4af20c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_insertReference("test");
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="test">Heading</h1>
+<p>Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-expected.html
new file mode 100644
index 0000000..80384f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="test">Heading</h1>
+    <p>
+      Text
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-input.html
new file mode 100644
index 0000000..191d976
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="test">Heading</h1>
+<p>Text<a href="#test"></a>[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-expected.html
new file mode 100644
index 0000000..80384f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <style>
+    </style>
+  </head>
+  <body>
+    <h1 id="test">Heading</h1>
+    <p>
+      Text
+      []after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-input.html
new file mode 100644
index 0000000..de3c54a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-reference04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    setupOutlineNumbering();
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_insertReference("test");
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1 id="test">Heading</h1>
+<p>Text[]after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-expected.html
new file mode 100644
index 0000000..dfd81a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-input.html
new file mode 100644
index 0000000..95574c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table01-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table width="100%">
+  <caption>Test caption</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+[]
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-expected.html
new file mode 100644
index 0000000..69b8a90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before[]</p>
+    <table width="100%">
+      <caption>Test caption</caption>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-input.html
new file mode 100644
index 0000000..8a94a80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+[]
+<table width="100%">
+  <caption>Test caption</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-expected.html
new file mode 100644
index 0000000..dfd81a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-input.html
new file mode 100644
index 0000000..b10134d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table03-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var table = document.getElementsByTagName("TABLE")[0];
+    var offset = DOM_nodeOffset(table);
+    Cursor_set(table.parentNode,offset+1,table.parentNode,offset+1);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table width="100%">
+  <caption>Test caption</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-expected.html
new file mode 100644
index 0000000..69b8a90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before[]</p>
+    <table width="100%">
+      <caption>Test caption</caption>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-input.html
new file mode 100644
index 0000000..eaa136a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-table04-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var table = document.getElementsByTagName("TABLE")[0];
+    var offset = DOM_nodeOffset(table);
+    Cursor_set(table.parentNode,offset,table.parentNode,offset);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table width="100%">
+  <caption>Test caption</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-expected.html
new file mode 100644
index 0000000..02fd8e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table width="100%">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-input.html
new file mode 100644
index 0000000..5089a5d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table width="100%">
+  <caption>[]</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-expected.html
new file mode 100644
index 0000000..02fd8e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <table width="100%">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-input.html
new file mode 100644
index 0000000..402c13b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-tablecaption02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table width="100%">
+  <caption><b>[]</b></caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-expected.html
new file mode 100644
index 0000000..82a41eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Text after</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-input.html
new file mode 100644
index 0000000..2489640
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<nav class="tableofcontents">
+</nav>
+[]
+<p>Text after</p>
+<h1>First section</h1>
+<h1>Second section</h1>
+<h1>Third section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-expected.html
new file mode 100644
index 0000000..9cb1744
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before[]</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+      <p class="toc1"><a href="#item3">Third section</a></p>
+    </nav>
+    <p>Text after</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-input.html
new file mode 100644
index 0000000..b7fe560
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc02-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+[]
+<nav class="tableofcontents">
+</nav>
+<p>Text after</p>
+<h1>First section</h1>
+<h1>Second section</h1>
+<h1>Third section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-expected.html
new file mode 100644
index 0000000..82a41eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Text after</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-input.html
new file mode 100644
index 0000000..c0e352c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc03-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    var nav = document.getElementsByTagName("NAV")[0];
+    var offset = DOM_nodeOffset(nav);
+    Cursor_set(nav.parentNode,offset+1,nav.parentNode,offset+1);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<nav class="tableofcontents">
+</nav>
+[]
+<p>Text after</p>
+<h1>First section</h1>
+<h1>Second section</h1>
+<h1>Third section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-expected.html
new file mode 100644
index 0000000..9cb1744
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before[]</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+      <p class="toc1"><a href="#item3">Third section</a></p>
+    </nav>
+    <p>Text after</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-input.html
new file mode 100644
index 0000000..0ff9baf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter-toc04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    var nav = document.getElementsByTagName("NAV")[0];
+    var offset = DOM_nodeOffset(nav);
+    Cursor_set(nav.parentNode,offset,nav.parentNode,offset);
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<nav class="tableofcontents">
+</nav>
+[]
+<p>Text after</p>
+<h1>First section</h1>
+<h1>Second section</h1>
+<h1>Third section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-expected.html
new file mode 100644
index 0000000..b8521ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample tex[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-input.html
new file mode 100644
index 0000000..81243d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-expected.html
new file mode 100644
index 0000000..778bf58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Samp[]e text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-input.html
new file mode 100644
index 0000000..b570e41
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sampl[]e text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-expected.html
new file mode 100644
index 0000000..2ad40ec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-input.html
new file mode 100644
index 0000000..6f6c38f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-expected.html
new file mode 100644
index 0000000..26501f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one[]Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-input.html
new file mode 100644
index 0000000..a94bd08
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First one</p>
+<p>[]Second two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-expected.html
new file mode 100644
index 0000000..26501f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one[]Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-input.html
new file mode 100644
index 0000000..e425b90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+First one
+<p>[]Second two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-expected.html
new file mode 100644
index 0000000..26501f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one[]Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-input.html
new file mode 100644
index 0000000..becf324
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter04b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First one</p>
+[]Second two
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-expected.html
new file mode 100644
index 0000000..e72ef9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>First one[]Second two</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-input.html
new file mode 100644
index 0000000..7b6b698
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>First one</b></p>
+<p><b>[]Second two</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-expected.html
new file mode 100644
index 0000000..e72ef9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>First one[]Second two</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-input.html
new file mode 100644
index 0000000..2a25c6a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<b>First one</b>
+<p><b>[]Second two</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-expected.html
new file mode 100644
index 0000000..e72ef9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>First one[]Second two</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-input.html
new file mode 100644
index 0000000..02f5f42
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter05b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>First one</b></p>
+<b>[]Second two</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-expected.html
new file mode 100644
index 0000000..761f37c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First one[]Second two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-input.html
new file mode 100644
index 0000000..11356b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><p>First one</p></div>
+<div><p>[]Second two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-expected.html
new file mode 100644
index 0000000..761f37c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First one[]Second two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-input.html
new file mode 100644
index 0000000..22b4eb1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><p>First one</p></div>
+[]Second two
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-expected.html
new file mode 100644
index 0000000..761f37c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First one[]Second two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-input.html
new file mode 100644
index 0000000..8e226b0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter06b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+First one
+<div><p>[]Second two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-expected.html
new file mode 100644
index 0000000..a853cc3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p><b>First one[]Second two</b></p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-input.html
new file mode 100644
index 0000000..13775e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><p><b>First one</b></p></div>
+<div><p><b>[]Second two</b></p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-expected.html
new file mode 100644
index 0000000..a853cc3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p><b>First one[]Second two</b></p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-input.html
new file mode 100644
index 0000000..3c911fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<b>First one</b>
+<div><p><b>[]Second two</b></p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-expected.html
new file mode 100644
index 0000000..a853cc3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p><b>First one[]Second two</b></p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-input.html
new file mode 100644
index 0000000..0425949
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter07b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><p><b>First one</b></p></div>
+<b>[]Second two</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-expected.html
new file mode 100644
index 0000000..f3b5711
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>First one[]</b>
+      <i>Second two</i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-input.html
new file mode 100644
index 0000000..5bc9d77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>First one</b></p>
+<p><i>[]Second two</i></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-expected.html
new file mode 100644
index 0000000..f3b5711
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>First one[]</b>
+      <i>Second two</i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-input.html
new file mode 100644
index 0000000..437a1df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<b>First one</b>
+<p><i>[]Second two</i></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-expected.html
new file mode 100644
index 0000000..f3b5711
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>First one[]</b>
+      <i>Second two</i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-input.html
new file mode 100644
index 0000000..45b89a8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter08b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>First one</b></p>
+<i>[]Second two</i>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-expected.html
new file mode 100644
index 0000000..e27d2bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one</p>
+    <h1>Heading[]Second two</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-input.html
new file mode 100644
index 0000000..57286ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter09-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First one</p>
+<h1>Heading</h1>
+<p>[]Second two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-expected.html
new file mode 100644
index 0000000..8bdb582
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one[]Heading</p>
+    <p>Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-input.html
new file mode 100644
index 0000000..8c2fe44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter10-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First one</p>
+<h1>[]Heading</h1>
+<p>Second two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-expected.html
new file mode 100644
index 0000000..336000d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>xxxxxxx[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-input.html
new file mode 100644
index 0000000..7aeb877
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter11-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>xxxxxxxx[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-expected.html
new file mode 100644
index 0000000..4910ec8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>xxxxxx[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-input.html
new file mode 100644
index 0000000..8c9a444
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter12-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>xxxxxxxx[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-expected.html
new file mode 100644
index 0000000..8637eec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>xxxx[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-input.html
new file mode 100644
index 0000000..2a4d919
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter13-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>xxxxxxxx[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-expected.html
new file mode 100644
index 0000000..a4da091
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>A []</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-input.html
new file mode 100644
index 0000000..74f3979
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter14-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("A B");
+    Cursor_enterPressed();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-expected.html
new file mode 100644
index 0000000..e65b76c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>A  []</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-input.html
new file mode 100644
index 0000000..b01ce3d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter15-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_insertCharacter("A  B");
+    Cursor_enterPressed();
+    Cursor_deleteCharacter();
+    Cursor_deleteCharacter();
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-expected.html
new file mode 100644
index 0000000..882eb15
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    A []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-input.html
new file mode 100644
index 0000000..b9f9acf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter16-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+A B[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-expected.html
new file mode 100644
index 0000000..e98abd8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    A  []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-input.html
new file mode 100644
index 0000000..2c6d345
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter17-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+A  B[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-expected.html
new file mode 100644
index 0000000..98aba46
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>A []</p>
+    <p>C D</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-input.html
new file mode 100644
index 0000000..7044edd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter18-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    UndoManager_newGroup();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>A B[]</p>
+<p>C D</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-expected.html
new file mode 100644
index 0000000..ecb299b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>one []</p>
+    <p>three</p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-expected.html
new file mode 100644
index 0000000..70f9aed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .o.n.e.
+    <p>.t.w.o.</p>
+    .t.h.r.e.e.
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-input.html
new file mode 100644
index 0000000..584b158
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph07c-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>   one   <p>   two   </p>   three   </body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-input.html
new file mode 100644
index 0000000..83a3243
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08a-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body><p></p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-input.html
new file mode 100644
index 0000000..1c4c144
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08b-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body><p> </p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-input.html
new file mode 100644
index 0000000..1d238be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08c-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body><p>   </p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-input.html
new file mode 100644
index 0000000..fd33549
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08d-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    addEmptyTextNode(p);
+    showValidPositions();
+}
+</script>
+</head>
+<body><p></p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-input.html
new file mode 100644
index 0000000..1615000
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08e-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    DOM_deleteAllChildren(p);
+    DOM_appendChild(p,DOM_createTextNode(document,""));
+    DOM_appendChild(p,DOM_createTextNode(document,""));
+    DOM_appendChild(p,DOM_createTextNode(document,""));
+    showValidPositions();
+}
+</script>
+</head>
+<body><p></p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-input.html
new file mode 100644
index 0000000..c9ee54c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08f-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    DOM_deleteAllChildren(p);
+    DOM_appendChild(p,DOM_createTextNode(document,"\n"));
+    DOM_appendChild(p,DOM_createTextNode(document,"\n"));
+    DOM_appendChild(p,DOM_createTextNode(document,"\n"));
+    showValidPositions();
+}
+</script>
+</head>
+<body><p></p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-expected.html
new file mode 100644
index 0000000..8c272e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-input.html
new file mode 100644
index 0000000..a3d70c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-paragraph08g-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    DOM_deleteAllChildren(p);
+    DOM_appendChild(p,DOM_createTextNode(document," \n "));
+    DOM_appendChild(p,DOM_createTextNode(document," \n "));
+    DOM_appendChild(p,DOM_createTextNode(document," \n "));
+    showValidPositions();
+}
+</script>
+</head>
+<body><p></p></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-expected.html
new file mode 100644
index 0000000..66f1cef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-input.html
new file mode 100644
index 0000000..99e07ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-expected.html
new file mode 100644
index 0000000..c74e672
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-input.html
new file mode 100644
index 0000000..8cc48d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table><table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-expected.html
new file mode 100644
index 0000000..30b46c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-input.html
new file mode 100644
index 0000000..ad6dca2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01c-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+
+
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-expected.html
new file mode 100644
index 0000000..1956e9b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+    .x.
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-input.html
new file mode 100644
index 0000000..6b31537
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01d-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+
+x
+
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-expected.html
new file mode 100644
index 0000000..8b27ea1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+    <p>.t.w.o.</p>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+    <p>.t.h.r.e.e.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-input.html
new file mode 100644
index 0000000..4f958eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01e-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body><p>one</p><table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table><p>two</p><table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table><p>three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-expected.html
new file mode 100644
index 0000000..8b27ea1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-expected.html
@@ -0,0 +1,29 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.o.n.e.</p>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+    <p>.t.w.o.</p>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+    <p>.t.h.r.e.e.</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-input.html
new file mode 100644
index 0000000..64609b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table01f-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+
+<p>one</p>
+
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+
+<p>two</p>
+
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+
+<p>three</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-expected.html
new file mode 100644
index 0000000..8273bf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.</td>
+          <td>.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-input.html
new file mode 100644
index 0000000..b735c3d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td></td>
+    <td></td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-expected.html
new file mode 100644
index 0000000..8273bf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.</td>
+          <td>.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-input.html
new file mode 100644
index 0000000..7a63ffc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td> </td>
+    <td> </td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-expected.html
new file mode 100644
index 0000000..8273bf0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.</td>
+          <td>.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-input.html
new file mode 100644
index 0000000..5cd81aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table02c-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>   </td>
+    <td>   </td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-expected.html
new file mode 100644
index 0000000..66f1cef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-input.html
new file mode 100644
index 0000000..99e07ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-expected.html
new file mode 100644
index 0000000..66f1cef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-input.html
new file mode 100644
index 0000000..3ff2109
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td> Cell contents </td>
+    <td> Cell contents </td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-expected.html
new file mode 100644
index 0000000..66f1cef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-input.html
new file mode 100644
index 0000000..e8c5de3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-table03c-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <tr>
+    <td>   Cell contents   </td>
+    <td>   Cell contents   </td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-expected.html
new file mode 100644
index 0000000..1b24453
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>.F.i.r.s.t. .p.a.r.a.g.r.a.p.h.</p>
+    .
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">Section 1</a></p>
+      <p class="toc1"><a href="#item2">Section 2</a></p>
+      <p class="toc1"><a href="#item3">Section 3</a></p>
+    </nav>
+    .
+    <p>.S.e.c.o.n.d. .p.a.r.a.g.r.a.p.h.</p>
+    <h1 id="item1">.S.e.c.t.i.o.n. .1.</h1>
+    <h1 id="item2">.S.e.c.t.i.o.n. .2.</h1>
+    <h1 id="item3">.S.e.c.t.i.o.n. .3.</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-input.html
new file mode 100644
index 0000000..ed0ac50
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-toc01a-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    Outline_removeListeners();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>First paragraph[]</p>
+<p>Second paragraph</p>
+<h1>Section 1</h1>
+<h1>Section 2</h1>
+<h1>Section 3</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/validPositions.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/validPositions.js b/experiments/editorFramework/test/Layer0/position/validPositions.js
new file mode 100644
index 0000000..e158d3f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/validPositions.js
@@ -0,0 +1,141 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function oldInsertCharacter(character)
+{
+    var selectionRange = Selection_get();
+    if (selectionRange == null)
+        return;
+
+    if (!Range_isEmpty(selectionRange))
+        Selection_deleteContents();
+    var pos = selectionRange.start;
+    var node = pos.node;
+    var offset = pos.offset;
+
+    if (node.nodeType == Node.ELEMENT_NODE) {
+        var prev = node.childNodes[offset-1];
+        var next = node.childNodes[offset];
+        var emptyTextNode = DOM_createTextNode(document,"");
+        if (offset >= node.childNodes.length)
+            DOM_appendChild(node,emptyTextNode);
+        else
+            DOM_insertBefore(node,emptyTextNode,node.childNodes[offset]);
+        node = emptyTextNode;
+        offset = 0;
+    }
+
+    DOM_insertCharacters(node,offset,character);
+    Selection_set(node,offset+1,node,offset+1);
+}
+
+function showValidPositions()
+{
+    var validPositions = new Array();
+    var pos = new Position(document.body,0);
+    while (pos != null) {
+        if (Position_okForMovement(pos)) {
+//            debug("Valid position: "+pos);
+            validPositions.push(pos);
+        }
+        pos = Position_next(pos);
+    }
+
+    Position_trackWhileExecuting(validPositions,function() {
+//        for (var i = 0; i < validPositions.length; i++) {
+        for (var i = validPositions.length-1; i >= 0; i--) {
+            var pos = validPositions[i];
+            Selection_setEmptySelectionAt(pos.node,pos.offset);
+            oldInsertCharacter('.');
+        }
+    });
+}
+
+function flattenTreeToString(node)
+{
+    var result = new Array();
+    recurse(node);
+    return result.join("").replace(/\n/g," ");
+
+    function recurse(node)
+    {
+        switch (node._type) {
+        case HTML_TEXT:
+            result.push(node.nodeValue);
+            break;
+        case HTML_IMG:
+            result.push("I");
+            break;
+        default:
+            if (isOpaqueNode(node)) {
+                result.push("O");
+            }
+            else if (node.nodeType == Node.ELEMENT_NODE) {
+                for (var child = node.firstChild; child != null; child = child.nextSibling) {
+                    recurse(child);
+                }
+            }
+            break;
+        }
+    }
+}
+
+function findCursorPositionErrors(text)
+{
+    var detail = "";
+    for (var i = 0; i < text.length; i++) {
+        var prevChar = (i > 0) ? text.charAt(i-1) : null;
+        var nextChar = (i < text.length-1) ? text.charAt(i+1) : null;
+        var curChar = text.charAt(i);
+
+        if (curChar == '.') {
+            if ((prevChar == '.') || (nextChar == '.')) {
+                // Two positions not separated by a space or character
+                detail += "^";
+            }
+            else if ((prevChar != null) && (nextChar != null) &&
+                     isWhitespaceString(prevChar) && isWhitespaceString(nextChar)) {
+                // A position between two spaces
+                detail += "^";
+            }
+            else {
+                // OK
+                detail += " ";
+            }
+        }
+        else if (!isWhitespaceString(curChar)) {
+            if ((prevChar != '.') || (nextChar != '.'))
+                detail += "^";
+            else
+                detail += " ";
+        }
+    }
+    return detail;
+}
+
+function checkCursorPositions(node)
+{
+    var text = flattenTreeToString(document.body);
+    var detail = findCursorPositionErrors(text);
+    return text+"\n"+detail;
+}
+
+function addEmptyTextNode(parent)
+{
+    var text = DOM_createTextNode(document,"");
+    DOM_appendChild(parent,text);
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list01-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list01-expected.html
new file mode 100644
index 0000000..bd51c68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list01-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list01-input.html
new file mode 100644
index 0000000..0e11389
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list02-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list02-expected.html
new file mode 100644
index 0000000..bd51c68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list02-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list02-input.html
new file mode 100644
index 0000000..ea95d57
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list02-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  [<li>One</li>
+  <li>Two</li>
+  <li>Three</li>]
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list03-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list03-expected.html
new file mode 100644
index 0000000..0cc5d00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list03-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list03-input.html
new file mode 100644
index 0000000..8b1df87
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list03-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  [<li>One</li>
+  <li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list04-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list04-expected.html
new file mode 100644
index 0000000..13298cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list04-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list04-input.html
new file mode 100644
index 0000000..9c59861
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>
+  <li>Three</li>]
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list05-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list05-expected.html
new file mode 100644
index 0000000..a5cb641
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Two</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list05-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list05-input.html
new file mode 100644
index 0000000..5a4b7b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list05-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list06-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list06-expected.html
new file mode 100644
index 0000000..0cc5d00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list06-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>One</li>
+      <li>Two</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list06-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list06-input.html
new file mode 100644
index 0000000..4f51d2a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list06-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>One</li>
+  <li>Two</li>]
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list07-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list07-expected.html
new file mode 100644
index 0000000..13298cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list07-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Two</li>
+      <li>Three</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list07-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list07-input.html
new file mode 100644
index 0000000..e92082e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list07-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>
+  <li>Three</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list08-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list08-expected.html
new file mode 100644
index 0000000..3dc0859
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list08-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body/>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list08-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list08-input.html
new file mode 100644
index 0000000..39ec784
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list08-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[<ul>]
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list09-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list09-expected.html
new file mode 100644
index 0000000..3dc0859
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list09-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body/>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list09-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list09-input.html
new file mode 100644
index 0000000..0a012f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list09-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+[</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list10-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list10-expected.html
new file mode 100644
index 0000000..146d80d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list10-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Two</li>
+      <li>
+        Three
+        <ol>
+          <li>First</li>
+          <li>Second</li>
+        </ol>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list10-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list10-input.html
new file mode 100644
index 0000000..e947812
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list10-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>
+  <li>Three
+    <ol>
+      <li>First</li>
+      <li>Second</li>]
+      <li>Third</li>
+    </ol>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list11-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list11-expected.html
new file mode 100644
index 0000000..8c42856
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list11-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>Two</li>
+      <li>
+        Three
+        <ol>
+          <li>First</li>
+          <li>Second</li>
+          <li>Third</li>
+        </ol>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents-list11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents-list11-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents-list11-input.html
new file mode 100644
index 0000000..4c22fe9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents-list11-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>One</li>
+  [<li>Two</li>
+  <li>Three
+    <ol>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third</li>
+    </ol>]
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents01-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents01-expected.html
new file mode 100644
index 0000000..32ad03f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    Here is some text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents01-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents01-input.html
new file mode 100644
index 0000000..88a175c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents01-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[Here is some text]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents02-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents02-expected.html
new file mode 100644
index 0000000..c6d3e67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    is some
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents02-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents02-input.html
new file mode 100644
index 0000000..61585b0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+Here [is some] text
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents03-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents03-expected.html
new file mode 100644
index 0000000..5c06a00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    Here is
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents03-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents03-input.html
new file mode 100644
index 0000000..9030ac5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[Here is] some text
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents04-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents04-expected.html
new file mode 100644
index 0000000..a4aabd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    some text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents04-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents04-input.html
new file mode 100644
index 0000000..7607c7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+Here is [some text]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents05-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents05-expected.html
new file mode 100644
index 0000000..32ad03f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    Here is some text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents05-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents05-input.html
new file mode 100644
index 0000000..fcba8bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>[Here is some text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents06-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents06-expected.html
new file mode 100644
index 0000000..c6d3e67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    is some
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents06-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents06-input.html
new file mode 100644
index 0000000..5c4108d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents06-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents07-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents07-expected.html
new file mode 100644
index 0000000..5c06a00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    Here is
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents07-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents07-input.html
new file mode 100644
index 0000000..2d2fc95
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents07-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>[Here is] some text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents08-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents08-expected.html
new file mode 100644
index 0000000..a4aabd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    some text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents08-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents08-input.html
new file mode 100644
index 0000000..41cdea1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents08-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here is [some text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents09-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents09-expected.html
new file mode 100644
index 0000000..c359720
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents09-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Here is some text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents09-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents09-input.html
new file mode 100644
index 0000000..4aed0e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents09-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[<p>Here is some text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents10-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents10-expected.html
new file mode 100644
index 0000000..315c6b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Here is</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents10-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents10-input.html
new file mode 100644
index 0000000..163f099
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents10-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+[<p>Here is] some text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents11-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents11-expected.html
new file mode 100644
index 0000000..9e13ca6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>some text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents11-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents11-input.html
new file mode 100644
index 0000000..500c5b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents11-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here is [some text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents12-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents12-expected.html
new file mode 100644
index 0000000..7ba5c9b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents12-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <b><i><u>is some</u></i></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents12-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents12-input.html
new file mode 100644
index 0000000..76136f4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents12-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here <b><i><u>[is some]</u></i></b> text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents13-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents13-expected.html
new file mode 100644
index 0000000..7ba5c9b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents13-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <b><i><u>is some</u></i></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents13-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents13-input.html
new file mode 100644
index 0000000..1cf965b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents13-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here <b>[<i><u>is some]</u></i></b> text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents14-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents14-expected.html
new file mode 100644
index 0000000..7ba5c9b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents14-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <b><i><u>is some</u></i></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents14-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents14-input.html
new file mode 100644
index 0000000..fd1b46b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents14-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here <b><i><u>[is some</u></i>]</b> text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents15-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents15-expected.html
new file mode 100644
index 0000000..80eac4a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents15-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    Here
+    <b><i><u>is some</u></i></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents15-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents15-input.html
new file mode 100644
index 0000000..20d4149
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents15-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>[Here <b><i><u>is some</u></i>]</b> text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents16-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents16-expected.html
new file mode 100644
index 0000000..975392a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents16-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <b><i><u>is some</u></i></b>
+    text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents16-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents16-input.html
new file mode 100644
index 0000000..661f53d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents16-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>Here [<b><i><u>is some</u></i></b> text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents17-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents17-expected.html
new file mode 100644
index 0000000..11b2035
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents17-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    Here
+    <b><i><u>is some</u></i></b>
+    text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents17-input.html b/experiments/editorFramework/test/Layer0/range/cloneContents17-input.html
new file mode 100644
index 0000000..442efab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents17-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var selectionRange = Selection_get();
+    var clonedElements = Range_cloneContents(selectionRange);
+    Selection_clear();
+    DOM_deleteAllChildren(document.body);
+
+    for (var i = 0; i < clonedElements.length; i++)
+        DOM_appendChild(document.body,clonedElements[i]);
+}
+</script>
+</head>
+<body>
+<p>[Here <b><i><u>is some</u></i></b> text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/range/cloneContents18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/range/cloneContents18-expected.html b/experiments/editorFramework/test/Layer0/range/cloneContents18-expected.html
new file mode 100644
index 0000000..c135c64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/range/cloneContents18-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Here
+      <b><i><u>is some</u></i></b>
+    </p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-expected.html
new file mode 100644
index 0000000..89d566b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">.O.n.e.</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-input.html
new file mode 100644
index 0000000..5eeb81e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<h1>One</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-expected.html
new file mode 100644
index 0000000..89d566b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">.O.n.e.</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-input.html
new file mode 100644
index 0000000..4252812
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01b-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<h1> One </h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-expected.html
new file mode 100644
index 0000000..89d566b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <h1 id="item1">.O.n.e.</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-input.html
new file mode 100644
index 0000000..df30830
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-heading01c-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<h1>   One   </h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-expected.html
new file mode 100644
index 0000000..4c12360
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e
+      .
+      <img src="nothing.png"/>
+      .
+      t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-input.html
new file mode 100644
index 0000000..4c0ec12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<img src="nothing.png">two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-expected.html
new file mode 100644
index 0000000..7bf9a07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-input.html
new file mode 100644
index 0000000..1816ccf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <img src="nothing.png"> two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-expected.html
new file mode 100644
index 0000000..7bf9a07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-input.html
new file mode 100644
index 0000000..4dd969f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image01c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <img src="nothing.png">   two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-expected.html
new file mode 100644
index 0000000..e51f565
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e
+      .
+      <img src="nothing.png"/>
+      .
+      <img src="nothing.png"/>
+      .
+      t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-input.html
new file mode 100644
index 0000000..3d60f7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<img src="nothing.png"><img src="nothing.png">two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-expected.html
new file mode 100644
index 0000000..22427f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+      .
+      <img src="nothing.png"/>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-input.html
new file mode 100644
index 0000000..c646d3f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <img src="nothing.png"> <img src="nothing.png"> two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-expected.html
new file mode 100644
index 0000000..22427f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+      .
+      <img src="nothing.png"/>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-input.html
new file mode 100644
index 0000000..3c3c6eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image02c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <img src="nothing.png">   <img src="nothing.png">   two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-expected.html
new file mode 100644
index 0000000..bafe6c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e
+      .
+      <img src="nothing.png"/>
+      <b>
+        .
+        <img src="nothing.png"/>
+        .
+      </b>
+      <img src="nothing.png"/>
+      .
+      t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-input.html
new file mode 100644
index 0000000..523390a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<img src="nothing.png"><b><img src="nothing.png"></b><img src="nothing.png">two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-expected.html
new file mode 100644
index 0000000..41d536b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+      <b>
+        .
+        <img src="nothing.png"/>
+        .
+      </b>
+      .
+      <img src="nothing.png"/>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-input.html
new file mode 100644
index 0000000..65a18fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <img src="nothing.png"> <b> <img src="nothing.png"> </b> <img src="nothing.png"> two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-expected.html
new file mode 100644
index 0000000..41d536b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+      <b>
+        .
+        <img src="nothing.png"/>
+        .
+      </b>
+      .
+      <img src="nothing.png"/>
+      .
+      .t.w.o.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-input.html
new file mode 100644
index 0000000..c93771c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image03c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <img src="nothing.png">   <b>   <img src="nothing.png">   </b>   <img src="nothing.png">   two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-expected.html
new file mode 100644
index 0000000..80dd3d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <img src="nothing.png"/>
+      .
+      o.n.e
+      .
+      <img src="nothing.png"/>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-input.html
new file mode 100644
index 0000000..34cd0d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><img src="nothing.png">one<img src="nothing.png"></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-expected.html
new file mode 100644
index 0000000..47a689f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <img src="nothing.png"/>
+      .
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-input.html
new file mode 100644
index 0000000..5fffde3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <img src="nothing.png"> one <img src="nothing.png"> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-expected.html
new file mode 100644
index 0000000..47a689f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <img src="nothing.png"/>
+      .
+      .o.n.e.
+      .
+      <img src="nothing.png"/>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-input.html
new file mode 100644
index 0000000..d4a25b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-image04c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <img src="nothing.png">   one   <img src="nothing.png">   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-expected.html
new file mode 100644
index 0000000..6734e27
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e
+      <b>.t.w.o.</b>
+      t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-input.html
new file mode 100644
index 0000000..a8db41f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<b>two</b>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-expected.html
new file mode 100644
index 0000000..cab1f2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>.t.w.o.</b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-input.html
new file mode 100644
index 0000000..fc584f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <b> two </b> three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-expected.html
new file mode 100644
index 0000000..cab1f2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>.t.w.o.</b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-input.html
new file mode 100644
index 0000000..a2a6250
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <b>   two   </b>   three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-expected.html
new file mode 100644
index 0000000..cab1f2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>.t.w.o.</b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-input.html
new file mode 100644
index 0000000..d1958f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <b>two</b> three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-expected.html
new file mode 100644
index 0000000..cab1f2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>.t.w.o.</b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-input.html
new file mode 100644
index 0000000..faf6810
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <b>two</b>   three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-expected.html
new file mode 100644
index 0000000..cab1f2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>.t.w.o.</b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-input.html
new file mode 100644
index 0000000..7eb597e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01f-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<b> two </b>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-expected.html
new file mode 100644
index 0000000..cab1f2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>.t.w.o.</b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-input.html
new file mode 100644
index 0000000..4ae80f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline01g-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<b>  two  </b>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-expected.html
new file mode 100644
index 0000000..89725a8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e
+      <b><i><u>.t.w.o.</u></i></b>
+      t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-input.html
new file mode 100644
index 0000000..c3fb233
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<b><i><u>two</u></i></b>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-expected.html
new file mode 100644
index 0000000..754826f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b><i><u>.t.w.o.</u></i></b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-input.html
new file mode 100644
index 0000000..f2c714a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <b> <i> <u> two </u> </i> </b> three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-expected.html
new file mode 100644
index 0000000..754826f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b><i><u>.t.w.o.</u></i></b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-input.html
new file mode 100644
index 0000000..bc24dc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <b>   <i>   <u>   two   </u>   </i>   </b>   three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-expected.html
new file mode 100644
index 0000000..754826f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b><i><u>.t.w.o.</u></i></b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-input.html
new file mode 100644
index 0000000..ac73a64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <b><i><u>two</u></i></b> three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-expected.html
new file mode 100644
index 0000000..754826f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b><i><u>.t.w.o.</u></i></b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-input.html
new file mode 100644
index 0000000..34eb4a8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <b><i><u>two</u></i></b>   three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-expected.html
new file mode 100644
index 0000000..754826f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b><i><u>.t.w.o.</u></i></b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-input.html
new file mode 100644
index 0000000..bf36060
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02f-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<b><i><u> two </u></i></b>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-expected.html
new file mode 100644
index 0000000..754826f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b><i><u>.t.w.o.</u></i></b>
+      .t.h.r.e.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-input.html
new file mode 100644
index 0000000..f0b68f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline02g-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<b><i><u>   two   </u></i></b>three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-expected.html
new file mode 100644
index 0000000..78bfc29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e
+      <b>
+        <i><u>.t.w.o.</u></i>
+        <i><u>.t.h.r.e.e.</u></i>
+      </b>
+      f.o.u.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-input.html
new file mode 100644
index 0000000..1bdde8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<b><i><u>two</u></i><i><u>three</u></i></b>four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-expected.html
new file mode 100644
index 0000000..25c6aeb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>
+        <i><u>.t.w.o.</u></i>
+        <i><u>.t.h.r.e.e.</u></i>
+      </b>
+      .f.o.u.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-input.html
new file mode 100644
index 0000000..8a208a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one <b> <i> <u> two </u> </i> <i> <u> three </u> </i> </b> four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-expected.html
new file mode 100644
index 0000000..25c6aeb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <b>
+        <i><u>.t.w.o.</u></i>
+        <i><u>.t.h.r.e.e.</u></i>
+      </b>
+      .f.o.u.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-input.html
new file mode 100644
index 0000000..7f1de52
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline03c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one   <b>   <i>   <u>   two   </u>   </i>   <i>   <u>   three   </u>   </i>   </b>   four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-expected.html
new file mode 100644
index 0000000..9dcdd98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-input.html
new file mode 100644
index 0000000..70e5a31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b>one</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-expected.html
new file mode 100644
index 0000000..9dcdd98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-input.html
new file mode 100644
index 0000000..d482664
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b> one </b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-expected.html
new file mode 100644
index 0000000..9dcdd98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-input.html
new file mode 100644
index 0000000..8c6236d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b>   one   </b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-expected.html
new file mode 100644
index 0000000..9dcdd98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-input.html
new file mode 100644
index 0000000..183c041
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b>one</b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-expected.html
new file mode 100644
index 0000000..9dcdd98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-input.html
new file mode 100644
index 0000000..4123bfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b>one</b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-expected.html
new file mode 100644
index 0000000..9dcdd98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-input.html
new file mode 100644
index 0000000..f8eb31c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05f-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b> one </b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-expected.html
new file mode 100644
index 0000000..9dcdd98
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-input.html
new file mode 100644
index 0000000..296854c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline05g-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b>   one   </b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-input.html
new file mode 100644
index 0000000..526c5df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>one</u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-input.html
new file mode 100644
index 0000000..97f7419
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b> <i> <u> one </u> </i> </b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-input.html
new file mode 100644
index 0000000..f700bcf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b>   <i>   <u>   one   </u>   </i>   </b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-input.html
new file mode 100644
index 0000000..cce026e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b><i><u>one</u></i></b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-input.html
new file mode 100644
index 0000000..8a875cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b><i><u>one</u></i></b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-input.html
new file mode 100644
index 0000000..604712a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06f-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i><u> one </u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-input.html
new file mode 100644
index 0000000..3ca5b0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06g-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i><u>   one   </u></i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-input.html
new file mode 100644
index 0000000..9ed822f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06h-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b> <i><u>one</u></i> </b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-input.html
new file mode 100644
index 0000000..76f63b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06i-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b>   <i><u>one</u></i>   </b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-input.html
new file mode 100644
index 0000000..89ae719
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06j-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i> <u>one</u> </i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-expected.html
new file mode 100644
index 0000000..80dfe2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-input.html
new file mode 100644
index 0000000..e52a05a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline06k-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b><i>   <u>one</u>   </i></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-expected.html
new file mode 100644
index 0000000..10a0e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-input.html
new file mode 100644
index 0000000..59a7dab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b></b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-expected.html
new file mode 100644
index 0000000..10a0e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-input.html
new file mode 100644
index 0000000..4d00abd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b> </b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-expected.html
new file mode 100644
index 0000000..10a0e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-input.html
new file mode 100644
index 0000000..aae2751
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b>   </b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-expected.html
new file mode 100644
index 0000000..10a0e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-input.html
new file mode 100644
index 0000000..09c643e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <b></b> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-expected.html
new file mode 100644
index 0000000..10a0e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-input.html
new file mode 100644
index 0000000..3c88e19
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <b></b>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-expected.html
new file mode 100644
index 0000000..10a0e17
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p><b>.</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-input.html
new file mode 100644
index 0000000..d0ba907
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-inline07f-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><b> </b></p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html
new file mode 100644
index 0000000..92ed0f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuvwxyz</p>
+<p>abcdefghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html
new file mode 100644
index 0000000..df802f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efgh</b>
+      <i>
+        <b>ijklmnopqrstuv</b>
+        wxyz
+      </i>
+    </p>
+    <p>
+      <i>
+        abcd
+        <b>efghijklmnopqr</b>
+      </i>
+      <b>stuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html
new file mode 100644
index 0000000..31a5dd5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("I");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqrstuv</b>wxyz</p>
+<p>abcd<b>efghijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html
new file mode 100644
index 0000000..4e791e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efghijklmnopqrstuvwxyz</b>
+    </p>
+    <p>
+      <b>abcdefghijklmnopqrstuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html
new file mode 100644
index 0000000..14b4260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqrstuv</b>wxyz</p>
+<p>abcd<b>efghijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html
new file mode 100644
index 0000000..3fc6352
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <u><i><b>efghijklmnopqrstuvwxyz</b></i></u>
+    </p>
+    <p>
+      <u><i><b>abcdefghijklmnopqrstuv</b></i></u>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html
new file mode 100644
index 0000000..e0e88b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuvwxyz</p>
+<p>abcdefghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html
new file mode 100644
index 0000000..c34ece7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b><u><i>efghijklmnopqrstuvwxyz</i></u></b>
+    </p>
+    <p>
+      <b><u><i>abcdefghijklmnopqrstuv</i></u></b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html
new file mode 100644
index 0000000..53c9885
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuvwxyz</p>
+<p>abcdefghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html
new file mode 100644
index 0000000..4921c47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b>efghijklmnopqrstuv</b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html
new file mode 100644
index 0000000..bbfcc7b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+abcd[efghijklmnopqrstuv]wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html
new file mode 100644
index 0000000..3127dd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b>efgh</b>
+    <i><b>ijklmnopqr</b></i>
+    <b>stuv</b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html
new file mode 100644
index 0000000..ad7c159
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("I");
+}
+</script>
+</head>
+<body>
+abcd<b>efgh[ijklmnopqr]stuv</b>wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html
new file mode 100644
index 0000000..4921c47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b>efghijklmnopqrstuv</b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html
new file mode 100644
index 0000000..1bf4899
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+abcd<b>efgh[ijklmnopqr]stuv</b>wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html
new file mode 100644
index 0000000..41842ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <u><i><b>efghijklmnopqrstuv</b></i></u>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html
new file mode 100644
index 0000000..50cafa4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+}
+</script>
+</head>
+<body>
+abcd[efghijklmnopqrstuv]wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html
new file mode 100644
index 0000000..277ce07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b><u><i>efghijklmnopqrstuv</i></u></b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html
new file mode 100644
index 0000000..81958fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+abcd[efghijklmnopqrstuv]wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html
new file mode 100644
index 0000000..730af9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efghijklmnopqrstuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html
new file mode 100644
index 0000000..194b456
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html
new file mode 100644
index 0000000..83a81df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efgh</b>
+      <i><b>ijklmnopqr</b></i>
+      <b>stuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html
new file mode 100644
index 0000000..35907bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("I");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html
new file mode 100644
index 0000000..730af9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efghijklmnopqrstuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html
new file mode 100644
index 0000000..92bc131
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html
new file mode 100644
index 0000000..9e44946
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <u><i><b>efghijklmnopqrstuv</b></i></u>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html
new file mode 100644
index 0000000..6e80c27
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html
new file mode 100644
index 0000000..ed7114e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b><u><i>efghijklmnopqrstuv</i></u></b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html
new file mode 100644
index 0000000..2867cbe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/InputTests.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/InputTests.js b/experiments/editorFramework/test/Layer0/input/InputTests.js
new file mode 100644
index 0000000..d745b86
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/InputTests.js
@@ -0,0 +1,150 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function getNodeArrayText(nodes)
+{
+    var strings = new Array();
+    for (var i = 0; i < nodes.length; i++)
+        strings.push(getNodeText(nodes[i]));
+    return strings.join("");
+}
+
+function textBetweenPositions(from,to)
+{
+    var range = new Range(from.node,from.offset,to.node,to.offset);
+    var contents = Range_cloneContents(range);
+    return getNodeArrayText(contents);
+}
+
+function testMovement(direction,count)
+{
+    Outline_init();
+    PostponedActions_perform();
+    var posId = Input_addPosition(Selection_get().start);
+    for (var i = 0; i < count; i++)
+        posId = Input_positionFromPositionInDirectionOffset(posId,direction,1);
+    Input_setSelectedTextRange(posId,posId);
+    showSelection();
+}
+
+function testPositionFun(fun,granularity,direction)
+{
+    var lines = new Array();
+    var start = new Position(document.body,0);
+    var end = new Position(document.body,document.body.childNodes.length);
+
+    start = Position_closestMatchForwards(start,Position_okForMovement);
+    end = Position_closestMatchBackwards(end,Position_okForMovement);
+
+    var pos = start;
+    while (pos != null) {
+
+        var before = textBetweenPositions(start,pos);
+        var after = textBetweenPositions(pos,end);
+        var total = before+"|"+after;
+
+        var result = fun(pos,granularity,direction);
+        lines.push(JSON.stringify(total)+" -- "+result+"\n");
+
+        pos = Position_nextMatch(pos,Position_okForMovement);
+    }
+
+    return lines.join("");
+}
+
+function testPositionWithin(granularity,direction)
+{
+    return testPositionFun(Input_isPositionWithinTextUnitInDirection,granularity,direction);
+}
+
+function testPositionAtBoundary(granularity,direction)
+{
+    return testPositionFun(Input_isPositionAtBoundaryGranularityInDirection,granularity,direction);
+}
+
+function testPositionToBoundary(granularity,direction)
+{
+    var lines = new Array();
+    var start = new Position(document.body,0);
+    var end = new Position(document.body,document.body.childNodes.length);
+
+    start = Position_closestMatchForwards(start,Position_okForMovement);
+    end = Position_closestMatchBackwards(end,Position_okForMovement);
+
+    var pos = start;
+    while (pos != null) {
+
+        var oldBefore = textBetweenPositions(start,pos);
+        var oldAfter = textBetweenPositions(pos,end);
+        var oldTotal = oldBefore+"|"+oldAfter;
+
+        var resultId = Input_positionFromPositionToBoundaryInDirection(pos,granularity,direction);
+        var result = Input_getPosition(resultId);
+
+        var newBefore = textBetweenPositions(start,result);
+        var newAfter = textBetweenPositions(result,end);
+        var newTotal = newBefore+"|"+newAfter;
+
+        lines.push(JSON.stringify(oldTotal)+" -- "+JSON.stringify(newTotal)+"\n");
+
+        pos = Position_nextMatch(pos,Position_okForMovement);
+    }
+
+    return lines.join("");
+}
+
+function testRangeEnclosing(granularity,direction)
+{
+    var lines = new Array();
+    var start = new Position(document.body,0);
+    var end = new Position(document.body,document.body.childNodes.length);
+
+    start = Position_closestMatchForwards(start,Position_okForMovement);
+    end = Position_closestMatchBackwards(end,Position_okForMovement);
+
+    var pos = start;
+    while (pos != null) {
+
+        var oldBefore = textBetweenPositions(start,pos);
+        var oldAfter = textBetweenPositions(pos,end);
+        var oldTotal = oldBefore+"|"+oldAfter;
+
+        var resultIds =
+            Input_rangeEnclosingPositionWithGranularityInDirection(pos,granularity,direction);
+        if (resultIds != null) {
+            var startId = resultIds.startId;
+            var endId = resultIds.endId;
+            var rangeStart = Input_getPosition(startId);
+            var rangeEnd = Input_getPosition(endId);
+
+            var before = textBetweenPositions(start,rangeStart);
+            var middle = textBetweenPositions(rangeStart,rangeEnd);
+            var after = textBetweenPositions(rangeEnd,end);
+
+            var newTotal = before+"["+middle+"]"+after;
+
+            lines.push(JSON.stringify(oldTotal)+" -- "+JSON.stringify(newTotal)+"\n");
+        }
+        else {
+            lines.push(JSON.stringify(oldTotal)+" -- null\n");
+        }
+
+        pos = Position_nextMatch(pos,Position_okForMovement);
+    }
+
+    return lines.join("");
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html
new file mode 100644
index 0000000..354787f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html
new file mode 100644
index 0000000..0365bcf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html
new file mode 100644
index 0000000..531d638
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqr[]stuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html
new file mode 100644
index 0000000..10d5745
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html
new file mode 100644
index 0000000..16a5829
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html
new file mode 100644
index 0000000..3b67229
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",3);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html
new file mode 100644
index 0000000..ae78257
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqr[]stuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html
new file mode 100644
index 0000000..ff1e383
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",4);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html
new file mode 100644
index 0000000..8a20c29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+    <p>abcde[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html
new file mode 100644
index 0000000..cc1fe9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+<p>
+  abcde
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html
new file mode 100644
index 0000000..9de3e68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+    <p>abcdefghijklmnopqr[]stuvwxyz</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html
new file mode 100644
index 0000000..ac2e082
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html
new file mode 100644
index 0000000..ebadbee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    []
+    <p>One Two Three</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html
new file mode 100644
index 0000000..82a0ed4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>Fo[]ur Five Six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two Three</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html
new file mode 100644
index 0000000..2611df6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>On[]e Two Three</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html
new file mode 100644
index 0000000..be70ef8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>Fo[]ur Five Six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two Three</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html
new file mode 100644
index 0000000..90a48c5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    []
+    <p>One Two</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html
new file mode 100644
index 0000000..7821f93
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>Four Five Six[]</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html
new file mode 100644
index 0000000..c51b1b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    <p>One Two[]</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html
new file mode 100644
index 0000000..5b05463
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>Four Five Six[]</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html
new file mode 100644
index 0000000..d969f54
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    []
+    <p>Four five six</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html
new file mode 100644
index 0000000..c544e31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html
new file mode 100644
index 0000000..deb6260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Fou[]r five six</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html
new file mode 100644
index 0000000..fdebd9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html
new file mode 100644
index 0000000..f38a313
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four five six</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p><br/></p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html
new file mode 100644
index 0000000..430e1d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",3);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html
new file mode 100644
index 0000000..bd1417f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four five six</p>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html
new file mode 100644
index 0000000..d97ab1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",4);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html
new file mode 100644
index 0000000..944f733
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four five six</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Sev[]en eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html
new file mode 100644
index 0000000..360fd35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",5);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html
new file mode 100644
index 0000000..16a5829
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html
new file mode 100644
index 0000000..de26024
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html
new file mode 100644
index 0000000..531d638
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqr[]stuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html
new file mode 100644
index 0000000..dc841e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html
new file mode 100644
index 0000000..354787f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html
new file mode 100644
index 0000000..bc88cd8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",3);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html
new file mode 100644
index 0000000..9b9c957
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqr[]stuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html
new file mode 100644
index 0000000..c1157af
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",4);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html
new file mode 100644
index 0000000..17b1e0d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcde[]</p>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html
new file mode 100644
index 0000000..f0847c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcde
+</p>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html
new file mode 100644
index 0000000..3b60856
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcdefghijklmnopqr[]stuvwxyz</p>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html
new file mode 100644
index 0000000..40148b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html
new file mode 100644
index 0000000..2fde04c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    []
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html
new file mode 100644
index 0000000..6556792
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Fo[]ur Five Six</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html
new file mode 100644
index 0000000..16891cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>On[]e Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html
new file mode 100644
index 0000000..7274d4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Fo[]ur Five Six</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html
new file mode 100644
index 0000000..d3424ec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two</p>
+    []
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html
new file mode 100644
index 0000000..0fbc57c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>One Two</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four Five Six[]</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html
new file mode 100644
index 0000000..32f71e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two[]</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html
new file mode 100644
index 0000000..349cd1a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>One Two</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four Five Six[]</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html
new file mode 100644
index 0000000..4a136cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Four five six</p>
+    []
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html
new file mode 100644
index 0000000..da23fe4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html
new file mode 100644
index 0000000..31a2a4c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Fou[]r five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html
new file mode 100644
index 0000000..d91434d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html
new file mode 100644
index 0000000..000d852
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Four five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html
new file mode 100644
index 0000000..963272f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",3);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html
new file mode 100644
index 0000000..0045547
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p><br/></p>
+    <p>Four five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html
new file mode 100644
index 0000000..8111fba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",4);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html
new file mode 100644
index 0000000..42e2442
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One[] Two Three</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Four five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html
new file mode 100644
index 0000000..69bd7b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",5);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html
new file mode 100644
index 0000000..3db9278
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- true
+"o|ne two three four five six seven eight" -- false
+"on|e two three four five six seven eight" -- false
+"one| two three four five six seven eight" -- false
+"one |two three four five six seven eight" -- false
+"one t|wo three four five six seven eight" -- false
+"one tw|o three four five six seven eight" -- false
+"one two| three four five six seven eight" -- false
+"one two |three four five six seven eight" -- true
+"one two t|hree four five six seven eight" -- false
+"one two th|ree four five six seven eight" -- false
+"one two thr|ee four five six seven eight" -- false
+"one two thre|e four five six seven eight" -- false
+"one two three| four five six seven eight" -- false
+"one two three |four five six seven eight" -- false
+"one two three f|our five six seven eight" -- false
+"one two three fo|ur five six seven eight" -- false
+"one two three fou|r five six seven eight" -- false
+"one two three four| five six seven eight" -- false
+"one two three four |five six seven eight" -- true
+"one two three four f|ive six seven eight" -- false
+"one two three four fi|ve six seven eight" -- false
+"one two three four fiv|e six seven eight" -- false
+"one two three four five| six seven eight" -- false
+"one two three four five |six seven eight" -- false
+"one two three four five s|ix seven eight" -- false
+"one two three four five si|x seven eight" -- false
+"one two three four five six| seven eight" -- false
+"one two three four five six |seven eight" -- true
+"one two three four five six s|even eight" -- false
+"one two three four five six se|ven eight" -- false
+"one two three four five six sev|en eight" -- false
+"one two three four five six seve|n eight" -- false
+"one two three four five six seven| eight" -- false
+"one two three four five six seven |eight" -- false
+"one two three four five six seven e|ight" -- false
+"one two three four five six seven ei|ght" -- false
+"one two three four five six seven eig|ht" -- false
+"one two three four five six seven eigh|t" -- false
+"one two three four five six seven eight|" -- false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html
new file mode 100644
index 0000000..c391843
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("line","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-expected.html
new file mode 100644
index 0000000..b284f2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- false
+"o|ne two three four five six seven eight" -- false
+"on|e two three four five six seven eight" -- false
+"one| two three four five six seven eight" -- false
+"one |two three four five six seven eight" -- false
+"one t|wo three four five six seven eight" -- false
+"one tw|o three four five six seven eight" -- false
+"one two| three four five six seven eight" -- true
+"one two |three four five six seven eight" -- false
+"one two t|hree four five six seven eight" -- false
+"one two th|ree four five six seven eight" -- false
+"one two thr|ee four five six seven eight" -- false
+"one two thre|e four five six seven eight" -- false
+"one two three| four five six seven eight" -- false
+"one two three |four five six seven eight" -- false
+"one two three f|our five six seven eight" -- false
+"one two three fo|ur five six seven eight" -- false
+"one two three fou|r five six seven eight" -- false
+"one two three four| five six seven eight" -- true
+"one two three four |five six seven eight" -- false
+"one two three four f|ive six seven eight" -- false
+"one two three four fi|ve six seven eight" -- false
+"one two three four fiv|e six seven eight" -- false
+"one two three four five| six seven eight" -- false
+"one two three four five |six seven eight" -- false
+"one two three four five s|ix seven eight" -- false
+"one two three four five si|x seven eight" -- false
+"one two three four five six| seven eight" -- true
+"one two three four five six |seven eight" -- false
+"one two three four five six s|even eight" -- false
+"one two three four five six se|ven eight" -- false
+"one two three four five six sev|en eight" -- false
+"one two three four five six seve|n eight" -- false
+"one two three four five six seven| eight" -- false
+"one two three four five six seven |eight" -- false
+"one two three four five six seven e|ight" -- false
+"one two three four five six seven ei|ght" -- false
+"one two three four five six seven eig|ht" -- false
+"one two three four five six seven eigh|t" -- false
+"one two three four five six seven eight|" -- true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-input.html
new file mode 100644
index 0000000..103b502
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-forward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("line","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-expected.html
new file mode 100644
index 0000000..625a569
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- true
+"o|ne two three four five six" -- false
+"on|e two three four five six" -- false
+"one| two three four five six" -- false
+"one |two three four five six" -- false
+"one t|wo three four five six" -- false
+"one tw|o three four five six" -- false
+"one two| three four five six" -- false
+"one two |three four five six" -- true
+"one two t|hree four five six" -- false
+"one two th|ree four five six" -- false
+"one two thr|ee four five six" -- false
+"one two thre|e four five six" -- false
+"one two three| four five six" -- false
+"one two three |four five six" -- false
+"one two three f|our five six" -- false
+"one two three fo|ur five six" -- false
+"one two three fou|r five six" -- false
+"one two three four| five six" -- false
+"one two three four |five six" -- true
+"one two three four f|ive six" -- false
+"one two three four fi|ve six" -- false
+"one two three four fiv|e six" -- false
+"one two three four five| six" -- false
+"one two three four five |six" -- false
+"one two three four five s|ix" -- false
+"one two three four five si|x" -- false
+"one two three four five six|" -- false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-input.html
new file mode 100644
index 0000000..c2aefdd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-backward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("paragraph","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-backward.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-backward.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-backward.html
new file mode 100644
index 0000000..561dfef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-backward.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("paragraph","backward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-expected.html
new file mode 100644
index 0000000..4146f03
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- false
+"o|ne two three four five six" -- false
+"on|e two three four five six" -- false
+"one| two three four five six" -- false
+"one |two three four five six" -- false
+"one t|wo three four five six" -- false
+"one tw|o three four five six" -- false
+"one two| three four five six" -- true
+"one two |three four five six" -- false
+"one two t|hree four five six" -- false
+"one two th|ree four five six" -- false
+"one two thr|ee four five six" -- false
+"one two thre|e four five six" -- false
+"one two three| four five six" -- false
+"one two three |four five six" -- false
+"one two three f|our five six" -- false
+"one two three fo|ur five six" -- false
+"one two three fou|r five six" -- false
+"one two three four| five six" -- true
+"one two three four |five six" -- false
+"one two three four f|ive six" -- false
+"one two three four fi|ve six" -- false
+"one two three four fiv|e six" -- false
+"one two three four five| six" -- false
+"one two three four five |six" -- false
+"one two three four five s|ix" -- false
+"one two three four five si|x" -- false
+"one two three four five six|" -- true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-input.html
new file mode 100644
index 0000000..109973a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-paragraph-forward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("paragraph","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-expected.html
new file mode 100644
index 0000000..036a43e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- true
+"O|ne two. Three, four - five" -- false
+"On|e two. Three, four - five" -- false
+"One| two. Three, four - five" -- false
+"One |two. Three, four - five" -- true
+"One t|wo. Three, four - five" -- false
+"One tw|o. Three, four - five" -- false
+"One two|. Three, four - five" -- false
+"One two.| Three, four - five" -- true
+"One two. |Three, four - five" -- true
+"One two. T|hree, four - five" -- false
+"One two. Th|ree, four - five" -- false
+"One two. Thr|ee, four - five" -- false
+"One two. Thre|e, four - five" -- false
+"One two. Three|, four - five" -- false
+"One two. Three,| four - five" -- true
+"One two. Three, |four - five" -- true
+"One two. Three, f|our - five" -- false
+"One two. Three, fo|ur - five" -- false
+"One two. Three, fou|r - five" -- false
+"One two. Three, four| - five" -- false
+"One two. Three, four |- five" -- true
+"One two. Three, four -| five" -- true
+"One two. Three, four - |five" -- true
+"One two. Three, four - f|ive" -- false
+"One two. Three, four - fi|ve" -- false
+"One two. Three, four - fiv|e" -- false
+"One two. Three, four - five|" -- false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-input.html
new file mode 100644
index 0000000..e073b2d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-backward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("word","backward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-expected.html
new file mode 100644
index 0000000..7971ef7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- false
+"O|ne two. Three, four - five" -- false
+"On|e two. Three, four - five" -- false
+"One| two. Three, four - five" -- true
+"One |two. Three, four - five" -- false
+"One t|wo. Three, four - five" -- false
+"One tw|o. Three, four - five" -- false
+"One two|. Three, four - five" -- true
+"One two.| Three, four - five" -- false
+"One two. |Three, four - five" -- false
+"One two. T|hree, four - five" -- false
+"One two. Th|ree, four - five" -- false
+"One two. Thr|ee, four - five" -- false
+"One two. Thre|e, four - five" -- false
+"One two. Three|, four - five" -- true
+"One two. Three,| four - five" -- false
+"One two. Three, |four - five" -- false
+"One two. Three, f|our - five" -- false
+"One two. Three, fo|ur - five" -- false
+"One two. Three, fou|r - five" -- false
+"One two. Three, four| - five" -- true
+"One two. Three, four |- five" -- false
+"One two. Three, four -| five" -- false
+"One two. Three, four - |five" -- false
+"One two. Three, four - f|ive" -- false
+"One two. Three, four - fi|ve" -- false
+"One two. Three, four - fiv|e" -- false
+"One two. Three, four - five|" -- true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-input.html
new file mode 100644
index 0000000..4336298
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-word-forward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("word","forward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-expected.html
new file mode 100644
index 0000000..cb120aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- "|one two three four five six seven eight"
+"o|ne two three four five six seven eight" -- "|one two three four five six seven eight"
+"on|e two three four five six seven eight" -- "|one two three four five six seven eight"
+"one| two three four five six seven eight" -- "|one two three four five six seven eight"
+"one |two three four five six seven eight" -- "|one two three four five six seven eight"
+"one t|wo three four five six seven eight" -- "|one two three four five six seven eight"
+"one tw|o three four five six seven eight" -- "|one two three four five six seven eight"
+"one two| three four five six seven eight" -- "|one two three four five six seven eight"
+"one two |three four five six seven eight" -- "one two |three four five six seven eight"
+"one two t|hree four five six seven eight" -- "one two |three four five six seven eight"
+"one two th|ree four five six seven eight" -- "one two |three four five six seven eight"
+"one two thr|ee four five six seven eight" -- "one two |three four five six seven eight"
+"one two thre|e four five six seven eight" -- "one two |three four five six seven eight"
+"one two three| four five six seven eight" -- "one two |three four five six seven eight"
+"one two three |four five six seven eight" -- "one two |three four five six seven eight"
+"one two three f|our five six seven eight" -- "one two |three four five six seven eight"
+"one two three fo|ur five six seven eight" -- "one two |three four five six seven eight"
+"one two three fou|r five six seven eight" -- "one two |three four five six seven eight"
+"one two three four| five six seven eight" -- "one two |three four five six seven eight"
+"one two three four |five six seven eight" -- "one two three four |five six seven eight"
+"one two three four f|ive six seven eight" -- "one two three four |five six seven eight"
+"one two three four fi|ve six seven eight" -- "one two three four |five six seven eight"
+"one two three four fiv|e six seven eight" -- "one two three four |five six seven eight"
+"one two three four five| six seven eight" -- "one two three four |five six seven eight"
+"one two three four five |six seven eight" -- "one two three four |five six seven eight"
+"one two three four five s|ix seven eight" -- "one two three four |five six seven eight"
+"one two three four five si|x seven eight" -- "one two three four |five six seven eight"
+"one two three four five six| seven eight" -- "one two three four |five six seven eight"
+"one two three four five six |seven eight" -- "one two three four five six |seven eight"
+"one two three four five six s|even eight" -- "one two three four five six |seven eight"
+"one two three four five six se|ven eight" -- "one two three four five six |seven eight"
+"one two three four five six sev|en eight" -- "one two three four five six |seven eight"
+"one two three four five six seve|n eight" -- "one two three four five six |seven eight"
+"one two three four five six seven| eight" -- "one two three four five six |seven eight"
+"one two three four five six seven |eight" -- "one two three four five six |seven eight"
+"one two three four five six seven e|ight" -- "one two three four five six |seven eight"
+"one two three four five six seven ei|ght" -- "one two three four five six |seven eight"
+"one two three four five six seven eig|ht" -- "one two three four five six |seven eight"
+"one two three four five six seven eigh|t" -- "one two three four five six |seven eight"
+"one two three four five six seven eight|" -- "one two three four five six |seven eight"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-input.html
new file mode 100644
index 0000000..be724bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-backward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionToBoundary("line","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-expected.html
new file mode 100644
index 0000000..100c724
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- "one two| three four five six seven eight"
+"o|ne two three four five six seven eight" -- "one two| three four five six seven eight"
+"on|e two three four five six seven eight" -- "one two| three four five six seven eight"
+"one| two three four five six seven eight" -- "one two| three four five six seven eight"
+"one |two three four five six seven eight" -- "one two| three four five six seven eight"
+"one t|wo three four five six seven eight" -- "one two| three four five six seven eight"
+"one tw|o three four five six seven eight" -- "one two| three four five six seven eight"
+"one two| three four five six seven eight" -- "one two| three four five six seven eight"
+"one two |three four five six seven eight" -- "one two three four| five six seven eight"
+"one two t|hree four five six seven eight" -- "one two three four| five six seven eight"
+"one two th|ree four five six seven eight" -- "one two three four| five six seven eight"
+"one two thr|ee four five six seven eight" -- "one two three four| five six seven eight"
+"one two thre|e four five six seven eight" -- "one two three four| five six seven eight"
+"one two three| four five six seven eight" -- "one two three four| five six seven eight"
+"one two three |four five six seven eight" -- "one two three four| five six seven eight"
+"one two three f|our five six seven eight" -- "one two three four| five six seven eight"
+"one two three fo|ur five six seven eight" -- "one two three four| five six seven eight"
+"one two three fou|r five six seven eight" -- "one two three four| five six seven eight"
+"one two three four| five six seven eight" -- "one two three four| five six seven eight"
+"one two three four |five six seven eight" -- "one two three four five six| seven eight"
+"one two three four f|ive six seven eight" -- "one two three four five six| seven eight"
+"one two three four fi|ve six seven eight" -- "one two three four five six| seven eight"
+"one two three four fiv|e six seven eight" -- "one two three four five six| seven eight"
+"one two three four five| six seven eight" -- "one two three four five six| seven eight"
+"one two three four five |six seven eight" -- "one two three four five six| seven eight"
+"one two three four five s|ix seven eight" -- "one two three four five six| seven eight"
+"one two three four five si|x seven eight" -- "one two three four five six| seven eight"
+"one two three four five six| seven eight" -- "one two three four five six| seven eight"
+"one two three four five six |seven eight" -- "one two three four five six seven eight|"
+"one two three four five six s|even eight" -- "one two three four five six seven eight|"
+"one two three four five six se|ven eight" -- "one two three four five six seven eight|"
+"one two three four five six sev|en eight" -- "one two three four five six seven eight|"
+"one two three four five six seve|n eight" -- "one two three four five six seven eight|"
+"one two three four five six seven| eight" -- "one two three four five six seven eight|"
+"one two three four five six seven |eight" -- "one two three four five six seven eight|"
+"one two three four five six seven e|ight" -- "one two three four five six seven eight|"
+"one two three four five six seven ei|ght" -- "one two three four five six seven eight|"
+"one two three four five six seven eig|ht" -- "one two three four five six seven eight|"
+"one two three four five six seven eigh|t" -- "one two three four five six seven eight|"
+"one two three four five six seven eight|" -- "one two three four five six seven eight|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-input.html
new file mode 100644
index 0000000..c92d5e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-line-forward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionToBoundary("line","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-expected.html
new file mode 100644
index 0000000..840a8f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- "|one two three four five six"
+"o|ne two three four five six" -- "|one two three four five six"
+"on|e two three four five six" -- "|one two three four five six"
+"one| two three four five six" -- "|one two three four five six"
+"one |two three four five six" -- "|one two three four five six"
+"one t|wo three four five six" -- "|one two three four five six"
+"one tw|o three four five six" -- "|one two three four five six"
+"one two| three four five six" -- "|one two three four five six"
+"one two |three four five six" -- "one two| three four five six"
+"one two t|hree four five six" -- "one two |three four five six"
+"one two th|ree four five six" -- "one two |three four five six"
+"one two thr|ee four five six" -- "one two |three four five six"
+"one two thre|e four five six" -- "one two |three four five six"
+"one two three| four five six" -- "one two |three four five six"
+"one two three |four five six" -- "one two |three four five six"
+"one two three f|our five six" -- "one two |three four five six"
+"one two three fo|ur five six" -- "one two |three four five six"
+"one two three fou|r five six" -- "one two |three four five six"
+"one two three four| five six" -- "one two |three four five six"
+"one two three four |five six" -- "one two three four| five six"
+"one two three four f|ive six" -- "one two three four |five six"
+"one two three four fi|ve six" -- "one two three four |five six"
+"one two three four fiv|e six" -- "one two three four |five six"
+"one two three four five| six" -- "one two three four |five six"
+"one two three four five |six" -- "one two three four |five six"
+"one two three four five s|ix" -- "one two three four |five six"
+"one two three four five si|x" -- "one two three four |five six"
+"one two three four five six|" -- "one two three four |five six"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-input.html
new file mode 100644
index 0000000..54252b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-backward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionToBoundary("paragraph","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-backward.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-backward.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-backward.html
new file mode 100644
index 0000000..5700f6f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-backward.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionToBoundary("paragraph","backward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-expected.html
new file mode 100644
index 0000000..3f33d40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- "one two| three four five six"
+"o|ne two three four five six" -- "one two| three four five six"
+"on|e two three four five six" -- "one two| three four five six"
+"one| two three four five six" -- "one two| three four five six"
+"one |two three four five six" -- "one two| three four five six"
+"one t|wo three four five six" -- "one two| three four five six"
+"one tw|o three four five six" -- "one two| three four five six"
+"one two| three four five six" -- "one two |three four five six"
+"one two |three four five six" -- "one two three four| five six"
+"one two t|hree four five six" -- "one two three four| five six"
+"one two th|ree four five six" -- "one two three four| five six"
+"one two thr|ee four five six" -- "one two three four| five six"
+"one two thre|e four five six" -- "one two three four| five six"
+"one two three| four five six" -- "one two three four| five six"
+"one two three |four five six" -- "one two three four| five six"
+"one two three f|our five six" -- "one two three four| five six"
+"one two three fo|ur five six" -- "one two three four| five six"
+"one two three fou|r five six" -- "one two three four| five six"
+"one two three four| five six" -- "one two three four |five six"
+"one two three four |five six" -- "one two three four five six|"
+"one two three four f|ive six" -- "one two three four five six|"
+"one two three four fi|ve six" -- "one two three four five six|"
+"one two three four fiv|e six" -- "one two three four five six|"
+"one two three four five| six" -- "one two three four five six|"
+"one two three four five |six" -- "one two three four five six|"
+"one two three four five s|ix" -- "one two three four five six|"
+"one two three four five si|x" -- "one two three four five six|"
+"one two three four five six|" -- "one two three four five six|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-input.html
new file mode 100644
index 0000000..9e80717
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-paragraph-forward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionToBoundary("paragraph","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-expected.html
new file mode 100644
index 0000000..ba8a246
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- "|One two. Three, four - five"
+"O|ne two. Three, four - five" -- "|One two. Three, four - five"
+"On|e two. Three, four - five" -- "|One two. Three, four - five"
+"One| two. Three, four - five" -- "|One two. Three, four - five"
+"One |two. Three, four - five" -- "One| two. Three, four - five"
+"One t|wo. Three, four - five" -- "One |two. Three, four - five"
+"One tw|o. Three, four - five" -- "One |two. Three, four - five"
+"One two|. Three, four - five" -- "One |two. Three, four - five"
+"One two.| Three, four - five" -- "One two|. Three, four - five"
+"One two. |Three, four - five" -- "One two|. Three, four - five"
+"One two. T|hree, four - five" -- "One two. |Three, four - five"
+"One two. Th|ree, four - five" -- "One two. |Three, four - five"
+"One two. Thr|ee, four - five" -- "One two. |Three, four - five"
+"One two. Thre|e, four - five" -- "One two. |Three, four - five"
+"One two. Three|, four - five" -- "One two. |Three, four - five"
+"One two. Three,| four - five" -- "One two. Three|, four - five"
+"One two. Three, |four - five" -- "One two. Three|, four - five"
+"One two. Three, f|our - five" -- "One two. Three, |four - five"
+"One two. Three, fo|ur - five" -- "One two. Three, |four - five"
+"One two. Three, fou|r - five" -- "One two. Three, |four - five"
+"One two. Three, four| - five" -- "One two. Three, |four - five"
+"One two. Three, four |- five" -- "One two. Three, four| - five"
+"One two. Three, four -| five" -- "One two. Three, four| - five"
+"One two. Three, four - |five" -- "One two. Three, four| - five"
+"One two. Three, four - f|ive" -- "One two. Three, four - |five"
+"One two. Three, four - fi|ve" -- "One two. Three, four - |five"
+"One two. Three, four - fiv|e" -- "One two. Three, four - |five"
+"One two. Three, four - five|" -- "One two. Three, four - |five"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-input.html
new file mode 100644
index 0000000..e77d83c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-backward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionToBoundary("word","backward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-expected.html
new file mode 100644
index 0000000..dd822ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- "One| two. Three, four - five"
+"O|ne two. Three, four - five" -- "One| two. Three, four - five"
+"On|e two. Three, four - five" -- "One| two. Three, four - five"
+"One| two. Three, four - five" -- "One |two. Three, four - five"
+"One |two. Three, four - five" -- "One two|. Three, four - five"
+"One t|wo. Three, four - five" -- "One two|. Three, four - five"
+"One tw|o. Three, four - five" -- "One two|. Three, four - five"
+"One two|. Three, four - five" -- "One two. |Three, four - five"
+"One two.| Three, four - five" -- "One two. |Three, four - five"
+"One two. |Three, four - five" -- "One two. Three|, four - five"
+"One two. T|hree, four - five" -- "One two. Three|, four - five"
+"One two. Th|ree, four - five" -- "One two. Three|, four - five"
+"One two. Thr|ee, four - five" -- "One two. Three|, four - five"
+"One two. Thre|e, four - five" -- "One two. Three|, four - five"
+"One two. Three|, four - five" -- "One two. Three, |four - five"
+"One two. Three,| four - five" -- "One two. Three, |four - five"
+"One two. Three, |four - five" -- "One two. Three, four| - five"
+"One two. Three, f|our - five" -- "One two. Three, four| - five"
+"One two. Three, fo|ur - five" -- "One two. Three, four| - five"
+"One two. Three, fou|r - five" -- "One two. Three, four| - five"
+"One two. Three, four| - five" -- "One two. Three, four - |five"
+"One two. Three, four |- five" -- "One two. Three, four - |five"
+"One two. Three, four -| five" -- "One two. Three, four - |five"
+"One two. Three, four - |five" -- "One two. Three, four - five|"
+"One two. Three, four - f|ive" -- "One two. Three, four - five|"
+"One two. Three, four - fi|ve" -- "One two. Three, four - five|"
+"One two. Three, four - fiv|e" -- "One two. Three, four - five|"
+"One two. Three, four - five|" -- "One two. Three, four - five|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-input.html
new file mode 100644
index 0000000..422ac33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionToBoundary-word-forward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionToBoundary("word","forward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-expected.html
new file mode 100644
index 0000000..174058c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- false
+"o|ne two three four five six seven eight" -- true
+"on|e two three four five six seven eight" -- true
+"one| two three four five six seven eight" -- true
+"one |two three four five six seven eight" -- true
+"one t|wo three four five six seven eight" -- true
+"one tw|o three four five six seven eight" -- true
+"one two| three four five six seven eight" -- true
+"one two |three four five six seven eight" -- false
+"one two t|hree four five six seven eight" -- true
+"one two th|ree four five six seven eight" -- true
+"one two thr|ee four five six seven eight" -- true
+"one two thre|e four five six seven eight" -- true
+"one two three| four five six seven eight" -- true
+"one two three |four five six seven eight" -- true
+"one two three f|our five six seven eight" -- true
+"one two three fo|ur five six seven eight" -- true
+"one two three fou|r five six seven eight" -- true
+"one two three four| five six seven eight" -- true
+"one two three four |five six seven eight" -- false
+"one two three four f|ive six seven eight" -- true
+"one two three four fi|ve six seven eight" -- true
+"one two three four fiv|e six seven eight" -- true
+"one two three four five| six seven eight" -- true
+"one two three four five |six seven eight" -- true
+"one two three four five s|ix seven eight" -- true
+"one two three four five si|x seven eight" -- true
+"one two three four five six| seven eight" -- true
+"one two three four five six |seven eight" -- false
+"one two three four five six s|even eight" -- true
+"one two three four five six se|ven eight" -- true
+"one two three four five six sev|en eight" -- true
+"one two three four five six seve|n eight" -- true
+"one two three four five six seven| eight" -- true
+"one two three four five six seven |eight" -- true
+"one two three four five six seven e|ight" -- true
+"one two three four five six seven ei|ght" -- true
+"one two three four five six seven eig|ht" -- true
+"one two three four five six seven eigh|t" -- true
+"one two three four five six seven eight|" -- true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-input.html
new file mode 100644
index 0000000..650ece8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-line-backward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionWithin("line","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-expected.html
new file mode 100644
index 0000000..37124f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- true
+"o|ne two three four five six seven eight" -- true
+"on|e two three four five six seven eight" -- true
+"one| two three four five six seven eight" -- true
+"one |two three four five six seven eight" -- true
+"one t|wo three four five six seven eight" -- true
+"one tw|o three four five six seven eight" -- true
+"one two| three four five six seven eight" -- false
+"one two |three four five six seven eight" -- true
+"one two t|hree four five six seven eight" -- true
+"one two th|ree four five six seven eight" -- true
+"one two thr|ee four five six seven eight" -- true
+"one two thre|e four five six seven eight" -- true
+"one two three| four five six seven eight" -- true
+"one two three |four five six seven eight" -- true
+"one two three f|our five six seven eight" -- true
+"one two three fo|ur five six seven eight" -- true
+"one two three fou|r five six seven eight" -- true
+"one two three four| five six seven eight" -- false
+"one two three four |five six seven eight" -- true
+"one two three four f|ive six seven eight" -- true
+"one two three four fi|ve six seven eight" -- true
+"one two three four fiv|e six seven eight" -- true
+"one two three four five| six seven eight" -- true
+"one two three four five |six seven eight" -- true
+"one two three four five s|ix seven eight" -- true
+"one two three four five si|x seven eight" -- true
+"one two three four five six| seven eight" -- false
+"one two three four five six |seven eight" -- true
+"one two three four five six s|even eight" -- true
+"one two three four five six se|ven eight" -- true
+"one two three four five six sev|en eight" -- true
+"one two three four five six seve|n eight" -- true
+"one two three four five six seven| eight" -- true
+"one two three four five six seven |eight" -- true
+"one two three four five six seven e|ight" -- true
+"one two three four five six seven ei|ght" -- true
+"one two three four five six seven eig|ht" -- true
+"one two three four five six seven eigh|t" -- true
+"one two three four five six seven eight|" -- false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-input.html
new file mode 100644
index 0000000..22e9227
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-line-forward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionWithin("line","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-expected.html
new file mode 100644
index 0000000..8a1833b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- false
+"o|ne two three four five six" -- true
+"on|e two three four five six" -- true
+"one| two three four five six" -- true
+"one |two three four five six" -- true
+"one t|wo three four five six" -- true
+"one tw|o three four five six" -- true
+"one two| three four five six" -- true
+"one two |three four five six" -- false
+"one two t|hree four five six" -- true
+"one two th|ree four five six" -- true
+"one two thr|ee four five six" -- true
+"one two thre|e four five six" -- true
+"one two three| four five six" -- true
+"one two three |four five six" -- true
+"one two three f|our five six" -- true
+"one two three fo|ur five six" -- true
+"one two three fou|r five six" -- true
+"one two three four| five six" -- true
+"one two three four |five six" -- false
+"one two three four f|ive six" -- true
+"one two three four fi|ve six" -- true
+"one two three four fiv|e six" -- true
+"one two three four five| six" -- true
+"one two three four five |six" -- true
+"one two three four five s|ix" -- true
+"one two three four five si|x" -- true
+"one two three four five six|" -- true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-input.html
new file mode 100644
index 0000000..be0375d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-backward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionWithin("paragraph","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-expected.html
new file mode 100644
index 0000000..3ebabef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- true
+"o|ne two three four five six" -- true
+"on|e two three four five six" -- true
+"one| two three four five six" -- true
+"one |two three four five six" -- true
+"one t|wo three four five six" -- true
+"one tw|o three four five six" -- true
+"one two| three four five six" -- false
+"one two |three four five six" -- true
+"one two t|hree four five six" -- true
+"one two th|ree four five six" -- true
+"one two thr|ee four five six" -- true
+"one two thre|e four five six" -- true
+"one two three| four five six" -- true
+"one two three |four five six" -- true
+"one two three f|our five six" -- true
+"one two three fo|ur five six" -- true
+"one two three fou|r five six" -- true
+"one two three four| five six" -- false
+"one two three four |five six" -- true
+"one two three four f|ive six" -- true
+"one two three four fi|ve six" -- true
+"one two three four fiv|e six" -- true
+"one two three four five| six" -- true
+"one two three four five |six" -- true
+"one two three four five s|ix" -- true
+"one two three four five si|x" -- true
+"one two three four five six|" -- false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-input.html
new file mode 100644
index 0000000..ebfaf11
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-paragraph-forward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionWithin("paragraph","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-expected.html
new file mode 100644
index 0000000..46605f4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- false
+"O|ne two. Three, four - five" -- true
+"On|e two. Three, four - five" -- true
+"One| two. Three, four - five" -- true
+"One |two. Three, four - five" -- false
+"One t|wo. Three, four - five" -- true
+"One tw|o. Three, four - five" -- true
+"One two|. Three, four - five" -- true
+"One two.| Three, four - five" -- false
+"One two. |Three, four - five" -- false
+"One two. T|hree, four - five" -- true
+"One two. Th|ree, four - five" -- true
+"One two. Thr|ee, four - five" -- true
+"One two. Thre|e, four - five" -- true
+"One two. Three|, four - five" -- true
+"One two. Three,| four - five" -- false
+"One two. Three, |four - five" -- false
+"One two. Three, f|our - five" -- true
+"One two. Three, fo|ur - five" -- true
+"One two. Three, fou|r - five" -- true
+"One two. Three, four| - five" -- true
+"One two. Three, four |- five" -- false
+"One two. Three, four -| five" -- false
+"One two. Three, four - |five" -- false
+"One two. Three, four - f|ive" -- true
+"One two. Three, four - fi|ve" -- true
+"One two. Three, four - fiv|e" -- true
+"One two. Three, four - five|" -- true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-input.html
new file mode 100644
index 0000000..38035f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-word-backward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionWithin("word","backward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-expected.html b/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-expected.html
new file mode 100644
index 0000000..6efcf55
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- true
+"O|ne two. Three, four - five" -- true
+"On|e two. Three, four - five" -- true
+"One| two. Three, four - five" -- false
+"One |two. Three, four - five" -- true
+"One t|wo. Three, four - five" -- true
+"One tw|o. Three, four - five" -- true
+"One two|. Three, four - five" -- false
+"One two.| Three, four - five" -- false
+"One two. |Three, four - five" -- true
+"One two. T|hree, four - five" -- true
+"One two. Th|ree, four - five" -- true
+"One two. Thr|ee, four - five" -- true
+"One two. Thre|e, four - five" -- true
+"One two. Three|, four - five" -- false
+"One two. Three,| four - five" -- false
+"One two. Three, |four - five" -- true
+"One two. Three, f|our - five" -- true
+"One two. Three, fo|ur - five" -- true
+"One two. Three, fou|r - five" -- true
+"One two. Three, four| - five" -- false
+"One two. Three, four |- five" -- false
+"One two. Three, four -| five" -- false
+"One two. Three, four - |five" -- true
+"One two. Three, four - f|ive" -- true
+"One two. Three, four - fi|ve" -- true
+"One two. Three, four - fiv|e" -- true
+"One two. Three, four - five|" -- false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-input.html b/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-input.html
new file mode 100644
index 0000000..663e2b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionWithin-word-forward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionWithin("word","forward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-expected.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-expected.html
new file mode 100644
index 0000000..a70eeef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- null
+"o|ne two three four five six seven eight" -- "[one two] three four five six seven eight"
+"on|e two three four five six seven eight" -- "[one two] three four five six seven eight"
+"one| two three four five six seven eight" -- "[one two] three four five six seven eight"
+"one |two three four five six seven eight" -- "[one two] three four five six seven eight"
+"one t|wo three four five six seven eight" -- "[one two] three four five six seven eight"
+"one tw|o three four five six seven eight" -- "[one two] three four five six seven eight"
+"one two| three four five six seven eight" -- "[one two] three four five six seven eight"
+"one two |three four five six seven eight" -- null
+"one two t|hree four five six seven eight" -- "one two [three four] five six seven eight"
+"one two th|ree four five six seven eight" -- "one two [three four] five six seven eight"
+"one two thr|ee four five six seven eight" -- "one two [three four] five six seven eight"
+"one two thre|e four five six seven eight" -- "one two [three four] five six seven eight"
+"one two three| four five six seven eight" -- "one two [three four] five six seven eight"
+"one two three |four five six seven eight" -- "one two [three four] five six seven eight"
+"one two three f|our five six seven eight" -- "one two [three four] five six seven eight"
+"one two three fo|ur five six seven eight" -- "one two [three four] five six seven eight"
+"one two three fou|r five six seven eight" -- "one two [three four] five six seven eight"
+"one two three four| five six seven eight" -- "one two [three four] five six seven eight"
+"one two three four |five six seven eight" -- null
+"one two three four f|ive six seven eight" -- "one two three four [five six] seven eight"
+"one two three four fi|ve six seven eight" -- "one two three four [five six] seven eight"
+"one two three four fiv|e six seven eight" -- "one two three four [five six] seven eight"
+"one two three four five| six seven eight" -- "one two three four [five six] seven eight"
+"one two three four five |six seven eight" -- "one two three four [five six] seven eight"
+"one two three four five s|ix seven eight" -- "one two three four [five six] seven eight"
+"one two three four five si|x seven eight" -- "one two three four [five six] seven eight"
+"one two three four five six| seven eight" -- "one two three four [five six] seven eight"
+"one two three four five six |seven eight" -- null
+"one two three four five six s|even eight" -- "one two three four five six [seven eight]"
+"one two three four five six se|ven eight" -- "one two three four five six [seven eight]"
+"one two three four five six sev|en eight" -- "one two three four five six [seven eight]"
+"one two three four five six seve|n eight" -- "one two three four five six [seven eight]"
+"one two three four five six seven| eight" -- "one two three four five six [seven eight]"
+"one two three four five six seven |eight" -- "one two three four five six [seven eight]"
+"one two three four five six seven e|ight" -- "one two three four five six [seven eight]"
+"one two three four five six seven ei|ght" -- "one two three four five six [seven eight]"
+"one two three four five six seven eig|ht" -- "one two three four five six [seven eight]"
+"one two three four five six seven eigh|t" -- "one two three four five six [seven eight]"
+"one two three four five six seven eight|" -- "one two three four five six [seven eight]"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-input.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-input.html
new file mode 100644
index 0000000..2e3f0f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-backward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testRangeEnclosing("line","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-expected.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-expected.html
new file mode 100644
index 0000000..6444df9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- "[one two] three four five six seven eight"
+"o|ne two three four five six seven eight" -- "[one two] three four five six seven eight"
+"on|e two three four five six seven eight" -- "[one two] three four five six seven eight"
+"one| two three four five six seven eight" -- "[one two] three four five six seven eight"
+"one |two three four five six seven eight" -- "[one two] three four five six seven eight"
+"one t|wo three four five six seven eight" -- "[one two] three four five six seven eight"
+"one tw|o three four five six seven eight" -- "[one two] three four five six seven eight"
+"one two| three four five six seven eight" -- "[one two] three four five six seven eight"
+"one two |three four five six seven eight" -- "one two [three four] five six seven eight"
+"one two t|hree four five six seven eight" -- "one two [three four] five six seven eight"
+"one two th|ree four five six seven eight" -- "one two [three four] five six seven eight"
+"one two thr|ee four five six seven eight" -- "one two [three four] five six seven eight"
+"one two thre|e four five six seven eight" -- "one two [three four] five six seven eight"
+"one two three| four five six seven eight" -- "one two [three four] five six seven eight"
+"one two three |four five six seven eight" -- "one two [three four] five six seven eight"
+"one two three f|our five six seven eight" -- "one two [three four] five six seven eight"
+"one two three fo|ur five six seven eight" -- "one two [three four] five six seven eight"
+"one two three fou|r five six seven eight" -- "one two [three four] five six seven eight"
+"one two three four| five six seven eight" -- "one two [three four] five six seven eight"
+"one two three four |five six seven eight" -- "one two three four [five six] seven eight"
+"one two three four f|ive six seven eight" -- "one two three four [five six] seven eight"
+"one two three four fi|ve six seven eight" -- "one two three four [five six] seven eight"
+"one two three four fiv|e six seven eight" -- "one two three four [five six] seven eight"
+"one two three four five| six seven eight" -- "one two three four [five six] seven eight"
+"one two three four five |six seven eight" -- "one two three four [five six] seven eight"
+"one two three four five s|ix seven eight" -- "one two three four [five six] seven eight"
+"one two three four five si|x seven eight" -- "one two three four [five six] seven eight"
+"one two three four five six| seven eight" -- "one two three four [five six] seven eight"
+"one two three four five six |seven eight" -- "one two three four five six [seven eight]"
+"one two three four five six s|even eight" -- "one two three four five six [seven eight]"
+"one two three four five six se|ven eight" -- "one two three four five six [seven eight]"
+"one two three four five six sev|en eight" -- "one two three four five six [seven eight]"
+"one two three four five six seve|n eight" -- "one two three four five six [seven eight]"
+"one two three four five six seven| eight" -- "one two three four five six [seven eight]"
+"one two three four five six seven |eight" -- "one two three four five six [seven eight]"
+"one two three four five six seven e|ight" -- "one two three four five six [seven eight]"
+"one two three four five six seven ei|ght" -- "one two three four five six [seven eight]"
+"one two three four five six seven eig|ht" -- "one two three four five six [seven eight]"
+"one two three four five six seven eigh|t" -- "one two three four five six [seven eight]"
+"one two three four five six seven eight|" -- "one two three four five six [seven eight]"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-input.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-input.html
new file mode 100644
index 0000000..acba51f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-line-forward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testRangeEnclosing("line","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-expected.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-expected.html
new file mode 100644
index 0000000..8438a4d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- null
+"o|ne two three four five six" -- "[one two] three four five six"
+"on|e two three four five six" -- "[one two] three four five six"
+"one| two three four five six" -- "[one two] three four five six"
+"one |two three four five six" -- "[one two] three four five six"
+"one t|wo three four five six" -- "[one two] three four five six"
+"one tw|o three four five six" -- "[one two] three four five six"
+"one two| three four five six" -- "[one two] three four five six"
+"one two |three four five six" -- null
+"one two t|hree four five six" -- "one two [three four] five six"
+"one two th|ree four five six" -- "one two [three four] five six"
+"one two thr|ee four five six" -- "one two [three four] five six"
+"one two thre|e four five six" -- "one two [three four] five six"
+"one two three| four five six" -- "one two [three four] five six"
+"one two three |four five six" -- "one two [three four] five six"
+"one two three f|our five six" -- "one two [three four] five six"
+"one two three fo|ur five six" -- "one two [three four] five six"
+"one two three fou|r five six" -- "one two [three four] five six"
+"one two three four| five six" -- "one two [three four] five six"
+"one two three four |five six" -- null
+"one two three four f|ive six" -- "one two three four [five six]"
+"one two three four fi|ve six" -- "one two three four [five six]"
+"one two three four fiv|e six" -- "one two three four [five six]"
+"one two three four five| six" -- "one two three four [five six]"
+"one two three four five |six" -- "one two three four [five six]"
+"one two three four five s|ix" -- "one two three four [five six]"
+"one two three four five si|x" -- "one two three four [five six]"
+"one two three four five six|" -- "one two three four [five six]"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-input.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-input.html
new file mode 100644
index 0000000..f4c4398
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-backward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testRangeEnclosing("paragraph","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-expected.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-expected.html
new file mode 100644
index 0000000..96d99d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-expected.html
@@ -0,0 +1,28 @@
+"|one two three four five six" -- "[one two] three four five six"
+"o|ne two three four five six" -- "[one two] three four five six"
+"on|e two three four five six" -- "[one two] three four five six"
+"one| two three four five six" -- "[one two] three four five six"
+"one |two three four five six" -- "[one two] three four five six"
+"one t|wo three four five six" -- "[one two] three four five six"
+"one tw|o three four five six" -- "[one two] three four five six"
+"one two| three four five six" -- null
+"one two |three four five six" -- "one two [three four] five six"
+"one two t|hree four five six" -- "one two [three four] five six"
+"one two th|ree four five six" -- "one two [three four] five six"
+"one two thr|ee four five six" -- "one two [three four] five six"
+"one two thre|e four five six" -- "one two [three four] five six"
+"one two three| four five six" -- "one two [three four] five six"
+"one two three |four five six" -- "one two [three four] five six"
+"one two three f|our five six" -- "one two [three four] five six"
+"one two three fo|ur five six" -- "one two [three four] five six"
+"one two three fou|r five six" -- "one two [three four] five six"
+"one two three four| five six" -- null
+"one two three four |five six" -- "one two three four [five six]"
+"one two three four f|ive six" -- "one two three four [five six]"
+"one two three four fi|ve six" -- "one two three four [five six]"
+"one two three four fiv|e six" -- "one two three four [five six]"
+"one two three four five| six" -- "one two three four [five six]"
+"one two three four five |six" -- "one two three four [five six]"
+"one two three four five s|ix" -- "one two three four [five six]"
+"one two three four five si|x" -- "one two three four [five six]"
+"one two three four five six|" -- null

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-input.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-input.html
new file mode 100644
index 0000000..3d80846
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-paragraph-forward-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testRangeEnclosing("paragraph","forward");
+}
+</script>
+</head>
+<body>
+
+<p>one two</p>
+
+<p>three four</p>
+
+<p>five six</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-expected.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-expected.html
new file mode 100644
index 0000000..94af390
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- null
+"O|ne two. Three, four - five" -- "[One] two. Three, four - five"
+"On|e two. Three, four - five" -- "[One] two. Three, four - five"
+"One| two. Three, four - five" -- "[One] two. Three, four - five"
+"One |two. Three, four - five" -- null
+"One t|wo. Three, four - five" -- "One [two]. Three, four - five"
+"One tw|o. Three, four - five" -- "One [two]. Three, four - five"
+"One two|. Three, four - five" -- "One [two]. Three, four - five"
+"One two.| Three, four - five" -- null
+"One two. |Three, four - five" -- null
+"One two. T|hree, four - five" -- "One two. [Three], four - five"
+"One two. Th|ree, four - five" -- "One two. [Three], four - five"
+"One two. Thr|ee, four - five" -- "One two. [Three], four - five"
+"One two. Thre|e, four - five" -- "One two. [Three], four - five"
+"One two. Three|, four - five" -- "One two. [Three], four - five"
+"One two. Three,| four - five" -- null
+"One two. Three, |four - five" -- null
+"One two. Three, f|our - five" -- "One two. Three, [four] - five"
+"One two. Three, fo|ur - five" -- "One two. Three, [four] - five"
+"One two. Three, fou|r - five" -- "One two. Three, [four] - five"
+"One two. Three, four| - five" -- "One two. Three, [four] - five"
+"One two. Three, four |- five" -- null
+"One two. Three, four -| five" -- null
+"One two. Three, four - |five" -- null
+"One two. Three, four - f|ive" -- "One two. Three, four - [five]"
+"One two. Three, four - fi|ve" -- "One two. Three, four - [five]"
+"One two. Three, four - fiv|e" -- "One two. Three, four - [five]"
+"One two. Three, four - five|" -- "One two. Three, four - [five]"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-input.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-input.html
new file mode 100644
index 0000000..b8c0ddc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-backward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testRangeEnclosing("word","backward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-expected.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-expected.html
new file mode 100644
index 0000000..f2127a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-expected.html
@@ -0,0 +1,28 @@
+"|One two. Three, four - five" -- "[One] two. Three, four - five"
+"O|ne two. Three, four - five" -- "[One] two. Three, four - five"
+"On|e two. Three, four - five" -- "[One] two. Three, four - five"
+"One| two. Three, four - five" -- null
+"One |two. Three, four - five" -- "One [two]. Three, four - five"
+"One t|wo. Three, four - five" -- "One [two]. Three, four - five"
+"One tw|o. Three, four - five" -- "One [two]. Three, four - five"
+"One two|. Three, four - five" -- null
+"One two.| Three, four - five" -- null
+"One two. |Three, four - five" -- "One two. [Three], four - five"
+"One two. T|hree, four - five" -- "One two. [Three], four - five"
+"One two. Th|ree, four - five" -- "One two. [Three], four - five"
+"One two. Thr|ee, four - five" -- "One two. [Three], four - five"
+"One two. Thre|e, four - five" -- "One two. [Three], four - five"
+"One two. Three|, four - five" -- null
+"One two. Three,| four - five" -- null
+"One two. Three, |four - five" -- "One two. Three, [four] - five"
+"One two. Three, f|our - five" -- "One two. Three, [four] - five"
+"One two. Three, fo|ur - five" -- "One two. Three, [four] - five"
+"One two. Three, fou|r - five" -- "One two. Three, [four] - five"
+"One two. Three, four| - five" -- null
+"One two. Three, four |- five" -- null
+"One two. Three, four -| five" -- null
+"One two. Three, four - |five" -- "One two. Three, four - [five]"
+"One two. Three, four - f|ive" -- "One two. Three, four - [five]"
+"One two. Three, four - fi|ve" -- "One two. Three, four - [five]"
+"One two. Three, four - fiv|e" -- "One two. Three, four - [five]"
+"One two. Three, four - five|" -- null

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-input.html b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-input.html
new file mode 100644
index 0000000..b92237c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/rangeEnclosing-word-forward-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testRangeEnclosing("word","forward");
+}
+</script>
+</head>
+<body>
+
+<p>One two. Three, four - five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange01-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange01-expected.html
new file mode 100644
index 0000000..0237441
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>SamHELLO[]xt</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange01-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange01-input.html
new file mode 100644
index 0000000..7424bd1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Input_replaceRange(range.start,range.end,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sam[ple te]xt</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange02-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange02-expected.html
new file mode 100644
index 0000000..1f0ea6a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>HELLO[]ple text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange02-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange02-input.html
new file mode 100644
index 0000000..eab4938
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Input_replaceRange(range.start,range.end,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[Sam]ple text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange03-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange03-expected.html
new file mode 100644
index 0000000..cd71d5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample teHELLO[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange03-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange03-input.html
new file mode 100644
index 0000000..fbb92b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Input_replaceRange(range.start,range.end,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample te[xt]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange04-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange04-expected.html
new file mode 100644
index 0000000..f88f1e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      HELLO[]
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange04-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange04-input.html
new file mode 100644
index 0000000..bdf1276
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var pos = new Position(p,0);
+    Input_replaceRange(pos,pos,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange05-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange05-expected.html
new file mode 100644
index 0000000..7bfc8e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>HELLO[]Sample text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange05-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange05-input.html
new file mode 100644
index 0000000..e5190f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var pos = new Position(p,0);
+    Input_replaceRange(pos,pos,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange06-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange06-expected.html
new file mode 100644
index 0000000..8df6771
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sample textHELLO[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange06-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange06-input.html
new file mode 100644
index 0000000..1bea8a3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var pos = new Position(p,p.childNodes.length);
+    Input_replaceRange(pos,pos,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange07-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange07-expected.html
new file mode 100644
index 0000000..f6452af
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      SampleHELLO[]
+      <img src="../figures/nothing.png"/>
+      text
+    </p>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-input.html
new file mode 100644
index 0000000..840ce1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph06-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var first = document.getElementById("first");
+    var second = document.getElementById("second");
+    Hierarchy_ensureInlineNodesInParagraph(first,true);
+    Hierarchy_ensureInlineNodesInParagraph(second,true);
+}
+</script>
+</head>
+<body>
+
+<br id="first">
+One
+<br>
+Two
+<br>
+
+<p>Explicit paragraph</p>
+
+<br id="second">
+Three
+<br>
+Four
+<br>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-expected.html
new file mode 100644
index 0000000..c6ce7c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      One
+      <br/>
+      Two
+      <br id="first"/>
+    </p>
+    <p>Explicit paragraph</p>
+    <p>
+      <br/>
+      Three
+      <br/>
+      Four
+      <br id="second"/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-input.html
new file mode 100644
index 0000000..e084d85
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph07-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var first = document.getElementById("first");
+    var second = document.getElementById("second");
+    Hierarchy_ensureInlineNodesInParagraph(first,true);
+    Hierarchy_ensureInlineNodesInParagraph(second,true);
+}
+</script>
+</head>
+<body>
+
+<br>
+One
+<br>
+Two
+<br id="first">
+
+<p>Explicit paragraph</p>
+
+<br>
+Three
+<br>
+Four
+<br id="second">
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-expected.html
new file mode 100644
index 0000000..8825c42
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      One
+      <br id="first"/>
+      Two
+      <br/>
+    </p>
+    <ol>
+      <li>Item 1</li>
+      <li>Item 2</li>
+      <li>Item 3</li>
+    </ol>
+    <p>
+      <br/>
+      Three
+      <br id="second"/>
+      Four
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-input.html
new file mode 100644
index 0000000..2985dbc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph08-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var first = document.getElementById("first");
+    var second = document.getElementById("second");
+    Hierarchy_ensureInlineNodesInParagraph(first,true);
+    Hierarchy_ensureInlineNodesInParagraph(second,true);
+}
+</script>
+</head>
+<body>
+
+<br>
+One
+<br id="first">
+Two
+<br>
+
+<ol>
+  <li>Item 1</li>
+  <li>Item 2</li>
+  <li>Item 3</li>
+</ol>
+
+<br>
+Three
+<br id="second">
+Four
+<br>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-expected.html
new file mode 100644
index 0000000..dcaa6db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      [Two
+      ]Three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-input.html
new file mode 100644
index 0000000..369ce25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph09-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,1,document.body,2);
+
+    Range_trackWhileExecuting(range,function() {
+        Hierarchy_ensureInlineNodesInParagraph(text1);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-expected.html
new file mode 100644
index 0000000..dcaa6db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      [Two
+      ]Three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-input.html
new file mode 100644
index 0000000..98abf06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph10-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,1,document.body,2);
+
+    Range_trackWhileExecuting(range,function() {
+        Hierarchy_ensureInlineNodesInParagraph(text2);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-expected.html
new file mode 100644
index 0000000..dcaa6db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      [Two
+      ]Three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-input.html
new file mode 100644
index 0000000..d012315
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph11-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,1,document.body,2);
+
+    Range_trackWhileExecuting(range,function() {
+        Hierarchy_ensureInlineNodesInParagraph(text3);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-expected.html
new file mode 100644
index 0000000..dcaa6db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      [Two
+      ]Three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-input.html
new file mode 100644
index 0000000..754d737
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph12-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,1,document.body,2);
+
+    Range_trackWhileExecuting(range,function() {
+        Range_ensureInlineNodesInParagraph(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-expected.html
new file mode 100644
index 0000000..8053ad7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      [One
+      Two
+      Three]
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-input.html
new file mode 100644
index 0000000..a6f6e14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph13-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,0,document.body,3);
+
+    Range_trackWhileExecuting(range,function() {
+        Hierarchy_ensureInlineNodesInParagraph(text1);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-expected.html
new file mode 100644
index 0000000..8053ad7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      [One
+      Two
+      Three]
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-input.html
new file mode 100644
index 0000000..ff558d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph14-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,0,document.body,3);
+
+    Range_trackWhileExecuting(range,function() {
+        Hierarchy_ensureInlineNodesInParagraph(text2);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-expected.html
new file mode 100644
index 0000000..8053ad7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      [One
+      Two
+      Three]
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-input.html
new file mode 100644
index 0000000..bf78a9c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph15-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,0,document.body,3);
+
+    Range_trackWhileExecuting(range,function() {
+        Hierarchy_ensureInlineNodesInParagraph(text3);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-expected.html
new file mode 100644
index 0000000..8053ad7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      [One
+      Two
+      Three]
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-input.html b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-input.html
new file mode 100644
index 0000000..96d7002
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureInlineNodesInParagraph16-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,text1);
+    DOM_appendChild(document.body,text2);
+    DOM_appendChild(document.body,text3);
+
+    var range = new Range(document.body,0,document.body,3);
+
+    Range_trackWhileExecuting(range,function() {
+        Range_ensureInlineNodesInParagraph(range);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-expected.html
new file mode 100644
index 0000000..d79a0f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-input.html
new file mode 100644
index 0000000..67ad9bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    Hierarchy_ensureValidHierarchy(p.firstChild,true);
+}
+</script>
+</head>
+<body>
+
+<b><p>Sample text</p></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-expected.html
new file mode 100644
index 0000000..d79a0f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-input.html
new file mode 100644
index 0000000..5e8c370
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    Hierarchy_ensureValidHierarchy(p,true);
+}
+</script>
+</head>
+<body>
+
+<b><p>Sample text</p></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-expected.html
new file mode 100644
index 0000000..99f2e5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+    <b><p>More text</p></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-input.html
new file mode 100644
index 0000000..df900a8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    Hierarchy_ensureValidHierarchy(p.firstChild,true);
+}
+</script>
+</head>
+<body>
+
+<b><p>Sample text</p><p>More text</p></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-expected.html
new file mode 100644
index 0000000..fa0fef6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <b><p>Sample text</p></b>
+    <p><b>More text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-input.html
new file mode 100644
index 0000000..d5c6c87
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[1];
+    Hierarchy_ensureValidHierarchy(p.firstChild,true);
+}
+</script>
+</head>
+<body>
+
+<b><p>Sample text</p><p>More text</p></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-expected.html
new file mode 100644
index 0000000..5bd6582
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+    <p><b>More text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-input.html
new file mode 100644
index 0000000..a00f331
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p0 = document.getElementsByTagName("P")[0];
+    var p1 = document.getElementsByTagName("P")[1];
+    Hierarchy_ensureValidHierarchy(p0.firstChild,true);
+    Hierarchy_ensureValidHierarchy(p1.firstChild,true);
+}
+</script>
+</head>
+<body>
+
+<b><p>Sample text</p><p>More text</p></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-expected.html
new file mode 100644
index 0000000..300d365
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i><u>Sample text</u></i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-input.html
new file mode 100644
index 0000000..4cc8bef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p0 = document.getElementsByTagName("P")[0];
+    Hierarchy_ensureValidHierarchy(p0.firstChild,true);
+}
+</script>
+</head>
+<body>
+
+<b><i><u><p>Sample text</p></u></i></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-expected.html
new file mode 100644
index 0000000..d1da84b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li><b><i><u>Item 1</u></i></b></li>
+    </ul>
+    <b>
+      <i>
+        <u>
+          <ol>
+            <li>Item 2</li>
+          </ol>
+          <p>Sample text</p>
+          <ul>
+            <li>Item 3</li>
+          </ul>
+          <ol>
+            <li>Item 4</li>
+          </ol>
+        </u>
+      </i>
+    </b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-input.html
new file mode 100644
index 0000000..e267d0f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[0];
+    Hierarchy_ensureValidHierarchy(li,true);
+}
+</script>
+</head>
+<body>
+
+<b><i><u><ul><li>Item 1</li></ul><ol><li>Item 2</li></ol><p>Sample text</p><ul><li>Item 3</li></ul><ol><li>Item 4</li></ol></u></i></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-expected.html
new file mode 100644
index 0000000..555f18d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <b><i><u><ul><li>Item 1</li></ul></u></i></b>
+    <ol>
+      <li><b><i><u>Item 2</u></i></b></li>
+    </ol>
+    <b>
+      <i>
+        <u>
+          <p>Sample text</p>
+          <ul>
+            <li>Item 3</li>
+          </ul>
+          <ol>
+            <li>Item 4</li>
+          </ol>
+        </u>
+      </i>
+    </b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-input.html
new file mode 100644
index 0000000..a2c517b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[1];
+    Hierarchy_ensureValidHierarchy(li,true);
+}
+</script>
+</head>
+<body>
+
+<b><i><u><ul><li>Item 1</li></ul><ol><li>Item 2</li></ol><p>Sample text</p><ul><li>Item 3</li></ul><ol><li>Item 4</li></ol></u></i></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-expected.html
new file mode 100644
index 0000000..b463ceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <b>
+      <i>
+        <u>
+          <ul>
+            <li>Item 1</li>
+          </ul>
+          <ol>
+            <li>Item 2</li>
+          </ol>
+        </u>
+      </i>
+    </b>
+    <p><b><i><u>Sample text</u></i></b></p>
+    <b>
+      <i>
+        <u>
+          <ul>
+            <li>Item 3</li>
+          </ul>
+          <ol>
+            <li>Item 4</li>
+          </ol>
+        </u>
+      </i>
+    </b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-input.html
new file mode 100644
index 0000000..507bc73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy09-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    Hierarchy_ensureValidHierarchy(p,true);
+}
+</script>
+</head>
+<body>
+
+<b><i><u><ul><li>Item 1</li></ul><ol><li>Item 2</li></ol><p>Sample text</p><ul><li>Item 3</li></ul><ol><li>Item 4</li></ol></u></i></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-expected.html
new file mode 100644
index 0000000..a77382d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <b>
+      <i>
+        <u>
+          <ul>
+            <li>Item 1</li>
+          </ul>
+          <ol>
+            <li>Item 2</li>
+          </ol>
+          <p>Sample text</p>
+        </u>
+      </i>
+    </b>
+    <ul>
+      <li><b><i><u>Item 3</u></i></b></li>
+    </ul>
+    <b><i><u><ol><li>Item 4</li></ol></u></i></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-input.html
new file mode 100644
index 0000000..36cfc00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy10-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[2];
+    Hierarchy_ensureValidHierarchy(li,true);
+}
+</script>
+</head>
+<body>
+
+<b><i><u><ul><li>Item 1</li></ul><ol><li>Item 2</li></ol><p>Sample text</p><ul><li>Item 3</li></ul><ol><li>Item 4</li></ol></u></i></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-expected.html
new file mode 100644
index 0000000..1d96c09
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <b>
+      <i>
+        <u>
+          <ul>
+            <li>Item 1</li>
+          </ul>
+          <ol>
+            <li>Item 2</li>
+          </ol>
+          <p>Sample text</p>
+          <ul>
+            <li>Item 3</li>
+          </ul>
+        </u>
+      </i>
+    </b>
+    <ol>
+      <li><b><i><u>Item 4</u></i></b></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-input.html
new file mode 100644
index 0000000..ac5d35b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy11-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var li = document.getElementsByTagName("LI")[3];
+    Hierarchy_ensureValidHierarchy(li,true);
+}
+</script>
+</head>
+<body>
+
+<b><i><u><ul><li>Item 1</li></ul><ol><li>Item 2</li></ol><p>Sample text</p><ul><li>Item 3</li></ul><ol><li>Item 4</li></ol></u></i></b>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-expected.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-expected.html
new file mode 100644
index 0000000..7c84d61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-expected.html
@@ -0,0 +1,55 @@
+<html>
+  <head></head>
+  <body>
+    <b><i>Beginning</i></b>
+    <ul>
+      <li id="1">
+        <b>
+          <i>
+            One
+            <br/>
+            Two
+            <br/>
+          </i>
+        </b>
+        <p><b><i>Hello</i></b></p>
+        <b>
+          <i>
+            Three
+            <br/>
+            Four
+            <br/>
+          </i>
+        </b>
+        <ul>
+          <li><b><i>List item 1</i></b></li>
+          <li><b><i>List item 2</i></b></li>
+        </ul>
+        <b>
+          <i>
+            Five
+            <br/>
+          </i>
+        </b>
+      </li>
+      <li id="2"><b><i>Two</i></b></li>
+      <li id="3"><p><b><i>Three</i></b></p></li>
+    </ul>
+    <b>
+      <i>
+        Middle
+        <ol>
+          <li>Four</li>
+          <li>Five</li>
+          <li>Six</li>
+        </ol>
+        End
+      </i>
+    </b>
+    <br/>
+    One
+    <br/>
+    Two
+    <br/>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-input.html b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-input.html
new file mode 100644
index 0000000..4cccd2b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/ensureValidHierarchy12-input.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var ul = document.getElementsByTagName("UL")[0];
+    Hierarchy_ensureValidHierarchy(ul,true);
+}
+</script>
+</head>
+<body>
+
+<b>
+  <i>
+    Beginning
+    <ul>
+      <li id="1">
+      One<br>
+      Two<br>
+      <p>Hello</p>
+      Three<br>
+      Four<br>
+      <ul>
+        <li>List item 1</li>
+        <li>List item 2</li>
+      </ul>
+      Five<br>
+    </li>
+    <li id="2">Two</li>
+    <li id="3"><p>Three</p></li>
+    </ul>
+    Middle
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ol>
+    End
+  </i>
+</b>
+
+<br>
+One
+<br>
+Two
+<br>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-expected.html
new file mode 100644
index 0000000..bb8d07e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>OneT[woThreeFou]rFive</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-input.html
new file mode 100644
index 0000000..8e86189
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours01-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    var text4 = DOM_createTextNode(document,"Four");
+    var text5 = DOM_createTextNode(document,"Five");
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(text2,1,text4,3);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-expected.html
new file mode 100644
index 0000000..e827e60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>O[neTwoThreeFourFiv]e</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-input.html
new file mode 100644
index 0000000..c203565
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours02-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    var text4 = DOM_createTextNode(document,"Four");
+    var text5 = DOM_createTextNode(document,"Five");
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(text1,1,text5,3);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-expected.html
new file mode 100644
index 0000000..9430e9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One[TwoThreeFourFive]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-input.html
new file mode 100644
index 0000000..509f8ec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours03-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    var text4 = DOM_createTextNode(document,"Four");
+    var text5 = DOM_createTextNode(document,"Five");
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(text1,3,text5,4);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-expected.html
new file mode 100644
index 0000000..40431bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>One[OneOneOneOne]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-input.html
new file mode 100644
index 0000000..669e692
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours04-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"One");
+    var text3 = DOM_createTextNode(document,"One");
+    var text4 = DOM_createTextNode(document,"One");
+    var text5 = DOM_createTextNode(document,"One");
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(text1,3,text5,4);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-expected.html
new file mode 100644
index 0000000..1e895ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i>OneTwoThreeFour[FiveSixSevenEight]Nine</i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-input.html
new file mode 100644
index 0000000..38ac111
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours05-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = new Range(bs[1],DOM_nodeOffset(is[4]),
+                          bs[2],DOM_nodeOffset(is[8]));
+
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(bs[1],Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b><i>One</i><i>Two</i><i>Three</i></b><b><i>Four</i><i>Five</i><i>Six</i></b><b><i>Seven</i><i>Eight</i><i>Nine</i></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-expected.html
new file mode 100644
index 0000000..2cf0aa5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <i>One[TwoThreeFourFiveSixSevenEightNine</i>
+        ]
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-input.html
new file mode 100644
index 0000000..0224e91
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours06-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = new Range(bs[0],1,
+                          bs[2],bs[2].childNodes.length);
+
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(bs[1],Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b><i>One</i><i>Two</i><i>Three</i></b><b><i>Four</i><i>Five</i><i>Six</i></b><b><i>Seven</i><i>Eight</i><i>Nine</i></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-expected.html
new file mode 100644
index 0000000..790e84c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>OneTwo[ThreeFour]Five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-input.html
new file mode 100644
index 0000000..8ebf653
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours07-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    var text4 = DOM_createTextNode(document,"Four");
+    var text5 = DOM_createTextNode(document,"Five");
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(p,2,p,4);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-expected.html
new file mode 100644
index 0000000..9d090c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      <br/>
+      [OneTwoThreeFourFive]
+      <br/>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-input.html
new file mode 100644
index 0000000..5521088
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours08-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    var text4 = DOM_createTextNode(document,"Four");
+    var text5 = DOM_createTextNode(document,"Five");
+    var br1 = DOM_createElement(document,"BR");
+    var br2 = DOM_createElement(document,"BR");
+    var br3 = DOM_createElement(document,"BR");
+    var br4 = DOM_createElement(document,"BR");
+    DOM_appendChild(p,br1);
+    DOM_appendChild(p,br2);
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(p,br3);
+    DOM_appendChild(p,br4);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(p,2,p,7);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-expected.html
new file mode 100644
index 0000000..8229f01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      [
+      <br/>
+      OneTwoThreeFourFive
+      <br/>
+      ]
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-input.html
new file mode 100644
index 0000000..858d654
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours09-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    var text4 = DOM_createTextNode(document,"Four");
+    var text5 = DOM_createTextNode(document,"Five");
+    var br1 = DOM_createElement(document,"BR");
+    var br2 = DOM_createElement(document,"BR");
+    var br3 = DOM_createElement(document,"BR");
+    var br4 = DOM_createElement(document,"BR");
+    DOM_appendChild(p,br1);
+    DOM_appendChild(p,br2);
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(p,br3);
+    DOM_appendChild(p,br4);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(p,1,p,8);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-expected.html
new file mode 100644
index 0000000..2adec16
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      [
+      <br/>
+      <br/>
+      OneTwoThreeFourFive
+      <br/>
+      <br/>
+      ]
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-input.html
new file mode 100644
index 0000000..5953ac7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours10-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = DOM_createElement(document,"P");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    var text4 = DOM_createTextNode(document,"Four");
+    var text5 = DOM_createTextNode(document,"Five");
+    var br1 = DOM_createElement(document,"BR");
+    var br2 = DOM_createElement(document,"BR");
+    var br3 = DOM_createElement(document,"BR");
+    var br4 = DOM_createElement(document,"BR");
+    DOM_appendChild(p,br1);
+    DOM_appendChild(p,br2);
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,text4);
+    DOM_appendChild(p,text5);
+    DOM_appendChild(p,br3);
+    DOM_appendChild(p,br4);
+    DOM_appendChild(document.body,p);
+
+    var range = new Range(p,0,p,9);
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(text3,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-expected.html
new file mode 100644
index 0000000..73d9c83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><i>OneTwoThree[FourFiveSix]SevenEightNine</i></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-input.html
new file mode 100644
index 0000000..5c58d04
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours11-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = new Range(p,1,p,2);
+
+    Range_trackWhileExecuting(range,function() {
+        Formatting_mergeWithNeighbours(bs[1],Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b><i>One</i><i>Two</i><i>Three</i></b><b><i>Four</i><i>Five</i><i>Six</i></b><b><i>Seven</i><i>Eight</i><i>Nine</i></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-expected.html
new file mode 100644
index 0000000..7629b0f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      <br/>
+      [
+      <b><i>OneTwoThreeFourFiveSixSevenEightNine</i></b>
+      ]
+      <br/>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-input.html
new file mode 100644
index 0000000..5cee75a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours12-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = new Range(p,2,p,5);
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeWithNeighbours(bs[1],Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><br><br><b><i>One</i><i>Two</i><i>Three</i></b><b><i>Four</i><i>Five</i><i>Six</i></b><b><i>Seven</i><i>Eight</i><i>Nine</i></b><br><br></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-expected.html
new file mode 100644
index 0000000..baa6cf8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <br/>
+      [
+      <br/>
+      <b><i>OneTwoThreeFourFiveSixSevenEightNine</i></b>
+      <br/>
+      ]
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-input.html
new file mode 100644
index 0000000..ad8c2eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours13-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = new Range(p,1,p,6);
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeWithNeighbours(bs[1],Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><br><br><b><i>One</i><i>Two</i><i>Three</i></b><b><i>Four</i><i>Five</i><i>Six</i></b><b><i>Seven</i><i>Eight</i><i>Nine</i></b><br><br></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-expected.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-expected.html
new file mode 100644
index 0000000..93a1e30
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      [
+      <br/>
+      <br/>
+      <b><i>OneTwoThreeFourFiveSixSevenEightNine</i></b>
+      <br/>
+      <br/>
+      ]
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-input.html b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-input.html
new file mode 100644
index 0000000..363c0ea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/mergeWithNeighbours14-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = new Range(p,0,p,7);
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeWithNeighbours(bs[1],Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><br><br><b><i>One</i><i>Two</i><i>Three</i></b><b><i>Four</i><i>Five</i><i>Six</i></b><b><i>Seven</i><i>Eight</i><i>Nine</i></b><br><br></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters01-expected.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters01-expected.html
new file mode 100644
index 0000000..1806ced
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters01-expected.html
@@ -0,0 +1,28 @@
+"|one two three"   ->   "|one three"           ->   "|one two three"
+"o|ne two three"   ->   "o|ne three"           ->   "o|ne two three"
+"on|e two three"   ->   "on|e three"           ->   "on|e two three"
+"one| two three"   ->   "one| three"           ->   "one| two three"
+"one |two three"   ->   "four five |two six"   ->   "one |two three"
+"one t|wo three"   ->   "four five t|wo six"   ->   "one t|wo three"
+"one tw|o three"   ->   "four five tw|o six"   ->   "one tw|o three"
+"one two| three"   ->   "four five two| six"   ->   "one two| three"
+"one two |three"   ->   "four five two |six"   ->   "one two |three"
+"one two t|hree"   ->   "one t|hree"           ->   "one two t|hree"
+"one two th|ree"   ->   "one th|ree"           ->   "one two th|ree"
+"one two thr|ee"   ->   "one thr|ee"           ->   "one two thr|ee"
+"one two thre|e"   ->   "one thre|e"           ->   "one two thre|e"
+"one two three|"   ->   "one three|"           ->   "one two three|"
+"|four five six"   ->   "|four five two six"   ->   "|four five six"
+"f|our five six"   ->   "f|our five two six"   ->   "f|our five six"
+"fo|ur five six"   ->   "fo|ur five two six"   ->   "fo|ur five six"
+"fou|r five six"   ->   "fou|r five two six"   ->   "fou|r five six"
+"four| five six"   ->   "four| five two six"   ->   "four| five six"
+"four |five six"   ->   "four |five two six"   ->   "four |five six"
+"four f|ive six"   ->   "four f|ive two six"   ->   "four f|ive six"
+"four fi|ve six"   ->   "four fi|ve two six"   ->   "four fi|ve six"
+"four fiv|e six"   ->   "four fiv|e two six"   ->   "four fiv|e six"
+"four five| six"   ->   "four five| two six"   ->   "four five| six"
+"four five |six"   ->   "four five two |six"   ->   "one two |three" ***
+"four five s|ix"   ->   "four five two s|ix"   ->   "four five s|ix"
+"four five si|x"   ->   "four five two si|x"   ->   "four five si|x"
+"four five six|"   ->   "four five two six|"   ->   "four five six|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters01-input.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters01-input.html
new file mode 100644
index 0000000..a3ab123
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters01-input.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function pad(str,length)
+{
+    str = ""+str;
+    while (str.length < length)
+        str += " ";
+    return str;
+}
+
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var text1 = ps[0].firstChild;
+    var text2 = ps[1].firstChild;
+
+    var positions = new Array();
+    for (var i = 0; i <= text1.nodeValue.length; i++)
+        positions.push(new Position(text1,i));
+
+    for (var i = 0; i <= text2.nodeValue.length; i++)
+        positions.push(new Position(text2,i));
+
+    var origStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        origStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_moveCharacters(text1,4,8,text2,10,false,false);
+    });
+
+    var movedStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        movedStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        UndoManager_undo();
+    });
+    var undoneStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        undoneStrings.push(positions[i].toString());
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        var extra = "";
+        if (undoneStrings[i] != origStrings[i])
+            extra += " ***";
+        lines.push(origStrings[i]+"   ->   "+
+                   pad(movedStrings[i],20)+"   ->   "+
+                   undoneStrings[i]+extra+"\n");
+    }
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+<p>four five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters02-expected.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters02-expected.html
new file mode 100644
index 0000000..1a6ddfb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters02-expected.html
@@ -0,0 +1,28 @@
+"|one two three"   ->   "|one three"           ->   "|one two three"
+"o|ne two three"   ->   "o|ne three"           ->   "o|ne two three"
+"on|e two three"   ->   "on|e three"           ->   "on|e two three"
+"one| two three"   ->   "one| three"           ->   "one| two three"
+"one |two three"   ->   "one |three"           ->   "one |two three"
+"one t|wo three"   ->   "four five t|wo six"   ->   "one t|wo three"
+"one tw|o three"   ->   "four five tw|o six"   ->   "one tw|o three"
+"one two| three"   ->   "four five two| six"   ->   "one two| three"
+"one two |three"   ->   "four five two |six"   ->   "one two |three"
+"one two t|hree"   ->   "one t|hree"           ->   "one two t|hree"
+"one two th|ree"   ->   "one th|ree"           ->   "one two th|ree"
+"one two thr|ee"   ->   "one thr|ee"           ->   "one two thr|ee"
+"one two thre|e"   ->   "one thre|e"           ->   "one two thre|e"
+"one two three|"   ->   "one three|"           ->   "one two three|"
+"|four five six"   ->   "|four five two six"   ->   "|four five six"
+"f|our five six"   ->   "f|our five two six"   ->   "f|our five six"
+"fo|ur five six"   ->   "fo|ur five two six"   ->   "fo|ur five six"
+"fou|r five six"   ->   "fou|r five two six"   ->   "fou|r five six"
+"four| five six"   ->   "four| five two six"   ->   "four| five six"
+"four |five six"   ->   "four |five two six"   ->   "four |five six"
+"four f|ive six"   ->   "four f|ive two six"   ->   "four f|ive six"
+"four fi|ve six"   ->   "four fi|ve two six"   ->   "four fi|ve six"
+"four fiv|e six"   ->   "four fiv|e two six"   ->   "four fiv|e six"
+"four five| six"   ->   "four five| two six"   ->   "four five| six"
+"four five |six"   ->   "four five |two six"   ->   "four five |six"
+"four five s|ix"   ->   "four five two s|ix"   ->   "four five s|ix"
+"four five si|x"   ->   "four five two si|x"   ->   "four five si|x"
+"four five six|"   ->   "four five two six|"   ->   "four five six|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters02-input.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters02-input.html
new file mode 100644
index 0000000..38ed8a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters02-input.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function pad(str,length)
+{
+    str = ""+str;
+    while (str.length < length)
+        str += " ";
+    return str;
+}
+
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var text1 = ps[0].firstChild;
+    var text2 = ps[1].firstChild;
+
+    var positions = new Array();
+    for (var i = 0; i <= text1.nodeValue.length; i++)
+        positions.push(new Position(text1,i));
+
+    for (var i = 0; i <= text2.nodeValue.length; i++)
+        positions.push(new Position(text2,i));
+
+    var origStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        origStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_moveCharacters(text1,4,8,text2,10,true,false);
+    });
+
+    var movedStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        movedStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        UndoManager_undo();
+    });
+    var undoneStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        undoneStrings.push(positions[i].toString());
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        var extra = "";
+        if (undoneStrings[i] != origStrings[i])
+            extra += " ***";
+        lines.push(origStrings[i]+"   ->   "+
+                   pad(movedStrings[i],20)+"   ->   "+
+                   undoneStrings[i]+extra+"\n");
+    }
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+<p>four five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters03-expected.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters03-expected.html
new file mode 100644
index 0000000..c5aeb63
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters03-expected.html
@@ -0,0 +1,28 @@
+"|one two three"   ->   "|one three"           ->   "|one two three"
+"o|ne two three"   ->   "o|ne three"           ->   "o|ne two three"
+"on|e two three"   ->   "on|e three"           ->   "on|e two three"
+"one| two three"   ->   "one| three"           ->   "one| two three"
+"one |two three"   ->   "four five |two six"   ->   "one |two three"
+"one t|wo three"   ->   "four five t|wo six"   ->   "one t|wo three"
+"one tw|o three"   ->   "four five tw|o six"   ->   "one tw|o three"
+"one two| three"   ->   "four five two| six"   ->   "one two| three"
+"one two |three"   ->   "one |three"           ->   "one two |three"
+"one two t|hree"   ->   "one t|hree"           ->   "one two t|hree"
+"one two th|ree"   ->   "one th|ree"           ->   "one two th|ree"
+"one two thr|ee"   ->   "one thr|ee"           ->   "one two thr|ee"
+"one two thre|e"   ->   "one thre|e"           ->   "one two thre|e"
+"one two three|"   ->   "one three|"           ->   "one two three|"
+"|four five six"   ->   "|four five two six"   ->   "|four five six"
+"f|our five six"   ->   "f|our five two six"   ->   "f|our five six"
+"fo|ur five six"   ->   "fo|ur five two six"   ->   "fo|ur five six"
+"fou|r five six"   ->   "fou|r five two six"   ->   "fou|r five six"
+"four| five six"   ->   "four| five two six"   ->   "four| five six"
+"four |five six"   ->   "four |five two six"   ->   "four |five six"
+"four f|ive six"   ->   "four f|ive two six"   ->   "four f|ive six"
+"four fi|ve six"   ->   "four fi|ve two six"   ->   "four fi|ve six"
+"four fiv|e six"   ->   "four fiv|e two six"   ->   "four fiv|e six"
+"four five| six"   ->   "four five| two six"   ->   "four five| six"
+"four five |six"   ->   "four five two |six"   ->   "four five |six"
+"four five s|ix"   ->   "four five two s|ix"   ->   "four five s|ix"
+"four five si|x"   ->   "four five two si|x"   ->   "four five si|x"
+"four five six|"   ->   "four five two six|"   ->   "four five six|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters03-input.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters03-input.html
new file mode 100644
index 0000000..a18c32e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters03-input.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function pad(str,length)
+{
+    str = ""+str;
+    while (str.length < length)
+        str += " ";
+    return str;
+}
+
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var text1 = ps[0].firstChild;
+    var text2 = ps[1].firstChild;
+
+    var positions = new Array();
+    for (var i = 0; i <= text1.nodeValue.length; i++)
+        positions.push(new Position(text1,i));
+
+    for (var i = 0; i <= text2.nodeValue.length; i++)
+        positions.push(new Position(text2,i));
+
+    var origStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        origStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_moveCharacters(text1,4,8,text2,10,false,true);
+    });
+
+    var movedStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        movedStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        UndoManager_undo();
+    });
+    var undoneStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        undoneStrings.push(positions[i].toString());
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        var extra = "";
+        if (undoneStrings[i] != origStrings[i])
+            extra += " ***";
+        lines.push(origStrings[i]+"   ->   "+
+                   pad(movedStrings[i],20)+"   ->   "+
+                   undoneStrings[i]+extra+"\n");
+    }
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+<p>four five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters04-expected.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters04-expected.html
new file mode 100644
index 0000000..c59f731
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters04-expected.html
@@ -0,0 +1,28 @@
+"|one two three"   ->   "|one three"           ->   "|one two three"
+"o|ne two three"   ->   "o|ne three"           ->   "o|ne two three"
+"on|e two three"   ->   "on|e three"           ->   "on|e two three"
+"one| two three"   ->   "one| three"           ->   "one| two three"
+"one |two three"   ->   "one |three"           ->   "one |two three"
+"one t|wo three"   ->   "four five t|wo six"   ->   "one t|wo three"
+"one tw|o three"   ->   "four five tw|o six"   ->   "one tw|o three"
+"one two| three"   ->   "four five two| six"   ->   "one two| three"
+"one two |three"   ->   "one |three"           ->   "one |two three" ***
+"one two t|hree"   ->   "one t|hree"           ->   "one two t|hree"
+"one two th|ree"   ->   "one th|ree"           ->   "one two th|ree"
+"one two thr|ee"   ->   "one thr|ee"           ->   "one two thr|ee"
+"one two thre|e"   ->   "one thre|e"           ->   "one two thre|e"
+"one two three|"   ->   "one three|"           ->   "one two three|"
+"|four five six"   ->   "|four five two six"   ->   "|four five six"
+"f|our five six"   ->   "f|our five two six"   ->   "f|our five six"
+"fo|ur five six"   ->   "fo|ur five two six"   ->   "fo|ur five six"
+"fou|r five six"   ->   "fou|r five two six"   ->   "fou|r five six"
+"four| five six"   ->   "four| five two six"   ->   "four| five six"
+"four |five six"   ->   "four |five two six"   ->   "four |five six"
+"four f|ive six"   ->   "four f|ive two six"   ->   "four f|ive six"
+"four fi|ve six"   ->   "four fi|ve two six"   ->   "four fi|ve six"
+"four fiv|e six"   ->   "four fiv|e two six"   ->   "four fiv|e six"
+"four five| six"   ->   "four five| two six"   ->   "four five| six"
+"four five |six"   ->   "four five |two six"   ->   "four five |six"
+"four five s|ix"   ->   "four five two s|ix"   ->   "four five s|ix"
+"four five si|x"   ->   "four five two si|x"   ->   "four five si|x"
+"four five six|"   ->   "four five two six|"   ->   "four five six|"

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/moveCharacters04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/moveCharacters04-input.html b/experiments/editorFramework/test/Layer0/dom/moveCharacters04-input.html
new file mode 100644
index 0000000..7d409d7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/moveCharacters04-input.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function pad(str,length)
+{
+    str = ""+str;
+    while (str.length < length)
+        str += " ";
+    return str;
+}
+
+function performTest()
+{
+    var ps = document.getElementsByTagName("P");
+    var text1 = ps[0].firstChild;
+    var text2 = ps[1].firstChild;
+
+    var positions = new Array();
+    for (var i = 0; i <= text1.nodeValue.length; i++)
+        positions.push(new Position(text1,i));
+
+    for (var i = 0; i <= text2.nodeValue.length; i++)
+        positions.push(new Position(text2,i));
+
+    var origStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        origStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        DOM_moveCharacters(text1,4,8,text2,10,true,true);
+    });
+
+    var movedStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        movedStrings.push(positions[i].toString());
+
+    Position_trackWhileExecuting(positions,function() {
+        UndoManager_undo();
+    });
+    var undoneStrings = new Array();
+    for (var i = 0; i < positions.length; i++)
+        undoneStrings.push(positions[i].toString());
+
+    var lines = new Array();
+    for (var i = 0; i < positions.length; i++) {
+        var extra = "";
+        if (undoneStrings[i] != origStrings[i])
+            extra += " ***";
+        lines.push(origStrings[i]+"   ->   "+
+                   pad(movedStrings[i],20)+"   ->   "+
+                   undoneStrings[i]+extra+"\n");
+    }
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+<p>four five six</p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert02-input.html b/experiments/editorFramework/test/Layer0/outline/tocInsert02-input.html
new file mode 100644
index 0000000..42f8296
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert02-input.html
@@ -0,0 +1,49 @@
+<!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();
+
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+//    showSelection();
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+Before[]After
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure A</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure B</figcaption>
+</figure>
+<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>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html b/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html
new file mode 100644
index 0000000..5b703f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html
@@ -0,0 +1,53 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+    <style>
+    </style>
+  </head>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item7">1 Section 1</a></p>
+      <p class="toc1"><a href="#item4">2 Section 2</a></p>
+    </nav>
+    <nav class="listoffigures">
+      <p class="toc1"><a href="#item5">1 Test figure A</a></p>
+      <p class="toc1"><a href="#item6">2 Test figure B</a></p>
+    </nav>
+    <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>
+    </nav>
+    <h1 id="item7">Section 1</h1>
+    <h1 id="item4">Section 2</h1>
+    <figure id="item5">
+      (figure content)
+      <figcaption>Test figure A</figcaption>
+    </figure>
+    <figure id="item6">
+      (figure content)
+      <figcaption>Test figure B</figcaption>
+    </figure>
+    <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>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html b/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html
new file mode 100644
index 0000000..2275955
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html
@@ -0,0 +1,48 @@
+<!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();
+
+    Outline_insertTableOfContents();
+    PostponedActions_perform();
+    Outline_insertListOfFigures();
+    PostponedActions_perform();
+//    showSelection();
+    Outline_insertListOfTables();
+    PostponedActions_perform();
+
+    simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>[]4 Section 1</h1>
+<h1>4 Section 2</h1>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure A</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure B</figcaption>
+</figure>
+<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>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html
new file mode 100644
index 0000000..a0df9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html
new file mode 100644
index 0000000..3264d99
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html
new file mode 100644
index 0000000..a0df9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html
new file mode 100644
index 0000000..4f8e72b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html
new file mode 100644
index 0000000..3d88ac7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+      .o.n.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html
new file mode 100644
index 0000000..a68acbb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br>one</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html
new file mode 100644
index 0000000..3d88ac7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+      .o.n.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html
new file mode 100644
index 0000000..1cd6e33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br> one </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html
new file mode 100644
index 0000000..3d88ac7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+      .o.n.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html
new file mode 100644
index 0000000..fa69ceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br>  one  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html
new file mode 100644
index 0000000..33a7d79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+      .
+      <br/>
+      .
+      <br/>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html
new file mode 100644
index 0000000..dad307c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br><br><br><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html
new file mode 100644
index 0000000..33a7d79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+      .
+      <br/>
+      .
+      <br/>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html
new file mode 100644
index 0000000..8941372
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <br> <br> <br> <br> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html
new file mode 100644
index 0000000..33a7d79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <br/>
+      .
+      <br/>
+      .
+      <br/>
+      .
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html
new file mode 100644
index 0000000..5675a14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   <br>   <br>   <br>   <br>   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html
new file mode 100644
index 0000000..d3eefec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+      .t.w.o.
+      <br/>
+      .t.h.r.e.e.
+      <br/>
+      .f.o.u.r.
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html
new file mode 100644
index 0000000..eb6bceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<br>two<br>three<br>four<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html
new file mode 100644
index 0000000..d3eefec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+      .t.w.o.
+      <br/>
+      .t.h.r.e.e.
+      <br/>
+      .f.o.u.r.
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html
new file mode 100644
index 0000000..3c6e33b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> one <br> two <br> three <br> four <br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html
new file mode 100644
index 0000000..d3eefec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+      .t.w.o.
+      <br/>
+      .t.h.r.e.e.
+      <br/>
+      .f.o.u.r.
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html
new file mode 100644
index 0000000..064dd32
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   one   <br>   two   <br>   three   <br>   four   <br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html
new file mode 100644
index 0000000..b76f047
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+      .t.w.o.
+      <br/>
+      .t.h.r.e.e.
+      <br/>
+      .f.o.u.r.
+      <br/>
+      .f.i.v.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html
new file mode 100644
index 0000000..43aebc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<br>two<br>three<br>four<br>five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html
new file mode 100644
index 0000000..b76f047
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+      .t.w.o.
+      <br/>
+      .t.h.r.e.e.
+      <br/>
+      .f.o.u.r.
+      <br/>
+      .f.i.v.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html
new file mode 100644
index 0000000..b97d4eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> one <br> two <br> three <br> four <br> five </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html
new file mode 100644
index 0000000..b76f047
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .o.n.e.
+      <br/>
+      .t.w.o.
+      <br/>
+      .t.h.r.e.e.
+      <br/>
+      .f.o.u.r.
+      <br/>
+      .f.i.v.e.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html
new file mode 100644
index 0000000..25691f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>   one   <br>   two   <br>   three   <br>   four   <br>   five   </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html
new file mode 100644
index 0000000..9728da8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html
new file mode 100644
index 0000000..482f1f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body> </body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html
new file mode 100644
index 0000000..739c7c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>   </body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html
new file mode 100644
index 0000000..5cb12d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    addEmptyTextNode(document.body);
+    showValidPositions();
+}
+</script>
+</head>
+<body></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html
new file mode 100644
index 0000000..33a5b01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,""));
+    DOM_appendChild(document.body,DOM_createTextNode(document,""));
+    DOM_appendChild(document.body,DOM_createTextNode(document,""));
+    showValidPositions();
+}
+</script>
+</head>
+<body></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html
new file mode 100644
index 0000000..993289c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"\n"));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"\n"));
+    DOM_appendChild(document.body,DOM_createTextNode(document,"\n"));
+    showValidPositions();
+}
+</script>
+</head>
+<body></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html
new file mode 100644
index 0000000..a3089d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document," \n "));
+    DOM_appendChild(document.body,DOM_createTextNode(document," \n "));
+    DOM_appendChild(document.body,DOM_createTextNode(document," \n "));
+    showValidPositions();
+}
+</script>
+</head>
+<body></body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html
new file mode 100644
index 0000000..a99c22d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table id="item1">
+      <caption>.O.n.e.</caption>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html
new file mode 100644
index 0000000..a480b77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <caption>One</caption>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html
new file mode 100644
index 0000000..a99c22d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table id="item1">
+      <caption>.O.n.e.</caption>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html
new file mode 100644
index 0000000..9a4d5d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <caption> One </caption>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html
new file mode 100644
index 0000000..a99c22d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <table id="item1">
+      <caption>.O.n.e.</caption>
+      <tbody>
+        <tr>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+          <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+        </tr>
+      </tbody>
+    </table>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html
new file mode 100644
index 0000000..eaf0333
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+  <caption>   One   </caption>
+  <tr>
+    <td>Cell contents</td>
+    <td>Cell contents</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html
new file mode 100644
index 0000000..cb7614e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="endnote">.e.n.d.n.o.t.e.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html
new file mode 100644
index 0000000..3254c5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">endnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html
new file mode 100644
index 0000000..220a4e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="endnote">.e.n.d.n.o.t.e.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html
new file mode 100644
index 0000000..ee67b8a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">endnote</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html
new file mode 100644
index 0000000..56b5550
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="endnote">.e.n.d.n.o.t.e.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html
new file mode 100644
index 0000000..f4b15ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="endnote">endnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html
new file mode 100644
index 0000000..f2e6bfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="endnote">.e.n.d.n.o.t.e.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html
new file mode 100644
index 0000000..74a8606
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="endnote">endnote</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html
new file mode 100644
index 0000000..735a24f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="endnote">.f.i.r.s.t.</span>
+      .
+      <span class="endnote">.s.e.c.o.n.d.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html
new file mode 100644
index 0000000..91277c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote">first</span><span class="endnote">second</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html
new file mode 100644
index 0000000..4b5fd0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="endnote">.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html
new file mode 100644
index 0000000..ed8e9fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html
new file mode 100644
index 0000000..abff27c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="endnote">.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html
new file mode 100644
index 0000000..e10ba4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"></span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html
new file mode 100644
index 0000000..bbccfb6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="endnote">.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html
new file mode 100644
index 0000000..0691bb8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="endnote"></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html
new file mode 100644
index 0000000..80c2f50
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="endnote">.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html
new file mode 100644
index 0000000..6d4d4e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="endnote"></span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html
new file mode 100644
index 0000000..70cab9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="endnote">.</span>
+      .
+      <span class="endnote">.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html
new file mode 100644
index 0000000..4f1a5c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="endnote"></span><span class="endnote"></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html
new file mode 100644
index 0000000..1d20b61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>.O.n.e.</figcaption>
+    </figure>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html
new file mode 100644
index 0000000..1c9a8fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="nothing.png">
+  <figcaption>One</figcaption>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html
new file mode 100644
index 0000000..1d20b61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>.O.n.e.</figcaption>
+    </figure>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html
new file mode 100644
index 0000000..bcb49b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="nothing.png">
+  <figcaption> One </figcaption>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html
new file mode 100644
index 0000000..1d20b61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+  </head>
+  <body>
+    .
+    <figure id="item1">
+      <img src="nothing.png"/>
+      <figcaption>.O.n.e.</figcaption>
+    </figure>
+    .
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html
new file mode 100644
index 0000000..009cfdd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+<figure>
+  <img src="nothing.png">
+  <figcaption>   One   </figcaption>
+</figure>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html
new file mode 100644
index 0000000..30baef0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html
new file mode 100644
index 0000000..19f828f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">footnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html
new file mode 100644
index 0000000..6c640e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html
new file mode 100644
index 0000000..33071e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">footnote</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html
new file mode 100644
index 0000000..ffa20d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html
new file mode 100644
index 0000000..8f7f354
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="footnote">footnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html
new file mode 100644
index 0000000..df77fa9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html
new file mode 100644
index 0000000..4f84bb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="footnote">footnote</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html
new file mode 100644
index 0000000..3c42ff3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.f.i.r.s.t.</span>
+      .
+      <span class="footnote">.s.e.c.o.n.d.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html
new file mode 100644
index 0000000..6a41ff8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">first</span><span class="footnote">second</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html
new file mode 100644
index 0000000..c7f7280
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html
new file mode 100644
index 0000000..c73faa2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html
new file mode 100644
index 0000000..610bd41
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html
new file mode 100644
index 0000000..50f5b25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"></span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html
new file mode 100644
index 0000000..a257091
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="footnote">.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html
new file mode 100644
index 0000000..4e808bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="footnote"></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html
new file mode 100644
index 0000000..cc1183f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="footnote">.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html
new file mode 100644
index 0000000..3790129
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p><span class="footnote"></span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html
new file mode 100644
index 0000000..b192062
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.</span>
+      .
+      <span class="footnote">.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html
new file mode 100644
index 0000000..bcf3749
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote"></span><span class="footnote"></span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html
new file mode 100644
index 0000000..6c640e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html
new file mode 100644
index 0000000..5421f92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">footnote</span> </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html
new file mode 100644
index 0000000..6c640e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .b.e.f.o.r.e.
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html
new file mode 100644
index 0000000..a06bb2a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>before<span class="footnote">footnote</span>  </p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html
new file mode 100644
index 0000000..ffa20d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html
new file mode 100644
index 0000000..14f51ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p> <span class="footnote">footnote</span>after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html
new file mode 100644
index 0000000..ffa20d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+  </head>
+  <body>
+    <p>
+      .
+      <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+      .a.f.t.e.r.
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html
new file mode 100644
index 0000000..4335720
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+    showValidPositions();
+}
+</script>
+</head>
+<body>
+  <p>  <span class="footnote">footnote</span>after</p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style23-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style23-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/style23-nop-expected.html
new file mode 100644
index 0000000..0a56f25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style23-nop-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <h1>Paragraph two</h1>
+    <p>Paragraph three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style23-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style23-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/style23-nop-input.html
new file mode 100644
index 0000000..561307b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style23-nop-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+Paragraph t[]wo
+<p>Paragraph three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style23-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style23-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/style23-p-expected.html
new file mode 100644
index 0000000..0a56f25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style23-p-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <h1>Paragraph two</h1>
+    <p>Paragraph three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style23-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style23-p-input.html b/experiments/editorFramework/test/Layer0/formatting/style23-p-input.html
new file mode 100644
index 0000000..7242cbb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style23-p-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph t[]wo</p>
+<p>Paragraph three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style24-expected.html b/experiments/editorFramework/test/Layer0/formatting/style24-expected.html
new file mode 100644
index 0000000..7de4a92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style24-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <h1>
+      One two
+      <i>three</i>
+      four five
+    </h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/style24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/style24-input.html b/experiments/editorFramework/test/Layer0/formatting/style24-input.html
new file mode 100644
index 0000000..885f283
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/style24-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("H1",{});
+}
+</script>
+</head>
+<body>
+
+  <p>One [two <i>three</i> four] five</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/generic.css
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/generic.css b/experiments/editorFramework/test/Layer0/generic.css
new file mode 100644
index 0000000..5b93e8e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/generic.css
@@ -0,0 +1,62 @@
+body {
+    counter-reset: h1 h2 h3 h4 h5 h6 figure table;
+}
+
+table {
+    border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+td > :first-child, th > :first-child {
+    margin-top: 0;
+}
+td > :last-child, th > :last-child {
+    margin-bottom: 0;
+}
+td, th {
+    border: 1px solid black;
+}
+
+figure {
+    margin-left: auto;
+    margin-right: auto;
+    text-align: center;
+}
+
+.toc1 {
+    margin-bottom: 6pt;
+    margin-left: 0pt;
+    margin-top: 12pt;
+}
+.toc2 {
+    margin-bottom: 6pt;
+    margin-left: 24pt;
+    margin-top: 6pt;
+}
+.toc3 {
+    margin-bottom: 6pt;
+    margin-left: 48pt;
+    margin-top: 6pt;
+}
+
+caption {
+  caption-side: bottom;
+  counter-increment: table;
+}
+
+caption::before {
+  content: "Table " counter(table) ": ";
+}
+
+figcaption {
+  counter-increment: figure;
+}
+
+figcaption::before {
+  content: "Figure " counter(figure) ": ";
+}
+
+.uxwrite-autocorrect { background-color: #c0ffc0; }
+.uxwrite-selection { background-color: rgb(201,221,238); }
+.uxwrite-spelling { background-color: rgb(255,128,128); }
+.uxwrite-match { background-color: rgb(255,255,0); }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/genindex.sh
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/genindex.sh b/experiments/editorFramework/test/Layer0/genindex.sh
new file mode 100644
index 0000000..3c99da3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/genindex.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+(
+prevdir=""
+echo "// This file was generated by genindex.sh"
+echo "var tests = [";
+for dir in *; do
+    if [ -d $dir ]; then
+        if [ ! -z "$prevdir" ]; then
+            echo ","
+        fi
+        echo "  { dir: \"$dir\","
+        echo -n "    files: ["
+        prevfile=""
+        for file in $(cd $dir && echo *-input.html); do
+            if [ ! -z "$prevfile" ]; then
+                echo ","
+                echo -n "            "
+            fi
+            shortname=`echo $file | sed -e 's/-input.html//'`
+            echo -n "\"$shortname\""
+            prevfile="$file"
+        done
+        echo -n "] }"
+        prevdir="$dir"
+    fi
+done
+echo
+echo "];"
+) > index.js

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/htmltotext.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/htmltotext.html b/experiments/editorFramework/test/Layer0/htmltotext.html
new file mode 100644
index 0000000..01fbb41
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/htmltotext.html
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html> <head>
+<title></title>
+
+<script src="../tests/nulleditor.js"></script>
+<script src="../Clipboard_js"></script>
+<script src="../Cursor_js"></script>
+<script src="../DOM_js"></script>
+<script src="../Formatting_js"></script>
+<script src="../Hierarchy_js"></script>
+<script src="../init.js"></script>
+<script src="../Lists_js"></script>
+<script src="../NodeSet.js"></script>
+<script src="../Outline_js"></script>
+<script src="../Position.js"></script>
+<script src="../PostponedActions_js"></script>
+<script src="../Range.js"></script>
+<script src="../StringBuilder.js"></script>
+<script src="../traversal.js"></script>
+<script src="../types.js"></script>
+<script src="../UndoManager_js"></script>
+<script src="../util.js"></script>
+<script src="../Viewport_js"></script>
+<script src="../Selection_js"></script>
+<script src="../tests/testlib.js"></script>
+<script>
+function debug(str)
+{
+    console.log(str);
+}
+
+function loaded()
+{
+    DOM_assignNodeIds(document);
+    var text = Clipboard_htmlToText(document.body);
+    DOM_deleteAllChildren(document.body);
+    var pre = DOM_createElement(document,"PRE");
+    DOM_setStyleProperties(pre,{"white-space": "pre-wrap"});
+    DOM_appendChild(pre,DOM_createTextNode(document,text));
+    DOM_appendChild(document.body,pre);
+}
+</script>
+
+</head>
+
+<body onload="loaded()">
+
+<blockquote>
+<p>Here is some text in a blockquote. Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.</p>
+
+<p>Here is some text in a blockquote. Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.</p>
+
+<p>Here is some text in a blockquote. Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.Here is some text in a blockquote.</p>
+
+<blockquote>
+This is a nested blockquote. This is a nested blockquote. This is a nested blockquote. This is a nested blockquote. This is a nested blockquote. This is a nested blockquote. This is a nested blockquote. This is a nested blockquote. 
+</blockquote>
+
+<ul>
+    <li>One</li>
+    <li>Two</li>
+    <li>Three</li>
+</ul>
+
+</blockquote>
+
+<p>First paragraph</p>
+<p>Third paragraph</p>
+<h1>Heading 1</h1>
+<h2>Heading 2</h2>
+<h3>Heading 3</h3>
+<h4>Heading 4</h4>
+<h5>Heading 5</h5>
+<h6>Heading 6</h6>
+<div><div><div>Content inside nested div</div></div></div>
+<p>One <b>Two</b> <i>Three</i></p>
+<ul><li>Item one</li><li>Item two</li><li>Item three</li><li>Item four<ul><li>AAAAA</li><li>BBBBB</li><li>CCCCC</li></ul></li><li><p>Item five para 1</p><p>Item five para 2</p><p>Item five para 3</p></li>
+</ul>
+<p>Fourth paragraph</p>
+<p>Fifth paragraph</p>
+
+
+Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph. Some text that is not in a paragraph.
+
+<i>italic</i> <b>bold</b> <em>emphasis</em> <strong>strong</strong>
+
+<p><u>one</u><u>two</u><u>three</u></p>
+
+<p><u>one </u> <u> two </u> <u> three</u></p>
+
+Here is a link to the <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> (a good reference)
+
+<p>First paragraph</p>
+
+<p>Third paragraph</p>
+<p>One <b>Two</b> <i>Three</i></p>
+
+<ol>
+  <li>Item one</li>
+  <li>Item two</li>
+  <li>Item three</li>
+  <li>Item four
+    <ol>
+      <li>AAAAA</li>
+      <li>BBBBB<p>BBBBB</p>BBBBB<p>BBBBB</p>BBBBB<ul><li>one<p>x</p></li><li>two</li></ul></li>
+      <li>CCCCC</li>
+    </ol>
+  </li>
+  <li>Item five</li>
+  <li>Item</li>
+  <li>Item</li>
+  <li>Item</li>
+  <li>Item</li>
+  <li>Item<h1>Heading 1</h1><h2>Heading 2</h2>Rest of item</li>
+  <li>Item</li>
+  <li>Item</li>
+  <li>Item</li>
+</ol>
+
+<p>Fourth paragraph</p>
+
+<p>Fifth paragraph</p>
+
+</body>
+</html>


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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table06-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table06-expected.html
new file mode 100644
index 0000000..95b96b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table06-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            [
+            <table>
+              <tbody>
+                <tr>
+                  <td>One</td>
+                  <td>Two</td>
+                </tr>
+                <tr>
+                  <td>Three</td>
+                  <td>Four</td>
+                </tr>
+              </tbody>
+            </table>
+          </td>
+          <td>
+            <table>
+              <tbody>
+                <tr>
+                  <td>Five</td>
+                  <td>Six</td>
+                </tr>
+                <tr>
+                  <td>Seven</td>
+                  <td>Eight</td>
+                </tr>
+              </tbody>
+            </table>
+            ]
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table06-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table06-input.html
new file mode 100644
index 0000000..a194718
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table06-input.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+
+<p>Text before</p>
+
+<table>
+  <tbody>
+    <tr>
+      <td>
+
+        <table>
+          <tbody>
+            <tr>
+              <td>One</td>
+              <td>T[wo</td>
+            </tr>
+            <tr>
+              <td>Three</td>
+              <td>Four</td>
+            </tr>
+          </tbody>
+        </table>
+
+      </td>
+      <td>
+
+        <table>
+          <tbody>
+            <tr>
+              <td>Five</td>
+              <td>Six</td>
+            </tr>
+            <tr>
+              <td>S]even</td>
+              <td>Eight</td>
+            </tr>
+          </tbody>
+        </table>
+
+      </td>
+    </tr>
+  </tbody>
+</table>
+
+<p>Text after</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table07-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table07-expected.html
new file mode 100644
index 0000000..b2943a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table07-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text [before</p>
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            <table>
+              <tbody>
+                <tr>
+                  <td>One</td>
+                  <td>Two</td>
+                </tr>
+                <tr>
+                  <td>Three</td>
+                  <td>Four</td>
+                </tr>
+              </tbody>
+            </table>
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table07-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table07-input.html
new file mode 100644
index 0000000..0a0fea0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table07-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+
+<p>Text [before</p>
+
+<table>
+  <tbody>
+    <tr>
+      <td>
+
+        <table>
+          <tbody>
+            <tr>
+              <td>One</td>
+              <td>T]wo</td>
+            </tr>
+            <tr>
+              <td>Three</td>
+              <td>Four</td>
+            </tr>
+          </tbody>
+        </table>
+
+      </td>
+    </tr>
+  </tbody>
+</table>
+
+<p>Text after</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table08-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table08-expected.html
new file mode 100644
index 0000000..de62065
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table08-expected.html
@@ -0,0 +1,28 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <table>
+      <tbody>
+        <tr>
+          <td>
+            <table>
+              <tbody>
+                <tr>
+                  <td>One</td>
+                  <td>Two</td>
+                </tr>
+                <tr>
+                  <td>Three</td>
+                  <td>Four</td>
+                </tr>
+              </tbody>
+            </table>
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text] after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table08-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table08-input.html
new file mode 100644
index 0000000..24970ec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table08-input.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    showSelection();
+}
+</script>
+</head>
+<body>
+
+<p>Text before</p>
+
+<table>
+  <tbody>
+    <tr>
+      <td>
+
+        <table>
+          <tbody>
+            <tr>
+              <td>One</td>
+              <td>T[wo</td>
+            </tr>
+            <tr>
+              <td>Three</td>
+              <td>Four</td>
+            </tr>
+          </tbody>
+        </table>
+
+      </td>
+    </tr>
+  </tbody>
+</table>
+
+<p>Text] after</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table09-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table09-expected.html
new file mode 100644
index 0000000..f2c214b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table09-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table09-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table09-input.html
new file mode 100644
index 0000000..50dac14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table09-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var table = document.getElementsByTagName("TABLE")[0];
+    var offset = DOM_nodeOffset(table);
+    range.start = new Position(table.parentNode,DOM_nodeOffset(table));
+    Selection_set(range.start.node,range.start.offset,range.end.node,range.end.offset);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Tw[]o</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table10-expected.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table10-expected.html
new file mode 100644
index 0000000..f2c214b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table10-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text before</p>
+    [
+    <table>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    ]
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/boundaries-table10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/boundaries-table10-input.html b/experiments/editorFramework/test/Layer0/selection/boundaries-table10-input.html
new file mode 100644
index 0000000..0b08e8e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/boundaries-table10-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    var table = document.getElementsByTagName("TABLE")[0];
+    var offset = DOM_nodeOffset(table);
+    range.end = new Position(table.parentNode,DOM_nodeOffset(table)+1);
+    Selection_set(range.start.node,range.start.offset,range.end.node,range.end.offset);
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Text before</p>
+<table>
+  <tr>
+    <td>One</td>
+    <td>Tw[]o</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete01-expected.html b/experiments/editorFramework/test/Layer0/selection/delete01-expected.html
new file mode 100644
index 0000000..b3b3b3c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    one tw[] three
+    <p>four five six</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete01-input.html b/experiments/editorFramework/test/Layer0/selection/delete01-input.html
new file mode 100644
index 0000000..db1bef1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+one two[] three
+<p>four five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete02-expected.html b/experiments/editorFramework/test/Layer0/selection/delete02-expected.html
new file mode 100644
index 0000000..7209012
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete02-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    one [] three
+    <p>four five six</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete02-input.html b/experiments/editorFramework/test/Layer0/selection/delete02-input.html
new file mode 100644
index 0000000..ecb3df5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+one [two] three
+<p>four five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete03-expected.html b/experiments/editorFramework/test/Layer0/selection/delete03-expected.html
new file mode 100644
index 0000000..7bc65e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three[]four five six</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete03-input.html b/experiments/editorFramework/test/Layer0/selection/delete03-input.html
new file mode 100644
index 0000000..9f62e83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Cursor_deleteCharacter();
+    showSelection();
+}
+</script>
+</head>
+<body>
+one two three
+<p>[]four five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete04-expected.html b/experiments/editorFramework/test/Layer0/selection/delete04-expected.html
new file mode 100644
index 0000000..7bc65e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two three[]four five six</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete04-input.html b/experiments/editorFramework/test/Layer0/selection/delete04-input.html
new file mode 100644
index 0000000..0653b4e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+one two three[
+<p>]four five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete05-expected.html b/experiments/editorFramework/test/Layer0/selection/delete05-expected.html
new file mode 100644
index 0000000..54b89fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>one two [] five six</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/delete05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/delete05-input.html b/experiments/editorFramework/test/Layer0/selection/delete05-input.html
new file mode 100644
index 0000000..2676cbd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/delete05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+one two [three
+<p>four] five six</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-expected.html
new file mode 100644
index 0000000..cb82670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>F[]r</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-input.html
new file mode 100644
index 0000000..0626cb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list01-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>F[ou]r</li>
+  <li>Five</li>
+  <li>Six</li>
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-expected.html
new file mode 100644
index 0000000..9333aa5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Fo[]ve</li>
+      <li>Six</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-input.html
new file mode 100644
index 0000000..838773b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list02-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Fo[ur</li>
+  <li>Fi]ve</li>
+  <li>Six</li>
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-expected.html
new file mode 100644
index 0000000..0730d3f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Fo[]x</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-input.html
new file mode 100644
index 0000000..2431208
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list03-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Fo[ur</li>
+  <li>Five</li>
+  <li>Si]x</li>
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-expected.html
new file mode 100644
index 0000000..6814dad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Si[]en</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-input.html
new file mode 100644
index 0000000..b881856
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list04-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Si[x</li>
+</ol>
+<ol>
+  <li>Sev]en</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-expected.html
new file mode 100644
index 0000000..c8c83d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five[]</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-input.html
new file mode 100644
index 0000000..932c121
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list05-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Four</li>
+  <li>Five</li>
+  <li>[Six]</li>
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-expected.html
new file mode 100644
index 0000000..0e11803
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Six</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-input.html
new file mode 100644
index 0000000..705733a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list06-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Four</li>
+  [<li>Five</li>]
+  <li>Six</li>
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-expected.html
new file mode 100644
index 0000000..1ada671
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-input.html
new file mode 100644
index 0000000..db0c0b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list07-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Four</li>
+  <li>Five</li>
+  [<li>Six</li>]
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-expected.html
new file mode 100644
index 0000000..e79d746
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four[]Five</li>
+      <li>Six</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-input.html
new file mode 100644
index 0000000..1ef2a94
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list08-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Four[</li>
+  <li>]Five</li>
+  <li>Six</li>
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-expected.html
new file mode 100644
index 0000000..a7364e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-input.html
new file mode 100644
index 0000000..d2505f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list09-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  [<li>Four</li>
+  <li>Five</li>
+  <li>Six</li>]
+</ol>
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-expected.html
new file mode 100644
index 0000000..49a0e55
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-input.html
new file mode 100644
index 0000000..078b1dd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list10-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+[<ol>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+</ol>]
+<ol>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-expected.html
new file mode 100644
index 0000000..ce11e15
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+      <li>S[]</li>
+    </ol>
+    <ul>
+      <li>n</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ul>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-input.html
new file mode 100644
index 0000000..4a96f3d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list11-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<ol>
+  <li>Four</li>
+  <li>Five</li>
+  <li>S[ix</li>
+</ol>
+<ul>
+  <li>Seve]n</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ul>
+<ol>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-expected.html
new file mode 100644
index 0000000..9ae7322
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Thr[]Content 1</li>
+    </ol>
+    <p>Content 2</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-input.html
new file mode 100644
index 0000000..82617f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list12-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Thr[ee</li>
+</ol>
+<p>]Content 1</p>
+<p>Content 2</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-expected.html
new file mode 100644
index 0000000..7f6a0f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Thr[]ent 1</li>
+    </ol>
+    <p>Content 2</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-input.html
new file mode 100644
index 0000000..889ebee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list13-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Thr[ee</li>
+</ol>
+<p>Cont]ent 1</p>
+<p>Content 2</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-expected.html
new file mode 100644
index 0000000..1524552
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Thr[]ent 2</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-input.html
new file mode 100644
index 0000000..aef6887
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list14-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Thr[ee</li>
+</ol>
+<p>Content 1</p>
+<p>Cont]ent 2</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-expected.html
new file mode 100644
index 0000000..4413810
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Content 1</p>
+    <p>Content 2[]One</p>
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-input.html
new file mode 100644
index 0000000..b444ecb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list15-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Content 1</p>
+<p>Content 2[</p>
+<ol>
+  <li>]One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-expected.html
new file mode 100644
index 0000000..1a3d2ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Content 1</p>
+    <p>Cont[]ne</p>
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-input.html
new file mode 100644
index 0000000..f207f3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list16-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Content 1</p>
+<p>Cont[ent 2</p>
+<ol>
+  <li>O]ne</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-expected.html
new file mode 100644
index 0000000..78c14eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Co[]ne</p>
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-input.html
new file mode 100644
index 0000000..4aa0f52
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list17-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Co[ntent 1</p>
+<p>Content 2</p>
+<ol>
+  <li>O]ne</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-expected.html
new file mode 100644
index 0000000..0629fea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>Co[]wo</p>
+    <ol>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-input.html
new file mode 100644
index 0000000..f9271eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list18-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Co[ntent 1</p>
+<p>Content 2</p>
+<ol>
+  <li>One</li>
+  <li>T]wo</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-expected.html
new file mode 100644
index 0000000..97a4b59
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>T[]ntent 2</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-input.html
new file mode 100644
index 0000000..9fdecd4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-list19-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>T[wo</li>
+  <li>Three</li>
+</ol>
+<p>Content 1</p>
+<p>Co]ntent 2</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-expected.html
new file mode 100644
index 0000000..9d577cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1">
+      <span id="y1">[]</span>
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-input.html
new file mode 100644
index 0000000..7eb8f4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1"><span id="y1">[One]</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-expected.html
new file mode 100644
index 0000000..cf54cc3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x2"><span id="y2">[]Two</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-input.html
new file mode 100644
index 0000000..4e21088
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1"><span id="y1">[One]</span></p>
+<p id="x2"><span id="y2">Two</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-expected.html
new file mode 100644
index 0000000..f2546ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1"><span id="y1">One[]</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-input.html
new file mode 100644
index 0000000..2d56468
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1"><span id="y1">One</span></p>
+<p id="x2"><span id="y2">[Two]</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-expected.html
new file mode 100644
index 0000000..adb8dd8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1"><span id="y1">One[]</span></p>
+    <p id="x3"><span id="y3">Three</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-input.html
new file mode 100644
index 0000000..5b2fe92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1"><span id="y1">One</span></p>
+<p id="x2"><span id="y2">[Two]</span></p>
+<p id="x3"><span id="y3">Three</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-expected.html
new file mode 100644
index 0000000..fcf05df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x4"><span id="y4">[]Four</span></p>
+    <p id="x5"><span id="y5">Five</span></p>
+    <p id="x6"><span id="y6">Six</span></p>
+    <p id="x7"><span id="y7">Seven</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-input.html
new file mode 100644
index 0000000..641cc88
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1"><span id="y1">[One</span></p>
+<p id="x2"><span id="y2">Two</span></p>
+<p id="x3"><span id="y3">Three]</span></p>
+<p id="x4"><span id="y4">Four</span></p>
+<p id="x5"><span id="y5">Five</span></p>
+<p id="x6"><span id="y6">Six</span></p>
+<p id="x7"><span id="y7">Seven</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-expected.html
new file mode 100644
index 0000000..689bc57
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1"><span id="y1">One</span></p>
+    <p id="x2"><span id="y2">Two</span></p>
+    <p id="x3"><span id="y3">Three</span></p>
+    <p id="x4"><span id="y4">Four[]</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-input.html
new file mode 100644
index 0000000..a5112d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span06-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1"><span id="y1">One</span></p>
+<p id="x2"><span id="y2">Two</span></p>
+<p id="x3"><span id="y3">Three</span></p>
+<p id="x4"><span id="y4">Four</span></p>
+<p id="x5"><span id="y5">[Five</span></p>
+<p id="x6"><span id="y6">Six</span></p>
+<p id="x7"><span id="y7">Seven]</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-expected.html
new file mode 100644
index 0000000..f68c935
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1"><span id="y1">One</span></p>
+    <p id="x2"><span id="y2">Two[]</span></p>
+    <p id="x6"><span id="y6">Six</span></p>
+    <p id="x7"><span id="y7">Seven</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-input.html
new file mode 100644
index 0000000..8111409
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph-span07-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1"><span id="y1">One</span></p>
+<p id="x2"><span id="y2">Two</span></p>
+<p id="x3"><span id="y3">[Three</span></p>
+<p id="x4"><span id="y4">Four</span></p>
+<p id="x5"><span id="y5">Five]</span></p>
+<p id="x6"><span id="y6">Six</span></p>
+<p id="x7"><span id="y7">Seven</span></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-expected.html
new file mode 100644
index 0000000..a9a097a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1">
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-input.html
new file mode 100644
index 0000000..be71bea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1">[One]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-expected.html
new file mode 100644
index 0000000..1914faa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x2">[]Two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-input.html
new file mode 100644
index 0000000..46db6ea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1">[One]</p>
+<p id="x2">Two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-expected.html
new file mode 100644
index 0000000..1985c41
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1">One[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-input.html
new file mode 100644
index 0000000..ba92e51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1">One</p>
+<p id="x2">[Two]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-expected.html
new file mode 100644
index 0000000..43986bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1">One[]</p>
+    <p id="x3">Three</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-input.html
new file mode 100644
index 0000000..887776e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1">One</p>
+<p id="x2">[Two]</p>
+<p id="x3">Three</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-expected.html
new file mode 100644
index 0000000..600015e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x4">[]Four</p>
+    <p id="x5">Five</p>
+    <p id="x6">Six</p>
+    <p id="x7">Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-input.html
new file mode 100644
index 0000000..ac44efa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1">[One</p>
+<p id="x2">Two</p>
+<p id="x3">Three]</p>
+<p id="x4">Four</p>
+<p id="x5">Five</p>
+<p id="x6">Six</p>
+<p id="x7">Seven</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-expected.html
new file mode 100644
index 0000000..6b39588
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1">One</p>
+    <p id="x2">Two</p>
+    <p id="x3">Three</p>
+    <p id="x4">Four[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-input.html
new file mode 100644
index 0000000..85c71d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph06-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1">One</p>
+<p id="x2">Two</p>
+<p id="x3">Three</p>
+<p id="x4">Four</p>
+<p id="x5">[Five</p>
+<p id="x6">Six</p>
+<p id="x7">Seven]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-expected.html
new file mode 100644
index 0000000..5eefa5a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p id="x1">One</p>
+    <p id="x2">Two[]</p>
+    <p id="x6">Six</p>
+    <p id="x7">Seven</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-input.html
new file mode 100644
index 0000000..3e293e8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-paragraph07-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p id="x1">One</p>
+<p id="x2">Two</p>
+<p id="x3">[Three</p>
+<p id="x4">Four</p>
+<p id="x5">Five]</p>
+<p id="x6">Six</p>
+<p id="x7">Seven</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-expected.html
new file mode 100644
index 0000000..95829bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>T[]e</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-input.html
new file mode 100644
index 0000000..bad6e90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table01-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>T[hre]e</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-expected.html
new file mode 100644
index 0000000..3d96671
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>[]</td>
+          <td/>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-input.html
new file mode 100644
index 0000000..3a5479f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table02-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>T[wo</td>
+    <td>Thr]ee</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-expected.html
new file mode 100644
index 0000000..7b722db
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td>Six</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-input.html
new file mode 100644
index 0000000..d5b8fa6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table03-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>O[ne</td>
+    <td>Two</td>
+    <td>Thr]ee</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-expected.html
new file mode 100644
index 0000000..9071a01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-input.html
new file mode 100644
index 0000000..eadb0b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table04-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Thr[ee</td>
+  </tr>
+  <tr>
+    <td>Fo]ur</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-expected.html
new file mode 100644
index 0000000..7c56e8b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>[]</td>
+        </tr>
+        <tr>
+          <td>Four</td>
+          <td>Five</td>
+          <td/>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-input.html
new file mode 100644
index 0000000..e27cee6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table05-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Thr[ee</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Si]x</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-input.html
new file mode 100644
index 0000000..45435cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table06-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Thr[ee</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Se]ven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-input.html
new file mode 100644
index 0000000..3f54626
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table07-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>O[ne</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Ni]ne</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-expected.html
new file mode 100644
index 0000000..1f18901
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+        <tr>
+          <td>Seven</td>
+          <td>Eight</td>
+          <td>Nine</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-input.html
new file mode 100644
index 0000000..30eed24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table08-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var tr = document.getElementsByTagName("TR")[1];
+    var offset = DOM_nodeOffset(tr);
+    Selection_set(tr.parentNode,offset,tr.parentNode,offset+1);
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-expected.html
new file mode 100644
index 0000000..42d9ec2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <table border="1">
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+          <td>Three</td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-input.html
new file mode 100644
index 0000000..bf57040
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table09-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var tr1 = document.getElementsByTagName("TR")[1];
+    var tr2 = document.getElementsByTagName("TR")[2];
+    var tr1Offset = DOM_nodeOffset(tr1);
+    var tr2Offset = DOM_nodeOffset(tr2);
+    Selection_set(tr1.parentNode,tr1Offset,tr2.parentNode,tr2Offset+1);
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-expected.html
new file mode 100644
index 0000000..a15e867
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Content 2</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-input.html
new file mode 100644
index 0000000..d895378
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table10-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var tr = document.getElementsByTagName("TR")[1];
+    var p = document.getElementsByTagName("P")[0];
+    var trOffset = DOM_nodeOffset(tr);
+    var pOffset = DOM_nodeOffset(p);
+    Selection_set(tr.parentNode,trOffset,p.parentNode,pOffset+1);
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+<p>Content 1</p>
+<p>Content 2</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-input.html
new file mode 100644
index 0000000..b96a924
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table11-input.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var tr = document.getElementsByTagName("TR")[1];
+    var table = document.getElementsByTagName("TABLE")[0];
+    var trOffset = DOM_nodeOffset(tr);
+    var tableOffset = DOM_nodeOffset(table);
+    Selection_set(table.parentNode,tableOffset,tr.parentNode,trOffset+1);
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-expected.html
new file mode 100644
index 0000000..2c2157c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Content 1</p>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-input.html
new file mode 100644
index 0000000..2943f09
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table12-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var tr = document.getElementsByTagName("TR")[1];
+    var p = document.getElementsByTagName("P")[1];
+    var trOffset = DOM_nodeOffset(tr);
+    var pOffset = DOM_nodeOffset(p);
+    Selection_set(p.parentNode,pOffset,tr.parentNode,trOffset+1);
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Content 1</p>
+<p>Content 2</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-input.html
new file mode 100644
index 0000000..116f8a9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table13-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-expected.html
new file mode 100644
index 0000000..d809328
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Content 1</p>
+    <p>Content 4</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-input.html
new file mode 100644
index 0000000..3712311
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table14-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<p>Content 1</p>
+[<p>Content 2</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+<p>Content 3</p>]
+<p>Content 4</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-expected.html
new file mode 100644
index 0000000..4ce7ad1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>C[]t 4</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-input.html
new file mode 100644
index 0000000..94d65ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents-table15-input.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>C[ontent 1</p>
+<p>Content 2</p>
+<table border="1">
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+    <td>Three</td>
+  </tr>
+  <tr>
+    <td>Four</td>
+    <td>Five</td>
+    <td>Six</td>
+  </tr>
+  <tr>
+    <td>Seven</td>
+    <td>Eight</td>
+    <td>Nine</td>
+  </tr>
+</table>
+<p>Content 3</p>
+<p>Conten]t 4</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents01-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents01-expected.html
new file mode 100644
index 0000000..4724015
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sa[]t</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents01-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents01-input.html
new file mode 100644
index 0000000..e55f7d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sa[mple tex]t</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents02-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents02-expected.html
new file mode 100644
index 0000000..023378f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Sa[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents02-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents02-input.html
new file mode 100644
index 0000000..a5a2954
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sa[mple text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents03-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents03-expected.html
new file mode 100644
index 0000000..a293fd8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>[]xt</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents03-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents03-input.html
new file mode 100644
index 0000000..837a938
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[Sample te]xt</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents04-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents04-expected.html
new file mode 100644
index 0000000..46a6a7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents04-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents04-input.html
new file mode 100644
index 0000000..7f356c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents05-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents05-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents05-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents05-input.html
new file mode 100644
index 0000000..e935522
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[<p>Sample text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents06-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents06-expected.html
new file mode 100644
index 0000000..c2af56c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents06-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one</p>
+    <p>Fourth four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents06-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents06-input.html
new file mode 100644
index 0000000..fc83eaa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<p>First one</p>
+[<p>Second two</p>
+<p>Third three</p>]
+<p>Fourth four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents07-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents07-expected.html
new file mode 100644
index 0000000..2461855
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents07-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>First one</p>
+    <p>Second two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents07-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents07-input.html
new file mode 100644
index 0000000..259ce0e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<p>First one</p>
+<p>Second two</p>
+[<p>Third three</p>
+<p>Fourth four</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents08-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents08-expected.html
new file mode 100644
index 0000000..82e6c67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents08-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>Third three</p>
+    <p>Fourth four</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents08-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents08-input.html
new file mode 100644
index 0000000..b4cdbcd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+[<p>First one</p>
+<p>Second two</p>]
+<p>Third three</p>
+<p>Fourth four</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents09-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents09-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents09-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents09-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents09-input.html
new file mode 100644
index 0000000..0a96fdf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents09-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[<p>First one</p>
+<p>Second two</p>
+<p>Third three</p>
+<p>Fourth four</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents10-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents10-expected.html
new file mode 100644
index 0000000..72e0a69
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>First []two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents10-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents10-input.html
new file mode 100644
index 0000000..681d804
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents10-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First [one</p>
+<p>Second ]two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents11-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents11-expected.html
new file mode 100644
index 0000000..7979222
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents11-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First []two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents11-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents11-input.html
new file mode 100644
index 0000000..c7497be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents11-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div>
+  <p>First [one</p>
+  <p>Second ]two</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents12-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents12-expected.html
new file mode 100644
index 0000000..7979222
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents12-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First []two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents12-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents12-input.html
new file mode 100644
index 0000000..1b21c70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents12-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><p>First [one</p></div>
+<div><p>Second ]two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents13-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents13-expected.html
new file mode 100644
index 0000000..509b325
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents13-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <h1>First []two</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents13-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents13-input.html
new file mode 100644
index 0000000..f472860
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents13-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<h1>First [one</h1>
+<p>Second ]two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents14-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents14-expected.html
new file mode 100644
index 0000000..330b717
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents14-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <h1>First []two</h1>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents14-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents14-input.html
new file mode 100644
index 0000000..e26f6e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents14-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div>
+  <h1>First [one</h1>
+  <p>Second ]two</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents15-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents15-expected.html
new file mode 100644
index 0000000..330b717
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents15-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <h1>First []two</h1>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents15-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents15-input.html
new file mode 100644
index 0000000..7728cb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents15-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><h1>First [one</h1></div>
+<div><p>Second ]two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents16-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents16-expected.html
new file mode 100644
index 0000000..c13e48b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents16-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <style>
+.one { color: blue }
+.two { color: red }
+    </style>
+  </head>
+  <body>
+    <p class="one">First []two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents16-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents16-input.html
new file mode 100644
index 0000000..5187b07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents16-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.one { color: blue }
+.two { color: red }
+</style>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p class="one">First [one</p>
+<p class="two">Second ]two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents17-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents17-expected.html
new file mode 100644
index 0000000..62a51de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents17-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: blue">First []two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents17-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents17-input.html
new file mode 100644
index 0000000..d5e97cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents17-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p style="color: blue">First [one</p>
+<p style="color: red">Second ]two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents18-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents18-expected.html
new file mode 100644
index 0000000..72e0a69
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents18-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>First []two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents18-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents18-input.html
new file mode 100644
index 0000000..681d804
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents18-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First [one</p>
+<p>Second ]two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents18a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents18a-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents18a-expected.html
new file mode 100644
index 0000000..72e0a69
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents18a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>First []two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents18a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents18a-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents18a-input.html
new file mode 100644
index 0000000..1a8ed3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents18a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+First [one
+<p>Second ]two</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents18b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents18b-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents18b-expected.html
new file mode 100644
index 0000000..72e0a69
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents18b-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>First []two</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents18b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents18b-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents18b-input.html
new file mode 100644
index 0000000..f118f7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents18b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>First [one</p>
+Second ]two
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents19-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents19-expected.html
new file mode 100644
index 0000000..d516e02
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents19-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>First []two</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents19-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents19-input.html
new file mode 100644
index 0000000..459a9ca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents19-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>First [one</b></p>
+<p><b>Second ]two</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents19a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents19a-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents19a-expected.html
new file mode 100644
index 0000000..d516e02
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents19a-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>First []two</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents19a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents19a-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents19a-input.html
new file mode 100644
index 0000000..b25f656
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents19a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<b>First [one</b>
+<p><b>Second ]two</b></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents19b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents19b-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents19b-expected.html
new file mode 100644
index 0000000..d516e02
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents19b-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>First []two</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents19b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents19b-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents19b-input.html
new file mode 100644
index 0000000..606cf73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents19b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p><b>First [one</b></p>
+<b>Second ]two</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents20-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents20-expected.html
new file mode 100644
index 0000000..7979222
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents20-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First []two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents20-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents20-input.html
new file mode 100644
index 0000000..1b21c70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents20-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><p>First [one</p></div>
+<div><p>Second ]two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents20a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents20a-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents20a-expected.html
new file mode 100644
index 0000000..7979222
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents20a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First []two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents20a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents20a-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents20a-input.html
new file mode 100644
index 0000000..18cea84
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents20a-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+First [one
+<div><p>Second ]two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents20b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents20b-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents20b-expected.html
new file mode 100644
index 0000000..7979222
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents20b-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>First []two</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents20b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents20b-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents20b-input.html
new file mode 100644
index 0000000..14a5f4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents20b-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<div><p>First [one</p></div>
+Second ]two
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents21-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents21-expected.html
new file mode 100644
index 0000000..a87d29f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents21-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <b><i>First</i></b>
+        two
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents21-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents21-input.html
new file mode 100644
index 0000000..6592c3f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents21-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<div><p><b><i>First [one</i></b></p></div>
+<div><p>Second ]two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents21a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents21a-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents21a-expected.html
new file mode 100644
index 0000000..a87d29f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents21a-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <b><i>First</i></b>
+        two
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents21a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents21a-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents21a-input.html
new file mode 100644
index 0000000..3ac270c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents21a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<b><i>First [one</i></b>
+<div><p>Second ]two</p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents21b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents21b-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents21b-expected.html
new file mode 100644
index 0000000..a87d29f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents21b-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <b><i>First</i></b>
+        two
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents21b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents21b-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents21b-input.html
new file mode 100644
index 0000000..94aa41f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents21b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<div><p><b><i>First [one</i></b></p></div>
+Second ]two
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents22-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents22-expected.html
new file mode 100644
index 0000000..533a41e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents22-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <b>
+          <i>
+            <u><tt>First</tt></u>
+            two
+          </i>
+        </b>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents22-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents22-input.html
new file mode 100644
index 0000000..d75c81b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents22-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<div><p><b><i><u><tt>First [one</tt></u></i></b></p></div>
+<div><p><b><i>Second ]two</i></b></p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents22a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents22a-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents22a-expected.html
new file mode 100644
index 0000000..533a41e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents22a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <b>
+          <i>
+            <u><tt>First</tt></u>
+            two
+          </i>
+        </b>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents22a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents22a-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents22a-input.html
new file mode 100644
index 0000000..108d53d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents22a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<b><i><u><tt>First [one</tt></u></i></b>
+<div><p><b><i>Second ]two</i></b></p></div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents22b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents22b-expected.html b/experiments/editorFramework/test/Layer0/selection/deleteContents22b-expected.html
new file mode 100644
index 0000000..533a41e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents22b-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <b>
+          <i>
+            <u><tt>First</tt></u>
+            two
+          </i>
+        </b>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/deleteContents22b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/deleteContents22b-input.html b/experiments/editorFramework/test/Layer0/selection/deleteContents22b-input.html
new file mode 100644
index 0000000..929f9f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/deleteContents22b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_deleteContents();
+}
+</script>
+</head>
+<body>
+<div><p><b><i><u><tt>First [one</tt></u></i></b></p></div>
+<b><i>Second ]two</i></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-figure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-figure01-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights-figure01-expected.html
new file mode 100644
index 0000000..a7cff4f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-figure01-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head>
+    <style>
+figure {
+    margin-left: auto;
+    margin-right: auto;
+    text-align: center;
+}
+    </style>
+  </head>
+  <body>
+    <p>
+      Text
+      <span class="uxwrite-selection">before</span>
+    </p>
+    <div class="uxwrite-selection">
+      <figure>
+        <img src="../figures/nothing.png"/>
+        <figcaption>Test figure</figcaption>
+      </figure>
+    </div>
+    <p>
+      <span class="uxwrite-selection">Text</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-figure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-figure01-input.html b/experiments/editorFramework/test/Layer0/selection/highlights-figure01-input.html
new file mode 100644
index 0000000..fc6945c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-figure01-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <style>
+figure {
+    margin-left: auto;
+    margin-right: auto;
+    text-align: center;
+}
+    </style>
+<script>
+function performTest()
+{
+   outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Text] after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-figure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-figure02-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights-figure02-expected.html
new file mode 100644
index 0000000..fbecf51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-figure02-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head>
+    <style>
+figure {
+    margin-left: auto;
+    margin-right: auto;
+    text-align: center;
+}
+    </style>
+  </head>
+  <body>
+    <p>
+      <span class="uxwrite-selection">T</span>
+      ext before
+    </p>
+    <figure>
+      <img src="../figures/nothing.png"/>
+      <figcaption>Test figure</figcaption>
+    </figure>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-figure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-figure02-input.html b/experiments/editorFramework/test/Layer0/selection/highlights-figure02-input.html
new file mode 100644
index 0000000..4a4f6c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-figure02-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <style>
+figure {
+    margin-left: auto;
+    margin-right: auto;
+    text-align: center;
+}
+    </style>
+<script>
+function performTest()
+{
+    outputOptions.keepSelectionHighlights = true;
+
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    Selection_set(text,0,text,1);
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<figure>
+  <img src="../figures/nothing.png">
+  <figcaption>Test figure</figcaption>
+</figure>
+<p>Text] after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-table01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-table01-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights-table01-expected.html
new file mode 100644
index 0000000..c6df315
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-table01-expected.html
@@ -0,0 +1,48 @@
+<html>
+  <head>
+    <style>
+caption {
+    caption-side: bottom;
+}
+table {
+    border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+td > :first-child, th > :first-child {
+    margin-top: 0;
+}
+td > :last-child, th > :last-child {
+    margin-bottom: 0;
+}
+td, th {
+    border: 1px solid black;
+}
+    </style>
+  </head>
+  <body>
+    <p>
+      Text
+      <span class="uxwrite-selection">before</span>
+    </p>
+    <div class="uxwrite-selection">
+      <table width="100%">
+        <caption>Test caption</caption>
+        <tbody>
+          <tr>
+            <td>One</td>
+            <td>Two</td>
+          </tr>
+          <tr>
+            <td>Three</td>
+            <td>Four</td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <p>
+      <span class="uxwrite-selection">Text</span>
+      after
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-table01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-table01-input.html b/experiments/editorFramework/test/Layer0/selection/highlights-table01-input.html
new file mode 100644
index 0000000..361dffd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-table01-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+caption {
+    caption-side: bottom;
+}
+table {
+    border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+td > :first-child, th > :first-child {
+    margin-top: 0;
+}
+td > :last-child, th > :last-child {
+    margin-bottom: 0;
+}
+td, th {
+    border: 1px solid black;
+}
+</style>
+<script>
+function performTest()
+{
+    outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<table width="100%">
+  <caption>Test caption</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text] after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-table02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-table02-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights-table02-expected.html
new file mode 100644
index 0000000..5d17f3b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-table02-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <style>
+caption {
+    caption-side: bottom;
+}
+table {
+    border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+td > :first-child, th > :first-child {
+    margin-top: 0;
+}
+td > :last-child, th > :last-child {
+    margin-bottom: 0;
+}
+td, th {
+    border: 1px solid black;
+}
+    </style>
+  </head>
+  <body>
+    <p>
+      <span class="uxwrite-selection">T</span>
+      ext before
+    </p>
+    <table width="100%">
+      <caption>Test caption</caption>
+      <tbody>
+        <tr>
+          <td>One</td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-table02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-table02-input.html b/experiments/editorFramework/test/Layer0/selection/highlights-table02-input.html
new file mode 100644
index 0000000..6cd3545
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-table02-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+caption {
+    caption-side: bottom;
+}
+table {
+    border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+td > :first-child, th > :first-child {
+    margin-top: 0;
+}
+td > :last-child, th > :last-child {
+    margin-bottom: 0;
+}
+td, th {
+    border: 1px solid black;
+}
+</style>
+<script>
+function performTest()
+{
+    outputOptions.keepSelectionHighlights = true;
+
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    Selection_set(text,0,text,1);
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<table width="100%">
+  <caption>Test caption</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text] after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-table03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-table03-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights-table03-expected.html
new file mode 100644
index 0000000..9d7bb32
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-table03-expected.html
@@ -0,0 +1,43 @@
+<html>
+  <head>
+    <style>
+caption {
+    caption-side: bottom;
+}
+table {
+    border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+td > :first-child, th > :first-child {
+    margin-top: 0;
+}
+td > :last-child, th > :last-child {
+    margin-bottom: 0;
+}
+td, th {
+    border: 1px solid black;
+}
+    </style>
+  </head>
+  <body>
+    <p>Text before</p>
+    <table width="100%">
+      <caption>Test caption</caption>
+      <tbody>
+        <tr>
+          <td>
+            <span class="uxwrite-selection">O</span>
+            ne
+          </td>
+          <td>Two</td>
+        </tr>
+        <tr>
+          <td>Three</td>
+          <td>Four</td>
+        </tr>
+      </tbody>
+    </table>
+    <p>Text after</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-table03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-table03-input.html b/experiments/editorFramework/test/Layer0/selection/highlights-table03-input.html
new file mode 100644
index 0000000..80774ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-table03-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+caption {
+    caption-side: bottom;
+}
+table {
+    border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+td > :first-child, th > :first-child {
+    margin-top: 0;
+}
+td > :last-child, th > :last-child {
+    margin-bottom: 0;
+}
+td, th {
+    border: 1px solid black;
+}
+</style>
+<script>
+function performTest()
+{
+    outputOptions.keepSelectionHighlights = true;
+
+    var tds = document.getElementsByTagName("TD");
+    var text = tds[0].firstChild;
+    Selection_set(text,0,text,1);
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<table width="100%">
+  <caption>Test caption</caption>
+  <tr>
+    <td>One</td>
+    <td>Two</td>
+  </tr>
+  <tr>
+    <td>Three</td>
+    <td>Four</td>
+  </tr>
+</table>
+<p>Text] after</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-toc01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-toc01-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights-toc01-expected.html
new file mode 100644
index 0000000..3fff834
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-toc01-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      Text
+      <span class="uxwrite-selection">before</span>
+    </p>
+    <div class="uxwrite-selection">
+      <nav class="tableofcontents">
+        <p class="toc1"><a href="#item1">First section</a></p>
+        <p class="toc1"><a href="#item2">Second section</a></p>
+        <p class="toc1"><a href="#item3">Third section</a></p>
+      </nav>
+    </div>
+    <p>
+      <span class="uxwrite-selection">Text</span>
+      after
+    </p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-toc01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-toc01-input.html b/experiments/editorFramework/test/Layer0/selection/highlights-toc01-input.html
new file mode 100644
index 0000000..7be5644
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-toc01-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<nav class="tableofcontents">
+</nav>
+<p>Text] after</p>
+<h1>First section</h1>
+<h1>Second section</h1>
+<h1>Third section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-toc02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-toc02-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights-toc02-expected.html
new file mode 100644
index 0000000..2646343
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-toc02-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      <span class="uxwrite-selection">T</span>
+      ext before
+    </p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+      <p class="toc1"><a href="#item3">Third section</a></p>
+    </nav>
+    <p>Text after</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+    <h1 id="item3">Third section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights-toc02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights-toc02-input.html b/experiments/editorFramework/test/Layer0/selection/highlights-toc02-input.html
new file mode 100644
index 0000000..83ba229
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights-toc02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Outline_init();
+    PostponedActions_perform();
+
+    outputOptions.keepSelectionHighlights = true;
+
+    var p = document.getElementsByTagName("P")[0];
+    var text = p.firstChild;
+    Selection_set(text,0,text,1);
+}
+</script>
+</head>
+<body>
+<p>Text [before</p>
+<nav class="tableofcontents">
+</nav>
+<p>Text] after</p>
+<h1>First section</h1>
+<h1>Second section</h1>
+<h1>Third section</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights01-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights01-expected.html
new file mode 100644
index 0000000..3e71667
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights01-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>First paragraph</p>
+    <p><span class="uxwrite-selection">Second paragraph</span></p>
+    <p>Third paragraph</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights01-input.html b/experiments/editorFramework/test/Layer0/selection/highlights01-input.html
new file mode 100644
index 0000000..01142b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectParagraph();
+    outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>Second []paragraph</p>
+<p>Third paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights02-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights02-expected.html
new file mode 100644
index 0000000..7858d05
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      First
+      <span class="uxwrite-selection">paragraph</span>
+    </p>
+    <p><span class="uxwrite-selection">Second paragraph</span></p>
+    <p>
+      <span class="uxwrite-selection">Third</span>
+      paragraph
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights02-input.html b/experiments/editorFramework/test/Layer0/selection/highlights02-input.html
new file mode 100644
index 0000000..c1c916a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>First[ paragraph</p>
+<p>Second paragraph</p>
+<p>Third ]paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights03-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights03-expected.html
new file mode 100644
index 0000000..e594049
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p><span class="uxwrite-selection">First paragraph</span></p>
+    <p><span class="uxwrite-selection">Second paragraph</span></p>
+    <p><span class="uxwrite-selection">Third paragraph</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights03-input.html b/experiments/editorFramework/test/Layer0/selection/highlights03-input.html
new file mode 100644
index 0000000..49a3a13
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectAll();
+
+    outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>Second paragraph</p>
+<p>Third paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights04-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights04-expected.html
new file mode 100644
index 0000000..6377969
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>First paragraph</p>
+    <p>Second paragraph</p>
+    <p>Third paragraph</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights04-input.html b/experiments/editorFramework/test/Layer0/selection/highlights04-input.html
new file mode 100644
index 0000000..ab3ad9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectAll();
+    PostponedActions_perform();
+    Clipboard_cut();
+    PostponedActions_perform();
+
+    UndoManager_undo();
+    PostponedActions_perform();
+
+    UndoManager_undo();
+    PostponedActions_perform();
+
+    outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>Second paragraph</p>
+<p>Third paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights05-expected.html b/experiments/editorFramework/test/Layer0/selection/highlights05-expected.html
new file mode 100644
index 0000000..8de2703
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>First paragraph</p>
+    <p>Second paragraph</p>
+    <p><span class="uxwrite-selection">Third paragraph</span></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/highlights05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/highlights05-input.html b/experiments/editorFramework/test/Layer0/selection/highlights05-input.html
new file mode 100644
index 0000000..f4a988b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/highlights05-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_selectAll();
+    PostponedActions_perform();
+    Clipboard_cut();
+    PostponedActions_perform();
+
+    UndoManager_undo();
+    PostponedActions_perform();
+
+    selectNode(document.getElementsByTagName("P")[2]);
+
+    outputOptions.keepSelectionHighlights = true;
+}
+</script>
+</head>
+<body>
+<p>First paragraph</p>
+<p>Second paragraph</p>
+<p>Third paragraph</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner01a-expected.html b/experiments/editorFramework/test/Layer0/selection/positions-inner01a-expected.html
new file mode 100644
index 0000000..934874a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner01a-expected.html
@@ -0,0 +1,27 @@
+From "one [two three four] five"
+To   "one two [three] four five"
+
+"|one two three four five"   ->   "|one "             ->   "|one two "     ->   YES/YES
+"o|ne two three four five"   ->   "o|ne "             ->   "o|ne two "     ->   YES/YES
+"on|e two three four five"   ->   "on|e "             ->   "on|e two "     ->   YES/YES
+"one| two three four five"   ->   "one| "             ->   "one| two "     ->   YES/YES
+"one |two three four five"   ->   "|two three four"   ->   "one |two "     ->   YES/YES
+"one t|wo three four five"   ->   "t|wo three four"   ->   "one t|wo "     ->   YES/YES
+"one tw|o three four five"   ->   "tw|o three four"   ->   "one tw|o "     ->   YES/YES
+"one two| three four five"   ->   "two| three four"   ->   "one two| "     ->   YES/YES
+"one two |three four five"   ->   "two |three four"   ->   "|three"        ->   YES/YES
+"one two t|hree four five"   ->   "two t|hree four"   ->   "t|hree"        ->   YES/YES
+"one two th|ree four five"   ->   "two th|ree four"   ->   "th|ree"        ->   YES/YES
+"one two thr|ee four five"   ->   "two thr|ee four"   ->   "thr|ee"        ->   YES/YES
+"one two thre|e four five"   ->   "two thre|e four"   ->   "thre|e"        ->   YES/YES
+"one two three| four five"   ->   "two three| four"   ->   "three|"        ->   YES/YES
+"one two three |four five"   ->   "two three |four"   ->   " |four five"   ->   YES/YES
+"one two three f|our five"   ->   "two three f|our"   ->   " f|our five"   ->   YES/YES
+"one two three fo|ur five"   ->   "two three fo|ur"   ->   " fo|ur five"   ->   YES/YES
+"one two three fou|r five"   ->   "two three fou|r"   ->   " fou|r five"   ->   YES/YES
+"one two three four| five"   ->   "two three four|"   ->   " four| five"   ->   YES/YES
+"one two three four |five"   ->   " |five"            ->   " four |five"   ->   YES/YES
+"one two three four f|ive"   ->   " f|ive"            ->   " four f|ive"   ->   YES/YES
+"one two three four fi|ve"   ->   " fi|ve"            ->   " four fi|ve"   ->   YES/YES
+"one two three four fiv|e"   ->   " fiv|e"            ->   " four fiv|e"   ->   YES/YES
+"one two three four five|"   ->   " five|"            ->   " four five|"   ->   YES/YES

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/selection/positions-inner01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/selection/positions-inner01a-input.html b/experiments/editorFramework/test/Layer0/selection/positions-inner01a-input.html
new file mode 100644
index 0000000..6f61e7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/selection/positions-inner01a-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="PositionTests.js"></script>
+<script>
+function performTest()
+{
+    // From "one [two three four] five"
+    // To   "one two [three] four five"
+    return positionTest(4,18,8,13);
+}
+</script>
+</head>
+<body>
+<p>one two three four five</p>
+</body>
+</html>



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

Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange07-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange07-input.html
new file mode 100644
index 0000000..17c0d45
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var pos = new Position(p,1);
+    Input_replaceRange(pos,pos,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample<img src="../figures/nothing.png">text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange08-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange08-expected.html
new file mode 100644
index 0000000..e08da90
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Sample
+      <img src="../figures/nothing.png"/>
+      HELLO[]text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange08-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange08-input.html
new file mode 100644
index 0000000..1905eee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var pos = new Position(p,2);
+    Input_replaceRange(pos,pos,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample<img src="../figures/nothing.png">text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange09-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange09-expected.html
new file mode 100644
index 0000000..0007228
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange09-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Sample
+      <img src="../figures/nothing.png"/>
+      HELLO[]
+      <img src="../figures/nothing.png"/>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange09-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange09-input.html
new file mode 100644
index 0000000..a898b44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange09-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var pos = new Position(p,2);
+    Input_replaceRange(pos,pos,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample<img src="../figures/nothing.png"><img src="../figures/nothing.png">text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange10-expected.html b/experiments/editorFramework/test/Layer0/input/replaceRange10-expected.html
new file mode 100644
index 0000000..4423f85
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange10-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>
+      HELLO[]
+      <br/>
+    </p>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/replaceRange10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/replaceRange10-input.html b/experiments/editorFramework/test/Layer0/input/replaceRange10-input.html
new file mode 100644
index 0000000..518cc94
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/replaceRange10-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var range = Selection_get();
+    Input_replaceRange(range.start,range.end,"HELLO");
+    showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<p>[Sample text]</p>
+<p>After</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList01a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList01a-expected.html
new file mode 100644
index 0000000..e628530
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList01a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList01a-input.html
new file mode 100644
index 0000000..adce591
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList01a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList01b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList01b-expected.html
new file mode 100644
index 0000000..e628530
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList01b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList01b-input.html
new file mode 100644
index 0000000..17460ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList01b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList02a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList02a-expected.html
new file mode 100644
index 0000000..8fd4b7b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList02a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList02a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList02a-input.html
new file mode 100644
index 0000000..c8bcf42
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList02a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList02b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList02b-expected.html
new file mode 100644
index 0000000..a085c2c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList02b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>One</p>
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList02b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList02b-input.html
new file mode 100644
index 0000000..b9eb0b0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList02b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One]</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList03a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList03a-expected.html
new file mode 100644
index 0000000..ad84c10
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList03a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ol>
+    <p>Three</p>
+    <ol>
+      <li><p>Four</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList03a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList03a-input.html
new file mode 100644
index 0000000..63a9853
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList03a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>[Three]</p></li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList03b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList03b-expected.html
new file mode 100644
index 0000000..f5b7052
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList03b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>Three</p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList03b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList03b-input.html
new file mode 100644
index 0000000..b7c9421
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList03b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList04a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList04a-expected.html
new file mode 100644
index 0000000..52dd415
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList04a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+    </ol>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList04a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList04a-input.html
new file mode 100644
index 0000000..6df0c42
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList04a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li><p>Four</p></li>
+  <li><p>[Five]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList04b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList04b-expected.html
new file mode 100644
index 0000000..3e0d5c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList04b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+      <li>Four</li>
+    </ol>
+    <p>Five</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList04b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList04b-input.html
new file mode 100644
index 0000000..a9f8c58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList04b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>[Five]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList05a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList05a-expected.html
new file mode 100644
index 0000000..1ae58b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList05a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>After</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList05a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList05a-input.html
new file mode 100644
index 0000000..9804eb1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList05a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>[Before</p>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+<p>After]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList05b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList05b-expected.html
new file mode 100644
index 0000000..1ae58b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList05b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>After</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList05b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList05b-input.html
new file mode 100644
index 0000000..8a9b81a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList05b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>[Before</p>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+<p>After]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList06a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList06a-expected.html
new file mode 100644
index 0000000..90d5e01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList06a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>One</p>
+    <p>Two</p>
+    <ol>
+      <li><p>First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third</p></li>
+    </ol>
+    <p>Three</p>
+    <p>After</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList06a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList06a-input.html
new file mode 100644
index 0000000..2e8c46f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList06a-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>[Before</p>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p>
+    <ol>
+      <li><p>First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third</p></li>
+    </ol>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+<p>After]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList06b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList06b-expected.html
new file mode 100644
index 0000000..b1b0827
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList06b-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p>One</p>
+    <p>Two</p>
+    <ol>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third</li>
+    </ol>
+    <p>Three</p>
+    <p>After</p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList06b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList06b-input.html
new file mode 100644
index 0000000..d7c450c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList06b-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>[Before</p>
+<ol>
+  <li>One</li>
+  <li>Two
+    <ol>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third</li>
+    </ol>
+  </li>
+  <li>Three</li>
+</ol>
+<p>After]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList07a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList07a-expected.html
new file mode 100644
index 0000000..47f0ab8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList07a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <p>First</p>
+        <p>Second</p>
+        <p>Third</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList07a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList07a-input.html
new file mode 100644
index 0000000..a508cff
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList07a-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p>
+    <ol>
+      <li><p>[First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third]</p></li>
+    </ol>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList07b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList07b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList07b-expected.html
new file mode 100644
index 0000000..2d643bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList07b-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        Two
+        <p>First</p>
+        <p>Second</p>
+        <p>Third</p>
+      </li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList07b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList07b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList07b-input.html
new file mode 100644
index 0000000..ed557e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList07b-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two
+    <ol>
+      <li>[First</li>
+      <li>Second</li>
+      <li>Third]</li>
+    </ol>
+  </li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList08a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList08a-expected.html
new file mode 100644
index 0000000..8947345
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList08a-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+    </ol>
+    <p>Two</p>
+    <ol>
+      <li><p>First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third</p></li>
+    </ol>
+    <p>Three</p>
+    <ol>
+      <li><p>Uno</p></li>
+      <li><p>Dos</p></li>
+      <li><p>Tres</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList08a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList08a-input.html
new file mode 100644
index 0000000..4994a6c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList08a-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p>
+    <ol>
+      <li><p>First</p></li>
+      <li><p>[Second</p></li>
+      <li><p>Third</p></li>
+    </ol>
+  </li>
+  <li><p>Three</p>
+    <ol>
+      <li><p>Uno</p></li>
+      <li><p>Dos]</p></li>
+      <li><p>Tres</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList08b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList08b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList08b-expected.html
new file mode 100644
index 0000000..b7946a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList08b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+    </ol>
+    <p>Two</p>
+    <ol>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third</li>
+    </ol>
+    <p>Three</p>
+    <ol>
+      <li>Uno</li>
+      <li>Dos</li>
+      <li>Tres</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList08b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList08b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList08b-input.html
new file mode 100644
index 0000000..859b022
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList08b-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two
+    <ol>
+      <li>First</li>
+      <li>[Second</li>
+      <li>Third</li>
+    </ol>
+  </li>
+  <li>Three
+    <ol>
+      <li>Uno</li>
+      <li>Dos]</li>
+      <li>Tres</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList09a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList09a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList09a-expected.html
new file mode 100644
index 0000000..21ee85b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList09a-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList09a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList09a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList09a-input.html
new file mode 100644
index 0000000..cc9da12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList09a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    Cursor_insertCharacter("One");
+    Cursor_enterPressed();
+    Cursor_insertCharacter("Two");
+    Cursor_enterPressed();
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList09b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList09b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList09b-expected.html
new file mode 100644
index 0000000..3189ee1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList09b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>End[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList09b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList09b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList09b-input.html
new file mode 100644
index 0000000..8cb983c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList09b-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    Cursor_insertCharacter("One");
+    Cursor_enterPressed();
+    Cursor_insertCharacter("Two");
+    Cursor_enterPressed();
+    Lists_clearList();
+    Cursor_insertCharacter("End");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList10a-expected.html
new file mode 100644
index 0000000..f33642c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      []
+      <br/>
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList10a-input.html
new file mode 100644
index 0000000..ca2e59f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList10b-expected.html
new file mode 100644
index 0000000..cd1bd22
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10b-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      Three
+      <b>bold</b>
+      normal[]
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList10b-input.html
new file mode 100644
index 0000000..4f6b4b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10b-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three <b>bold</b> normal[]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10c-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList10c-expected.html
new file mode 100644
index 0000000..d045867
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10c-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      [Three
+      <b>bold</b>
+      normal]
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10c-input.html b/experiments/editorFramework/test/Layer0/lists/clearList10c-input.html
new file mode 100644
index 0000000..5e91d6f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10c-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three <b>bold</b> normal]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10d-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList10d-expected.html
new file mode 100644
index 0000000..0df55d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10d-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>[AAA</p>
+    <p>BBB</p>
+    <p>CCC]</p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10d-input.html b/experiments/editorFramework/test/Layer0/lists/clearList10d-input.html
new file mode 100644
index 0000000..e02000f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10d-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[AAA <p>BBB</p> CCC]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10e-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList10e-expected.html
new file mode 100644
index 0000000..0e00768
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10e-expected.html
@@ -0,0 +1,31 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      [AAA
+      <b>BBB</b>
+      CCC
+    </p>
+    <p>DDD</p>
+    <p>
+      EEE
+      <i>FFF</i>
+      GGG
+    </p>
+    <p>HHH</p>
+    <p>III</p>
+    <p>
+      JJJ
+      <u>KKK</u>
+      LLL]
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList10e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList10e-input.html b/experiments/editorFramework/test/Layer0/lists/clearList10e-input.html
new file mode 100644
index 0000000..634a141
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList10e-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[AAA <b>BBB</b> CCC
+       <p>DDD</p>
+       EEE <i>FFF</i> GGG
+       <p>HHH</p>
+       <p>III</p>
+       JJJ <u>KKK</u> LLL]
+  </li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList11a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList11a-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList11a-expected.html
new file mode 100644
index 0000000..737d6b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList11a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>
+      Before
+      <b>middle</b>
+      after
+    </p>
+    <p>Last</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList11a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList11a-input.html b/experiments/editorFramework/test/Layer0/lists/clearList11a-input.html
new file mode 100644
index 0000000..945a30f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList11a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>First</p>
+<ul>
+  <li><p>Befo[]re <b>middle</b> after</p></li>
+</ul>
+<p>Last</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList11b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList11b-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList11b-expected.html
new file mode 100644
index 0000000..737d6b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList11b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>
+      Before
+      <b>middle</b>
+      after
+    </p>
+    <p>Last</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList11b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList11b-input.html b/experiments/editorFramework/test/Layer0/lists/clearList11b-input.html
new file mode 100644
index 0000000..5baca29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList11b-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>First</p>
+<ul>
+  <li><p>Before <b>mid[]dle</b> after</p></li>
+</ul>
+<p>Last</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList11c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList11c-expected.html b/experiments/editorFramework/test/Layer0/lists/clearList11c-expected.html
new file mode 100644
index 0000000..737d6b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList11c-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>
+      Before
+      <b>middle</b>
+      after
+    </p>
+    <p>Last</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/clearList11c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/clearList11c-input.html b/experiments/editorFramework/test/Layer0/lists/clearList11c-input.html
new file mode 100644
index 0000000..c3a7354
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/clearList11c-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>First</p>
+<ul>
+  <li><p>Before <b>middle</b> af[]ter</p></li>
+</ul>
+<p>Last</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-expected.html
new file mode 100644
index 0000000..f6898b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One]</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-input.html
new file mode 100644
index 0000000..94dbbb0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-expected.html
new file mode 100644
index 0000000..be31f51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One]</p>
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-input.html
new file mode 100644
index 0000000..bc7efd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero01b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One]</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-expected.html
new file mode 100644
index 0000000..d13aaf7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+    </ol>
+    <p>[Two]</p>
+    <ol>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-input.html
new file mode 100644
index 0000000..a65b19d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-expected.html
new file mode 100644
index 0000000..088eaba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+    </ol>
+    <p>[Two]</p>
+    <ol>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-input.html
new file mode 100644
index 0000000..da9b328
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero02b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-expected.html
new file mode 100644
index 0000000..07f7ae8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ol>
+    <p>[Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-input.html
new file mode 100644
index 0000000..21b934f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>[Three]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-expected.html
new file mode 100644
index 0000000..0c8f0a1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>[Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-input.html
new file mode 100644
index 0000000..5d83af9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero03b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-expected.html
new file mode 100644
index 0000000..ca3257c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-input.html
new file mode 100644
index 0000000..6becf67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-expected.html
new file mode 100644
index 0000000..ca3257c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-input.html
new file mode 100644
index 0000000..952ef74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-flat-tozero04b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-expected.html
new file mode 100644
index 0000000..dd582d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>[Two]</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+        </ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-input.html
new file mode 100644
index 0000000..1e949f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two]</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-expected.html
new file mode 100644
index 0000000..5dc18c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        [Two]
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+        </ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-input.html
new file mode 100644
index 0000000..5d6b2b0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone01b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two]</li>
+      <li>Three</li>
+      <li>Four</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-expected.html
new file mode 100644
index 0000000..97f4532
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>Two</p></li>
+        </ol>
+      </li>
+      <li>
+        <p>[Three]</p>
+        <ol>
+          <li><p>Four</p></li>
+        </ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-input.html
new file mode 100644
index 0000000..3239fb4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>[Three]</p></li>
+      <li><p>Four</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-expected.html
new file mode 100644
index 0000000..d68fbea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>Two</li>
+        </ol>
+      </li>
+      <li>
+        [Three]
+        <ol>
+          <li>Four</li>
+        </ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-input.html
new file mode 100644
index 0000000..17cf27a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>Two</li>
+      <li>[Three]</li>
+      <li>Four</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-expected.html
new file mode 100644
index 0000000..f9b5f0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>Two</p></li>
+          <li><p>Three</p></li>
+        </ol>
+      </li>
+      <li><p>[Four]</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-input.html
new file mode 100644
index 0000000..514880d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>[Four]</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-expected.html
new file mode 100644
index 0000000..94ae48a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>Two</li>
+          <li>Three</li>
+        </ol>
+      </li>
+      <li>[Four]</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-input.html
new file mode 100644
index 0000000..ad6a366
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone03b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+      <li>[Four]</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-expected.html
new file mode 100644
index 0000000..ccd7c67
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two</p></li>
+      <li>
+        <p>Three]</p>
+        <ol>
+          <li><p>Four</p></li>
+        </ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-input.html
new file mode 100644
index 0000000..dd368f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two</p></li>
+      <li><p>Three]</p></li>
+      <li><p>Four</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-expected.html
new file mode 100644
index 0000000..3783f4a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two</li>
+      <li>
+        Three]
+        <ol>
+          <li>Four</li>
+        </ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-input.html
new file mode 100644
index 0000000..4ef6b71
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone04b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two</li>
+      <li>Three]</li>
+      <li>Four</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-expected.html
new file mode 100644
index 0000000..2dbf1cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>Two</p></li>
+        </ol>
+      </li>
+      <li><p>[Three</p></li>
+      <li><p>Four]</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-input.html
new file mode 100644
index 0000000..2d93b15
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>[Three</p></li>
+      <li><p>Four]</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-expected.html
new file mode 100644
index 0000000..916515d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>Two</li>
+        </ol>
+      </li>
+      <li>[Three</li>
+      <li>Four]</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-input.html
new file mode 100644
index 0000000..8390906
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone05b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>Two</li>
+      <li>[Three</li>
+      <li>Four]</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-expected.html
new file mode 100644
index 0000000..f1577fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four]</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-input.html
new file mode 100644
index 0000000..a9ab50d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four]</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-expected.html
new file mode 100644
index 0000000..24fa94e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two</li>
+      <li>Three</li>
+      <li>Four]</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-input.html
new file mode 100644
index 0000000..227b52a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-toone06b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two</li>
+      <li>Three</li>
+      <li>Four]</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-expected.html
new file mode 100644
index 0000000..c7ad61d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-input.html
new file mode 100644
index 0000000..bd48cde
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 1; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-expected.html
new file mode 100644
index 0000000..8f70ea1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-input.html
new file mode 100644
index 0000000..cce3f14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero01b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 1; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-expected.html
new file mode 100644
index 0000000..bfce678
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <ol>
+      <li>
+        <p>Three</p>
+        <ol>
+          <li>
+            <p>Four</p>
+            <ol>
+              <li><p>Five]</p></li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-input.html
new file mode 100644
index 0000000..4f1ecd0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 2; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-expected.html
new file mode 100644
index 0000000..dd2ff11
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <ol>
+      <li>
+        Three
+        <ol>
+          <li>
+            Four
+            <ol>
+              <li>Five]</li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-input.html
new file mode 100644
index 0000000..811abeb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero02b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 2; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-expected.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-expected.html
new file mode 100644
index 0000000..6ff3a1b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <ol>
+      <li>
+        <p>Four</p>
+        <ol>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-input.html b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-input.html
new file mode 100644
index 0000000..141b43e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/decrease-nested-tozero03a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 3; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>