corinthia-commits mailing list archives

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



Mime
View raw message