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:21 UTC
[14/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/outline/tocInsert02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert02-input.html b/experiments/editorFramework/test/Layer0/outline/tocInsert02-input.html
new file mode 100644
index 0000000..42f8296
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert02-input.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+
+ Outline_insertTableOfContents();
+ PostponedActions_perform();
+ Outline_insertListOfFigures();
+ PostponedActions_perform();
+// showSelection();
+ Outline_insertListOfTables();
+ PostponedActions_perform();
+
+ simplifyTOCs();
+}
+</script>
+</head>
+<body>
+Before[]After
+<h1>4 Section 1</h1>
+<h1>4 Section 2</h1>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure A</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure B</figcaption>
+</figure>
+<table id="item1" style="width: 100%">
+ <caption>Table 9: Test table A</caption>
+ <col width="100%"/>
+ <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item2" style="width: 100%">
+ <caption>Table 9: Test table B</caption>
+ <col width="100%"/>
+ <tr><td><p><br/></p></td></tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html b/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html
new file mode 100644
index 0000000..5b703f0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert03-expected.html
@@ -0,0 +1,53 @@
+<html>
+ <head>
+ <link href="../generic.css" rel="stylesheet"/>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item7">1 Section 1</a></p>
+ <p class="toc1"><a href="#item4">2 Section 2</a></p>
+ </nav>
+ <nav class="listoffigures">
+ <p class="toc1"><a href="#item5">1 Test figure A</a></p>
+ <p class="toc1"><a href="#item6">2 Test figure B</a></p>
+ </nav>
+ <nav class="listoftables">
+ <p class="toc1"><a href="#item1">1 Test table A</a></p>
+ <p class="toc1"><a href="#item2">2 Test table B</a></p>
+ </nav>
+ <h1 id="item7">Section 1</h1>
+ <h1 id="item4">Section 2</h1>
+ <figure id="item5">
+ (figure content)
+ <figcaption>Test figure A</figcaption>
+ </figure>
+ <figure id="item6">
+ (figure content)
+ <figcaption>Test figure B</figcaption>
+ </figure>
+ <table id="item1" style="width: 100%">
+ <caption>Test table A</caption>
+ <colgroup>
+ <col width="100%"/>
+ </colgroup>
+ <tbody>
+ <tr>
+ <td><p><br/></p></td>
+ </tr>
+ </tbody>
+ </table>
+ <table id="item2" style="width: 100%">
+ <caption>Test table B</caption>
+ <colgroup>
+ <col width="100%"/>
+ </colgroup>
+ <tbody>
+ <tr>
+ <td><p><br/></p></td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html b/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html
new file mode 100644
index 0000000..2275955
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/tocInsert03-input.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+
+ Outline_insertTableOfContents();
+ PostponedActions_perform();
+ Outline_insertListOfFigures();
+ PostponedActions_perform();
+// showSelection();
+ Outline_insertListOfTables();
+ PostponedActions_perform();
+
+ simplifyTOCs();
+}
+</script>
+</head>
+<body>
+<h1>[]4 Section 1</h1>
+<h1>4 Section 2</h1>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure A</figcaption>
+</figure>
+<figure>
+(figure content)
+<figcaption>Figure 9: Test figure B</figcaption>
+</figure>
+<table id="item1" style="width: 100%">
+ <caption>Table 9: Test table A</caption>
+ <col width="100%"/>
+ <tr><td><p><br/></p></td></tr>
+</table>
+<table id="item2" style="width: 100%">
+ <caption>Table 9: Test table B</caption>
+ <col width="100%"/>
+ <tr><td><p><br/></p></td></tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html
new file mode 100644
index 0000000..a0df9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html
new file mode 100644
index 0000000..3264d99
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br> </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html
new file mode 100644
index 0000000..a0df9d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html
new file mode 100644
index 0000000..4f8e72b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br> </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html
new file mode 100644
index 0000000..3d88ac7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ .o.n.e.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html
new file mode 100644
index 0000000..a68acbb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br>one</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html
new file mode 100644
index 0000000..3d88ac7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ .o.n.e.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html
new file mode 100644
index 0000000..1cd6e33
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01d-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br> one </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html
new file mode 100644
index 0000000..3d88ac7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ .o.n.e.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html
new file mode 100644
index 0000000..fa69ceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr01e-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br> one </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html
new file mode 100644
index 0000000..33a7d79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ .
+ <br/>
+ .
+ <br/>
+ .
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html
new file mode 100644
index 0000000..dad307c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p><br><br><br><br></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html
new file mode 100644
index 0000000..33a7d79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ .
+ <br/>
+ .
+ <br/>
+ .
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html
new file mode 100644
index 0000000..8941372
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <br> <br> <br> <br> </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html
new file mode 100644
index 0000000..33a7d79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <br/>
+ .
+ <br/>
+ .
+ <br/>
+ .
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html
new file mode 100644
index 0000000..5675a14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr02c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> <br> <br> <br> <br> </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html
new file mode 100644
index 0000000..d3eefec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .o.n.e.
+ <br/>
+ .t.w.o.
+ <br/>
+ .t.h.r.e.e.
+ <br/>
+ .f.o.u.r.
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html
new file mode 100644
index 0000000..eb6bceb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<br>two<br>three<br>four<br></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html
new file mode 100644
index 0000000..d3eefec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .o.n.e.
+ <br/>
+ .t.w.o.
+ <br/>
+ .t.h.r.e.e.
+ <br/>
+ .f.o.u.r.
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html
new file mode 100644
index 0000000..3c6e33b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> one <br> two <br> three <br> four <br></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html
new file mode 100644
index 0000000..d3eefec
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .o.n.e.
+ <br/>
+ .t.w.o.
+ <br/>
+ .t.h.r.e.e.
+ <br/>
+ .f.o.u.r.
+ <br/>
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html
new file mode 100644
index 0000000..064dd32
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr03c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> one <br> two <br> three <br> four <br></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html
new file mode 100644
index 0000000..b76f047
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .o.n.e.
+ <br/>
+ .t.w.o.
+ <br/>
+ .t.h.r.e.e.
+ <br/>
+ .f.o.u.r.
+ <br/>
+ .f.i.v.e.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html
new file mode 100644
index 0000000..43aebc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p>one<br>two<br>three<br>four<br>five</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html
new file mode 100644
index 0000000..b76f047
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .o.n.e.
+ <br/>
+ .t.w.o.
+ <br/>
+ .t.h.r.e.e.
+ <br/>
+ .f.o.u.r.
+ <br/>
+ .f.i.v.e.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html
new file mode 100644
index 0000000..b97d4eb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> one <br> two <br> three <br> four <br> five </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html
new file mode 100644
index 0000000..b76f047
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .o.n.e.
+ <br/>
+ .t.w.o.
+ <br/>
+ .t.h.r.e.e.
+ <br/>
+ .f.o.u.r.
+ <br/>
+ .f.i.v.e.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html
new file mode 100644
index 0000000..25691f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-afterbr04c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<p> one <br> two <br> three <br> four <br> five </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html
new file mode 100644
index 0000000..9728da8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01a-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body></body></html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html
new file mode 100644
index 0000000..482f1f9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01b-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body> </body></html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html
new file mode 100644
index 0000000..739c7c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01c-input.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body> </body></html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html
new file mode 100644
index 0000000..5cb12d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01d-input.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ addEmptyTextNode(document.body);
+ showValidPositions();
+}
+</script>
+</head>
+<body></body></html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html
new file mode 100644
index 0000000..33a5b01
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01e-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ DOM_deleteAllChildren(document.body);
+ DOM_appendChild(document.body,DOM_createTextNode(document,""));
+ DOM_appendChild(document.body,DOM_createTextNode(document,""));
+ DOM_appendChild(document.body,DOM_createTextNode(document,""));
+ showValidPositions();
+}
+</script>
+</head>
+<body></body></html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html
new file mode 100644
index 0000000..993289c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01f-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ DOM_deleteAllChildren(document.body);
+ DOM_appendChild(document.body,DOM_createTextNode(document,"\n"));
+ DOM_appendChild(document.body,DOM_createTextNode(document,"\n"));
+ DOM_appendChild(document.body,DOM_createTextNode(document,"\n"));
+ showValidPositions();
+}
+</script>
+</head>
+<body></body></html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html
new file mode 100644
index 0000000..3c15d21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-expected.html
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html
new file mode 100644
index 0000000..a3089d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-body01g-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ DOM_deleteAllChildren(document.body);
+ DOM_appendChild(document.body,DOM_createTextNode(document," \n "));
+ DOM_appendChild(document.body,DOM_createTextNode(document," \n "));
+ DOM_appendChild(document.body,DOM_createTextNode(document," \n "));
+ showValidPositions();
+}
+</script>
+</head>
+<body></body></html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html
new file mode 100644
index 0000000..a99c22d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ <table id="item1">
+ <caption>.O.n.e.</caption>
+ <tbody>
+ <tr>
+ <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+ <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+ </tr>
+ </tbody>
+ </table>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html
new file mode 100644
index 0000000..a480b77
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ PostponedActions_perform();
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+ <caption>One</caption>
+ <tr>
+ <td>Cell contents</td>
+ <td>Cell contents</td>
+ </tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html
new file mode 100644
index 0000000..a99c22d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ <table id="item1">
+ <caption>.O.n.e.</caption>
+ <tbody>
+ <tr>
+ <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+ <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+ </tr>
+ </tbody>
+ </table>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html
new file mode 100644
index 0000000..9a4d5d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ PostponedActions_perform();
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+ <caption> One </caption>
+ <tr>
+ <td>Cell contents</td>
+ <td>Cell contents</td>
+ </tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html
new file mode 100644
index 0000000..a99c22d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-expected.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ <table id="item1">
+ <caption>.O.n.e.</caption>
+ <tbody>
+ <tr>
+ <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+ <td>.C.e.l.l. .c.o.n.t.e.n.t.s.</td>
+ </tr>
+ </tbody>
+ </table>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html
new file mode 100644
index 0000000..eaf0333
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-caption01c-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ PostponedActions_perform();
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<table>
+ <caption> One </caption>
+ <tr>
+ <td>Cell contents</td>
+ <td>Cell contents</td>
+ </tr>
+</table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html
new file mode 100644
index 0000000..cb7614e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="endnote">.e.n.d.n.o.t.e.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html
new file mode 100644
index 0000000..3254c5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">endnote</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html
new file mode 100644
index 0000000..220a4e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="endnote">.e.n.d.n.o.t.e.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html
new file mode 100644
index 0000000..ee67b8a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">endnote</span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html
new file mode 100644
index 0000000..56b5550
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="endnote">.e.n.d.n.o.t.e.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html
new file mode 100644
index 0000000..f4b15ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="endnote">endnote</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html
new file mode 100644
index 0000000..f2e6bfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="endnote">.e.n.d.n.o.t.e.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html
new file mode 100644
index 0000000..74a8606
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="endnote">endnote</span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html
new file mode 100644
index 0000000..735a24f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="endnote">.f.i.r.s.t.</span>
+ .
+ <span class="endnote">.s.e.c.o.n.d.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html
new file mode 100644
index 0000000..91277c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote">first</span><span class="endnote">second</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html
new file mode 100644
index 0000000..4b5fd0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="endnote">.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html
new file mode 100644
index 0000000..ed8e9fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote"></span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html
new file mode 100644
index 0000000..abff27c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="endnote">.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html
new file mode 100644
index 0000000..e10ba4b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote"></span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html
new file mode 100644
index 0000000..bbccfb6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="endnote">.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html
new file mode 100644
index 0000000..0691bb8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="endnote"></span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html
new file mode 100644
index 0000000..80c2f50
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="endnote">.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html
new file mode 100644
index 0000000..6d4d4e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="endnote"></span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html
new file mode 100644
index 0000000..70cab9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="endnote">.</span>
+ .
+ <span class="endnote">.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html
new file mode 100644
index 0000000..4f1a5c0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-endnote10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="endnote"></span><span class="endnote"></span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html
new file mode 100644
index 0000000..1d20b61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ <figure id="item1">
+ <img src="nothing.png"/>
+ <figcaption>.O.n.e.</figcaption>
+ </figure>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html
new file mode 100644
index 0000000..1c9a8fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ PostponedActions_perform();
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<figure>
+ <img src="nothing.png">
+ <figcaption>One</figcaption>
+</figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html
new file mode 100644
index 0000000..1d20b61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ <figure id="item1">
+ <img src="nothing.png"/>
+ <figcaption>.O.n.e.</figcaption>
+ </figure>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html
new file mode 100644
index 0000000..bcb49b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01b-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ PostponedActions_perform();
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<figure>
+ <img src="nothing.png">
+ <figcaption> One </figcaption>
+</figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html
new file mode 100644
index 0000000..1d20b61
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ </head>
+ <body>
+ .
+ <figure id="item1">
+ <img src="nothing.png"/>
+ <figcaption>.O.n.e.</figcaption>
+ </figure>
+ .
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html
new file mode 100644
index 0000000..009cfdd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-figure01c-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ Outline_init();
+ PostponedActions_perform();
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+<figure>
+ <img src="nothing.png">
+ <figcaption> One </figcaption>
+</figure>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html
new file mode 100644
index 0000000..30baef0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html
new file mode 100644
index 0000000..19f828f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote">footnote</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html
new file mode 100644
index 0000000..6c640e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html
new file mode 100644
index 0000000..33071e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote">footnote</span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html
new file mode 100644
index 0000000..ffa20d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html
new file mode 100644
index 0000000..8f7f354
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="footnote">footnote</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html
new file mode 100644
index 0000000..df77fa9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html
new file mode 100644
index 0000000..4f84bb3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="footnote">footnote</span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html
new file mode 100644
index 0000000..3c42ff3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.f.i.r.s.t.</span>
+ .
+ <span class="footnote">.s.e.c.o.n.d.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html
new file mode 100644
index 0000000..6a41ff8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote">first</span><span class="footnote">second</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html
new file mode 100644
index 0000000..c7f7280
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html
new file mode 100644
index 0000000..c73faa2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote"></span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html
new file mode 100644
index 0000000..610bd41
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html
new file mode 100644
index 0000000..50f5b25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote"></span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html
new file mode 100644
index 0000000..a257091
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="footnote">.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html
new file mode 100644
index 0000000..4e808bc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="footnote"></span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html
new file mode 100644
index 0000000..cc1183f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="footnote">.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html
new file mode 100644
index 0000000..3790129
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p><span class="footnote"></span></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html
new file mode 100644
index 0000000..b192062
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-expected.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.</span>
+ .
+ <span class="footnote">.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html
new file mode 100644
index 0000000..bcf3749
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote"></span><span class="footnote"></span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html
new file mode 100644
index 0000000..6c640e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html
new file mode 100644
index 0000000..5421f92
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote11-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote">footnote</span> </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html
new file mode 100644
index 0000000..6c640e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .b.e.f.o.r.e.
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html
new file mode 100644
index 0000000..a06bb2a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote12-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p>before<span class="footnote">footnote</span> </p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html
new file mode 100644
index 0000000..ffa20d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html
new file mode 100644
index 0000000..14f51ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote13-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p> <span class="footnote">footnote</span>after</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html
new file mode 100644
index 0000000..ffa20d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-expected.html
@@ -0,0 +1,11 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <p>
+ .
+ <span class="footnote">.f.o.o.t.n.o.t.e.</span>
+ .a.f.t.e.r.
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html
new file mode 100644
index 0000000..4335720
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/position/isValidCursorPosition-footnote14-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="validPositions.js"></script>
+<script>
+function performTest()
+{
+ showValidPositions();
+}
+</script>
+</head>
+<body>
+ <p> <span class="footnote">footnote</span>after</p>
+</body>
+</html>