corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [24/92] [abbrv] [partial] incubator-corinthia git commit: Add editing code from UX Write
Date Wed, 17 Dec 2014 13:28:34 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change09-input.html b/Editor/tests/formatting/inline-change09-input.html
new file mode 100644
index 0000000..e464f53
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change10-expected.html b/Editor/tests/formatting/inline-change10-expected.html
new file mode 100644
index 0000000..2370b38
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change10-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change10-input.html b/Editor/tests/formatting/inline-change10-input.html
new file mode 100644
index 0000000..11c8ebf
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change11-expected.html b/Editor/tests/formatting/inline-change11-expected.html
new file mode 100644
index 0000000..b6f62d6
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change11-input.html b/Editor/tests/formatting/inline-change11-input.html
new file mode 100644
index 0000000..e0f4a5b
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change12-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change12-expected.html b/Editor/tests/formatting/inline-change12-expected.html
new file mode 100644
index 0000000..992bc62
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change12-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change12-input.html b/Editor/tests/formatting/inline-change12-input.html
new file mode 100644
index 0000000..b87ad18
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change13-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change13-expected.html b/Editor/tests/formatting/inline-change13-expected.html
new file mode 100644
index 0000000..2ac84c4
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change13-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change13-input.html b/Editor/tests/formatting/inline-change13-input.html
new file mode 100644
index 0000000..752ae0a
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change14-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change14-expected.html b/Editor/tests/formatting/inline-change14-expected.html
new file mode 100644
index 0000000..4fcd27e
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change14-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change14-input.html b/Editor/tests/formatting/inline-change14-input.html
new file mode 100644
index 0000000..0f71544
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change15-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change15-expected.html b/Editor/tests/formatting/inline-change15-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change15-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change15-input.html b/Editor/tests/formatting/inline-change15-input.html
new file mode 100644
index 0000000..0143e4f
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change16-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change16-expected.html b/Editor/tests/formatting/inline-change16-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change16-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change16-input.html b/Editor/tests/formatting/inline-change16-input.html
new file mode 100644
index 0000000..11d80d5
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change17-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change17-expected.html b/Editor/tests/formatting/inline-change17-expected.html
new file mode 100644
index 0000000..9f34271
--- /dev/null
+++ b/Editor/tests/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/03bd5af0/Editor/tests/formatting/inline-change17-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change17-input.html b/Editor/tests/formatting/inline-change17-input.html
new file mode 100644
index 0000000..d852e9f
--- /dev/null
+++ b/Editor/tests/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>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change18-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change18-expected.html b/Editor/tests/formatting/inline-change18-expected.html
new file mode 100644
index 0000000..6bfae74
--- /dev/null
+++ b/Editor/tests/formatting/inline-change18-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="font-size: 18pt">
+        <s>One</s>
+        <s>Two</s>
+        <s>Three</s>
+      </span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change18-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change18-input.html b/Editor/tests/formatting/inline-change18-input.html
new file mode 100644
index 0000000..8edc8c8
--- /dev/null
+++ b/Editor/tests/formatting/inline-change18-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>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change19-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change19-expected.html b/Editor/tests/formatting/inline-change19-expected.html
new file mode 100644
index 0000000..6bfae74
--- /dev/null
+++ b/Editor/tests/formatting/inline-change19-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="font-size: 18pt">
+        <s>One</s>
+        <s>Two</s>
+        <s>Three</s>
+      </span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change19-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change19-input.html b/Editor/tests/formatting/inline-change19-input.html
new file mode 100644
index 0000000..7c1262a
--- /dev/null
+++ b/Editor/tests/formatting/inline-change19-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>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change20-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change20-expected.html b/Editor/tests/formatting/inline-change20-expected.html
new file mode 100644
index 0000000..34f708a
--- /dev/null
+++ b/Editor/tests/formatting/inline-change20-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue"><s>One</s></span>
+      <s>Two</s>
+      <span style="color: blue"><s>Three</s></span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change20-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change20-input.html b/Editor/tests/formatting/inline-change20-input.html
new file mode 100644
index 0000000..010b3ab
--- /dev/null
+++ b/Editor/tests/formatting/inline-change20-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">
+    <s>One</s>
+    [<s>Two</s>]
+    <s>Three</s>
+  </span>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change21-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change21-expected.html b/Editor/tests/formatting/inline-change21-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/Editor/tests/formatting/inline-change21-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/03bd5af0/Editor/tests/formatting/inline-change21-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change21-input.html b/Editor/tests/formatting/inline-change21-input.html
new file mode 100644
index 0000000..32f5809
--- /dev/null
+++ b/Editor/tests/formatting/inline-change21-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">
+    [<s>One</s>
+    <s>Two</s>
+    <s>Three</s>]
+  </span>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-change22-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change22-expected.html b/Editor/tests/formatting/inline-change22-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/Editor/tests/formatting/inline-change22-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/03bd5af0/Editor/tests/formatting/inline-change22-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change22-input.html b/Editor/tests/formatting/inline-change22-input.html
new file mode 100644
index 0000000..46495fe
--- /dev/null
+++ b/Editor/tests/formatting/inline-change22-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">
+    <s>One</s>
+    <s>Two</s>
+    <s>Three</s>
+  </span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove01-expected.html b/Editor/tests/formatting/inline-remove01-expected.html
new file mode 100644
index 0000000..02e36f9
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove01-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><s>Text</s></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove01-input.html b/Editor/tests/formatting/inline-remove01-input.html
new file mode 100644
index 0000000..1d7493b
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</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-remove02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove02-expected.html b/Editor/tests/formatting/inline-remove02-expected.html
new file mode 100644
index 0000000..1b144a1
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove02-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><s style="font-size: 18pt">Text</s></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove02-input.html b/Editor/tests/formatting/inline-remove02-input.html
new file mode 100644
index 0000000..7880b64
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove02-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s style="color: blue; font-size: 18pt">Text</s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove03-expected.html b/Editor/tests/formatting/inline-remove03-expected.html
new file mode 100644
index 0000000..db55ec6
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text</s>
+      <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-remove03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove03-input.html b/Editor/tests/formatting/inline-remove03-input.html
new file mode 100644
index 0000000..6bf9287
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  [<s>Text</s>]
+  <s>Text</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove04-expected.html b/Editor/tests/formatting/inline-remove04-expected.html
new file mode 100644
index 0000000..2f15273
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 5%">
+      <s style="font-size: 18pt">Text</s>
+      <s style="color: blue; font-size: 18pt">Text</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove04-input.html b/Editor/tests/formatting/inline-remove04-input.html
new file mode 100644
index 0000000..952b7b1
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p style="color: blue; font-size: 18pt; margin-left: 5%">
+  [<s>Text</s>]
+  <s>Text</s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove05-expected.html b/Editor/tests/formatting/inline-remove05-expected.html
new file mode 100644
index 0000000..6d09348
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove05-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></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-remove05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove05-input.html b/Editor/tests/formatting/inline-remove05-input.html
new file mode 100644
index 0000000..f70f5f6
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-size": null});
+}
+</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-remove06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove06-expected.html b/Editor/tests/formatting/inline-remove06-expected.html
new file mode 100644
index 0000000..04b6311
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove06-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><b><s>Text</s></b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove06-input.html b/Editor/tests/formatting/inline-remove06-input.html
new file mode 100644
index 0000000..969ccca
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove06-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<b><s>Text</s></b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove07-expected.html b/Editor/tests/formatting/inline-remove07-expected.html
new file mode 100644
index 0000000..16a7ff2
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove07-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><i><s>Text</s></i></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove07-input.html b/Editor/tests/formatting/inline-remove07-input.html
new file mode 100644
index 0000000..f15e549
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove07-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<i><s>Text</s></i>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove08-expected.html b/Editor/tests/formatting/inline-remove08-expected.html
new file mode 100644
index 0000000..0c70e5c
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove08-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><u><s>Text</s></u></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove08-input.html b/Editor/tests/formatting/inline-remove08-input.html
new file mode 100644
index 0000000..789c96d
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove08-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<u><s>Text</s></u>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove09-expected.html b/Editor/tests/formatting/inline-remove09-expected.html
new file mode 100644
index 0000000..d2fb84b
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove09-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><s><s>Text</s></s></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove09-input.html b/Editor/tests/formatting/inline-remove09-input.html
new file mode 100644
index 0000000..6602c3e
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove09-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null,
+                                 "font-style": null,
+                                 "text-decoration": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<s><b><i><u><s>Text</s></u></i></b></s>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove10-expected.html b/Editor/tests/formatting/inline-remove10-expected.html
new file mode 100644
index 0000000..6d82c78
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove10-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><span style="font-size: 18pt">Text</span></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove10-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove10-input.html b/Editor/tests/formatting/inline-remove10-input.html
new file mode 100644
index 0000000..cc58a97
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove10-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue; font-size: 18pt">Text</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove11-expected.html b/Editor/tests/formatting/inline-remove11-expected.html
new file mode 100644
index 0000000..e3d1cf1
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove11-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>Text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove11-input.html b/Editor/tests/formatting/inline-remove11-input.html
new file mode 100644
index 0000000..8228361
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove11-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue">Text</span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove12-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove12-expected.html b/Editor/tests/formatting/inline-remove12-expected.html
new file mode 100644
index 0000000..e3d1cf1
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove12-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>Text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove12-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove12-input.html b/Editor/tests/formatting/inline-remove12-input.html
new file mode 100644
index 0000000..0c73cda
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove12-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": null,
+                                 "font-weight": null,
+                                 "font-style": null,
+                                 "text-decoration": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<span style="color: blue"><b><i><u>Text</u></i></b></span>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove13-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove13-expected.html b/Editor/tests/formatting/inline-remove13-expected.html
new file mode 100644
index 0000000..5bd2cf9
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove13-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <b><s>Text2</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove13-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove13-input.html b/Editor/tests/formatting/inline-remove13-input.html
new file mode 100644
index 0000000..792ad0d
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove13-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>[Text1]</s>
+    <s>Text2</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove14-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove14-expected.html b/Editor/tests/formatting/inline-remove14-expected.html
new file mode 100644
index 0000000..5bd2cf9
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove14-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <b><s>Text2</s></b>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove14-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove14-input.html b/Editor/tests/formatting/inline-remove14-input.html
new file mode 100644
index 0000000..de17d82
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove14-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>]
+    <s>Text2</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove15-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove15-expected.html b/Editor/tests/formatting/inline-remove15-expected.html
new file mode 100644
index 0000000..835e78c
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove15-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>Text1</s></b>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove15-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove15-input.html b/Editor/tests/formatting/inline-remove15-input.html
new file mode 100644
index 0000000..0fe01c3
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove15-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>Text1</s>
+    <s>[Text2]</s>
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove16-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove16-expected.html b/Editor/tests/formatting/inline-remove16-expected.html
new file mode 100644
index 0000000..835e78c
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove16-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><s>Text1</s></b>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove16-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove16-input.html b/Editor/tests/formatting/inline-remove16-input.html
new file mode 100644
index 0000000..faa8108
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove16-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    <s>Text1</s>
+    [<s>Text2</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove17-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove17-expected.html b/Editor/tests/formatting/inline-remove17-expected.html
new file mode 100644
index 0000000..dfbeb29
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove17-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove17-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove17-input.html b/Editor/tests/formatting/inline-remove17-input.html
new file mode 100644
index 0000000..6629cd9
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove17-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  <b>
+    [<s>Text1</s>
+    <s>Text2</s>]
+  </b>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove18-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove18-expected.html b/Editor/tests/formatting/inline-remove18-expected.html
new file mode 100644
index 0000000..dfbeb29
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove18-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>Text1</s>
+      <s>Text2</s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove18-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove18-input.html b/Editor/tests/formatting/inline-remove18-input.html
new file mode 100644
index 0000000..3bc0753
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove18-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<p>
+  [<b>
+    <s>Text1</s>
+    <s>Text2</s>
+  </b>]
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove19-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove19-expected.html b/Editor/tests/formatting/inline-remove19-expected.html
new file mode 100644
index 0000000..9dd20dc
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove19-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <s>Text1</s>
+    <s>Text2</s>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove19-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove19-input.html b/Editor/tests/formatting/inline-remove19-input.html
new file mode 100644
index 0000000..ef86ad6
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove19-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+[<b>
+  <s>Text1</s>
+  <s>Text2</s>
+</b>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove20-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove20-expected.html b/Editor/tests/formatting/inline-remove20-expected.html
new file mode 100644
index 0000000..02b1fe3
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove20-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <s>Text1</s>
+    <b><s>Text2</s></b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-remove20-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove20-input.html b/Editor/tests/formatting/inline-remove20-input.html
new file mode 100644
index 0000000..cc99025
--- /dev/null
+++ b/Editor/tests/formatting/inline-remove20-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": null});
+}
+</script>
+</head>
+<body>
+<b>
+  <s>[Text1]</s>
+  <s>Text2</s>
+</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set01-nop-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set01-nop-expected.html b/Editor/tests/formatting/inline-set01-nop-expected.html
new file mode 100644
index 0000000..a2376d2
--- /dev/null
+++ b/Editor/tests/formatting/inline-set01-nop-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><span style="color: blue; font-size: 12pt">Sample text</span></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set01-nop-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set01-nop-input.html b/Editor/tests/formatting/inline-set01-nop-input.html
new file mode 100644
index 0000000..9eb3d5e
--- /dev/null
+++ b/Editor/tests/formatting/inline-set01-nop-input.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>[Sample text]</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set01-outer-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set01-outer-expected.html b/Editor/tests/formatting/inline-set01-outer-expected.html
new file mode 100644
index 0000000..4cd2eae
--- /dev/null
+++ b/Editor/tests/formatting/inline-set01-outer-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p style="color: blue; font-size: 12pt">Sample text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set01-outer-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set01-outer-input.html b/Editor/tests/formatting/inline-set01-outer-input.html
new file mode 100644
index 0000000..7b60ce1
--- /dev/null
+++ b/Editor/tests/formatting/inline-set01-outer-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+[<p>Sample text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set01-p-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set01-p-expected.html b/Editor/tests/formatting/inline-set01-p-expected.html
new file mode 100644
index 0000000..4cd2eae
--- /dev/null
+++ b/Editor/tests/formatting/inline-set01-p-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p style="color: blue; font-size: 12pt">Sample text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set01-p-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set01-p-input.html b/Editor/tests/formatting/inline-set01-p-input.html
new file mode 100644
index 0000000..e3145ef
--- /dev/null
+++ b/Editor/tests/formatting/inline-set01-p-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set02-nop-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set02-nop-expected.html b/Editor/tests/formatting/inline-set02-nop-expected.html
new file mode 100644
index 0000000..fc4538a
--- /dev/null
+++ b/Editor/tests/formatting/inline-set02-nop-expected.html
@@ -0,0 +1,7 @@
+<html>
+  <head></head>
+  <body>
+    <span style="color: blue; font-size: 12pt">Sample</span>
+    text
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set02-nop-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set02-nop-input.html b/Editor/tests/formatting/inline-set02-nop-input.html
new file mode 100644
index 0000000..04d9763
--- /dev/null
+++ b/Editor/tests/formatting/inline-set02-nop-input.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>[Sample] text</body></html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set02-outer-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set02-outer-expected.html b/Editor/tests/formatting/inline-set02-outer-expected.html
new file mode 100644
index 0000000..70c7b70
--- /dev/null
+++ b/Editor/tests/formatting/inline-set02-outer-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 12pt">Sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set02-outer-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set02-outer-input.html b/Editor/tests/formatting/inline-set02-outer-input.html
new file mode 100644
index 0000000..5649a80
--- /dev/null
+++ b/Editor/tests/formatting/inline-set02-outer-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+[<p>Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set02-p-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set02-p-expected.html b/Editor/tests/formatting/inline-set02-p-expected.html
new file mode 100644
index 0000000..70c7b70
--- /dev/null
+++ b/Editor/tests/formatting/inline-set02-p-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 12pt">Sample</span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set02-p-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set02-p-input.html b/Editor/tests/formatting/inline-set02-p-input.html
new file mode 100644
index 0000000..3843d34
--- /dev/null
+++ b/Editor/tests/formatting/inline-set02-p-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>[Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set03-nop-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set03-nop-expected.html b/Editor/tests/formatting/inline-set03-nop-expected.html
new file mode 100644
index 0000000..aca72bf
--- /dev/null
+++ b/Editor/tests/formatting/inline-set03-nop-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><b>Sample text</b></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set03-nop-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set03-nop-input.html b/Editor/tests/formatting/inline-set03-nop-input.html
new file mode 100644
index 0000000..c804aa5
--- /dev/null
+++ b/Editor/tests/formatting/inline-set03-nop-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+}
+</script>
+</head>
+<body>
+[Sample text]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set03-outer-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set03-outer-expected.html b/Editor/tests/formatting/inline-set03-outer-expected.html
new file mode 100644
index 0000000..9a38b37
--- /dev/null
+++ b/Editor/tests/formatting/inline-set03-outer-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><b>Sample text</b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set03-outer-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set03-outer-input.html b/Editor/tests/formatting/inline-set03-outer-input.html
new file mode 100644
index 0000000..34753d8
--- /dev/null
+++ b/Editor/tests/formatting/inline-set03-outer-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+}
+</script>
+</head>
+<body>
+[<p>Sample text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set03-p-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set03-p-expected.html b/Editor/tests/formatting/inline-set03-p-expected.html
new file mode 100644
index 0000000..9a38b37
--- /dev/null
+++ b/Editor/tests/formatting/inline-set03-p-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><b>Sample text</b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set03-p-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set03-p-input.html b/Editor/tests/formatting/inline-set03-p-input.html
new file mode 100644
index 0000000..8b17623
--- /dev/null
+++ b/Editor/tests/formatting/inline-set03-p-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set04-expected.html b/Editor/tests/formatting/inline-set04-expected.html
new file mode 100644
index 0000000..d26dd5b
--- /dev/null
+++ b/Editor/tests/formatting/inline-set04-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><b><i><u>Sample text</u></i></b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set04-input.html b/Editor/tests/formatting/inline-set04-input.html
new file mode 100644
index 0000000..b2bb225
--- /dev/null
+++ b/Editor/tests/formatting/inline-set04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set05-expected.html b/Editor/tests/formatting/inline-set05-expected.html
new file mode 100644
index 0000000..eb10a69
--- /dev/null
+++ b/Editor/tests/formatting/inline-set05-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b><i><u>Sample</u></i></b>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set05-input.html b/Editor/tests/formatting/inline-set05-input.html
new file mode 100644
index 0000000..93528ab
--- /dev/null
+++ b/Editor/tests/formatting/inline-set05-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>[Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set06-expected.html b/Editor/tests/formatting/inline-set06-expected.html
new file mode 100644
index 0000000..a94c4ba
--- /dev/null
+++ b/Editor/tests/formatting/inline-set06-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue; font-size: 12pt"><b><i><u>Sample</u></i></b></span>
+      text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set06-input.html b/Editor/tests/formatting/inline-set06-input.html
new file mode 100644
index 0000000..2d20e73
--- /dev/null
+++ b/Editor/tests/formatting/inline-set06-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue",
+                                 "font-size": "12pt",
+                                 "font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>[Sample] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set07-expected.html b/Editor/tests/formatting/inline-set07-expected.html
new file mode 100644
index 0000000..593a93f
--- /dev/null
+++ b/Editor/tests/formatting/inline-set07-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>
+      Paragraph
+      <span style="color: blue; font-size: 12pt">two</span>
+    </p>
+    <p style="color: blue; font-size: 12pt">Paragraph three</p>
+    <p>
+      <span style="color: blue; font-size: 12pt">Paragraph</span>
+      four
+    </p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set07-input.html b/Editor/tests/formatting/inline-set07-input.html
new file mode 100644
index 0000000..a8a3db9
--- /dev/null
+++ b/Editor/tests/formatting/inline-set07-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph [two</p>
+<p>Paragraph three</p>
+<p>Paragraph] four</p>
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set07-outer-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set07-outer-expected.html b/Editor/tests/formatting/inline-set07-outer-expected.html
new file mode 100644
index 0000000..48e5574
--- /dev/null
+++ b/Editor/tests/formatting/inline-set07-outer-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p style="color: blue; font-size: 12pt">Paragraph two</p>
+    <p style="color: blue; font-size: 12pt">Paragraph three</p>
+    <p style="color: blue; font-size: 12pt">Paragraph four</p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set07-outer-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set07-outer-input.html b/Editor/tests/formatting/inline-set07-outer-input.html
new file mode 100644
index 0000000..006f9e3
--- /dev/null
+++ b/Editor/tests/formatting/inline-set07-outer-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue", "font-size": "12pt"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+[<p>Paragraph two</p>
+<p>Paragraph three</p>
+<p>Paragraph four</p>]
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set08-expected.html b/Editor/tests/formatting/inline-set08-expected.html
new file mode 100644
index 0000000..db8085f
--- /dev/null
+++ b/Editor/tests/formatting/inline-set08-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p>
+      Paragraph
+      <span style="color: blue; font-size: 12pt"><b><i><u>two</u></i></b></span>
+    </p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph three</u></i></b></p>
+    <p>
+      <span style="color: blue; font-size: 12pt"><b><i><u>Paragraph</u></i></b></span>
+      four
+    </p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set08-input.html b/Editor/tests/formatting/inline-set08-input.html
new file mode 100644
index 0000000..665db73
--- /dev/null
+++ b/Editor/tests/formatting/inline-set08-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue",
+                                 "font-size": "12pt",
+                                 "font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+<p>Paragraph [two</p>
+<p>Paragraph three</p>
+<p>Paragraph] four</p>
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set08-outer-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set08-outer-expected.html b/Editor/tests/formatting/inline-set08-outer-expected.html
new file mode 100644
index 0000000..de7f49d
--- /dev/null
+++ b/Editor/tests/formatting/inline-set08-outer-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>Paragraph one</p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph two</u></i></b></p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph three</u></i></b></p>
+    <p style="color: blue; font-size: 12pt"><b><i><u>Paragraph four</u></i></b></p>
+    <p>Paragraph five</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/inline-set08-outer-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-set08-outer-input.html b/Editor/tests/formatting/inline-set08-outer-input.html
new file mode 100644
index 0000000..6c60f21
--- /dev/null
+++ b/Editor/tests/formatting/inline-set08-outer-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "blue",
+                                 "font-size": "12pt",
+                                 "font-weight": "bold",
+                                 "font-style": "italic",
+                                 "text-decoration": "underline"});
+}
+</script>
+</head>
+<body>
+<p>Paragraph one</p>
+[<p>Paragraph two</p>
+<p>Paragraph three</p>
+<p>Paragraph four</p>]
+<p>Paragraph five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor01-expected.html b/Editor/tests/formatting/justCursor01-expected.html
new file mode 100644
index 0000000..4b86379
--- /dev/null
+++ b/Editor/tests/formatting/justCursor01-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Here is s
+      <b>X</b>
+      ome text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor01-input.html b/Editor/tests/formatting/justCursor01-input.html
new file mode 100644
index 0000000..257b6fd
--- /dev/null
+++ b/Editor/tests/formatting/justCursor01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor02-expected.html b/Editor/tests/formatting/justCursor02-expected.html
new file mode 100644
index 0000000..6353bcd
--- /dev/null
+++ b/Editor/tests/formatting/justCursor02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Here is s
+      <span style="color: red">X</span>
+      ome text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor02-input.html b/Editor/tests/formatting/justCursor02-input.html
new file mode 100644
index 0000000..6b013cf
--- /dev/null
+++ b/Editor/tests/formatting/justCursor02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor03-expected.html b/Editor/tests/formatting/justCursor03-expected.html
new file mode 100644
index 0000000..a6c01c0
--- /dev/null
+++ b/Editor/tests/formatting/justCursor03-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p style="text-align: center">Here is sXome text</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor03-input.html b/Editor/tests/formatting/justCursor03-input.html
new file mode 100644
index 0000000..6e6756e
--- /dev/null
+++ b/Editor/tests/formatting/justCursor03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"text-align": "center"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor04-expected.html b/Editor/tests/formatting/justCursor04-expected.html
new file mode 100644
index 0000000..918331d
--- /dev/null
+++ b/Editor/tests/formatting/justCursor04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="text-align: center">
+      Here is s
+      <i>X</i>
+      ome text
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/justCursor04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/justCursor04-input.html b/Editor/tests/formatting/justCursor04-input.html
new file mode 100644
index 0000000..8201290
--- /dev/null
+++ b/Editor/tests/formatting/justCursor04-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-style": "italic",
+                                            "text-align": "center"});
+    Cursor_insertCharacter("X");
+}
+</script>
+</head>
+<body>
+<p>Here is s[]ome text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards01-expected.html b/Editor/tests/formatting/mergeUpwards01-expected.html
new file mode 100644
index 0000000..7d3258f
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards01-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><b>One two []three</b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards01-input.html b/Editor/tests/formatting/mergeUpwards01-input.html
new file mode 100644
index 0000000..3d8a6da
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards01-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b>One two </b><b>[]three</b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards02-expected.html b/Editor/tests/formatting/mergeUpwards02-expected.html
new file mode 100644
index 0000000..38e2cb0
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards02-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p><b><i><u>One two []three</u></i></b></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards02-input.html b/Editor/tests/formatting/mergeUpwards02-input.html
new file mode 100644
index 0000000..23be3e7
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b><i><u>One two </u></i></b><b><i><u>[]three</u></i></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards03-expected.html b/Editor/tests/formatting/mergeUpwards03-expected.html
new file mode 100644
index 0000000..b2ad811
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>Before</p>
+    <p><b>One two []three</b></p>
+    <p>After</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards03-input.html b/Editor/tests/formatting/mergeUpwards03-input.html
new file mode 100644
index 0000000..e148fb9
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards03-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>Before</p><p><b>One two </b><b>[]three</b></p><p>After</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards04-expected.html b/Editor/tests/formatting/mergeUpwards04-expected.html
new file mode 100644
index 0000000..ffda085
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      Before
+      <b>One two []three</b>
+      After
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards04-input.html b/Editor/tests/formatting/mergeUpwards04-input.html
new file mode 100644
index 0000000..50058ca
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards04-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_BLOCK_AND_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>Before</p><p><b>One two </b><b>[]three</b></p><p>After</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards05-expected.html b/Editor/tests/formatting/mergeUpwards05-expected.html
new file mode 100644
index 0000000..652300e
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards05-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>[]One two three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards05-input.html b/Editor/tests/formatting/mergeUpwards05-input.html
new file mode 100644
index 0000000..4ca7d4d
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards05-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>[]One two three<b></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards06-expected.html b/Editor/tests/formatting/mergeUpwards06-expected.html
new file mode 100644
index 0000000..652300e
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards06-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>[]One two three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards06-input.html b/Editor/tests/formatting/mergeUpwards06-input.html
new file mode 100644
index 0000000..89f4081
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards06-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p>[]One two three<b><i><u></u></i></b></p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards07-expected.html b/Editor/tests/formatting/mergeUpwards07-expected.html
new file mode 100644
index 0000000..652300e
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards07-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>[]One two three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards07-input.html b/Editor/tests/formatting/mergeUpwards07-input.html
new file mode 100644
index 0000000..dcff8e8
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards07-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b></b>[]One two three</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards08-expected.html b/Editor/tests/formatting/mergeUpwards08-expected.html
new file mode 100644
index 0000000..652300e
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards08-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p>[]One two three</p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/mergeUpwards08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/mergeUpwards08-input.html b/Editor/tests/formatting/mergeUpwards08-input.html
new file mode 100644
index 0000000..d30c89e
--- /dev/null
+++ b/Editor/tests/formatting/mergeUpwards08-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var p = document.getElementsByTagName("P")[0];
+    var bs = document.getElementsByTagName("B");
+    var is = document.getElementsByTagName("I");
+
+    var range = Selection_get();
+    if (range.start.node.nodeType != Node.TEXT_NODE)
+        throw new Error("range start should be in a text node");
+
+    Range_trackWhileExecuting(range,function() {
+       Formatting_mergeUpwards(range.start.node,Formatting_MERGEABLE_INLINE);
+    });
+    showRangeAsBrackets(range);
+}
+</script>
+</head>
+<body>
+
+<p><b><i><u></u></i></b>[]One two three</p>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change01-expected.html b/Editor/tests/formatting/paragraph-change01-expected.html
new file mode 100644
index 0000000..75764a2
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change01-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p style="margin-left: 20%"></p></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change01-input.html b/Editor/tests/formatting/paragraph-change01-input.html
new file mode 100644
index 0000000..e119e8a
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "20%"});
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 10%">[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change02-expected.html b/Editor/tests/formatting/paragraph-change02-expected.html
new file mode 100644
index 0000000..2a887b0
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change02-expected.html
@@ -0,0 +1,4 @@
+<html>
+  <head></head>
+  <body><p style="margin-left: 20%"/></body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change02-input.html b/Editor/tests/formatting/paragraph-change02-input.html
new file mode 100644
index 0000000..146b1f0
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "20%"});
+}
+</script>
+</head>
+<body>
+[<p style="margin-left: 10%"></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change03-expected.html b/Editor/tests/formatting/paragraph-change03-expected.html
new file mode 100644
index 0000000..e34a177
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change03-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 10%">Three</div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change03-input.html b/Editor/tests/formatting/paragraph-change03-input.html
new file mode 100644
index 0000000..798c6c6
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change03-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+[<p style="margin-left: 1%">One</p>
+<h1 style="margin-left: 2%">Two</h1>
+<div style="margin-left: 3%">Three</div>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change04-expected.html b/Editor/tests/formatting/paragraph-change04-expected.html
new file mode 100644
index 0000000..e34a177
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change04-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 10%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 10%">Three</div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change04-input.html b/Editor/tests/formatting/paragraph-change04-input.html
new file mode 100644
index 0000000..53e37e5
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change04-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"margin-left": "10%"});
+
+    // An unrelated part of the code adds "id" attributes to heading elements to keep track of
+    // sections - we're not testing that functionality here, so we want to ignore them
+    removeIds();
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 1%">O[ne</p>
+<h1 style="margin-left: 2%">Two</h1>
+<div style="margin-left: 3%">Thre]e</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/formatting/paragraph-change05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/paragraph-change05-expected.html b/Editor/tests/formatting/paragraph-change05-expected.html
new file mode 100644
index 0000000..d1c949b
--- /dev/null
+++ b/Editor/tests/formatting/paragraph-change05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 1%">One</p>
+    <h1 style="margin-left: 10%">Two</h1>
+    <div style="margin-left: 3%">Three</div>
+  </body>
+</html>


Mime
View raw message