You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/14 18:10:50 UTC
[43/51] [abbrv] [partial] incubator-corinthia git commit: added js
test files
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html
new file mode 100644
index 0000000..d10e977
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter19-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_deleteCharacter();
+ UndoManager_newGroup();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one [two]</p>
+<p>three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html
new file mode 100644
index 0000000..955a055
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head></head>
+ <body>
+ <p>one[]</p>
+ <p>three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html
new file mode 100644
index 0000000..8835abc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter20-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_deleteCharacter();
+ Cursor_deleteCharacter();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one [two]</p>
+<p>three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html
new file mode 100644
index 0000000..ff21e33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p id="p2">[]Sample text</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html
new file mode 100644
index 0000000..055ae34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter21-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_deleteCharacter();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p id="p1"><br></p>
+<p id="p2">[]Sample text</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html
new file mode 100644
index 0000000..768504b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <h1 id="item1">[]Sample text</h1>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html
new file mode 100644
index 0000000..0d04467
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter22-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Outline_init();
+ PostponedActions_perform();
+ Cursor_deleteCharacter();
+ PostponedActions_perform();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<h1>[]Sample text</h1>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html
new file mode 100644
index 0000000..c57e8ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head></head>
+ <body>
+ <p><br/></p>
+ <h1>first sec[] fifth</h1>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html
new file mode 100644
index 0000000..358d482
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter23-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ for (var i = 0; i < 16; i++) {
+ Cursor_deleteCharacter();
+ PostponedActions_perform();
+ }
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<h1>first second third fourth[] fifth</h1>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html
new file mode 100644
index 0000000..4bc23c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head></head>
+ <body>
+ <p>Before</p>
+ <p>
+ []
+ <br/>
+ </p>
+ <p>After</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html
new file mode 100644
index 0000000..f2a4efb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/deleteCharacter24-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_deleteCharacter();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Before</p>
+<p>[Sample text]</p>
+<p>After</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html
new file mode 100644
index 0000000..69d4d64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text. []</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html
new file mode 100644
index 0000000..94314fa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter(" ");
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html
new file mode 100644
index 0000000..69d4d64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text. []</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html
new file mode 100644
index 0000000..c8df755
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter(" ");
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html
new file mode 100644
index 0000000..69d4d64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text. []</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html
new file mode 100644
index 0000000..aa8d6e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter(" ");
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text.[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html
new file mode 100644
index 0000000..ecc4490
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text []</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html
new file mode 100644
index 0000000..539f0f1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter(" ");
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text []</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html
new file mode 100644
index 0000000..c758a73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text. A. []</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html
new file mode 100644
index 0000000..b9c790b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/doubleSpacePeriod05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter("A");
+ Cursor_insertCharacter(" ");
+ Cursor_insertCharacter(" ");
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text[]</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html
new file mode 100644
index 0000000..52c6d80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ Cursor_deleteCharacter();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text[]</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html
new file mode 100644
index 0000000..d1172be
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ Cursor_enterPressed();
+ Cursor_deleteCharacter();
+ Cursor_deleteCharacter();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html
new file mode 100644
index 0000000..b91c420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-expected.html
@@ -0,0 +1,6 @@
+<html>
+ <head></head>
+ <body>
+ <p>Sample text[]</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html
new file mode 100644
index 0000000..5d81b5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enter-delete03-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ Cursor_enterPressed();
+ Cursor_enterPressed();
+ Cursor_enterPressed();
+ Cursor_enterPressed();
+ Cursor_deleteCharacter();
+ Cursor_deleteCharacter();
+ Cursor_deleteCharacter();
+ Cursor_deleteCharacter();
+ Cursor_deleteCharacter();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>Sample text[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html
new file mode 100644
index 0000000..1423796
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head></head>
+ <body>
+ <figure>
+ <img src="../figures/nothing.png"/>
+ </figure>
+ <p>
+ []
+ <br/>
+ </p>
+ <p>one two three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html
new file mode 100644
index 0000000..b1dcd9c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+ <img src="../figures/nothing.png">
+</figure>[]
+<p>one two three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html
new file mode 100644
index 0000000..e30e81e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-expected.html
@@ -0,0 +1,14 @@
+<html>
+ <head></head>
+ <body>
+ <figure>
+ <img src="../figures/nothing.png"/>
+ </figure>
+ <p>a</p>
+ <p>
+ []
+ <br/>
+ </p>
+ <p>one two three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html
new file mode 100644
index 0000000..680356f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+ <img src="../figures/nothing.png">
+</figure>a[]
+<p>one two three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html
new file mode 100644
index 0000000..28082ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-expected.html
@@ -0,0 +1,14 @@
+<html>
+ <head></head>
+ <body>
+ <figure>
+ <img src="../figures/nothing.png"/>
+ </figure>
+ <p>
+ []
+ <br/>
+ </p>
+ a
+ <p>one two three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html
new file mode 100644
index 0000000..06b1915
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterFigure03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<figure>
+ <img src="../figures/nothing.png">
+</figure>[]a
+<p>one two three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html
new file mode 100644
index 0000000..32fa18c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-expected.html
@@ -0,0 +1,22 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ []
+ <br/>
+ </p>
+ <p>one two three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html
new file mode 100644
index 0000000..6216142
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+</table>[]
+<p>one two three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html
new file mode 100644
index 0000000..d1d67ed
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-expected.html
@@ -0,0 +1,23 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>a</p>
+ <p>
+ []
+ <br/>
+ </p>
+ <p>one two three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html
new file mode 100644
index 0000000..246829f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+</table>a[]
+<p>one two three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html
new file mode 100644
index 0000000..a1456e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-expected.html
@@ -0,0 +1,23 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ []
+ <br/>
+ </p>
+ a
+ <p>one two three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html
new file mode 100644
index 0000000..b44b35a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterAfterTable03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<table>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+</table>[]a
+<p>one two three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html
new file mode 100644
index 0000000..6ca614d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head></head>
+ <body>
+ <p>one two three</p>
+ <p>
+ []
+ <br/>
+ </p>
+ <figure>
+ <img src="../figures/nothing.png"/>
+ </figure>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html
new file mode 100644
index 0000000..42cbacd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]<figure>
+ <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html
new file mode 100644
index 0000000..9f4264f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-expected.html
@@ -0,0 +1,14 @@
+<html>
+ <head></head>
+ <body>
+ <p>one two three</p>
+ a
+ <p>
+ []
+ <br/>
+ </p>
+ <figure>
+ <img src="../figures/nothing.png"/>
+ </figure>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html
new file mode 100644
index 0000000..2dc06c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+a[]<figure>
+ <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html
new file mode 100644
index 0000000..58cb2c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head></head>
+ <body>
+ <p>one two three</p>
+ <p><br/></p>
+ <p>[]a</p>
+ <figure>
+ <img src="../figures/nothing.png"/>
+ </figure>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html
new file mode 100644
index 0000000..dab3c44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeFigure03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]a<figure>
+ <img src="../figures/nothing.png">
+</figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html
new file mode 100644
index 0000000..535d71c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-expected.html
@@ -0,0 +1,22 @@
+<html>
+ <head></head>
+ <body>
+ <p>one two three</p>
+ <p>
+ []
+ <br/>
+ </p>
+ <table>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html
new file mode 100644
index 0000000..a353c44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]<table>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html
new file mode 100644
index 0000000..ced9713
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-expected.html
@@ -0,0 +1,23 @@
+<html>
+ <head></head>
+ <body>
+ <p>one two three</p>
+ a
+ <p>
+ []
+ <br/>
+ </p>
+ <table>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html
new file mode 100644
index 0000000..4ebd612
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+a[]<table>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html
new file mode 100644
index 0000000..921092b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-expected.html
@@ -0,0 +1,20 @@
+<html>
+ <head></head>
+ <body>
+ <p>one two three</p>
+ <p><br/></p>
+ <p>[]a</p>
+ <table>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html
new file mode 100644
index 0000000..41b0bd4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterBeforeTable03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+[]a<table>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+ <tr>
+ <td>Cell</td>
+ <td>Cell</td>
+ </tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html
new file mode 100644
index 0000000..2aa7dab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-expected.html
@@ -0,0 +1,28 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <table id="item1" style="width: 100%">
+ <caption>Test</caption>
+ <colgroup>
+ <col width="50%"/>
+ <col width="50%"/>
+ </colgroup>
+ <tbody>
+ <tr>
+ <td>0, 0</td>
+ <td>0, 1</td>
+ </tr>
+ <tr>
+ <td>1, 0</td>
+ <td>1, 1</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html
new file mode 100644
index 0000000..a23cc97
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption01-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+
+ var caption = document.getElementsByTagName("CAPTION")[0];
+ var last = caption.lastChild;
+ Selection_set(last,4,last,4);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <table style="width: 100%">
+ <caption>
+ Table 1: Test
+ </caption>
+ <col width="50%">
+ <col width="50%">
+ <tr>
+ <td>0, 0</td>
+ <td>0, 1</td>
+ </tr>
+ <tr>
+ <td>1, 0</td>
+ <td>1, 1</td>
+ </tr>
+ </table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html
new file mode 100644
index 0000000..2aa7dab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-expected.html
@@ -0,0 +1,28 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <table id="item1" style="width: 100%">
+ <caption>Test</caption>
+ <colgroup>
+ <col width="50%"/>
+ <col width="50%"/>
+ </colgroup>
+ <tbody>
+ <tr>
+ <td>0, 0</td>
+ <td>0, 1</td>
+ </tr>
+ <tr>
+ <td>1, 0</td>
+ <td>1, 1</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html
new file mode 100644
index 0000000..822de76
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-caption02-input.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+
+ var caption = document.getElementsByTagName("CAPTION")[0];
+ var last = caption.lastChild;
+ Selection_set(last,3,last,3);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <table style="width: 100%">
+ <caption>
+ Table 1: Test
+ </caption>
+ <col width="50%">
+ <col width="50%">
+ <tr>
+ <td>0, 0</td>
+ <td>0, 1</td>
+ </tr>
+ <tr>
+ <td>1, 0</td>
+ <td>1, 1</td>
+ </tr>
+ </table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html
new file mode 100644
index 0000000..6183f00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-expected.html
@@ -0,0 +1,10 @@
+<html>
+ <head></head>
+ <body>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html
new file mode 100644
index 0000000..2ab73f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>[]</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html
new file mode 100644
index 0000000..6183f00
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+ <head></head>
+ <body>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html
new file mode 100644
index 0000000..123a62e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer01a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>[]</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html
new file mode 100644
index 0000000..5c245d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <figure>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </figure>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html
new file mode 100644
index 0000000..492697d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body><figure>[]</figure></body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html
new file mode 100644
index 0000000..5c245d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <figure>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </figure>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html
new file mode 100644
index 0000000..dd8d57b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer02a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body><figure>[]</figure></body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html
new file mode 100644
index 0000000..46f41bb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <figure>
+ <figcaption></figcaption>
+ </figure>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html
new file mode 100644
index 0000000..b0f293e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body><figure><figcaption>[]</figcaption></figure></body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html
new file mode 100644
index 0000000..07efe23
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <figure>
+ <figcaption/>
+ </figure>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html
new file mode 100644
index 0000000..dcef72b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer03a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body><figure><figcaption>[]</figcaption></figure></body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html
new file mode 100644
index 0000000..3b39650
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <caption></caption>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html
new file mode 100644
index 0000000..3bde7f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <table>
+ <caption>[]</caption>
+ <tr>
+ <td>Cell</td>
+ </tr>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html
new file mode 100644
index 0000000..020c65b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <caption/>
+ <tbody>
+ <tr>
+ <td>Cell</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html
new file mode 100644
index 0000000..4eebe75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer04a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <table>
+ <caption>[]</caption>
+ <tr>
+ <td>Cell</td>
+ </tr>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html
new file mode 100644
index 0000000..7a4cd21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-expected.html
@@ -0,0 +1,18 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <tbody>
+ <tr>
+ <td>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-input.html
new file mode 100644
index 0000000..609761b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <table>
+ <tr>
+ <td>[]</td>
+ </tr>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html
new file mode 100644
index 0000000..7a4cd21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-expected.html
@@ -0,0 +1,18 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <tbody>
+ <tr>
+ <td>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-input.html
new file mode 100644
index 0000000..e6fed06
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer05a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <table>
+ <tr>
+ <td>[]</td>
+ </tr>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html
new file mode 100644
index 0000000..e777f58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-expected.html
@@ -0,0 +1,18 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <tbody>
+ <tr>
+ <th>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </th>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html
new file mode 100644
index 0000000..88bae4c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <table>
+ <tr>
+ <th>[]</th>
+ </tr>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html
new file mode 100644
index 0000000..e777f58
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-expected.html
@@ -0,0 +1,18 @@
+<html>
+ <head></head>
+ <body>
+ <table>
+ <tbody>
+ <tr>
+ <th>
+ <p><br/></p>
+ <p>
+ []
+ <br/>
+ </p>
+ </th>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html
new file mode 100644
index 0000000..feec701
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer06a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <table>
+ <tr>
+ <th>[]</th>
+ </tr>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html
new file mode 100644
index 0000000..35998e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-expected.html
@@ -0,0 +1,9 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li/>
+ <li>[]</li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html
new file mode 100644
index 0000000..2bf330b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <ul>
+ <li>[]</li>
+ </ule>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html
new file mode 100644
index 0000000..35998e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-expected.html
@@ -0,0 +1,9 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li/>
+ <li>[]</li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html
new file mode 100644
index 0000000..402ac1a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer07a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <ul>
+ <li>[]</li>
+ </ule>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html
new file mode 100644
index 0000000..50e6d8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-expected.html
@@ -0,0 +1,14 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li><p><br/></p></li>
+ <li>
+ <p>
+ []
+ <br/>
+ </p>
+ </li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html
new file mode 100644
index 0000000..fb42c6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <ul>
+ <li><p>[]</p></li>
+ </ule>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html
new file mode 100644
index 0000000..50e6d8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-expected.html
@@ -0,0 +1,14 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li><p><br/></p></li>
+ <li>
+ <p>
+ []
+ <br/>
+ </p>
+ </li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html
new file mode 100644
index 0000000..6be38da
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-emptyContainer08a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ removeWhitespaceAndCommentNodes(document.body);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <ul>
+ <li><p>[]</p></li>
+ </ule>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html
new file mode 100644
index 0000000..a0c6787
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>before</p>
+ <p>
+ []
+ <span class="endnote"/>
+ after
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html
new file mode 100644
index 0000000..6291f6e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before[]<span class="endnote"></span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html
new file mode 100644
index 0000000..3c70c9e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>
+ before
+ <span class="endnote"></span>
+ </p>
+ <p>[]after</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html
new file mode 100644
index 0000000..0349f77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">[]</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html
new file mode 100644
index 0000000..a3966aa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>
+ before
+ <span class="endnote"/>
+ </p>
+ <p>[]after</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html
new file mode 100644
index 0000000..ab48008
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote"></span>[]after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html
new file mode 100644
index 0000000..1664fb5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>before</p>
+ <p>
+ []
+ <span class="endnote">endnote</span>
+ after
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html
new file mode 100644
index 0000000..e9e050e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before[]<span class="endnote">endnote</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>
+ before
+ <span class="endnote">endnote</span>
+ </p>
+ <p>[]after</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html
new file mode 100644
index 0000000..6a3b67f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">[]endnote</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>
+ before
+ <span class="endnote">endnote</span>
+ </p>
+ <p>[]after</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html
new file mode 100644
index 0000000..f13892f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">end[]note</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>
+ before
+ <span class="endnote">endnote</span>
+ </p>
+ <p>[]after</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html
new file mode 100644
index 0000000..c57b762
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">endnote[]</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html
new file mode 100644
index 0000000..ad381c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>
+ before
+ <span class="endnote">endnote</span>
+ </p>
+ <p>[]after</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html
new file mode 100644
index 0000000..79503c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-endnote08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">endnote</span>[]after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html
new file mode 100644
index 0000000..7165288
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-expected.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <figure id="item1">
+ <img src="../figures/nothing.png"/>
+ <figcaption>Test</figcaption>
+ </figure>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html
new file mode 100644
index 0000000..c8794f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+
+ var caption = document.getElementsByTagName("FIGCAPTION")[0];
+ var last = caption.lastChild;
+ Selection_set(last,4,last,4);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <figure>
+ <img src="../figures/nothing.png">
+ <figcaption>Figure 1: Test</figcaption>
+ </figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html
new file mode 100644
index 0000000..7165288
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-expected.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <figure id="item1">
+ <img src="../figures/nothing.png"/>
+ <figcaption>Test</figcaption>
+ </figure>
+ <p>
+ []
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html
new file mode 100644
index 0000000..0068364
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-figcaption02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+
+ var caption = document.getElementsByTagName("FIGCAPTION")[0];
+ var last = caption.lastChild;
+ Selection_set(last,3,last,3);
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <figure>
+ <img src="../figures/nothing.png">
+ <figcaption>Figure 1: Test</figcaption>
+ </figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html
new file mode 100644
index 0000000..3650dc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ </head>
+ <body>
+ <p>before</p>
+ <p>
+ []
+ <span class="footnote"/>
+ after
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html
new file mode 100644
index 0000000..7d1d2a2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/cursor/enterPressed-footnote01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+ Cursor_enterPressed();
+ showSelection();
+}
+</script>
+</head>
+<body>
+ <p>before[]<span class="footnote"></span>after</p>
+</body>
+</html>