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:42 UTC

[35/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/dom/splitAroundSelection-nested03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-input.html
new file mode 100644
index 0000000..67dbe53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u.firstChild,2,u.firstChild,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three <u>Four</u></b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html
new file mode 100644
index 0000000..2ce8c68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+        </u>
+      </b>
+      <b><u>[]</u></b>
+      <b>
+        <u>
+          Four
+          <br/>
+          Five
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html
new file mode 100644
index 0000000..9d72929
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,2,u,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html
new file mode 100644
index 0000000..30e33ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b><u>[]</u></b>
+      <b>
+        <u>
+          Three
+          <br/>
+          Four
+          <br/>
+          Five
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html
new file mode 100644
index 0000000..668288a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html
new file mode 100644
index 0000000..20aba8c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+          Four
+          <br/>
+          Five
+        </u>
+      </b>
+      <b><u>[]</u></b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html
new file mode 100644
index 0000000..7b0b3d2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,5,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html
new file mode 100644
index 0000000..bee2071
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+        </u>
+      </b>
+      <b>
+        <u>
+          [Four
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>
+          Five
+          <br/>
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html
new file mode 100644
index 0000000..3696e5c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,2,u,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five<br></u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html
new file mode 100644
index 0000000..d60fec1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        <u>
+          [Three
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>
+          Four
+          <br/>
+          Five
+          <br/>
+        </u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html
new file mode 100644
index 0000000..941b295
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested08-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five<br></u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html
new file mode 100644
index 0000000..044db5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+          Four
+          <br/>
+        </u>
+      </b>
+      <b>
+        <u>
+          [Five
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html
new file mode 100644
index 0000000..e0f04d9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested09-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,4,u,6);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five<br></u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html
new file mode 100644
index 0000000..9b485e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Three</u>
+      </b>
+      <b>
+        <u>
+          [
+          <br/>
+          Four
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>Five</u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html
new file mode 100644
index 0000000..4a37f40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested10-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,1,u,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html
new file mode 100644
index 0000000..6b492b2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        <u>
+          [Three
+          <br/>
+          Four
+          <br/>
+          ]
+        </u>
+      </b>
+      <b>
+        <u>Five</u>
+        Six
+      </b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html
new file mode 100644
index 0000000..d101094
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested11-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html
new file mode 100644
index 0000000..f7e5904
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Three</u>
+      </b>
+      <b>
+        <u>
+          [
+          <br/>
+          Four
+          <br/>
+          Five]
+        </u>
+      </b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html
new file mode 100644
index 0000000..f95d420
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested12-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,1,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html
new file mode 100644
index 0000000..cded002
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        <u>
+          [Three
+          <br/>
+          Four
+          <br/>
+          Five]
+        </u>
+      </b>
+      <b>Six</b>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html
new file mode 100644
index 0000000..4f655fb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested13-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,0,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four<br>Five</u> Six</b> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html
new file mode 100644
index 0000000..29b775a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">
+        Two
+        <a href="#">Thr</a>
+      </span>
+      <span style="color: red"><a href="#">[]</a></span>
+      <span style="color: red">
+        <a href="#">ee</a>
+        Four
+      </span>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html
new file mode 100644
index 0000000..c80eee6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested14-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a.firstChild,3,a.firstChild,3);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#">Three</a> Four</span> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html
new file mode 100644
index 0000000..12f3656
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">
+        Two
+        <a href="#">
+          Three
+          <br/>
+        </a>
+      </span>
+      <span style="color: red"><a href="#" id="testlink">[Four]</a></span>
+      <span style="color: red">
+        <a href="#">
+          <br/>
+          Five
+        </a>
+        Six
+      </span>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html
new file mode 100644
index 0000000..ee62a5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested15-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a,2,a,3);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#" id="testlink">Three<br>Four<br>Five</a> Six</span> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html
new file mode 100644
index 0000000..aa5b470
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">Two</span>
+      <span style="color: red">
+        <a href="#" id="testlink">
+          [Three
+          <br/>
+          ]
+        </a>
+      </span>
+      <span style="color: red">
+        <a href="#">
+          Four
+          <br/>
+          Five
+        </a>
+        Six
+      </span>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html
new file mode 100644
index 0000000..2c7c3e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested16-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a,0,a,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#" id="testlink">Three<br>Four<br>Five</a> Six</span> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html
new file mode 100644
index 0000000..549f5f2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-expected.html
@@ -0,0 +1,25 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <span style="color: red">
+        Two
+        <a href="#">
+          Three
+          <br/>
+          Four
+        </a>
+      </span>
+      <span style="color: red">
+        <a href="#" id="testlink">
+          [
+          <br/>
+          Five]
+        </a>
+      </span>
+      <span style="color: red">Six</span>
+      Seven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html
new file mode 100644
index 0000000..ea75034
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested17-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var a = document.getElementsByTagName("A")[0];
+    var range = new Range(a,3,a,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <span style="color: red">Two <a href="#" id="testlink">Three<br>Four<br>Five</a> Six</span> Seven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html
new file mode 100644
index 0000000..49e722f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <i>Fo</i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>
+            [ur
+            <br/>
+            Five
+          </i>
+          S]
+        </u>
+      </b>
+      <b>
+        <u>ix</u>
+        Seven
+      </b>
+      Eight
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html
new file mode 100644
index 0000000..70d1544
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested18-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(i.firstChild,2,u.lastChild,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three <i>Four<br>Five</i> Six</u> Seven</b> Eight</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html
new file mode 100644
index 0000000..f8e10c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-expected.html
@@ -0,0 +1,30 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Thr</u>
+      </b>
+      <b>
+        <u>
+          [ee
+          <i>
+            Four
+            <br/>
+            Fi]
+          </i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>ve</i>
+          Six
+        </u>
+        Seven
+      </b>
+      Eight
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html
new file mode 100644
index 0000000..8c00da8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested19-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u.firstChild,3,i.lastChild,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three <i>Four<br>Five</i> Six</u> Seven</b> Eight</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html
new file mode 100644
index 0000000..72260c1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-expected.html
@@ -0,0 +1,37 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>Three</u>
+      </b>
+      <b>
+        <u>
+          [
+          <br/>
+          Four
+          <i>
+            Five
+            <br/>
+            Six]
+          </i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>
+            <br/>
+            Seven
+          </i>
+          Eight
+          <br/>
+          Nine
+        </u>
+        Ten
+      </b>
+      Eleven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html
new file mode 100644
index 0000000..8691274
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested20-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(u,1,i,3);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four <i>Five<br>Six<br>Seven</i> Eight<br>Nine</u> Ten</b> Eleven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html
new file mode 100644
index 0000000..a34e2a5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-expected.html
@@ -0,0 +1,38 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <u>
+          Three
+          <br/>
+          Four
+          <i>
+            Five
+            <br/>
+          </i>
+        </u>
+      </b>
+      <b>
+        <u>
+          <i>
+            [Six
+            <br/>
+            Seven
+          </i>
+          Eight]
+        </u>
+      </b>
+      <b>
+        <u>
+          <br/>
+          Nine
+        </u>
+        Ten
+      </b>
+      Eleven
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html
new file mode 100644
index 0000000..a73b844
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection-nested21-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var i = document.getElementsByTagName("I")[0];
+    var u = document.getElementsByTagName("U")[0];
+    var range = new Range(i,2,u,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two <u>Three<br>Four <i>Five<br>Six<br>Seven</i> Eight<br>Nine</u> Ten</b> Eleven</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html
new file mode 100644
index 0000000..165e68c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three]</b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html
new file mode 100644
index 0000000..8171d29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,4,b.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html
new file mode 100644
index 0000000..e6cbe37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[Two Three]</b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html
new file mode 100644
index 0000000..9c3af1d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,0,b.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html
new file mode 100644
index 0000000..8e08479
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html
new file mode 100644
index 0000000..ccd8543
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,4,b.firstChild,14);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html
new file mode 100644
index 0000000..cdb7e62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[Two Three Four]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html
new file mode 100644
index 0000000..d7bff68
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,0,b.firstChild,14);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html
new file mode 100644
index 0000000..0be2f25
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[]</b>
+      <b>Two Three Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html
new file mode 100644
index 0000000..751c2b3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,0,b.firstChild,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html
new file mode 100644
index 0000000..1d0541a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[]</b>
+      <b>Three Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html
new file mode 100644
index 0000000..3691170
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,4,b.firstChild,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html
new file mode 100644
index 0000000..3321d81
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two Three Four</b>
+      <b>[]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html
new file mode 100644
index 0000000..32a4b62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b.firstChild,14,b.firstChild,14);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html
new file mode 100644
index 0000000..9b00e16
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four</b>
+      Five
+      <b>Six Seven]</b>
+      <b>Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html
new file mode 100644
index 0000000..ef9f400
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,4,b2.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html
new file mode 100644
index 0000000..de2bad9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[Two Three Four</b>
+      Five
+      <b>Six Seven]</b>
+      <b>Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html
new file mode 100644
index 0000000..b666083
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection09-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,0,b2.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html
new file mode 100644
index 0000000..faffb83
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two Three Four</b>
+      <b>[</b>
+      Five
+      <b>Six Seven]</b>
+      <b>Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html
new file mode 100644
index 0000000..569f397
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection10-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,14,b2.firstChild,9);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html
new file mode 100644
index 0000000..388cf2f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four</b>
+      Five
+      <b>]</b>
+      <b>Six Seven Eight</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html
new file mode 100644
index 0000000..1ee8569
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection11-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,4,b2.firstChild,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html
new file mode 100644
index 0000000..36cc022
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>[Three Four</b>
+      Five
+      <b>Six Seven Eight]</b>
+      Nine
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html
new file mode 100644
index 0000000..d7ae253
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection12-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b1 = document.getElementsByTagName("B")[0];
+    var b2 = document.getElementsByTagName("B")[1];
+    var range = new Range(b1.firstChild,4,b2.firstChild,15);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One <b>Two Three Four</b> Five <b>Six Seven Eight</b> Nine</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html
new file mode 100644
index 0000000..c72ef07
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        [
+        <br/>
+        Three
+        <br/>
+        ]
+      </b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html
new file mode 100644
index 0000000..882950e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection13-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,1,b,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html
new file mode 100644
index 0000000..ccb4460
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        [Two
+        <br/>
+        Three
+        <br/>
+        ]
+      </b>
+      <b>Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html
new file mode 100644
index 0000000..d8e9670
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection14-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,0,b,4);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html
new file mode 100644
index 0000000..c62fd1b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>Two</b>
+      <b>
+        [
+        <br/>
+        Three
+        <br/>
+        Four]
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html
new file mode 100644
index 0000000..39ea86e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection15-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,1,b,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html
new file mode 100644
index 0000000..e10e46a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>[]</b>
+      <b>
+        Two
+        <br/>
+        Three
+        <br/>
+        Four
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html
new file mode 100644
index 0000000..0bd12b6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection16-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,0,b,0);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html
new file mode 100644
index 0000000..e1cd259
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <br/>
+      </b>
+      <b>[]</b>
+      <b>
+        Three
+        <br/>
+        Four
+      </b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html
new file mode 100644
index 0000000..c19ff7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection17-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,2,b,2);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html
new file mode 100644
index 0000000..899897f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        <br/>
+        Three
+        <br/>
+        Four
+      </b>
+      <b>[]</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html
new file mode 100644
index 0000000..99298f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection18-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var b = document.getElementsByTagName("B")[0];
+    var range = new Range(b,5,b,5);
+    Formatting_splitAroundSelection(range);
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body><p>One<b>Two<br>Three<br>Four</b>Five</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html
new file mode 100644
index 0000000..9a828d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <s>Text1</s>
+        <s>Text2</s>
+        <s>Text3</s>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html
new file mode 100644
index 0000000..ccc961e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection19-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>
+    <s>Text2</s>
+    <s>Text3</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html
new file mode 100644
index 0000000..fc44fa4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <s>Text1</s>
+        <s>Text2</s>
+      </b>
+      <b><s>Text3</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html
new file mode 100644
index 0000000..60e20d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection20-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>
+    <s>Text2</s>]
+    <s>Text3</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html
new file mode 100644
index 0000000..439796f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>Text1</s></b>
+      <b>
+        <s>Text2</s>
+        <s>Text3</s>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html
new file mode 100644
index 0000000..5ea0229
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection21-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>Text1</s>
+    [<s>Text2</s>
+    <s>Text3</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html
new file mode 100644
index 0000000..bbdc2de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <i>
+          <s>Text1</s>
+          <s>Text2</s>
+          <s>Text3</s>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html
new file mode 100644
index 0000000..11210cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection22-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <i>
+      [<s>Text1</s>
+      <s>Text2</s>
+      <s>Text3</s>]
+    </i>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html
new file mode 100644
index 0000000..de87e0e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>
+        <i>
+          <s>Text1</s>
+          <s>Text2</s>
+        </i>
+      </b>
+      <b><i><s>Text3</s></i></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html
new file mode 100644
index 0000000..a3f0e53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection23-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <i>
+      [<s>Text1</s>
+      <s>Text2</s>]
+      <s>Text3</s>
+    </i>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html
new file mode 100644
index 0000000..ce33895
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><s>Text1</s></i></b>
+      <b>
+        <i>
+          <s>Text2</s>
+          <s>Text3</s>
+        </i>
+      </b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html
new file mode 100644
index 0000000..256f488
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/splitAroundSelection24-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        Formatting_splitAroundSelection(Selection_get());
+    });
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <i>
+      <s>Text1</s>
+      [<s>Text2</s>
+      <s>Text3</s>]
+    </i>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html b/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html
new file mode 100644
index 0000000..6bab67c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/stripComments01-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <b>
+        Two
+        Three Four
+      </b>
+      Five
+    </p>
+    <ul>
+      <li>Item 1</li>
+      <li>
+        Item
+        2
+      </li>
+      <li>Item 3</li>
+    </ul>
+    <p>
+      One
+      <b>Two Three Four</b>
+      Five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html b/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html
new file mode 100644
index 0000000..ed5f644
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/stripComments01-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<!-- comment 0 -->
+<head>
+<script>
+function performTest()
+{
+    Main_removeUnsupportedInput();
+}
+</script>
+</head>
+<!-- comment 1 -->
+<body>
+<!-- comment 2 -->
+<p>One <b>Two <!-- comment 3 --> Three Four</b> Five</p>
+<ul>
+  <?php a ?>
+  <li>Item 1</li>
+  <!-- comment 4 -->
+  <li>Item <!-- comment 5 --> 2</li>
+  <li>Item 3</li>
+</ul>
+<p>One <b>Two Three Four</b><!-- comment 6 --> Five</p>
+</body>
+<!-- comment 7 -->
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html
new file mode 100644
index 0000000..abf8ea8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        DOM_deleteNode(document.getElementsByTagName("P")[0]);
+    });
+    showSelection();
+}
+</script>
+</head>
+<body><p>[]</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html
new file mode 100644
index 0000000..e0e8963
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        DOM_deleteNode(document.getElementsByTagName("P")[0]);
+    });
+    showSelection();
+}
+</script>
+</head>
+<body><p><b>[]</b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html
new file mode 100644
index 0000000..c6b79d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    []
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html
new file mode 100644
index 0000000..4e54134
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-delete03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        DOM_deleteNode(document.getElementsByTagName("P")[0]);
+    });
+    showSelection();
+}
+</script>
+</head>
+<body><p><b><u>[x]</u></b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html
new file mode 100644
index 0000000..b48aa59
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-expected.html
@@ -0,0 +1,57 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P,0)
+Before: positions[2] = (BR#br1,0)
+Before: positions[3] = (P,1)
+Before: positions[4] = "|One"
+Before: positions[5] = "O|ne"
+Before: positions[6] = "On|e"
+Before: positions[7] = "One|"
+Before: positions[8] = (P,2)
+Before: positions[9] = "|Two"
+Before: positions[10] = "T|wo"
+Before: positions[11] = "Tw|o"
+Before: positions[12] = "Two|"
+Before: positions[13] = (P,3)
+Before: positions[14] = "|Three"
+Before: positions[15] = "T|hree"
+Before: positions[16] = "Th|ree"
+Before: positions[17] = "Thr|ee"
+Before: positions[18] = "Thre|e"
+Before: positions[19] = "Three|"
+Before: positions[20] = (P,4)
+Before: positions[21] = (BR#br2,0)
+Before: positions[22] = (P,5)
+Before: positions[23] = (BODY,1)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P,0)
+After: positions[2] = (BR#br1,0)
+After: positions[3] = (P,1)
+After: positions[4] = "|OneTwoThree" - changed from "|One"
+After: positions[5] = "O|neTwoThree" - changed from "O|ne"
+After: positions[6] = "On|eTwoThree" - changed from "On|e"
+After: positions[7] = "One|TwoThree" - changed from "One|"
+After: positions[8] = "One|TwoThree" - changed from (P,2)
+After: positions[9] = "One|TwoThree" - changed from "|Two"
+After: positions[10] = "OneT|woThree" - changed from "T|wo"
+After: positions[11] = "OneTw|oThree" - changed from "Tw|o"
+After: positions[12] = "OneTwo|Three" - changed from "Two|"
+After: positions[13] = "OneTwo|Three" - changed from (P,3)
+After: positions[14] = "OneTwo|Three" - changed from "|Three"
+After: positions[15] = "OneTwoT|hree" - changed from "T|hree"
+After: positions[16] = "OneTwoTh|ree" - changed from "Th|ree"
+After: positions[17] = "OneTwoThr|ee" - changed from "Thr|ee"
+After: positions[18] = "OneTwoThre|e" - changed from "Thre|e"
+After: positions[19] = "OneTwoThree|" - changed from "Three|"
+After: positions[20] = (P,2) - changed from (P,4)
+After: positions[21] = (BR#br2,0)
+After: positions[22] = (P,3) - changed from (P,5)
+After: positions[23] = (BODY,1)
+-
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html
new file mode 100644
index 0000000..6ca71bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours01-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="RangeTest.js"></script>
+<script>
+
+function performTest()
+{
+    // DOM_wrapNode() should not affect any positions, because the node itself remains in the
+    // tree unmodified.
+
+    DOM_deleteAllChildren(document.body);
+    var p = DOM_createElement(document,"P");
+    var br1 = DOM_createElement(document,"BR");
+    var br2 = DOM_createElement(document,"BR");
+    DOM_setAttribute(br1,"id","br1");
+    DOM_setAttribute(br2,"id","br2");
+    var text1 = DOM_createTextNode(document,"One");
+    var text2 = DOM_createTextNode(document,"Two");
+    var text3 = DOM_createTextNode(document,"Three");
+    DOM_appendChild(p,br1);
+    DOM_appendChild(p,text1);
+    DOM_appendChild(p,text2);
+    DOM_appendChild(p,text3);
+    DOM_appendChild(p,br2);
+    DOM_appendChild(document.body,p);
+
+    var result = comparePositionsBeforeAndAfter(function() {
+        Formatting_mergeWithNeighbours(text2,Formatting_MERGEABLE_INLINE);
+    });
+
+    DOM_deleteAllChildren(document.body);
+    DOM_appendChild(document.body,DOM_createTextNode(document,"-\n"+result+"\n-"));
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html
new file mode 100644
index 0000000..9f592e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/dom/tracking-mergeWithNeighbours02-expected.html
@@ -0,0 +1,71 @@
+<html>
+  <head>
+  </head>
+  <body>
+    -
+Before: positions[0] = (BODY,0)
+Before: positions[1] = (P,0)
+Before: positions[2] = (SPAN#span1,0)
+Before: positions[3] = (P,1)
+Before: positions[4] = (SPAN#span2,0)
+Before: positions[5] = (BR#br1,0)
+Before: positions[6] = (SPAN#span2,1)
+Before: positions[7] = (BR#br2,0)
+Before: positions[8] = (SPAN#span2,2)
+Before: positions[9] = (BR#br3,0)
+Before: positions[10] = (SPAN#span2,3)
+Before: positions[11] = (P,2)
+Before: positions[12] = (SPAN#span3,0)
+Before: positions[13] = (BR#br4,0)
+Before: positions[14] = (SPAN#span3,1)
+Before: positions[15] = (BR#br5,0)
+Before: positions[16] = (SPAN#span3,2)
+Before: positions[17] = (BR#br6,0)
+Before: positions[18] = (SPAN#span3,3)
+Before: positions[19] = (P,3)
+Before: positions[20] = (SPAN#span4,0)
+Before: positions[21] = (BR#br7,0)
+Before: positions[22] = (SPAN#span4,1)
+Before: positions[23] = (BR#br8,0)
+Before: positions[24] = (SPAN#span4,2)
+Before: positions[25] = (BR#br9,0)
+Before: positions[26] = (SPAN#span4,3)
+Before: positions[27] = (P,4)
+Before: positions[28] = (SPAN#span5,0)
+Before: positions[29] = (P,5)
+Before: positions[30] = (BODY,1)
+
+After: positions[0] = (BODY,0)
+After: positions[1] = (P,0)
+After: positions[2] = (SPAN#span1,0)
+After: positions[3] = (P,1)
+After: positions[4] = (SPAN#span2,0)
+After: positions[5] = (BR#br1,0)
+After: positions[6] = (SPAN#span2,1)
+After: positions[7] = (BR#br2,0)
+After: positions[8] = (SPAN#span2,2)
+After: positions[9] = (BR#br3,0)
+After: positions[10] = (SPAN#span2,3)
+After: positions[11] = (SPAN#span2,3) - changed from (P,2)
+After: positions[12] = (SPAN#span2,3) - changed from (SPAN#span3,0)
+After: positions[13] = (BR#br4,0)
+After: positions[14] = (SPAN#span2,4) - changed from (SPAN#span3,1)
+After: positions[15] = (BR#br5,0)
+After: positions[16] = (SPAN#span2,5) - changed from (SPAN#span3,2)
+After: positions[17] = (BR#br6,0)
+After: positions[18] = (SPAN#span2,6) - changed from (SPAN#span3,3)
+After: positions[19] = (SPAN#span2,6) - changed from (P,3)
+After: positions[20] = (SPAN#span2,6) - changed from (SPAN#span4,0)
+After: positions[21] = (BR#br7,0)
+After: positions[22] = (SPAN#span2,7) - changed from (SPAN#span4,1)
+After: positions[23] = (BR#br8,0)
+After: positions[24] = (SPAN#span2,8) - changed from (SPAN#span4,2)
+After: positions[25] = (BR#br9,0)
+After: positions[26] = (SPAN#span2,9) - changed from (SPAN#span4,3)
+After: positions[27] = (P,2) - changed from (P,4)
+After: positions[28] = (SPAN#span5,0)
+After: positions[29] = (P,3) - changed from (P,5)
+After: positions[30] = (BODY,1)
+-
+  </body>
+</html>