corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [25/51] [abbrv] [partial] incubator-corinthia git commit: added js test files
Date Fri, 14 Aug 2015 16:10:32 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html
new file mode 100644
index 0000000..92ed0f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep1-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuvwxyz</p>
+<p>abcdefghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html
new file mode 100644
index 0000000..df802f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efgh</b>
+      <i>
+        <b>ijklmnopqrstuv</b>
+        wxyz
+      </i>
+    </p>
+    <p>
+      <i>
+        abcd
+        <b>efghijklmnopqr</b>
+      </i>
+      <b>stuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html
new file mode 100644
index 0000000..31a5dd5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep2-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("I");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqrstuv</b>wxyz</p>
+<p>abcd<b>efghijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html
new file mode 100644
index 0000000..4e791e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efghijklmnopqrstuvwxyz</b>
+    </p>
+    <p>
+      <b>abcdefghijklmnopqrstuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html
new file mode 100644
index 0000000..14b4260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep3-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqrstuv</b>wxyz</p>
+<p>abcd<b>efghijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html
new file mode 100644
index 0000000..3fc6352
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <u><i><b>efghijklmnopqrstuvwxyz</b></i></u>
+    </p>
+    <p>
+      <u><i><b>abcdefghijklmnopqrstuv</b></i></u>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html
new file mode 100644
index 0000000..e0e88b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep4-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuvwxyz</p>
+<p>abcdefghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html
new file mode 100644
index 0000000..c34ece7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b><u><i>efghijklmnopqrstuvwxyz</i></u></b>
+    </p>
+    <p>
+      <b><u><i>abcdefghijklmnopqrstuv</i></u></b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html
new file mode 100644
index 0000000..53c9885
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-multiplep5-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuvwxyz</p>
+<p>abcdefghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html
new file mode 100644
index 0000000..4921c47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b>efghijklmnopqrstuv</b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html
new file mode 100644
index 0000000..bbfcc7b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop1-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+abcd[efghijklmnopqrstuv]wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html
new file mode 100644
index 0000000..3127dd7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b>efgh</b>
+    <i><b>ijklmnopqr</b></i>
+    <b>stuv</b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html
new file mode 100644
index 0000000..ad7c159
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop2-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("I");
+}
+</script>
+</head>
+<body>
+abcd<b>efgh[ijklmnopqr]stuv</b>wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html
new file mode 100644
index 0000000..4921c47
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b>efghijklmnopqrstuv</b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html
new file mode 100644
index 0000000..1bf4899
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop3-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+abcd<b>efgh[ijklmnopqr]stuv</b>wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html
new file mode 100644
index 0000000..41842ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <u><i><b>efghijklmnopqrstuv</b></i></u>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html
new file mode 100644
index 0000000..50cafa4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop4-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+}
+</script>
+</head>
+<body>
+abcd[efghijklmnopqrstuv]wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html
new file mode 100644
index 0000000..277ce07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    abcd
+    <b><u><i>efghijklmnopqrstuv</i></u></b>
+    wxyz
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html
new file mode 100644
index 0000000..81958fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-nop5-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+abcd[efghijklmnopqrstuv]wxyz
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html
new file mode 100644
index 0000000..730af9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efghijklmnopqrstuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html
new file mode 100644
index 0000000..194b456
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep1-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html
new file mode 100644
index 0000000..83a81df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efgh</b>
+      <i><b>ijklmnopqr</b></i>
+      <b>stuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html
new file mode 100644
index 0000000..35907bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep2-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("I");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html
new file mode 100644
index 0000000..730af9d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b>efghijklmnopqrstuv</b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html
new file mode 100644
index 0000000..92bc131
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep3-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd<b>efgh[ijklmnopqr]stuv</b>wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html
new file mode 100644
index 0000000..9e44946
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <u><i><b>efghijklmnopqrstuv</b></i></u>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html
new file mode 100644
index 0000000..6e80c27
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep4-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html
new file mode 100644
index 0000000..ed7114e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      abcd
+      <b><u><i>efghijklmnopqrstuv</i></u></b>
+      wxyz
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html
new file mode 100644
index 0000000..2867cbe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/inline/wrap-singlep5-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    selectionWrapElement("B");
+    selectionWrapElement("I");
+    selectionWrapElement("U");
+    selectionWrapElement("B");
+}
+</script>
+</head>
+<body>
+<p>abcd[efghijklmnopqrstuv]wxyz</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/InputTests.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/InputTests.js b/experiments/editorFramework/test/Layer0/input/InputTests.js
new file mode 100644
index 0000000..d745b86
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/InputTests.js
@@ -0,0 +1,150 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function getNodeArrayText(nodes)
+{
+    var strings = new Array();
+    for (var i = 0; i < nodes.length; i++)
+        strings.push(getNodeText(nodes[i]));
+    return strings.join("");
+}
+
+function textBetweenPositions(from,to)
+{
+    var range = new Range(from.node,from.offset,to.node,to.offset);
+    var contents = Range_cloneContents(range);
+    return getNodeArrayText(contents);
+}
+
+function testMovement(direction,count)
+{
+    Outline_init();
+    PostponedActions_perform();
+    var posId = Input_addPosition(Selection_get().start);
+    for (var i = 0; i < count; i++)
+        posId = Input_positionFromPositionInDirectionOffset(posId,direction,1);
+    Input_setSelectedTextRange(posId,posId);
+    showSelection();
+}
+
+function testPositionFun(fun,granularity,direction)
+{
+    var lines = new Array();
+    var start = new Position(document.body,0);
+    var end = new Position(document.body,document.body.childNodes.length);
+
+    start = Position_closestMatchForwards(start,Position_okForMovement);
+    end = Position_closestMatchBackwards(end,Position_okForMovement);
+
+    var pos = start;
+    while (pos != null) {
+
+        var before = textBetweenPositions(start,pos);
+        var after = textBetweenPositions(pos,end);
+        var total = before+"|"+after;
+
+        var result = fun(pos,granularity,direction);
+        lines.push(JSON.stringify(total)+" -- "+result+"\n");
+
+        pos = Position_nextMatch(pos,Position_okForMovement);
+    }
+
+    return lines.join("");
+}
+
+function testPositionWithin(granularity,direction)
+{
+    return testPositionFun(Input_isPositionWithinTextUnitInDirection,granularity,direction);
+}
+
+function testPositionAtBoundary(granularity,direction)
+{
+    return testPositionFun(Input_isPositionAtBoundaryGranularityInDirection,granularity,direction);
+}
+
+function testPositionToBoundary(granularity,direction)
+{
+    var lines = new Array();
+    var start = new Position(document.body,0);
+    var end = new Position(document.body,document.body.childNodes.length);
+
+    start = Position_closestMatchForwards(start,Position_okForMovement);
+    end = Position_closestMatchBackwards(end,Position_okForMovement);
+
+    var pos = start;
+    while (pos != null) {
+
+        var oldBefore = textBetweenPositions(start,pos);
+        var oldAfter = textBetweenPositions(pos,end);
+        var oldTotal = oldBefore+"|"+oldAfter;
+
+        var resultId = Input_positionFromPositionToBoundaryInDirection(pos,granularity,direction);
+        var result = Input_getPosition(resultId);
+
+        var newBefore = textBetweenPositions(start,result);
+        var newAfter = textBetweenPositions(result,end);
+        var newTotal = newBefore+"|"+newAfter;
+
+        lines.push(JSON.stringify(oldTotal)+" -- "+JSON.stringify(newTotal)+"\n");
+
+        pos = Position_nextMatch(pos,Position_okForMovement);
+    }
+
+    return lines.join("");
+}
+
+function testRangeEnclosing(granularity,direction)
+{
+    var lines = new Array();
+    var start = new Position(document.body,0);
+    var end = new Position(document.body,document.body.childNodes.length);
+
+    start = Position_closestMatchForwards(start,Position_okForMovement);
+    end = Position_closestMatchBackwards(end,Position_okForMovement);
+
+    var pos = start;
+    while (pos != null) {
+
+        var oldBefore = textBetweenPositions(start,pos);
+        var oldAfter = textBetweenPositions(pos,end);
+        var oldTotal = oldBefore+"|"+oldAfter;
+
+        var resultIds =
+            Input_rangeEnclosingPositionWithGranularityInDirection(pos,granularity,direction);
+        if (resultIds != null) {
+            var startId = resultIds.startId;
+            var endId = resultIds.endId;
+            var rangeStart = Input_getPosition(startId);
+            var rangeEnd = Input_getPosition(endId);
+
+            var before = textBetweenPositions(start,rangeStart);
+            var middle = textBetweenPositions(rangeStart,rangeEnd);
+            var after = textBetweenPositions(rangeEnd,end);
+
+            var newTotal = before+"["+middle+"]"+after;
+
+            lines.push(JSON.stringify(oldTotal)+" -- "+JSON.stringify(newTotal)+"\n");
+        }
+        else {
+            lines.push(JSON.stringify(oldTotal)+" -- null\n");
+        }
+
+        pos = Position_nextMatch(pos,Position_okForMovement);
+    }
+
+    return lines.join("");
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html
new file mode 100644
index 0000000..354787f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01a-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html
new file mode 100644
index 0000000..0365bcf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html
new file mode 100644
index 0000000..531d638
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqr[]stuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html
new file mode 100644
index 0000000..10d5745
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html
new file mode 100644
index 0000000..16a5829
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01c-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html
new file mode 100644
index 0000000..3b67229
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01c-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",3);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html
new file mode 100644
index 0000000..ae78257
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01d-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqr[]stuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html b/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html
new file mode 100644
index 0000000..ff1e383
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown01d-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",4);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html
new file mode 100644
index 0000000..8a20c29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+    <p>abcde[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html
new file mode 100644
index 0000000..cc1fe9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+<p>
+  abcde
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html
new file mode 100644
index 0000000..9de3e68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+    <p>abcdefghijklmnopqr[]stuvwxyz</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html
new file mode 100644
index 0000000..ac2e082
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown02b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html
new file mode 100644
index 0000000..ebadbee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03a-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    []
+    <p>One Two Three</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html
new file mode 100644
index 0000000..82a0ed4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03a-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>Fo[]ur Five Six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two Three</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html
new file mode 100644
index 0000000..2611df6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>On[]e Two Three</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html
new file mode 100644
index 0000000..be70ef8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03b-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>Fo[]ur Five Six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two Three</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html
new file mode 100644
index 0000000..90a48c5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03c-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    []
+    <p>One Two</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html
new file mode 100644
index 0000000..7821f93
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03c-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>Four Five Six[]</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html
new file mode 100644
index 0000000..c51b1b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03d-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>Four Five Six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    <p>One Two[]</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html b/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html
new file mode 100644
index 0000000..5b05463
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown03d-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>Four Five Six[]</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>One Two</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html
new file mode 100644
index 0000000..d969f54
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    []
+    <p>Four five six</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html
new file mode 100644
index 0000000..c544e31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04a-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",1);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html
new file mode 100644
index 0000000..deb6260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Fou[]r five six</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html
new file mode 100644
index 0000000..fdebd9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04b-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",2);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html
new file mode 100644
index 0000000..f38a313
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04c-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four five six</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p><br/></p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html
new file mode 100644
index 0000000..430e1d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04c-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",3);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html
new file mode 100644
index 0000000..bd1417f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04d-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four five six</p>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html
new file mode 100644
index 0000000..d97ab1f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04d-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",4);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html b/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html
new file mode 100644
index 0000000..944f733
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04e-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four five six</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Sev[]en eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html b/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html
new file mode 100644
index 0000000..360fd35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveDown04e-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("down",5);
+}
+</script>
+</head>
+<body>
+
+<p>One[] Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four five six</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Seven eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html
new file mode 100644
index 0000000..16a5829
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01a-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html
new file mode 100644
index 0000000..de26024
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html
new file mode 100644
index 0000000..531d638
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqr[]stuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html
new file mode 100644
index 0000000..dc841e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html
new file mode 100644
index 0000000..354787f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01c-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde[]
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html
new file mode 100644
index 0000000..bc88cd8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01c-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",3);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html
new file mode 100644
index 0000000..9b9c957
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01d-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>
+      abcdefghijklmnopqr[]stuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+      <br/>
+      abcde
+      <br/>
+      abcdefghijklmnopqrstuvwxyz
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html b/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html
new file mode 100644
index 0000000..c1157af
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp01d-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",4);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqrstuvwxyz<br>
+  abcde<br>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html
new file mode 100644
index 0000000..17b1e0d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcde[]</p>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html
new file mode 100644
index 0000000..f0847c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcde
+</p>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html
new file mode 100644
index 0000000..3b60856
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>abcdefghijklmnopqr[]stuvwxyz</p>
+    <p>abcdefghijklmnopqrstuvwxyz</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html
new file mode 100644
index 0000000..40148b9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp02b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>
+  abcdefghijklmnopqrstuvwxyz
+</p>
+
+<p>
+  abcdefghijklmnopqr[]stuvwxyz
+</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html
new file mode 100644
index 0000000..2fde04c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03a-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    []
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html
new file mode 100644
index 0000000..6556792
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03a-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Fo[]ur Five Six</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html
new file mode 100644
index 0000000..16891cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03b-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>On[]e Two Three</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html
new file mode 100644
index 0000000..7274d4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03b-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Fo[]ur Five Six</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html
new file mode 100644
index 0000000..d3424ec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03c-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two</p>
+    []
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html
new file mode 100644
index 0000000..0fbc57c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03c-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>One Two</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four Five Six[]</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html
new file mode 100644
index 0000000..32f71e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03d-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two[]</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First</a></p>
+      <p class="toc1"><a href="#item2">Second</a></p>
+    </nav>
+    <p>Four Five Six</p>
+    <h1 id="item1">First</h1>
+    <h1 id="item2">Second</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html b/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html
new file mode 100644
index 0000000..349cd1a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp03d-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>One Two</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Four Five Six[]</p>
+
+<h1>First</h1>
+
+<h1>Second</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html
new file mode 100644
index 0000000..4a136cd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04a-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Four five six</p>
+    []
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html
new file mode 100644
index 0000000..da23fe4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04a-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",1);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html
new file mode 100644
index 0000000..31a2a4c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04b-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Fou[]r five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html
new file mode 100644
index 0000000..d91434d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04b-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",2);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html
new file mode 100644
index 0000000..000d852
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04c-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p><br/></p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p>Four five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html
new file mode 100644
index 0000000..963272f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04c-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",3);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html
new file mode 100644
index 0000000..0045547
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04d-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One Two Three</p>
+    <p>
+      []
+      <br/>
+    </p>
+    <p><br/></p>
+    <p>Four five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html
new file mode 100644
index 0000000..8111fba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04d-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",4);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html b/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html
new file mode 100644
index 0000000..42e2442
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04e-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+    </style>
+  </head>
+  <body>
+    <p>One[] Two Three</p>
+    <p><br/></p>
+    <p><br/></p>
+    <p>Four five six</p>
+    <nav class="tableofcontents">
+      <p class="toc1"><a href="#item1">First section</a></p>
+      <p class="toc1"><a href="#item2">Second section</a></p>
+    </nav>
+    <p>Seven eight nine</p>
+    <h1 id="item1">First section</h1>
+    <h1 id="item2">Second section</h1>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html b/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html
new file mode 100644
index 0000000..69bd7b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/moveUp04e-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p, div, h1 { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 400px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    testMovement("up",5);
+}
+</script>
+</head>
+<body>
+
+<p>One Two Three</p>
+
+<p><br></p>
+
+<p><br></p>
+
+<p>Four five six</p>
+
+<nav class="tableofcontents">
+</nav>
+
+<p>Sev[]en eight nine</p>
+
+<h1>First section</h1>
+
+<h1>Second section</h1>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html
new file mode 100644
index 0000000..3db9278
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-expected.html
@@ -0,0 +1,40 @@
+"|one two three four five six seven eight" -- true
+"o|ne two three four five six seven eight" -- false
+"on|e two three four five six seven eight" -- false
+"one| two three four five six seven eight" -- false
+"one |two three four five six seven eight" -- false
+"one t|wo three four five six seven eight" -- false
+"one tw|o three four five six seven eight" -- false
+"one two| three four five six seven eight" -- false
+"one two |three four five six seven eight" -- true
+"one two t|hree four five six seven eight" -- false
+"one two th|ree four five six seven eight" -- false
+"one two thr|ee four five six seven eight" -- false
+"one two thre|e four five six seven eight" -- false
+"one two three| four five six seven eight" -- false
+"one two three |four five six seven eight" -- false
+"one two three f|our five six seven eight" -- false
+"one two three fo|ur five six seven eight" -- false
+"one two three fou|r five six seven eight" -- false
+"one two three four| five six seven eight" -- false
+"one two three four |five six seven eight" -- true
+"one two three four f|ive six seven eight" -- false
+"one two three four fi|ve six seven eight" -- false
+"one two three four fiv|e six seven eight" -- false
+"one two three four five| six seven eight" -- false
+"one two three four five |six seven eight" -- false
+"one two three four five s|ix seven eight" -- false
+"one two three four five si|x seven eight" -- false
+"one two three four five six| seven eight" -- false
+"one two three four five six |seven eight" -- true
+"one two three four five six s|even eight" -- false
+"one two three four five six se|ven eight" -- false
+"one two three four five six sev|en eight" -- false
+"one two three four five six seve|n eight" -- false
+"one two three four five six seven| eight" -- false
+"one two three four five six seven |eight" -- false
+"one two three four five six seven e|ight" -- false
+"one two three four five six seven ei|ght" -- false
+"one two three four five six seven eig|ht" -- false
+"one two three four five six seven eigh|t" -- false
+"one two three four five six seven eight|" -- false

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html
new file mode 100644
index 0000000..c391843
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/input/positionAtBoundary-line-backward-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+p { border: 1px solid red;
+font-size: 20px;
+font-family: monospace;
+width: 150px; }
+</style>
+<script src="InputTests.js"></script>
+<script>
+function performTest()
+{
+    return testPositionAtBoundary("line","backward");
+}
+</script>
+</head>
+<body>
+
+<p>one two three four five six seven eight</p>
+
+</body>
+</html>



Mime
View raw message