corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [25/92] [abbrv] [partial] incubator-corinthia git commit: Add editing code from UX Write
Date Wed, 17 Dec 2014 13:28:35 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-class08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-class08-input.html b/Editor/tests/formatting/getFormatting-class08-input.html
new file mode 100644
index 0000000..d252896
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-class08-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<blockquote class="Something">Text[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty01a-expected.html b/Editor/tests/formatting/getFormatting-empty01a-expected.html
new file mode 100644
index 0000000..4bca9a2
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty01a-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty01a-input.html b/Editor/tests/formatting/getFormatting-empty01a-input.html
new file mode 100644
index 0000000..e9e88ab
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty01a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty01b-expected.html b/Editor/tests/formatting/getFormatting-empty01b-expected.html
new file mode 100644
index 0000000..4bca9a2
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty01b-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = __none

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty01b-input.html b/Editor/tests/formatting/getFormatting-empty01b-input.html
new file mode 100644
index 0000000..e97854e
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty01b-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.body;
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty02a-expected.html b/Editor/tests/formatting/getFormatting-empty02a-expected.html
new file mode 100644
index 0000000..cf47ff1
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty02a-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = p

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty02a-input.html b/Editor/tests/formatting/getFormatting-empty02a-input.html
new file mode 100644
index 0000000..b9c2755
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty02a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty02b-expected.html b/Editor/tests/formatting/getFormatting-empty02b-expected.html
new file mode 100644
index 0000000..cf47ff1
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty02b-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = p

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty02b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty02b-input.html b/Editor/tests/formatting/getFormatting-empty02b-input.html
new file mode 100644
index 0000000..210917f
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("P")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<p></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty03a-expected.html b/Editor/tests/formatting/getFormatting-empty03a-expected.html
new file mode 100644
index 0000000..d53bd12
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty03a-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = h1

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty03a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty03a-input.html b/Editor/tests/formatting/getFormatting-empty03a-input.html
new file mode 100644
index 0000000..79b753a
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty03a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<h1>[]</h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty03b-expected.html b/Editor/tests/formatting/getFormatting-empty03b-expected.html
new file mode 100644
index 0000000..d53bd12
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty03b-expected.html
@@ -0,0 +1 @@
+-uxwrite-paragraph-style = h1

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty03b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty03b-input.html b/Editor/tests/formatting/getFormatting-empty03b-input.html
new file mode 100644
index 0000000..f6b5a11
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty03b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("H1")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<h1></h1>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty04a-expected.html b/Editor/tests/formatting/getFormatting-empty04a-expected.html
new file mode 100644
index 0000000..caa0e1f
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty04a-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+font-weight = bold

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty04a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty04a-input.html b/Editor/tests/formatting/getFormatting-empty04a-input.html
new file mode 100644
index 0000000..8a79104
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty04a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<b>[]</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty04b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty04b-expected.html b/Editor/tests/formatting/getFormatting-empty04b-expected.html
new file mode 100644
index 0000000..caa0e1f
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty04b-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+font-weight = bold

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty04b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty04b-input.html b/Editor/tests/formatting/getFormatting-empty04b-input.html
new file mode 100644
index 0000000..ad06e0a
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty04b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("B")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<b></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty05a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty05a-expected.html b/Editor/tests/formatting/getFormatting-empty05a-expected.html
new file mode 100644
index 0000000..0ee5bf0
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty05a-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty05a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty05a-input.html b/Editor/tests/formatting/getFormatting-empty05a-input.html
new file mode 100644
index 0000000..e964c36
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty05a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<span style="color: red">[]</span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty05b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty05b-expected.html b/Editor/tests/formatting/getFormatting-empty05b-expected.html
new file mode 100644
index 0000000..0ee5bf0
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty05b-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = __none
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty05b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty05b-input.html b/Editor/tests/formatting/getFormatting-empty05b-input.html
new file mode 100644
index 0000000..bce83ad
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty05b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("SPAN")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<span style="color: red"></span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty06a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty06a-expected.html b/Editor/tests/formatting/getFormatting-empty06a-expected.html
new file mode 100644
index 0000000..5bf4d75
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty06a-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty06a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty06a-input.html b/Editor/tests/formatting/getFormatting-empty06a-input.html
new file mode 100644
index 0000000..867e041
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty06a-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<p style="color: red">[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty06b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty06b-expected.html b/Editor/tests/formatting/getFormatting-empty06b-expected.html
new file mode 100644
index 0000000..5bf4d75
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty06b-expected.html
@@ -0,0 +1,2 @@
+-uxwrite-paragraph-style = p
+color = red

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-empty06b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-empty06b-input.html b/Editor/tests/formatting/getFormatting-empty06b-input.html
new file mode 100644
index 0000000..f009769
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-empty06b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var node = document.getElementsByTagName("P")[0];
+    DOM_deleteAllChildren(node);
+    Selection_set(node,0,node,0);
+    var properties = Formatting_getFormatting();
+    delete properties["-uxwrite-shift"];
+    Selection_clearSelection();
+
+    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>
+<p style="color: red"></p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting-list01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list01-expected.html b/Editor/tests/formatting/getFormatting-list01-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-list01-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/03bd5af0/Editor/tests/formatting/getFormatting-list01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list01-input.html b/Editor/tests/formatting/getFormatting-list01-input.html
new file mode 100644
index 0000000..079e9ad
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-list01-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/03bd5af0/Editor/tests/formatting/getFormatting-list02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list02-expected.html b/Editor/tests/formatting/getFormatting-list02-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-list02-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/03bd5af0/Editor/tests/formatting/getFormatting-list02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list02-input.html b/Editor/tests/formatting/getFormatting-list02-input.html
new file mode 100644
index 0000000..eb2fe87
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting-list02-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/03bd5af0/Editor/tests/formatting/getFormatting-list03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list03-expected.html b/Editor/tests/formatting/getFormatting-list03-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list03-input.html b/Editor/tests/formatting/getFormatting-list03-input.html
new file mode 100644
index 0000000..bc01f0d
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list04-expected.html b/Editor/tests/formatting/getFormatting-list04-expected.html
new file mode 100644
index 0000000..ee55e60
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list04-input.html b/Editor/tests/formatting/getFormatting-list04-input.html
new file mode 100644
index 0000000..3bb52c3
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list05-expected.html b/Editor/tests/formatting/getFormatting-list05-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list05-input.html b/Editor/tests/formatting/getFormatting-list05-input.html
new file mode 100644
index 0000000..44ecebc
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list06-expected.html b/Editor/tests/formatting/getFormatting-list06-expected.html
new file mode 100644
index 0000000..3155de9
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list06-input.html b/Editor/tests/formatting/getFormatting-list06-input.html
new file mode 100644
index 0000000..c51de10
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list07-expected.html b/Editor/tests/formatting/getFormatting-list07-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list07-input.html b/Editor/tests/formatting/getFormatting-list07-input.html
new file mode 100644
index 0000000..8df8306
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list08-expected.html b/Editor/tests/formatting/getFormatting-list08-expected.html
new file mode 100644
index 0000000..bc4d838
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list08-input.html b/Editor/tests/formatting/getFormatting-list08-input.html
new file mode 100644
index 0000000..b1c736d
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list09-expected.html b/Editor/tests/formatting/getFormatting-list09-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list09-input.html b/Editor/tests/formatting/getFormatting-list09-input.html
new file mode 100644
index 0000000..d8606cf
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list10-expected.html b/Editor/tests/formatting/getFormatting-list10-expected.html
new file mode 100644
index 0000000..3029f0b
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list10-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list10-input.html b/Editor/tests/formatting/getFormatting-list10-input.html
new file mode 100644
index 0000000..5e967e7
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list11-expected.html b/Editor/tests/formatting/getFormatting-list11-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list11-input.html b/Editor/tests/formatting/getFormatting-list11-input.html
new file mode 100644
index 0000000..4a533c3
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list12-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list12-expected.html b/Editor/tests/formatting/getFormatting-list12-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list12-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list12-input.html b/Editor/tests/formatting/getFormatting-list12-input.html
new file mode 100644
index 0000000..066b825
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list13-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list13-expected.html b/Editor/tests/formatting/getFormatting-list13-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list13-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list13-input.html b/Editor/tests/formatting/getFormatting-list13-input.html
new file mode 100644
index 0000000..b002e66
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list14-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list14-expected.html b/Editor/tests/formatting/getFormatting-list14-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list14-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list14-input.html b/Editor/tests/formatting/getFormatting-list14-input.html
new file mode 100644
index 0000000..22a8b15
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list15-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list15-expected.html b/Editor/tests/formatting/getFormatting-list15-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list15-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list15-input.html b/Editor/tests/formatting/getFormatting-list15-input.html
new file mode 100644
index 0000000..6d0c59a
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list16-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list16-expected.html b/Editor/tests/formatting/getFormatting-list16-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list16-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list16-input.html b/Editor/tests/formatting/getFormatting-list16-input.html
new file mode 100644
index 0000000..a9084e9
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list17-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list17-expected.html b/Editor/tests/formatting/getFormatting-list17-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list17-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list17-input.html b/Editor/tests/formatting/getFormatting-list17-input.html
new file mode 100644
index 0000000..533813c
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list18-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list18-expected.html b/Editor/tests/formatting/getFormatting-list18-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list18-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list18-input.html b/Editor/tests/formatting/getFormatting-list18-input.html
new file mode 100644
index 0000000..484ea8f
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list19-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list19-expected.html b/Editor/tests/formatting/getFormatting-list19-expected.html
new file mode 100644
index 0000000..c4c30d0
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list19-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list19-input.html b/Editor/tests/formatting/getFormatting-list19-input.html
new file mode 100644
index 0000000..80f9bdd
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list20-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list20-expected.html b/Editor/tests/formatting/getFormatting-list20-expected.html
new file mode 100644
index 0000000..54046ce
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting-list20-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting-list20-input.html b/Editor/tests/formatting/getFormatting-list20-input.html
new file mode 100644
index 0000000..7528b72
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting01-expected.html b/Editor/tests/formatting/getFormatting01-expected.html
new file mode 100644
index 0000000..04de696
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting01-input.html b/Editor/tests/formatting/getFormatting01-input.html
new file mode 100644
index 0000000..e661b40
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting02-expected.html b/Editor/tests/formatting/getFormatting02-expected.html
new file mode 100644
index 0000000..9d2737d
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting02-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>-uxwrite-paragraph-style = p</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting02-input.html b/Editor/tests/formatting/getFormatting02-input.html
new file mode 100644
index 0000000..2ebab16
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting03-expected.html b/Editor/tests/formatting/getFormatting03-expected.html
new file mode 100644
index 0000000..9d2737d
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting03-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>-uxwrite-paragraph-style = p</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting03-input.html b/Editor/tests/formatting/getFormatting03-input.html
new file mode 100644
index 0000000..1913cdc
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting04-expected.html b/Editor/tests/formatting/getFormatting04-expected.html
new file mode 100644
index 0000000..9fd1834
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting04-input.html b/Editor/tests/formatting/getFormatting04-input.html
new file mode 100644
index 0000000..1b0fb37
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting05-expected.html b/Editor/tests/formatting/getFormatting05-expected.html
new file mode 100644
index 0000000..d528395
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting05-input.html b/Editor/tests/formatting/getFormatting05-input.html
new file mode 100644
index 0000000..a07ee13
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting06-expected.html b/Editor/tests/formatting/getFormatting06-expected.html
new file mode 100644
index 0000000..10929f3
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting06-input.html b/Editor/tests/formatting/getFormatting06-input.html
new file mode 100644
index 0000000..80da476
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting07-expected.html b/Editor/tests/formatting/getFormatting07-expected.html
new file mode 100644
index 0000000..923b4c9
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting07-input.html b/Editor/tests/formatting/getFormatting07-input.html
new file mode 100644
index 0000000..41fbe35
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting08-expected.html b/Editor/tests/formatting/getFormatting08-expected.html
new file mode 100644
index 0000000..6237be6
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting08-input.html b/Editor/tests/formatting/getFormatting08-input.html
new file mode 100644
index 0000000..28ea495
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting09-expected.html b/Editor/tests/formatting/getFormatting09-expected.html
new file mode 100644
index 0000000..418a5c6
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting09-input.html b/Editor/tests/formatting/getFormatting09-input.html
new file mode 100644
index 0000000..8fcbff6
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting10-expected.html b/Editor/tests/formatting/getFormatting10-expected.html
new file mode 100644
index 0000000..e125e49
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting10-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>-uxwrite-paragraph-style = p.test</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting10-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting10-input.html b/Editor/tests/formatting/getFormatting10-input.html
new file mode 100644
index 0000000..207c566
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting11-expected.html b/Editor/tests/formatting/getFormatting11-expected.html
new file mode 100644
index 0000000..e4009fd
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting11-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>-uxwrite-paragraph-style = h1</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting11-input.html b/Editor/tests/formatting/getFormatting11-input.html
new file mode 100644
index 0000000..d628c26
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/getFormatting12-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting12-expected.html b/Editor/tests/formatting/getFormatting12-expected.html
new file mode 100644
index 0000000..3dc0859
--- /dev/null
+++ b/Editor/tests/formatting/getFormatting12-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body/>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/getFormatting12-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting12-input.html b/Editor/tests/formatting/getFormatting12-input.html
new file mode 100644
index 0000000..2b5408b
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv01a-expected.html b/Editor/tests/formatting/indiv01a-expected.html
new file mode 100644
index 0000000..e6c71e6
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv01a-input.html b/Editor/tests/formatting/indiv01a-input.html
new file mode 100644
index 0000000..0744224
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv01b-expected.html b/Editor/tests/formatting/indiv01b-expected.html
new file mode 100644
index 0000000..fd1ba82
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv01b-input.html b/Editor/tests/formatting/indiv01b-input.html
new file mode 100644
index 0000000..8ac32d7
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv02a-expected.html b/Editor/tests/formatting/indiv02a-expected.html
new file mode 100644
index 0000000..d1c7255
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv02a-input.html b/Editor/tests/formatting/indiv02a-input.html
new file mode 100644
index 0000000..c12040d
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv02b-expected.html b/Editor/tests/formatting/indiv02b-expected.html
new file mode 100644
index 0000000..1e76306
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv02b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv02b-input.html b/Editor/tests/formatting/indiv02b-input.html
new file mode 100644
index 0000000..a09aa19
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv03a-expected.html b/Editor/tests/formatting/indiv03a-expected.html
new file mode 100644
index 0000000..0981834
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv03a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv03a-input.html b/Editor/tests/formatting/indiv03a-input.html
new file mode 100644
index 0000000..001975d
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv03b-expected.html b/Editor/tests/formatting/indiv03b-expected.html
new file mode 100644
index 0000000..c2de6f7
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/indiv03b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/indiv03b-input.html b/Editor/tests/formatting/indiv03b-input.html
new file mode 100644
index 0000000..dddeda2
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change01-expected.html b/Editor/tests/formatting/inline-change01-expected.html
new file mode 100644
index 0000000..7d3d2ac
--- /dev/null
+++ b/Editor/tests/formatting/inline-change01-expected.html
@@ -0,0 +1,4 @@
+<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/03bd5af0/Editor/tests/formatting/inline-change01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change01-input.html b/Editor/tests/formatting/inline-change01-input.html
new file mode 100644
index 0000000..b7e8db1
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change02-expected.html b/Editor/tests/formatting/inline-change02-expected.html
new file mode 100644
index 0000000..7d3d2ac
--- /dev/null
+++ b/Editor/tests/formatting/inline-change02-expected.html
@@ -0,0 +1,4 @@
+<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/03bd5af0/Editor/tests/formatting/inline-change02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change02-input.html b/Editor/tests/formatting/inline-change02-input.html
new file mode 100644
index 0000000..3566deb
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change03-expected.html b/Editor/tests/formatting/inline-change03-expected.html
new file mode 100644
index 0000000..7eab119
--- /dev/null
+++ b/Editor/tests/formatting/inline-change03-expected.html
@@ -0,0 +1,4 @@
+<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/03bd5af0/Editor/tests/formatting/inline-change03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change03-input.html b/Editor/tests/formatting/inline-change03-input.html
new file mode 100644
index 0000000..5a36311
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change04-expected.html b/Editor/tests/formatting/inline-change04-expected.html
new file mode 100644
index 0000000..7d3d2ac
--- /dev/null
+++ b/Editor/tests/formatting/inline-change04-expected.html
@@ -0,0 +1,4 @@
+<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/03bd5af0/Editor/tests/formatting/inline-change04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change04-input.html b/Editor/tests/formatting/inline-change04-input.html
new file mode 100644
index 0000000..7a1be0b
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change05-expected.html b/Editor/tests/formatting/inline-change05-expected.html
new file mode 100644
index 0000000..7d3d2ac
--- /dev/null
+++ b/Editor/tests/formatting/inline-change05-expected.html
@@ -0,0 +1,4 @@
+<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/03bd5af0/Editor/tests/formatting/inline-change05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change05-input.html b/Editor/tests/formatting/inline-change05-input.html
new file mode 100644
index 0000000..f0dd4b8
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change06-expected.html b/Editor/tests/formatting/inline-change06-expected.html
new file mode 100644
index 0000000..7eab119
--- /dev/null
+++ b/Editor/tests/formatting/inline-change06-expected.html
@@ -0,0 +1,4 @@
+<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/03bd5af0/Editor/tests/formatting/inline-change06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change06-input.html b/Editor/tests/formatting/inline-change06-input.html
new file mode 100644
index 0000000..7300b0c
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change07-expected.html b/Editor/tests/formatting/inline-change07-expected.html
new file mode 100644
index 0000000..2370b38
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change07-input.html b/Editor/tests/formatting/inline-change07-input.html
new file mode 100644
index 0000000..5145372
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change08-expected.html b/Editor/tests/formatting/inline-change08-expected.html
new file mode 100644
index 0000000..58ac194
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change08-input.html b/Editor/tests/formatting/inline-change08-input.html
new file mode 100644
index 0000000..b65ea31
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change09-expected.html b/Editor/tests/formatting/inline-change09-expected.html
new file mode 100644
index 0000000..4b6704a
--- /dev/null
+++ b/Editor/tests/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>


Mime
View raw message