corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [17/92] [abbrv] [partial] incubator-corinthia git commit: Add editing code from UX Write
Date Wed, 17 Dec 2014 13:28:27 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList07a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList07a-expected.html b/Editor/tests/lists/clearList07a-expected.html
new file mode 100644
index 0000000..47f0ab8
--- /dev/null
+++ b/Editor/tests/lists/clearList07a-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>Two</p>
+        <p>First</p>
+        <p>Second</p>
+        <p>Third</p>
+      </li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList07a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList07a-input.html b/Editor/tests/lists/clearList07a-input.html
new file mode 100644
index 0000000..a508cff
--- /dev/null
+++ b/Editor/tests/lists/clearList07a-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p>
+    <ol>
+      <li><p>[First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third]</p></li>
+    </ol>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList07b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList07b-expected.html b/Editor/tests/lists/clearList07b-expected.html
new file mode 100644
index 0000000..2d643bb
--- /dev/null
+++ b/Editor/tests/lists/clearList07b-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        Two
+        <p>First</p>
+        <p>Second</p>
+        <p>Third</p>
+      </li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList07b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList07b-input.html b/Editor/tests/lists/clearList07b-input.html
new file mode 100644
index 0000000..ed557e2
--- /dev/null
+++ b/Editor/tests/lists/clearList07b-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two
+    <ol>
+      <li>[First</li>
+      <li>Second</li>
+      <li>Third]</li>
+    </ol>
+  </li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList08a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList08a-expected.html b/Editor/tests/lists/clearList08a-expected.html
new file mode 100644
index 0000000..60ff315
--- /dev/null
+++ b/Editor/tests/lists/clearList08a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol><li><p>One</p></li></ol>
+    <p>Two</p>
+    <ol>
+      <li><p>First</p></li>
+      <li><p>Second</p></li>
+      <li><p>Third</p></li>
+    </ol>
+    <p>Three</p>
+    <ol>
+      <li><p>Uno</p></li>
+      <li><p>Dos</p></li>
+      <li><p>Tres</p></li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList08a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList08a-input.html b/Editor/tests/lists/clearList08a-input.html
new file mode 100644
index 0000000..4994a6c
--- /dev/null
+++ b/Editor/tests/lists/clearList08a-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p>
+    <ol>
+      <li><p>First</p></li>
+      <li><p>[Second</p></li>
+      <li><p>Third</p></li>
+    </ol>
+  </li>
+  <li><p>Three</p>
+    <ol>
+      <li><p>Uno</p></li>
+      <li><p>Dos]</p></li>
+      <li><p>Tres</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList08b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList08b-expected.html b/Editor/tests/lists/clearList08b-expected.html
new file mode 100644
index 0000000..32d4756
--- /dev/null
+++ b/Editor/tests/lists/clearList08b-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol><li>One</li></ol>
+    <p>Two</p>
+    <ol>
+      <li>First</li>
+      <li>Second</li>
+      <li>Third</li>
+    </ol>
+    <p>Three</p>
+    <ol>
+      <li>Uno</li>
+      <li>Dos</li>
+      <li>Tres</li>
+    </ol>
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList08b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList08b-input.html b/Editor/tests/lists/clearList08b-input.html
new file mode 100644
index 0000000..859b022
--- /dev/null
+++ b/Editor/tests/lists/clearList08b-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two
+    <ol>
+      <li>First</li>
+      <li>[Second</li>
+      <li>Third</li>
+    </ol>
+  </li>
+  <li>Three
+    <ol>
+      <li>Uno</li>
+      <li>Dos]</li>
+      <li>Tres</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList09a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList09a-expected.html b/Editor/tests/lists/clearList09a-expected.html
new file mode 100644
index 0000000..21ee85b
--- /dev/null
+++ b/Editor/tests/lists/clearList09a-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      []
+      <br/>
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList09a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList09a-input.html b/Editor/tests/lists/clearList09a-input.html
new file mode 100644
index 0000000..cc9da12
--- /dev/null
+++ b/Editor/tests/lists/clearList09a-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    Cursor_insertCharacter("One");
+    Cursor_enterPressed();
+    Cursor_insertCharacter("Two");
+    Cursor_enterPressed();
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList09b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList09b-expected.html b/Editor/tests/lists/clearList09b-expected.html
new file mode 100644
index 0000000..3189ee1
--- /dev/null
+++ b/Editor/tests/lists/clearList09b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>End[]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList09b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList09b-input.html b/Editor/tests/lists/clearList09b-input.html
new file mode 100644
index 0000000..8cb983c
--- /dev/null
+++ b/Editor/tests/lists/clearList09b-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    Cursor_insertCharacter("One");
+    Cursor_enterPressed();
+    Cursor_insertCharacter("Two");
+    Cursor_enterPressed();
+    Lists_clearList();
+    Cursor_insertCharacter("End");
+    showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10a-expected.html b/Editor/tests/lists/clearList10a-expected.html
new file mode 100644
index 0000000..f33642c
--- /dev/null
+++ b/Editor/tests/lists/clearList10a-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      []
+      <br/>
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10a-input.html b/Editor/tests/lists/clearList10a-input.html
new file mode 100644
index 0000000..ca2e59f
--- /dev/null
+++ b/Editor/tests/lists/clearList10a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10b-expected.html b/Editor/tests/lists/clearList10b-expected.html
new file mode 100644
index 0000000..cd1bd22
--- /dev/null
+++ b/Editor/tests/lists/clearList10b-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      Three
+      <b>bold</b>
+      normal[]
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10b-input.html b/Editor/tests/lists/clearList10b-input.html
new file mode 100644
index 0000000..4f6b4b5
--- /dev/null
+++ b/Editor/tests/lists/clearList10b-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three <b>bold</b> normal[]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10c-expected.html b/Editor/tests/lists/clearList10c-expected.html
new file mode 100644
index 0000000..d045867
--- /dev/null
+++ b/Editor/tests/lists/clearList10c-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      [Three
+      <b>bold</b>
+      normal]
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10c-input.html b/Editor/tests/lists/clearList10c-input.html
new file mode 100644
index 0000000..5e91d6f
--- /dev/null
+++ b/Editor/tests/lists/clearList10c-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three <b>bold</b> normal]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10d-expected.html b/Editor/tests/lists/clearList10d-expected.html
new file mode 100644
index 0000000..0df55d3
--- /dev/null
+++ b/Editor/tests/lists/clearList10d-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>[AAA</p>
+    <p>BBB</p>
+    <p>CCC]</p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10d-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10d-input.html b/Editor/tests/lists/clearList10d-input.html
new file mode 100644
index 0000000..e02000f
--- /dev/null
+++ b/Editor/tests/lists/clearList10d-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[AAA <p>BBB</p> CCC]</li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10e-expected.html b/Editor/tests/lists/clearList10e-expected.html
new file mode 100644
index 0000000..0e00768
--- /dev/null
+++ b/Editor/tests/lists/clearList10e-expected.html
@@ -0,0 +1,31 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>
+      [AAA
+      <b>BBB</b>
+      CCC
+    </p>
+    <p>DDD</p>
+    <p>
+      EEE
+      <i>FFF</i>
+      GGG
+    </p>
+    <p>HHH</p>
+    <p>III</p>
+    <p>
+      JJJ
+      <u>KKK</u>
+      LLL]
+    </p>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList10e-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList10e-input.html b/Editor/tests/lists/clearList10e-input.html
new file mode 100644
index 0000000..634a141
--- /dev/null
+++ b/Editor/tests/lists/clearList10e-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[AAA <b>BBB</b> CCC
+       <p>DDD</p>
+       EEE <i>FFF</i> GGG
+       <p>HHH</p>
+       <p>III</p>
+       JJJ <u>KKK</u> LLL]
+  </li>
+  <li>Four</li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList11a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList11a-expected.html b/Editor/tests/lists/clearList11a-expected.html
new file mode 100644
index 0000000..737d6b9
--- /dev/null
+++ b/Editor/tests/lists/clearList11a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>
+      Before
+      <b>middle</b>
+      after
+    </p>
+    <p>Last</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList11a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList11a-input.html b/Editor/tests/lists/clearList11a-input.html
new file mode 100644
index 0000000..945a30f
--- /dev/null
+++ b/Editor/tests/lists/clearList11a-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>First</p>
+<ul>
+  <li><p>Befo[]re <b>middle</b> after</p></li>
+</ul>
+<p>Last</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList11b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList11b-expected.html b/Editor/tests/lists/clearList11b-expected.html
new file mode 100644
index 0000000..737d6b9
--- /dev/null
+++ b/Editor/tests/lists/clearList11b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>
+      Before
+      <b>middle</b>
+      after
+    </p>
+    <p>Last</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList11b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList11b-input.html b/Editor/tests/lists/clearList11b-input.html
new file mode 100644
index 0000000..5baca29
--- /dev/null
+++ b/Editor/tests/lists/clearList11b-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>First</p>
+<ul>
+  <li><p>Before <b>mid[]dle</b> after</p></li>
+</ul>
+<p>Last</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList11c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList11c-expected.html b/Editor/tests/lists/clearList11c-expected.html
new file mode 100644
index 0000000..737d6b9
--- /dev/null
+++ b/Editor/tests/lists/clearList11c-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <p>First</p>
+    <p>
+      Before
+      <b>middle</b>
+      after
+    </p>
+    <p>Last</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/clearList11c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/clearList11c-input.html b/Editor/tests/lists/clearList11c-input.html
new file mode 100644
index 0000000..c3a7354
--- /dev/null
+++ b/Editor/tests/lists/clearList11c-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+}
+</script>
+</head>
+<body>
+<p>First</p>
+<ul>
+  <li><p>Before <b>middle</b> af[]ter</p></li>
+</ul>
+<p>Last</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero01a-expected.html b/Editor/tests/lists/decrease-flat-tozero01a-expected.html
new file mode 100644
index 0000000..f6898b7
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One]</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero01a-input.html b/Editor/tests/lists/decrease-flat-tozero01a-input.html
new file mode 100644
index 0000000..94dbbb0
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero01a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One]</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero01b-expected.html b/Editor/tests/lists/decrease-flat-tozero01b-expected.html
new file mode 100644
index 0000000..be31f51
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One]</p>
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero01b-input.html b/Editor/tests/lists/decrease-flat-tozero01b-input.html
new file mode 100644
index 0000000..bc7efd7
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero01b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One]</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero02a-expected.html b/Editor/tests/lists/decrease-flat-tozero02a-expected.html
new file mode 100644
index 0000000..d5c80a1
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero02a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ol><li><p>One</p></li></ol>
+    <p>[Two]</p>
+    <ol><li><p>Three</p></li></ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero02a-input.html b/Editor/tests/lists/decrease-flat-tozero02a-input.html
new file mode 100644
index 0000000..a65b19d
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero02a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>[Two]</p></li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero02b-expected.html b/Editor/tests/lists/decrease-flat-tozero02b-expected.html
new file mode 100644
index 0000000..a9495f7
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero02b-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <ol><li>One</li></ol>
+    <p>[Two]</p>
+    <ol><li>Three</li></ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero02b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero02b-input.html b/Editor/tests/lists/decrease-flat-tozero02b-input.html
new file mode 100644
index 0000000..da9b328
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero02b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>[Two]</li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero03a-expected.html b/Editor/tests/lists/decrease-flat-tozero03a-expected.html
new file mode 100644
index 0000000..07f7ae8
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero03a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+    </ol>
+    <p>[Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero03a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero03a-input.html b/Editor/tests/lists/decrease-flat-tozero03a-input.html
new file mode 100644
index 0000000..21b934f
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero03a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>[Three]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero03b-expected.html b/Editor/tests/lists/decrease-flat-tozero03b-expected.html
new file mode 100644
index 0000000..0c8f0a1
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+    </ol>
+    <p>[Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero03b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero03b-input.html b/Editor/tests/lists/decrease-flat-tozero03b-input.html
new file mode 100644
index 0000000..5d83af9
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero03b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>[Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero04a-expected.html b/Editor/tests/lists/decrease-flat-tozero04a-expected.html
new file mode 100644
index 0000000..ca3257c
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero04a-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero04a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero04a-input.html b/Editor/tests/lists/decrease-flat-tozero04a-input.html
new file mode 100644
index 0000000..6becf67
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero04a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>[One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three]</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero04b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero04b-expected.html b/Editor/tests/lists/decrease-flat-tozero04b-expected.html
new file mode 100644
index 0000000..ca3257c
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero04b-expected.html
@@ -0,0 +1,8 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-flat-tozero04b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-flat-tozero04b-input.html b/Editor/tests/lists/decrease-flat-tozero04b-input.html
new file mode 100644
index 0000000..952ef74
--- /dev/null
+++ b/Editor/tests/lists/decrease-flat-tozero04b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>[One</li>
+  <li>Two</li>
+  <li>Three]</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone01a-expected.html b/Editor/tests/lists/decrease-nested-toone01a-expected.html
new file mode 100644
index 0000000..dd582d8
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone01a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>[Two]</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+        </ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone01a-input.html b/Editor/tests/lists/decrease-nested-toone01a-input.html
new file mode 100644
index 0000000..1e949f7
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone01a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two]</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone01b-expected.html b/Editor/tests/lists/decrease-nested-toone01b-expected.html
new file mode 100644
index 0000000..5dc18c1
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone01b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        [Two]
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+        </ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone01b-input.html b/Editor/tests/lists/decrease-nested-toone01b-input.html
new file mode 100644
index 0000000..5d6b2b0
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone01b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two]</li>
+      <li>Three</li>
+      <li>Four</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone02a-expected.html b/Editor/tests/lists/decrease-nested-toone02a-expected.html
new file mode 100644
index 0000000..0ea0c47
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone02a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol><li><p>Two</p></li></ol>
+      </li>
+      <li>
+        <p>[Three]</p>
+        <ol><li><p>Four</p></li></ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone02a-input.html b/Editor/tests/lists/decrease-nested-toone02a-input.html
new file mode 100644
index 0000000..3239fb4
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone02a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>[Three]</p></li>
+      <li><p>Four</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone02b-expected.html b/Editor/tests/lists/decrease-nested-toone02b-expected.html
new file mode 100644
index 0000000..e435755
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone02b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol><li>Two</li></ol>
+      </li>
+      <li>
+        [Three]
+        <ol><li>Four</li></ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone02b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone02b-input.html b/Editor/tests/lists/decrease-nested-toone02b-input.html
new file mode 100644
index 0000000..17cf27a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone02b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>Two</li>
+      <li>[Three]</li>
+      <li>Four</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone03a-expected.html b/Editor/tests/lists/decrease-nested-toone03a-expected.html
new file mode 100644
index 0000000..f9b5f0b
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone03a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>Two</p></li>
+          <li><p>Three</p></li>
+        </ol>
+      </li>
+      <li><p>[Four]</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone03a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone03a-input.html b/Editor/tests/lists/decrease-nested-toone03a-input.html
new file mode 100644
index 0000000..514880d
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone03a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>[Four]</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone03b-expected.html b/Editor/tests/lists/decrease-nested-toone03b-expected.html
new file mode 100644
index 0000000..94ae48a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone03b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>Two</li>
+          <li>Three</li>
+        </ol>
+      </li>
+      <li>[Four]</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone03b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone03b-input.html b/Editor/tests/lists/decrease-nested-toone03b-input.html
new file mode 100644
index 0000000..ad6a366
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone03b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>Two</li>
+      <li>Three</li>
+      <li>[Four]</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone04a-expected.html b/Editor/tests/lists/decrease-nested-toone04a-expected.html
new file mode 100644
index 0000000..532dde7
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone04a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two</p></li>
+      <li>
+        <p>Three]</p>
+        <ol><li><p>Four</p></li></ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone04a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone04a-input.html b/Editor/tests/lists/decrease-nested-toone04a-input.html
new file mode 100644
index 0000000..dd368f1
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone04a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two</p></li>
+      <li><p>Three]</p></li>
+      <li><p>Four</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone04b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone04b-expected.html b/Editor/tests/lists/decrease-nested-toone04b-expected.html
new file mode 100644
index 0000000..07663ea
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone04b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two</li>
+      <li>
+        Three]
+        <ol><li>Four</li></ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone04b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone04b-input.html b/Editor/tests/lists/decrease-nested-toone04b-input.html
new file mode 100644
index 0000000..4ef6b71
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone04b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two</li>
+      <li>Three]</li>
+      <li>Four</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone05a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone05a-expected.html b/Editor/tests/lists/decrease-nested-toone05a-expected.html
new file mode 100644
index 0000000..c095fe7
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone05a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol><li><p>Two</p></li></ol>
+      </li>
+      <li><p>[Three</p></li>
+      <li><p>Four]</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone05a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone05a-input.html b/Editor/tests/lists/decrease-nested-toone05a-input.html
new file mode 100644
index 0000000..2d93b15
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone05a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>[Three</p></li>
+      <li><p>Four]</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone05b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone05b-expected.html b/Editor/tests/lists/decrease-nested-toone05b-expected.html
new file mode 100644
index 0000000..5b7de85
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone05b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol><li>Two</li></ol>
+      </li>
+      <li>[Three</li>
+      <li>Four]</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone05b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone05b-input.html b/Editor/tests/lists/decrease-nested-toone05b-input.html
new file mode 100644
index 0000000..8390906
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone05b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>Two</li>
+      <li>[Three</li>
+      <li>Four]</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone06a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone06a-expected.html b/Editor/tests/lists/decrease-nested-toone06a-expected.html
new file mode 100644
index 0000000..f1577fd
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone06a-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four]</p></li>
+      <li><p>Five</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone06a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone06a-input.html b/Editor/tests/lists/decrease-nested-toone06a-input.html
new file mode 100644
index 0000000..a9ab50d
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone06a-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two</p></li>
+      <li><p>Three</p></li>
+      <li><p>Four]</p></li>
+    </ol>
+  </li>
+  <li><p>Five</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone06b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone06b-expected.html b/Editor/tests/lists/decrease-nested-toone06b-expected.html
new file mode 100644
index 0000000..24fa94e
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone06b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two</li>
+      <li>Three</li>
+      <li>Four]</li>
+      <li>Five</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-toone06b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-toone06b-input.html b/Editor/tests/lists/decrease-nested-toone06b-input.html
new file mode 100644
index 0000000..227b52a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-toone06b-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two</li>
+      <li>Three</li>
+      <li>Four]</li>
+    </ol>
+  </li>
+  <li>Five</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero01a-expected.html b/Editor/tests/lists/decrease-nested-tozero01a-expected.html
new file mode 100644
index 0000000..912c2c6
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero01a-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol><li><p>Five]</p></li></ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero01a-input.html b/Editor/tests/lists/decrease-nested-tozero01a-input.html
new file mode 100644
index 0000000..bd48cde
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero01a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 1; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero01b-expected.html b/Editor/tests/lists/decrease-nested-tozero01b-expected.html
new file mode 100644
index 0000000..44f7c1a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero01b-expected.html
@@ -0,0 +1,22 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol><li>Five]</li></ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero01b-input.html b/Editor/tests/lists/decrease-nested-tozero01b-input.html
new file mode 100644
index 0000000..cce3f14
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero01b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 1; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero02a-expected.html b/Editor/tests/lists/decrease-nested-tozero02a-expected.html
new file mode 100644
index 0000000..f9dbfff
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero02a-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <ol>
+      <li>
+        <p>Three</p>
+        <ol>
+          <li>
+            <p>Four</p>
+            <ol><li><p>Five]</p></li></ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero02a-input.html b/Editor/tests/lists/decrease-nested-tozero02a-input.html
new file mode 100644
index 0000000..4f1ecd0
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero02a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 2; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero02b-expected.html b/Editor/tests/lists/decrease-nested-tozero02b-expected.html
new file mode 100644
index 0000000..a52fb5f
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero02b-expected.html
@@ -0,0 +1,18 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <ol>
+      <li>
+        Three
+        <ol>
+          <li>
+            Four
+            <ol><li>Five]</li></ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero02b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero02b-input.html b/Editor/tests/lists/decrease-nested-tozero02b-input.html
new file mode 100644
index 0000000..811abeb
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero02b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 2; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero03a-expected.html b/Editor/tests/lists/decrease-nested-tozero03a-expected.html
new file mode 100644
index 0000000..787e44a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero03a-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <ol>
+      <li>
+        <p>Four</p>
+        <ol><li><p>Five]</p></li></ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero03a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero03a-input.html b/Editor/tests/lists/decrease-nested-tozero03a-input.html
new file mode 100644
index 0000000..141b43e
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero03a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 3; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero03b-expected.html b/Editor/tests/lists/decrease-nested-tozero03b-expected.html
new file mode 100644
index 0000000..c7ca17f
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero03b-expected.html
@@ -0,0 +1,14 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <ol>
+      <li>
+        Four
+        <ol><li>Five]</li></ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero03b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero03b-input.html b/Editor/tests/lists/decrease-nested-tozero03b-input.html
new file mode 100644
index 0000000..0fafea6
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero03b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 3; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero04a-expected.html b/Editor/tests/lists/decrease-nested-tozero04a-expected.html
new file mode 100644
index 0000000..3a2f690
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero04a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <ol><li><p>Five]</p></li></ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero04a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero04a-input.html b/Editor/tests/lists/decrease-nested-tozero04a-input.html
new file mode 100644
index 0000000..3bb92b5
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero04a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 4; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero04b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero04b-expected.html b/Editor/tests/lists/decrease-nested-tozero04b-expected.html
new file mode 100644
index 0000000..83b0303
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero04b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <ol><li>Five]</li></ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero04b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero04b-input.html b/Editor/tests/lists/decrease-nested-tozero04b-input.html
new file mode 100644
index 0000000..d63bbc1
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero04b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 4; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero05a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero05a-expected.html b/Editor/tests/lists/decrease-nested-tozero05a-expected.html
new file mode 100644
index 0000000..2aba8f5
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero05a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero05a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero05a-input.html b/Editor/tests/lists/decrease-nested-tozero05a-input.html
new file mode 100644
index 0000000..8f97f92
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero05a-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 5; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li>
+            <p>Three</p>
+            <ol>
+              <li>
+                <p>Four</p>
+                <ol>
+                  <li><p>Five]</p></li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero05b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero05b-expected.html b/Editor/tests/lists/decrease-nested-tozero05b-expected.html
new file mode 100644
index 0000000..2aba8f5
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero05b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three</p>
+    <p>Four</p>
+    <p>Five]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested-tozero05b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested-tozero05b-input.html b/Editor/tests/lists/decrease-nested-tozero05b-input.html
new file mode 100644
index 0000000..06dd605
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested-tozero05b-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    for (var i = 0; i < 5; i++)
+        Lists_decreaseIndent();
+
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>
+            Three
+            <ol>
+              <li>
+                Four
+                <ol>
+                  <li>Five]</li>
+                </ol>
+              </li>
+            </ol>
+          </li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested01a-expected.html b/Editor/tests/lists/decrease-nested01a-expected.html
new file mode 100644
index 0000000..e9ef8f7
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two]</p></li>
+      <li><p>Three</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested01a-input.html b/Editor/tests/lists/decrease-nested01a-input.html
new file mode 100644
index 0000000..97f0bfa
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested01a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two]</p></li>
+    </ol>
+  </li>
+  <li><p>Three</p></li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested01b-expected.html b/Editor/tests/lists/decrease-nested01b-expected.html
new file mode 100644
index 0000000..b7f9d0e
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested01b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two]</li>
+      <li>Three</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested01b-input.html b/Editor/tests/lists/decrease-nested01b-input.html
new file mode 100644
index 0000000..3c368e3
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested01b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two]</li>
+    </ol>
+  </li>
+  <li>Three</li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested02a-expected.html b/Editor/tests/lists/decrease-nested02a-expected.html
new file mode 100644
index 0000000..5e7703c
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested02a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>Two</p></li>
+      <li><p>[Three]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested02a-input.html b/Editor/tests/lists/decrease-nested02a-input.html
new file mode 100644
index 0000000..55e00cf
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested02a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li><p>One</p></li>
+  <li>
+    <p>Two</p>
+    <ol>
+      <li><p>[Three]</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested02b-expected.html b/Editor/tests/lists/decrease-nested02b-expected.html
new file mode 100644
index 0000000..873d04a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested02b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>[Three]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested02b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested02b-input.html b/Editor/tests/lists/decrease-nested02b-input.html
new file mode 100644
index 0000000..dbbf099
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested02b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>One</li>
+  <li>
+    Two
+    <ol>
+      <li>[Three]</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested03a-expected.html b/Editor/tests/lists/decrease-nested03a-expected.html
new file mode 100644
index 0000000..64ac428
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested03a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li><p>[Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested03a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested03a-input.html b/Editor/tests/lists/decrease-nested03a-input.html
new file mode 100644
index 0000000..59b318e
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested03a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li><p>[Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested03b-expected.html b/Editor/tests/lists/decrease-nested03b-expected.html
new file mode 100644
index 0000000..ef6ceae
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested03b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>[Two</li>
+      <li>Three]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested03b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested03b-input.html b/Editor/tests/lists/decrease-nested03b-input.html
new file mode 100644
index 0000000..4b7548f
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested03b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>[Two</li>
+      <li>Three]</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested04a-expected.html b/Editor/tests/lists/decrease-nested04a-expected.html
new file mode 100644
index 0000000..0c20332
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested04a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested04a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested04a-input.html b/Editor/tests/lists/decrease-nested04a-input.html
new file mode 100644
index 0000000..68b75b2
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested04a-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li><p>Two</p></li>
+      <li><p>Three]</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested04b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested04b-expected.html b/Editor/tests/lists/decrease-nested04b-expected.html
new file mode 100644
index 0000000..24f6d7e
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested04b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>Two</li>
+      <li>Three]</li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested04b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested04b-input.html b/Editor/tests/lists/decrease-nested04b-input.html
new file mode 100644
index 0000000..563a730
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested04b-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>Two</li>
+      <li>Three]</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested05a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested05a-expected.html b/Editor/tests/lists/decrease-nested05a-expected.html
new file mode 100644
index 0000000..1026cfe
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested05a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        <p>One</p>
+        <ol>
+          <li><p>Two</p></li>
+          <li><p>[Three</p></li>
+          <li><p>Four]</p></li>
+          <li><p>Five</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested05a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested05a-input.html b/Editor/tests/lists/decrease-nested05a-input.html
new file mode 100644
index 0000000..8e157bc
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested05a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>[Three</p></li>
+          <li><p>Four]</p></li>
+        </ol>
+      </li>
+      <li><p>Five</p></li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested05b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested05b-expected.html b/Editor/tests/lists/decrease-nested05b-expected.html
new file mode 100644
index 0000000..a3e95ee
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested05b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>
+        One
+        <ol>
+          <li>Two</li>
+          <li>[Three</li>
+          <li>Four]</li>
+          <li>Five</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested05b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested05b-input.html b/Editor/tests/lists/decrease-nested05b-input.html
new file mode 100644
index 0000000..bf66bd2
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested05b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>[Three</li>
+          <li>Four]</li>
+        </ol>
+      </li>
+      <li>Five</li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested06a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested06a-expected.html b/Editor/tests/lists/decrease-nested06a-expected.html
new file mode 100644
index 0000000..227bae5
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested06a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li><p>One</p></li>
+      <li>
+        <p>[Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested06a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested06a-input.html b/Editor/tests/lists/decrease-nested06a-input.html
new file mode 100644
index 0000000..2d36595
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested06a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>One</p>
+    <ol>
+      <li>
+        <p>[Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested06b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested06b-expected.html b/Editor/tests/lists/decrease-nested06b-expected.html
new file mode 100644
index 0000000..48a781c
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested06b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <ol>
+      <li>One</li>
+      <li>
+        [Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested06b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested06b-input.html b/Editor/tests/lists/decrease-nested06b-input.html
new file mode 100644
index 0000000..ea2321a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested06b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    One
+    <ol>
+      <li>
+        [Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested07a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested07a-expected.html b/Editor/tests/lists/decrease-nested07a-expected.html
new file mode 100644
index 0000000..5e95180
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested07a-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested07a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested07a-input.html b/Editor/tests/lists/decrease-nested07a-input.html
new file mode 100644
index 0000000..565f95f
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested07a-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    <p>[One</p>
+    <ol>
+      <li>
+        <p>Two</p>
+        <ol>
+          <li><p>Three</p></li>
+          <li><p>Four</p></li>
+          <li><p>Five]</p></li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested07b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested07b-expected.html b/Editor/tests/lists/decrease-nested07b-expected.html
new file mode 100644
index 0000000..5ff2a90
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested07b-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head></head>
+  <body>
+    <p>[One</p>
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/decrease-nested07b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/decrease-nested07b-input.html b/Editor/tests/lists/decrease-nested07b-input.html
new file mode 100644
index 0000000..734780a
--- /dev/null
+++ b/Editor/tests/lists/decrease-nested07b-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_decreaseIndent();
+    showSelection();
+}
+</script>
+</head>
+<body>
+<ol>
+  <li>
+    [One
+    <ol>
+      <li>
+        Two
+        <ol>
+          <li>Three</li>
+          <li>Four</li>
+          <li>Five]</li>
+        </ol>
+      </li>
+    </ol>
+  </li>
+</ol>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/div01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/div01a-expected.html b/Editor/tests/lists/div01a-expected.html
new file mode 100644
index 0000000..a4af1eb
--- /dev/null
+++ b/Editor/tests/lists/div01a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>One</p>
+      <ol><li><p>Two[]</p></li></ol>
+      <p>Three</p>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/div01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/div01a-input.html b/Editor/tests/lists/div01a-input.html
new file mode 100644
index 0000000..a7f06b1
--- /dev/null
+++ b/Editor/tests/lists/div01a-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>One</p>
+    <p>Two[]</p>
+    <p>Three</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/div01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/div01b-expected.html b/Editor/tests/lists/div01b-expected.html
new file mode 100644
index 0000000..cca9de4
--- /dev/null
+++ b/Editor/tests/lists/div01b-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <ol>
+        <li><p>[One</p></li>
+        <li><p>Two</p></li>
+        <li><p>Three]</p></li>
+      </ol>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/div01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/div01b-input.html b/Editor/tests/lists/div01b-input.html
new file mode 100644
index 0000000..980b74e
--- /dev/null
+++ b/Editor/tests/lists/div01b-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_setOrderedList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <p>[One</p>
+    <p>Two</p>
+    <p>Three]</p>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/div02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/div02a-expected.html b/Editor/tests/lists/div02a-expected.html
new file mode 100644
index 0000000..b817032
--- /dev/null
+++ b/Editor/tests/lists/div02a-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <ul><li><p>One</p></li></ul>
+      <p>Two[]</p>
+      <ul><li><p>Three</p></li></ul>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/div02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/div02a-input.html b/Editor/tests/lists/div02a-input.html
new file mode 100644
index 0000000..5173e70
--- /dev/null
+++ b/Editor/tests/lists/div02a-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    Lists_clearList();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <div>
+    <ul>
+      <li><p>One</p></li>
+      <li><p>Two[]</p></li>
+      <li><p>Three</p></li>
+    </ul>
+  </div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/lists/div02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/lists/div02b-expected.html b/Editor/tests/lists/div02b-expected.html
new file mode 100644
index 0000000..e2ffc33
--- /dev/null
+++ b/Editor/tests/lists/div02b-expected.html
@@ -0,0 +1,10 @@
+<html>
+  <head></head>
+  <body>
+    <div>
+      <p>[One</p>
+      <p>Two</p>
+      <p>Three]</p>
+    </div>
+  </body>
+</html>


Mime
View raw message