You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/14 18:10:36 UTC

[29/51] [abbrv] [partial] incubator-corinthia git commit: added js test files

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html
new file mode 100644
index 0000000..3525404
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="text-indent: 20%">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html
new file mode 100644
index 0000000..629058d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="line-height: 150%">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html
new file mode 100644
index 0000000..782112f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="display: block">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html
new file mode 100644
index 0000000..d38c4bd
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="width: 100px">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html
new file mode 100644
index 0000000..034b150
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/preserveParaProps09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="height: 100px">
+      Some
+      <span style="color: red">sample</span>
+      text
+    </p>
+  </body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html
new file mode 100644
index 0000000..d1777b4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: red">First</span>
+      <span style="color: red">line</span>
+    </p>
+    <p style="color: green">Second line</p>
+    <p>
+      <span style="color: blue">Third</span>
+      <span style="color: blue">line</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html
new file mode 100644
index 0000000..24724cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First [line</p>
+<p style="color: green">Second line</p>
+<p style="color: blue">Third] line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html
new file mode 100644
index 0000000..bc9f796
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red">First line</p>
+    <p>
+      <span style="color: green">Second</span>
+      <span style="color: green">line</span>
+    </p>
+    <p>
+      <span style="color: blue">Third</span>
+      <span style="color: blue">line</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html
new file mode 100644
index 0000000..c657cc8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First line</p>
+<p style="color: green">Second [line</p>
+<p style="color: blue">Third] line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html
new file mode 100644
index 0000000..2f03506
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: red">First</span>
+      <span style="color: red">line</span>
+    </p>
+    <p>
+      <span style="color: green">Second</span>
+      <span style="color: green">line</span>
+    </p>
+    <p style="color: blue">Third line</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html
new file mode 100644
index 0000000..9b1b596
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First [line</p>
+<p style="color: green">Second] line</p>
+<p style="color: blue">Third line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html
new file mode 100644
index 0000000..6b8c6e5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: red">First</span>
+      <span style="color: red">line</span>
+    </p>
+    <p style="color: green">Second line</p>
+    <p style="color: blue">Third line</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html
new file mode 100644
index 0000000..b5a32ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure04-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First [line</p>
+<p style="color: green">Second line</p>]
+<p style="color: blue">Third line</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html
new file mode 100644
index 0000000..4f79d28
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p style="color: red">First line</p>
+    <p style="color: green">Second line</p>
+    <p style="color: blue">Third line</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html
new file mode 100644
index 0000000..5ffb71f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure05-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: red">First line</p>
+[<p style="color: green">Second line</p>
+<p style="color: blue">Third line</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html
new file mode 100644
index 0000000..3da76cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <span style="color: red; font-size: 18pt">First</span>
+        <span style="color: red; font-size: 18pt">line</span>
+      </p>
+      <p style="color: green; font-size: 18pt">Second line</p>
+      <p style="color: blue; font-size: 18pt">Third line</p>
+    </div>
+    <div>
+      <p style="color: yellow; font-size: 24pt">Fourth line</p>
+      <p>
+        <span style="color: fuchsia; font-size: 24pt">Fifth</span>
+        <span style="color: fuchsia; font-size: 24pt">line</span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html
new file mode 100644
index 0000000..70b00ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure06-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-size: 18pt">
+  <p style="color: red">First [line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth] line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html
new file mode 100644
index 0000000..5442e31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p style="color: red; font-size: 18pt">First line</p>
+      <p style="color: green; font-size: 18pt">Second line</p>
+      <p style="color: blue; font-size: 18pt">Third line</p>
+    </div>
+    <div>
+      <p style="color: yellow; font-size: 24pt">Fourth line</p>
+      <p style="color: fuchsia; font-size: 24pt">Fifth line</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html
new file mode 100644
index 0000000..2f81f2c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure07-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-size: 18pt">
+  <p style="color: red">First line</p>
+  [<p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>]
+  <p style="color: fuchsia">Fifth line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html
new file mode 100644
index 0000000..5442e31
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p style="color: red; font-size: 18pt">First line</p>
+      <p style="color: green; font-size: 18pt">Second line</p>
+      <p style="color: blue; font-size: 18pt">Third line</p>
+    </div>
+    <div>
+      <p style="color: yellow; font-size: 24pt">Fourth line</p>
+      <p style="color: fuchsia; font-size: 24pt">Fifth line</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html
new file mode 100644
index 0000000..b49c2c2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure08-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-size: 18pt">
+  [<p style="color: red">First line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth line</p>]
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html
new file mode 100644
index 0000000..469ea2d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <div style="font-size: 18pt">
+      <p style="color: red">First line</p>
+      <p style="color: green">Second line</p>
+      <p style="color: blue">Third line</p>
+    </div>
+    <div style="font-size: 24pt">
+      <p style="color: yellow">Fourth line</p>
+      <p style="color: fuchsia">Fifth line</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html
new file mode 100644
index 0000000..fa02a24
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure09-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+[<div style="font-size: 18pt">
+  <p style="color: red">First line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-size: 24pt">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth line</p>
+</div>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html
new file mode 100644
index 0000000..5b8579d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <span style="color: red"><b>First</b></span>
+        <span style="color: red"><b>line</b></span>
+      </p>
+      <p style="color: green"><b>Second line</b></p>
+      <p style="color: blue"><b>Third line</b></p>
+    </div>
+    <div>
+      <p style="color: yellow"><i>Fourth line</i></p>
+      <p>
+        <span style="color: fuchsia"><i>Fifth</i></span>
+        <span style="color: fuchsia"><i>line</i></span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html
new file mode 100644
index 0000000..83fc4df
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure10-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-weight: bold">
+  <p style="color: red">First [line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-style: italic">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth] line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html
new file mode 100644
index 0000000..3b02ced
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>
+        <span style="color: red"><b><i><u>First</u></i></b></span>
+        <span style="color: red"><b><i><u>line</u></i></b></span>
+      </p>
+      <p style="color: green"><b><i><u>Second line</u></i></b></p>
+      <p style="color: blue"><b><i><u>Third line</u></i></b></p>
+    </div>
+    <div>
+      <p style="color: yellow"><b><i><u>Fourth line</u></i></b></p>
+      <p>
+        <span style="color: fuchsia"><b><i><u>Fifth</u></i></b></span>
+        <span style="color: fuchsia"><b><i><u>line</u></i></b></span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html
new file mode 100644
index 0000000..05c8ea7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure11-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <p style="color: red">First [line</p>
+  <p style="color: green">Second line</p>
+  <p style="color: blue">Third line</p>
+</div>
+<div style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <p style="color: yellow">Fourth line</p>
+  <p style="color: fuchsia">Fifth] line</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html
new file mode 100644
index 0000000..afbdbb8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <span style="color: red; font-size: 18pt">First</span>
+        <span style="color: red; font-size: 18pt">line</span>
+      </li>
+      <li style="color: green; font-size: 18pt">Second line</li>
+      <li style="color: blue; font-size: 18pt">Third line</li>
+    </ul>
+    <ul>
+      <li style="color: yellow; font-size: 24pt">Fourth line</li>
+      <li>
+        <span style="color: fuchsia; font-size: 24pt">Fifth</span>
+        <span style="color: fuchsia; font-size: 24pt">line</span>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html
new file mode 100644
index 0000000..fe1fa91
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure12-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-size: 18pt">
+  <li style="color: red">First [line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth] line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html
new file mode 100644
index 0000000..8099c5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li style="color: red; font-size: 18pt">First line</li>
+      <li style="color: green; font-size: 18pt">Second line</li>
+      <li style="color: blue; font-size: 18pt">Third line</li>
+    </ul>
+    <ul>
+      <li style="color: yellow; font-size: 24pt">Fourth line</li>
+      <li style="color: fuchsia; font-size: 24pt">Fifth line</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html
new file mode 100644
index 0000000..41fda14
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure13-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-size: 18pt">
+  <li style="color: red">First line</li>
+  [<li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>]
+  <li style="color: fuchsia">Fifth line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html
new file mode 100644
index 0000000..8099c5f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li style="color: red; font-size: 18pt">First line</li>
+      <li style="color: green; font-size: 18pt">Second line</li>
+      <li style="color: blue; font-size: 18pt">Third line</li>
+    </ul>
+    <ul>
+      <li style="color: yellow; font-size: 24pt">Fourth line</li>
+      <li style="color: fuchsia; font-size: 24pt">Fifth line</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html
new file mode 100644
index 0000000..32ec48b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure14-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-size: 18pt">
+  [<li style="color: red">First line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth line</li>]
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html
new file mode 100644
index 0000000..f8756d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ul style="font-size: 18pt">
+      <li style="color: red">First line</li>
+      <li style="color: green">Second line</li>
+      <li style="color: blue">Third line</li>
+    </ul>
+    <ul style="font-size: 24pt">
+      <li style="color: yellow">Fourth line</li>
+      <li style="color: fuchsia">Fifth line</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html
new file mode 100644
index 0000000..c587ef1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure15-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+[<ul style="font-size: 18pt">
+  <li style="color: red">First line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-size: 24pt">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth line</li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html
new file mode 100644
index 0000000..14820cc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <span style="color: red"><b>First</b></span>
+        <span style="color: red"><b>line</b></span>
+      </li>
+      <li style="color: green"><b>Second line</b></li>
+      <li style="color: blue"><b>Third line</b></li>
+    </ul>
+    <ul>
+      <li style="color: yellow"><i>Fourth line</i></li>
+      <li>
+        <span style="color: fuchsia"><i>Fifth</i></span>
+        <span style="color: fuchsia"><i>line</i></span>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html
new file mode 100644
index 0000000..ac105e0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure16-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-weight: bold">
+  <li style="color: red">First [line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-style: italic">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth] line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html
new file mode 100644
index 0000000..84c884a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-expected.html
@@ -0,0 +1,20 @@
+<html>
+  <head></head>
+  <body>
+    <ul>
+      <li>
+        <span style="color: red"><b><i><u>First</u></i></b></span>
+        <span style="color: red"><b><i><u>line</u></i></b></span>
+      </li>
+      <li style="color: green"><b><i><u>Second line</u></i></b></li>
+      <li style="color: blue"><b><i><u>Third line</u></i></b></li>
+    </ul>
+    <ul>
+      <li style="color: yellow"><b><i><u>Fourth line</u></i></b></li>
+      <li>
+        <span style="color: fuchsia"><b><i><u>Fifth</u></i></b></span>
+        <span style="color: fuchsia"><b><i><u>line</u></i></b></span>
+      </li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html
new file mode 100644
index 0000000..90d444f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties-structure17-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_ensureValidHierarchy(range);
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<ul style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <li style="color: red">First [line</li>
+  <li style="color: green">Second line</li>
+  <li style="color: blue">Third line</li>
+</ul>
+<ul style="font-weight: bold; font-style: italic; text-decoration: underline">
+  <li style="color: yellow">Fourth line</li>
+  <li style="color: fuchsia">Fifth] line</li>
+</ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html
new file mode 100644
index 0000000..8dd2a9f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue">Here</span>
+      <span style="color: blue">is some text</span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html
new file mode 100644
index 0000000..36fa73b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">[Here] is some text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html
new file mode 100644
index 0000000..7e36f7c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue">Here</span>
+      <span style="color: blue">is some</span>
+      <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/pushDownInlineProperties02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-input.html
new file mode 100644
index 0000000..6dc2cb4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties02-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html
new file mode 100644
index 0000000..5c00041
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="color: blue">Here is some</span>
+      <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/pushDownInlineProperties03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-input.html
new file mode 100644
index 0000000..4653aaa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties03-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">Here is some [text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html
new file mode 100644
index 0000000..ac8ebee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <b>Here</b>
+      <b>is some</b>
+      <b>text</b>
+    </p>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html
new file mode 100644
index 0000000..86b8046
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties04-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="font-weight: bold">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html
new file mode 100644
index 0000000..33637dc
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <i>Here</i>
+      <i>is some</i>
+      <i>text</i>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html
new file mode 100644
index 0000000..7cd3dfb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties05-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="font-style: italic">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html
new file mode 100644
index 0000000..ebb26a9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <u>Here</u>
+      <u>is some</u>
+      <u>text</u>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html
new file mode 100644
index 0000000..cde0e96
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties06-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="text-decoration: underline">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html
new file mode 100644
index 0000000..da59302
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="text-decoration: overline line-through"><u>Here</u></span>
+      <span style="text-decoration: overline line-through"><u>is some</u></span>
+      <span style="text-decoration: overline line-through"><u>text</u></span>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html
new file mode 100644
index 0000000..3088e65
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties07-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="text-decoration: underline overline line-through">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html
new file mode 100644
index 0000000..0d7b30d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <span style="text-decoration: overline line-through"><b><i><u>Here</u></i></b></span>
+      <span style="text-decoration: overline line-through"><b><i><u>is some</u></i></b></span>
+      <span style="text-decoration: overline line-through"><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/pushDownInlineProperties08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-input.html
new file mode 100644
index 0000000..d27c82f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties08-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="font-weight: bold; font-style: italic; text-decoration: underline overline line-through">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html
new file mode 100644
index 0000000..56866e4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p style="margin-left: 20%">
+      <span style="color: blue">Here</span>
+      <span style="color: blue">is some</span>
+      <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/pushDownInlineProperties09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-input.html
new file mode 100644
index 0000000..3249e3b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties09-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="margin-left: 20%; color: blue">Here [is some] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html
new file mode 100644
index 0000000..82e91fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-right: 15%">
+      <p style="margin-left: 20%">
+        <span style="color: blue; font-size: 24pt">Here</span>
+        <span style="color: blue; font-size: 24pt">is some</span>
+        <span style="color: blue; font-size: 24pt">text</span>
+      </p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html
new file mode 100644
index 0000000..d9366ee
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties10-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<div style="margin-right: 15%; font-size: 24pt">
+  <p style="margin-left: 20%; color: blue">Here [is some] text</p>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html
new file mode 100644
index 0000000..451f8d3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-expected.html
@@ -0,0 +1,26 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue"><s><s>O</s></s></s>
+      <s>
+        <s>
+          <s><span style="color: blue">ne</span></s>
+          <s style="color: blue">Two</s>
+          <s style="color: blue">Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s>
+        <s style="color: blue">Seven</s>
+        <s style="color: blue">Eight</s>
+        <s><span style="color: blue">Nin</span></s>
+      </s>
+      <s style="color: blue"><s>e</s></s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html
new file mode 100644
index 0000000..81d6ebb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties11-input.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Formatting_splitAroundSelection(range);
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      <s>O[ne</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nin]e</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html
new file mode 100644
index 0000000..f6a7db3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s>
+          <s style="color: blue">One</s>
+          <s style="color: blue">Two</s>
+          <s style="color: blue">Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html
new file mode 100644
index 0000000..18f0485
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties12-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      <s>One</s>
+      [<s>Two</s>]
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html
new file mode 100644
index 0000000..f6a7db3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s>
+          <s style="color: blue">One</s>
+          <s style="color: blue">Two</s>
+          <s style="color: blue">Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html
new file mode 100644
index 0000000..6b9e5de
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties13-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      [<s>One</s>
+      <s>Two</s>
+      <s>Three</s>]
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html
new file mode 100644
index 0000000..3cb2757
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s style="color: blue">
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html
new file mode 100644
index 0000000..f04d8d4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties14-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    [<s>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>]
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html
new file mode 100644
index 0000000..a7ef87d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s style="color: blue">
+        <s>
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s>Four</s>
+          <s>Five</s>
+          <s>Six</s>
+        </s>
+      </s>
+      <s style="color: blue">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html
new file mode 100644
index 0000000..b154d7f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties15-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  [<s>
+    <s>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      <s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>]
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html
new file mode 100644
index 0000000..287abd3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s style="color: blue">Four</s>
+          <s style="color: blue">Five</s>
+          <s style="color: blue">Six</s>
+        </s>
+      </s>
+      <s>
+        <s style="color: blue">Seven</s>
+        <s style="color: blue">Eight</s>
+        <s style="color: blue">Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html
new file mode 100644
index 0000000..f99bde2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties16-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s>
+    <s>
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s>
+      <s>Four</s>
+      [<s>Five</s>
+      <s>Six</s>
+    </s>
+  </s>
+  <s>
+    <s>Seven</s>
+    <s>Eight</s>]
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html
new file mode 100644
index 0000000..d6af9e9
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue; font-family: monospace; font-size: 18pt">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline">Four</s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: line-through">Five</s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline line-through">Six</s>
+        </s>
+      </s>
+      <s style="color: blue; font-family: sans-serif">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html
new file mode 100644
index 0000000..2043978
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties17-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s style="font-size: 18pt">
+    <s style="font-family: monospace">
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s style="font-family: fantasy">
+      <s style="text-decoration: overline">Four</s>
+      [<s style="text-decoration: line-through">Five</s>]
+      <s style="text-decoration: overline line-through">Six</s>
+    </s>
+  </s>
+  <s style="font-family: sans-serif">
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html
new file mode 100644
index 0000000..72e521b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-expected.html
@@ -0,0 +1,24 @@
+<html>
+  <head></head>
+  <body>
+    <p>
+      <s>
+        <s style="color: blue; font-family: monospace; font-size: 18pt">
+          <s>One</s>
+          <s>Two</s>
+          <s>Three</s>
+        </s>
+        <s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline">Four</s>
+          <s><span style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: line-through">Five</span></s>
+          <s style="color: blue; font-family: fantasy; font-size: 18pt; text-decoration: overline line-through">Six</s>
+        </s>
+      </s>
+      <s style="color: blue; font-family: sans-serif">
+        <s>Seven</s>
+        <s>Eight</s>
+        <s>Nine</s>
+      </s>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html
new file mode 100644
index 0000000..de538cb
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties18-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Selection_preserveWhileExecuting(function() {
+        var range = Selection_get();
+        Range_trackWhileExecuting(range,function() {
+            removeWhitespaceAndCommentNodes(document.body);
+        });
+        var outermost = Range_getOutermostNodes(range);
+        Formatting_pushDownInlineProperties(outermost);
+    });
+}
+</script>
+</head>
+<body>
+<p style="color: blue">
+  <s style="font-size: 18pt">
+    <s style="font-family: monospace">
+      <s>One</s>
+      <s>Two</s>
+      <s>Three</s>
+    </s>
+    <s style="font-family: fantasy">
+      <s style="text-decoration: overline">Four</s>
+      <s style="text-decoration: line-through">[Five]</s>
+      <s style="text-decoration: overline line-through">Six</s>
+    </s>
+  </s>
+  <s style="font-family: sans-serif">
+    <s>Seven</s>
+    <s>Eight</s>
+    <s>Nine</s>
+  </s>
+</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html
new file mode 100644
index 0000000..88bbaa7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/formatting/pushDownInlineProperties19-expected.html
@@ -0,0 +1,27 @@
+<html>
+  <head></head>
+  <body>
+    <div style="margin-left: 20%">
+      <p style="margin-right: 15%">
+        <s>
+          <s style="color: blue">
+            <s>One</s>
+            <s>Two</s>
+            <s>Three</s>
+          </s>
+          <s>
+            <s style="color: yellow">Four</s>
+            <s style="color: black">Five</s>
+            <s style="color: yellow">Six</s>
+          </s>
+        </s>
+        <s style="color: green">
+          <s>Seven</s>
+          <s>Eight</s>
+          <s>Nine</s>
+        </s>
+      </p>
+      <p style="color: red">Ten</p>
+    </div>
+  </body>
+</html>
\ No newline at end of file