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

[32/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/formatting/getFormatting-list03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html
new file mode 100644
index 0000000..bc01f0d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list03-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]One</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html
new file mode 100644
index 0000000..3bb52c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list04-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+properties[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html
new file mode 100644
index 0000000..44ecebc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list05-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>[]<br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html
new file mode 100644
index 0000000..3155de9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = __none
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html
new file mode 100644
index 0000000..c51de10
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list06-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li>[]</li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html
new file mode 100644
index 0000000..8df8306
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list07-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li></li></ul>
+<p>[]<br></p>
+<ol><li></li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html
new file mode 100644
index 0000000..bc4d838
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ol = true
+-uxwrite-paragraph-style = __none
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html
new file mode 100644
index 0000000..b1c736d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list08-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li>[]</li></ol>
+<p><br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html
new file mode 100644
index 0000000..d8606cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list09-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p><br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p>[]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html
new file mode 100644
index 0000000..3029f0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ol = true
+-uxwrite-in-ul = true
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html
new file mode 100644
index 0000000..5e967e7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list10-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<p>[<br></p>
+<ul><li></li></ul>
+<p><br></p>
+<ol><li></li></ol>
+<p>]<br></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html
new file mode 100644
index 0000000..4a533c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list11-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>[]One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html
new file mode 100644
index 0000000..066b825
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list12-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>[]Two</p>
+    <p>Three</p>
+    <p>Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html
new file mode 100644
index 0000000..b002e66
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list13-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>[]Three</p>
+    <p>Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html
new file mode 100644
index 0000000..22a8b15
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list14-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <p>[]Four</p>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html
new file mode 100644
index 0000000..6d0c59a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list15-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>[]Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html
new file mode 100644
index 0000000..a9084e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list16-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>[]Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html
new file mode 100644
index 0000000..533813c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list17-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>[]Four</p>
+        <p>Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html
new file mode 100644
index 0000000..484ea8f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list18-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>[]Five</p>
+        <p>Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html
new file mode 100644
index 0000000..80f9bdd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list19-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>Four</p>
+        <p>Five</p>
+        <p>[]Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-expected.html
@@ -0,0 +1,3 @@
+-uxwrite-in-ul = true
+-uxwrite-paragraph-style = p
+-uxwrite-shift = true

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html
new file mode 100644
index 0000000..7528b72
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting-list20-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var formatting = Formatting_getFormatting();
+    var lines = new Array();
+    var names = Object.getOwnPropertyNames(formatting).sort();
+    for (var i = 0; i < names.length; i++)
+        lines.push(names[i]+" = "+formatting[names[i]]+"\n");
+    return lines.join("");
+}
+</script>
+</head>
+<body>
+<ul>
+  <li>
+    <p>One</p>
+  </li>
+  <li>
+    <p>Two</p>
+    <p>Three</p>
+    <ul>
+      <li>
+        <p>[Four</p>
+        <p>Five</p>
+        <p>]Six</p>
+      </li>
+    </ul>
+  </li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html
new file mode 100644
index 0000000..04de696
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>color = blue</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html
new file mode 100644
index 0000000..e661b40
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">One</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html
new file mode 100644
index 0000000..f2ad17d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html
new file mode 100644
index 0000000..2ebab16
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting02-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">One</span>
+  <span style="color: red">One</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html
new file mode 100644
index 0000000..f2ad17d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html
new file mode 100644
index 0000000..1913cdc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting03-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">One</span>
+  <span>One</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html
new file mode 100644
index 0000000..9fd1834
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>font-weight = bold</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html
new file mode 100644
index 0000000..1b0fb37
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<b>One</b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html
new file mode 100644
index 0000000..d528395
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>font-style = italic</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html
new file mode 100644
index 0000000..a07ee13
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<i>One</i>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html
new file mode 100644
index 0000000..10929f3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>text-decoration = underline</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html
new file mode 100644
index 0000000..80da476
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting06-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>
+  [<u>One</u>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html
new file mode 100644
index 0000000..923b4c9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>background-color = silver</p>
+    <p>color = blue</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html
new file mode 100644
index 0000000..41fbe35
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting07-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p style="color: blue; background-color: silver">
+  [<span>One</span>
+  <span>Two</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html
new file mode 100644
index 0000000..6237be6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>background-color = silver</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html
new file mode 100644
index 0000000..28ea495
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting08-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p style="color: blue; background-color: silver">
+  [<span>One</span>
+  <span style="color: red">Two</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html
new file mode 100644
index 0000000..418a5c6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+    <p>border-bottom-color = red</p>
+    <p>border-bottom-style = solid</p>
+    <p>border-left-color = red</p>
+    <p>border-left-style = solid</p>
+    <p>border-right-color = red</p>
+    <p>border-right-style = solid</p>
+    <p>border-top-color = red</p>
+    <p>border-top-style = solid</p>
+    <p>font-weight = bold</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html
new file mode 100644
index 0000000..8fcbff6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting09-input.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        if (names[i].match(/^border-image-/)) // Extra properties present in Chrome
+            continue;
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p style="border: 2px solid red">
+  [<b>One</b>
+</p>
+<p style="border: 1px solid red">
+  <b>Two</b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html
new file mode 100644
index 0000000..21a0838
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = p.test</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html
new file mode 100644
index 0000000..207c566
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting10-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p class="test">[One]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html
new file mode 100644
index 0000000..2e704f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>-uxwrite-paragraph-style = h1</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html
new file mode 100644
index 0000000..d628c26
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting11-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<h1>[One]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html
new file mode 100644
index 0000000..3dc0859
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body/>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html
new file mode 100644
index 0000000..2b5408b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/getFormatting12-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    DOM_deleteAllChildren(document.body);
+
+    var names = Object.getOwnPropertyNames(properties).sort();
+    for (var i = 0; i < names.length; i++) {
+        var p = DOM_createElement(document,"P");
+        DOM_appendChild(document.body,p);
+        DOM_appendChild(p,DOM_createTextNode(document,names[i]+" = "+properties[names[i]]));
+    }
+}
+</script>
+</head>
+<body>
+<p>[One</p>
+<h1>Two]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html
new file mode 100644
index 0000000..e6c71e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+.custom { border: 1px solid red }
+    </style>
+  </head>
+  <body>
+    <div>
+      <p>One</p>
+      <p class="custom">Two[]</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html
new file mode 100644
index 0000000..0744224
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.custom { border: 1px solid red }
+</style>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".custom",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html
new file mode 100644
index 0000000..fd1ba82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head>
+    <style>
+.custom { border: 1px solid red }
+    </style>
+  </head>
+  <body>
+    <div>
+      <p class="custom">[One</p>
+      <p class="custom">Two</p>
+      <p class="custom">Three]</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html
new file mode 100644
index 0000000..8ac32d7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv01b-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.custom { border: 1px solid red }
+</style>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(".custom",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html
new file mode 100644
index 0000000..c12040d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv02a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html
new file mode 100644
index 0000000..a09aa19
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv02b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges("h1",null);
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html
new file mode 100644
index 0000000..0981834
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <p style="text-align: center">Two[]</p>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html
new file mode 100644
index 0000000..001975d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-align": "center"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html b/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html
new file mode 100644
index 0000000..c2de6f7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p style="text-align: center">[One</p>
+      <p style="text-align: center">Two</p>
+      <p style="text-align: center">Three]</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html b/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html
new file mode 100644
index 0000000..dddeda2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/indiv03b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-align": "center"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html
new file mode 100644
index 0000000..b7e8db1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  <s style="color: blue">[Text]</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change02-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html
new file mode 100644
index 0000000..3566deb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue">Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html
new file mode 100644
index 0000000..e747faf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change03-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red"><s>Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html
new file mode 100644
index 0000000..5a36311
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change03-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+[<p>
+  <s style="color: blue">Text</s>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change04-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html
new file mode 100644
index 0000000..7a1be0b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>[Text]</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html
new file mode 100644
index 0000000..481c064
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change05-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html
new file mode 100644
index 0000000..f0dd4b8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  [<s>Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html
new file mode 100644
index 0000000..e747faf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red"><s>Text</s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html
new file mode 100644
index 0000000..7300b0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+[<p style="color: blue">
+  <s>Text</s>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html
new file mode 100644
index 0000000..2370b38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue">One</s>
+      <s style="color: red">Two</s>
+      <s style="color: blue">Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html
new file mode 100644
index 0000000..5145372
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  <s style="color: blue">One</s>
+  [<s style="color: blue">Two</s>]
+  <s style="color: blue">Three</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html
new file mode 100644
index 0000000..58ac194
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: red">One</s>
+      <s style="color: red">Two</s>
+      <s style="color: red">Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html
new file mode 100644
index 0000000..b65ea31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change08-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue">One</s>
+  <s style="color: blue">Two</s>
+  <s style="color: blue">Three</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html
new file mode 100644
index 0000000..4b6704a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red">
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html
new file mode 100644
index 0000000..e464f53
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change09-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+[<p>
+  <s style="color: blue">One</s>
+  <s style="color: blue">Two</s>
+  <s style="color: blue">Three</s>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html
new file mode 100644
index 0000000..2370b38
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change10-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue">One</s>
+      <s style="color: red">Two</s>
+      <s style="color: blue">Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html
new file mode 100644
index 0000000..11c8ebf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change10-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>One</s>
+  [<s>Two</s>]
+  <s>Three</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html
new file mode 100644
index 0000000..b6f62d6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change11-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      One
+      <i>Two</i>
+      <u>Three</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html
new file mode 100644
index 0000000..e0f4a5b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change11-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+[<p>
+  <b>One</b>
+  <i>Two</i>
+  <u>Three</u>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html
new file mode 100644
index 0000000..992bc62
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change12-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>One</b>
+      Two
+      <u>Three</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html
new file mode 100644
index 0000000..b87ad18
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change12-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": null});
+}
+</script>
+</head>
+<body>
+[<p>
+  <b>One</b>
+  <i>Two</i>
+  <u>Three</u>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html
new file mode 100644
index 0000000..2ac84c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change13-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>One</b>
+      <i>Two</i>
+      Three
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html
new file mode 100644
index 0000000..752ae0a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change13-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-decoration": null});
+}
+</script>
+</head>
+<body>
+[<p>
+  <b>One</b>
+  <i>Two</i>
+  <u>Three</u>
+</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html
new file mode 100644
index 0000000..4fcd27e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change14-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>One</s></b>
+      <s>Two</s>
+      <b><s>Three</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html
new file mode 100644
index 0000000..0f71544
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change14-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>One</s>
+    [<s>Two</s>]
+    <s>Three</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change15-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html
new file mode 100644
index 0000000..0143e4f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change15-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>One</s>
+    <s>Two</s>
+    <s>Three</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change16-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html
new file mode 100644
index 0000000..11d80d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change16-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<b>
+    <s>One</s>
+    <s>Two</s>
+    <s>Three</s>
+  </b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html
new file mode 100644
index 0000000..9f34271
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change17-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 18pt"><s>One</s></span>
+      <span style="font-size: 18pt"><s>Two</s></span>
+      <span style="color: blue; font-size: 18pt"><s>Three</s></span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html
new file mode 100644
index 0000000..d852e9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-change17-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <span style="color: blue; font-size: 18pt">
+    <s>One</s>
+    [<s>Two</s>]
+    <s>Three</s>
+  </span>
+</p>
+</body>
+</html>