corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [06/51] [abbrv] [partial] incubator-corinthia git commit: added js test files
Date Fri, 14 Aug 2015 16:10:13 GMT
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>



Mime
View raw message