corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [31/51] [abbrv] [partial] incubator-corinthia git commit: added js test files
Date Fri, 14 Aug 2015 16:10:38 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change18-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change18-expected.html
new file mode 100644
index 0000000..6bfae74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change18-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change18-input.html
new file mode 100644
index 0000000..8edc8c8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change19-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change19-expected.html
new file mode 100644
index 0000000..6bfae74
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change19-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change19-input.html
new file mode 100644
index 0000000..7c1262a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change20-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change20-expected.html
new file mode 100644
index 0000000..34f708a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change20-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change20-input.html
new file mode 100644
index 0000000..010b3ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change21-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change21-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change21-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change21-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change21-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change21-input.html
new file mode 100644
index 0000000..32f5809
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change22-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change22-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-change22-expected.html
new file mode 100644
index 0000000..5efa04a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-change22-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-change22-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-change22-input.html
new file mode 100644
index 0000000..46495fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html
new file mode 100644
index 0000000..984c59c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <b>[two]</b>
+      three
+      <span class="endnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html
new file mode 100644
index 0000000..e21130b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="endnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html
new file mode 100644
index 0000000..2d0bd0c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span style="color: red">[two]</span>
+      three
+      <span class="endnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html
new file mode 100644
index 0000000..165b67d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="endnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html
new file mode 100644
index 0000000..4c9d6c4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">two</span>
+      three
+      <b>[four]</b>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html
new file mode 100644
index 0000000..33244d5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html
new file mode 100644
index 0000000..7e25e59
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">two</span>
+      three
+      <span style="color: red">[four]</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html
new file mode 100644
index 0000000..3e965f5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html
new file mode 100644
index 0000000..e8e64ae
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">
+        two
+        <b>[three]</b>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html
new file mode 100644
index 0000000..672d698
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html
new file mode 100644
index 0000000..7b676ac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="endnote">
+        two
+        <span style="color: red">[three]</span>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html
new file mode 100644
index 0000000..daf5a7d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-endnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="endnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html
new file mode 100644
index 0000000..407cc39
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <b>[two]</b>
+      three
+      <span class="footnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html
new file mode 100644
index 0000000..50f66fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="footnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html
new file mode 100644
index 0000000..c679c9a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span style="color: red">[two]</span>
+      three
+      <span class="footnote">four</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html
new file mode 100644
index 0000000..7bf7ee4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one [two] three <span class="footnote">four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html
new file mode 100644
index 0000000..2aa73ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">two</span>
+      three
+      <b>[four]</b>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html
new file mode 100644
index 0000000..6fe6601
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html
new file mode 100644
index 0000000..b1ef955
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">two</span>
+      three
+      <span style="color: red">[four]</span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html
new file mode 100644
index 0000000..23f07d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two</span> three [four] five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html
new file mode 100644
index 0000000..91a8092
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">
+        two
+        <b>[three]</b>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html
new file mode 100644
index 0000000..2b45eac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"font-weight": "bold"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two [three] four</span> five</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html
new file mode 100644
index 0000000..9ecb197
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      one
+      <span class="footnote">
+        two
+        <span style="color: red">[three]</span>
+        four
+      </span>
+      five
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html
new file mode 100644
index 0000000..b19e110
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-footnote06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Formatting_applyFormattingChanges(null,{"color": "red"});
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one <span class="footnote">two [three] four</span> five</p>
+</body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove01-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove01-input.html
new file mode 100644
index 0000000..1d7493b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html
new file mode 100644
index 0000000..2c9f2b7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove02-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove02-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove02-input.html
new file mode 100644
index 0000000..7880b64
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove03-expected.html
new file mode 100644
index 0000000..db55ec6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove03-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove03-input.html
new file mode 100644
index 0000000..6bf9287
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove04-expected.html
new file mode 100644
index 0000000..2f15273
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove04-input.html
new file mode 100644
index 0000000..952b7b1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html
new file mode 100644
index 0000000..fd43031
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove05-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove05-input.html
new file mode 100644
index 0000000..f70f5f6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html
new file mode 100644
index 0000000..39d4589
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove06-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b><s>Text</s></b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove06-input.html
new file mode 100644
index 0000000..969ccca
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html
new file mode 100644
index 0000000..b6836e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove07-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><i><s>Text</s></i></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove07-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove07-input.html
new file mode 100644
index 0000000..f15e549
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html
new file mode 100644
index 0000000..5e43b82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove08-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><u><s>Text</s></u></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove08-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove08-input.html
new file mode 100644
index 0000000..789c96d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html
new file mode 100644
index 0000000..06d2712
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove09-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><s><s>Text</s></s></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove09-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove09-input.html
new file mode 100644
index 0000000..6602c3e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html
new file mode 100644
index 0000000..26b646b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove10-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove10-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove10-input.html
new file mode 100644
index 0000000..cc58a97
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html
new file mode 100644
index 0000000..77761d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove11-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove11-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove11-input.html
new file mode 100644
index 0000000..8228361
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html
new file mode 100644
index 0000000..77761d1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-remove12-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p>Text</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove12-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove12-input.html
new file mode 100644
index 0000000..0c73cda
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove13-expected.html
new file mode 100644
index 0000000..5bd2cf9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove13-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove13-input.html
new file mode 100644
index 0000000..792ad0d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove14-expected.html
new file mode 100644
index 0000000..5bd2cf9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove14-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove14-input.html
new file mode 100644
index 0000000..de17d82
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove15-expected.html
new file mode 100644
index 0000000..835e78c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove15-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove15-input.html
new file mode 100644
index 0000000..0fe01c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove16-expected.html
new file mode 100644
index 0000000..835e78c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove16-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove16-input.html
new file mode 100644
index 0000000..faa8108
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove17-expected.html
new file mode 100644
index 0000000..dfbeb29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove17-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove17-input.html
new file mode 100644
index 0000000..6629cd9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove18-expected.html
new file mode 100644
index 0000000..dfbeb29
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove18-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove18-input.html
new file mode 100644
index 0000000..3bc0753
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove19-expected.html
new file mode 100644
index 0000000..9dd20dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove19-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove19-input.html
new file mode 100644
index 0000000..ef86ad6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove20-expected.html
new file mode 100644
index 0000000..02b1fe3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-remove20-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-remove20-input.html
new file mode 100644
index 0000000..cc99025
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html
new file mode 100644
index 0000000..e09a322
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-nop-input.html
new file mode 100644
index 0000000..9eb3d5e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html
new file mode 100644
index 0000000..e0e0797
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-outer-input.html
new file mode 100644
index 0000000..7b60ce1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html
new file mode 100644
index 0000000..e0e0797
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set01-p-input.html
new file mode 100644
index 0000000..e3145ef
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-expected.html
new file mode 100644
index 0000000..fc4538a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-nop-input.html
new file mode 100644
index 0000000..04d9763
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-expected.html
new file mode 100644
index 0000000..70c7b70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-outer-input.html
new file mode 100644
index 0000000..5649a80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-expected.html
new file mode 100644
index 0000000..70c7b70
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set02-p-input.html
new file mode 100644
index 0000000..3843d34
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html
new file mode 100644
index 0000000..48755bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <b>Sample text</b>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-nop-input.html
new file mode 100644
index 0000000..c804aa5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html
new file mode 100644
index 0000000..d79a0f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-outer-input.html
new file mode 100644
index 0000000..34753d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html
new file mode 100644
index 0000000..d79a0f8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set03-p-input.html
new file mode 100644
index 0000000..8b17623
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html
new file mode 100644
index 0000000..300d365
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/inline-set04-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set04-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set04-input.html
new file mode 100644
index 0000000..b2bb225
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set05-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set05-expected.html
new file mode 100644
index 0000000..eb10a69
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set05-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set05-input.html
new file mode 100644
index 0000000..93528ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set06-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set06-expected.html
new file mode 100644
index 0000000..a94c4ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set06-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set06-input.html
new file mode 100644
index 0000000..2d20e73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-expected.html
new file mode 100644
index 0000000..593a93f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-input.html
new file mode 100644
index 0000000..a8a3db9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-expected.html
new file mode 100644
index 0000000..48e5574
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set07-outer-input.html
new file mode 100644
index 0000000..006f9e3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-expected.html
new file mode 100644
index 0000000..db8085f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-input.html
new file mode 100644
index 0000000..665db73
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-expected.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-expected.html
new file mode 100644
index 0000000..de7f49d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-input.html b/experiments/editorFramework/test/Layer0/formatting/inline-set08-outer-input.html
new file mode 100644
index 0000000..6c60f21
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor01-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor01-expected.html
new file mode 100644
index 0000000..4b86379
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor01-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor01-input.html
new file mode 100644
index 0000000..257b6fd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor02-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor02-expected.html
new file mode 100644
index 0000000..6353bcd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor02-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor02-input.html
new file mode 100644
index 0000000..6b013cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html
new file mode 100644
index 0000000..b0014b5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/justCursor03-expected.html
@@ -0,0 +1,6 @@
+<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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor03-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor03-input.html
new file mode 100644
index 0000000..6e6756e
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor04-expected.html b/experiments/editorFramework/test/Layer0/formatting/justCursor04-expected.html
new file mode 100644
index 0000000..918331d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/justCursor04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/justCursor04-input.html b/experiments/editorFramework/test/Layer0/formatting/justCursor04-input.html
new file mode 100644
index 0000000..8201290
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html
new file mode 100644
index 0000000..a1738e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-expected.html
@@ -0,0 +1,6 @@
+<html>
+  <head></head>
+  <body>
+    <p><b>One two []three</b></p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-input.html b/experiments/editorFramework/test/Layer0/formatting/mergeUpwards01-input.html
new file mode 100644
index 0000000..3d8a6da
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/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>



Mime
View raw message