corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [39/92] [abbrv] [partial] incubator-corinthia git commit: Add editing code from UX Write
Date Wed, 17 Dec 2014 13:28:49 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/autocorrect/undo06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/autocorrect/undo06-expected.html b/Editor/tests/autocorrect/undo06-expected.html
new file mode 100644
index 0000000..1e48a4f
--- /dev/null
+++ b/Editor/tests/autocorrect/undo06-expected.html
@@ -0,0 +1,62 @@
+<html>
+  <head>
+  </head>
+  <body>
+    ==================== Version 0 ====================
+    <p></p>
+    ==================== Version 1 ====================
+    <p>one twox</p>
+    ==================== Version 2 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+    </p>
+    ==================== Version 3 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three fourx
+    </p>
+    ==================== Version 4 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+    </p>
+    ==================== Version 5 ====================
+    <p>
+      one
+      <span class="uxwrite-autocorrect" original="twox">two</span>
+      three
+      <span class="uxwrite-autocorrect" original="fourx">four</span>
+      five
+    </p>
+    ==================== Version 6 ====================
+    <p><br/></p>
+    ==================== Version 7 ====================
+    <p>one two three four five</p>
+    ===================================================
+    First undo to version 6: OK
+    First undo to version 5: OK
+    First undo to version 4: OK
+    First undo to version 3: OK
+    First undo to version 2: OK
+    First undo to version 1: OK
+    First undo to version 0: OK
+    Redo to version 1: OK
+    Redo to version 2: OK
+    Redo to version 3: OK
+    Redo to version 4: OK
+    Redo to version 5: OK
+    Redo to version 6: OK
+    Redo to version 7: OK
+    Second undo to version 6: OK
+    Second undo to version 5: OK
+    Second undo to version 4: OK
+    Second undo to version 3: OK
+    Second undo to version 2: OK
+    Second undo to version 1: OK
+    Second undo to version 0: OK
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/autocorrect/undo06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/autocorrect/undo06-input.html b/Editor/tests/autocorrect/undo06-input.html
new file mode 100644
index 0000000..0a09004
--- /dev/null
+++ b/Editor/tests/autocorrect/undo06-input.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="AutoCorrectTests.js"></script>
+<script src="../undo/UndoTests.js"></script>
+<script>
+function performTest()
+{
+    Outline_init();
+    AutoCorrect_init();
+    PostponedActions_perform();
+
+    UndoManager_clear();
+    var versions = new Array();
+    var p = document.getElementsByTagName("P")[0];
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter("one");
+    Cursor_insertCharacter(" twox");
+    versions.push(DOM_cloneNode(p,true));
+    AutoCorrect_correctPrecedingWord(4,"two");
+    PostponedActions_perform();
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter(" three");
+    Cursor_insertCharacter(" fourx");
+    versions.push(DOM_cloneNode(p,true));
+    AutoCorrect_correctPrecedingWord(5,"four");
+    PostponedActions_perform();
+    versions.push(DOM_cloneNode(p,true));
+    Cursor_insertCharacter(" five");
+
+    Selection_set(p,0,p,p.childNodes.length);
+    versions.push(DOM_cloneNode(p,true));
+    var clip = Clipboard_cut();
+    versions.push(DOM_cloneNode(p,true));
+    Clipboard_pasteHTML(clip["text/html"]);
+    versions.push(DOM_cloneNode(p,true));
+
+    testUndo(versions,p);
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list01-expected.html b/Editor/tests/changetracking/acceptDel-list01-expected.html
new file mode 100644
index 0000000..3138070
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list01-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list01-input.html b/Editor/tests/changetracking/acceptDel-list01-input.html
new file mode 100644
index 0000000..bb27cb2
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>[one</li>
+    <li><del>two</del></li>
+    <li>three]</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list02-expected.html b/Editor/tests/changetracking/acceptDel-list02-expected.html
new file mode 100644
index 0000000..18ac9e8
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list02-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><del>two</del></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>[ONE</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list02-input.html b/Editor/tests/changetracking/acceptDel-list02-input.html
new file mode 100644
index 0000000..8cd021d
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del>two</del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>[ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE]</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list03-expected.html b/Editor/tests/changetracking/acceptDel-list03-expected.html
new file mode 100644
index 0000000..dd80260
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list03-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[]three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list03-input.html b/Editor/tests/changetracking/acceptDel-list03-input.html
new file mode 100644
index 0000000..0059061
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del>[]two</del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list04-expected.html b/Editor/tests/changetracking/acceptDel-list04-expected.html
new file mode 100644
index 0000000..862fec6
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list04-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list04-input.html b/Editor/tests/changetracking/acceptDel-list04-input.html
new file mode 100644
index 0000000..e466ec8
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list04-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li>one</li>
+    <li><del>two</del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list05-expected.html b/Editor/tests/changetracking/acceptDel-list05-expected.html
new file mode 100644
index 0000000..e23add4
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list05-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[]three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del><b><i>TWO</i></b></del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list05-input.html b/Editor/tests/changetracking/acceptDel-list05-input.html
new file mode 100644
index 0000000..84e6011
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list05-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del><b><i>t[]wo</i></b></del></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del><b><i>TWO</i></b></del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list06-expected.html b/Editor/tests/changetracking/acceptDel-list06-expected.html
new file mode 100644
index 0000000..9facef5
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list06-expected.html
@@ -0,0 +1,19 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[three]</li>
+      <li>five</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+      <li><del>FOUR</del></li>
+      <li>FIVE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list06-input.html b/Editor/tests/changetracking/acceptDel-list06-input.html
new file mode 100644
index 0000000..2ead4cf
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list06-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><del>t[wo</del></li>
+    <li>three</li>
+    <li><del>fo]ur</del></li>
+    <li>five</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+    <li><del>FOUR</del></li>
+    <li>FIVE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list07-expected.html b/Editor/tests/changetracking/acceptDel-list07-expected.html
new file mode 100644
index 0000000..2f4a21f
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list07-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[]ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list07-input.html b/Editor/tests/changetracking/acceptDel-list07-input.html
new file mode 100644
index 0000000..2c8f282
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list07-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li><del>[one</del></li>
+    <li><del>two</del></li>
+    <li><del>three]</del></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list08-expected.html b/Editor/tests/changetracking/acceptDel-list08-expected.html
new file mode 100644
index 0000000..2f4a21f
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list08-expected.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[]ONE</li>
+      <li><del>TWO</del></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list08-input.html b/Editor/tests/changetracking/acceptDel-list08-input.html
new file mode 100644
index 0000000..12050e3
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list08-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><del>one</del></li>
+    <li><del>two</del></li>
+    <li><del>three</del></li>
+  </ul>]
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list09-expected.html b/Editor/tests/changetracking/acceptDel-list09-expected.html
new file mode 100644
index 0000000..2974258
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list09-expected.html
@@ -0,0 +1,11 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[ONE</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel-list09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel-list09-input.html b/Editor/tests/changetracking/acceptDel-list09-input.html
new file mode 100644
index 0000000..0feec5d
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel-list09-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><del>one</del></li>
+    <li><del>two</del></li>
+    <li><del>three</del></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><del>TWO</del></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel01-expected.html b/Editor/tests/changetracking/acceptDel01-expected.html
new file mode 100644
index 0000000..c0e2f65
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one three]</p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel01-input.html b/Editor/tests/changetracking/acceptDel01-input.html
new file mode 100644
index 0000000..669fc77
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[one<del> two</del> three]</p>
+  <p>ONE<del> TWO</del> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel02-expected.html b/Editor/tests/changetracking/acceptDel02-expected.html
new file mode 100644
index 0000000..bc20661
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel02-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      <del>two</del>
+      three
+    </p>
+    <p>[ONE THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel02-input.html b/Editor/tests/changetracking/acceptDel02-input.html
new file mode 100644
index 0000000..312bdb1
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del> two</del> three</p>
+  <p>[ONE<del> TWO</del> THREE]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel03-expected.html b/Editor/tests/changetracking/acceptDel03-expected.html
new file mode 100644
index 0000000..3987d58
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel03-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one[]
+      three
+    </p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel03-input.html b/Editor/tests/changetracking/acceptDel03-input.html
new file mode 100644
index 0000000..7c5a884
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del>[] two</del> three</p>
+  <p>ONE<del> TWO</del> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel04-expected.html b/Editor/tests/changetracking/acceptDel04-expected.html
new file mode 100644
index 0000000..d9c75c3
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one three</p>
+    <p>ONE THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel04-input.html b/Editor/tests/changetracking/acceptDel04-input.html
new file mode 100644
index 0000000..a64a9a1
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<p>one<del> two</del> three</p>
+  <p>ONE<del> TWO</del> THREE</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel05-expected.html b/Editor/tests/changetracking/acceptDel05-expected.html
new file mode 100644
index 0000000..3987d58
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel05-expected.html
@@ -0,0 +1,16 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one[]
+      three
+    </p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel05-input.html b/Editor/tests/changetracking/acceptDel05-input.html
new file mode 100644
index 0000000..a1ce884
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del><b><i> t[]wo</i></b></del> three</p>
+  <p>ONE<del> TWO</del> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel06-expected.html b/Editor/tests/changetracking/acceptDel06-expected.html
new file mode 100644
index 0000000..7302dfa
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel06-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>one[ three] five</p>
+    <p>
+      ONE
+      <del>TWO</del>
+      THREE
+      <del>FOUR</del>
+      FIVE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptDel06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptDel06-input.html b/Editor/tests/changetracking/acceptDel06-input.html
new file mode 100644
index 0000000..ddb86bb
--- /dev/null
+++ b/Editor/tests/changetracking/acceptDel06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<del> t[wo</del> three<del> fo]ur</del> five</p>
+  <p>ONE<del> TWO</del> THREE<del> FOUR</del> FIVE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list01-expected.html b/Editor/tests/changetracking/acceptIns-list01-expected.html
new file mode 100644
index 0000000..62c7869
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list01-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list01-input.html b/Editor/tests/changetracking/acceptIns-list01-input.html
new file mode 100644
index 0000000..fcd98b5
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list01-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>[one</li>
+    <li><ins>two</ins></li>
+    <li>three]</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list02-expected.html b/Editor/tests/changetracking/acceptIns-list02-expected.html
new file mode 100644
index 0000000..f8cbc0c
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list02-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><ins>two</ins></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>[ONE</li>
+      <li>TWO</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list02-input.html b/Editor/tests/changetracking/acceptIns-list02-input.html
new file mode 100644
index 0000000..b6dde82
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list02-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins>two</ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>[ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE]</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list03-expected.html b/Editor/tests/changetracking/acceptIns-list03-expected.html
new file mode 100644
index 0000000..0943da2
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>[]two</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list03-input.html b/Editor/tests/changetracking/acceptIns-list03-input.html
new file mode 100644
index 0000000..d4b6a64
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list03-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins>[]two</ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list04-expected.html b/Editor/tests/changetracking/acceptIns-list04-expected.html
new file mode 100644
index 0000000..9be4a2b
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list04-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>TWO</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list04-input.html b/Editor/tests/changetracking/acceptIns-list04-input.html
new file mode 100644
index 0000000..5b1a4e5
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list04-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li>one</li>
+    <li><ins>two</ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list05-expected.html b/Editor/tests/changetracking/acceptIns-list05-expected.html
new file mode 100644
index 0000000..59051c3
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><b><i>t[]wo</i></b></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins><b><i>TWO</i></b></ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list05-input.html b/Editor/tests/changetracking/acceptIns-list05-input.html
new file mode 100644
index 0000000..69387d4
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list05-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins><b><i>t[]wo</i></b></ins></li>
+    <li>three</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins><b><i>TWO</i></b></ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list06-expected.html b/Editor/tests/changetracking/acceptIns-list06-expected.html
new file mode 100644
index 0000000..3a9ecbc
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list06-expected.html
@@ -0,0 +1,21 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li>t[wo</li>
+      <li>three</li>
+      <li>fo]ur</li>
+      <li>five</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+      <li><ins>FOUR</ins></li>
+      <li>FIVE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list06-input.html b/Editor/tests/changetracking/acceptIns-list06-input.html
new file mode 100644
index 0000000..9fa0242
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list06-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li>one</li>
+    <li><ins>t[wo</ins></li>
+    <li>three</li>
+    <li><ins>fo]ur</ins></li>
+    <li>five</li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+    <li><ins>FOUR</ins></li>
+    <li>FIVE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list07-expected.html b/Editor/tests/changetracking/acceptIns-list07-expected.html
new file mode 100644
index 0000000..62c7869
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list07-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list07-input.html b/Editor/tests/changetracking/acceptIns-list07-input.html
new file mode 100644
index 0000000..a8b5687
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list07-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <ul>
+    <li><ins>[one</ins></li>
+    <li><ins>two</ins></li>
+    <li><ins>three]</ins></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list08-expected.html b/Editor/tests/changetracking/acceptIns-list08-expected.html
new file mode 100644
index 0000000..62c7869
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list08-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three]</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li><ins>TWO</ins></li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list08-input.html b/Editor/tests/changetracking/acceptIns-list08-input.html
new file mode 100644
index 0000000..321f242
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list08-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><ins>one</ins></li>
+    <li><ins>two</ins></li>
+    <li><ins>three</ins></li>
+  </ul>]
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list09-expected.html b/Editor/tests/changetracking/acceptIns-list09-expected.html
new file mode 100644
index 0000000..9be4a2b
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list09-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>[one</li>
+      <li>two</li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>TWO</li>
+      <li>THREE]</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns-list09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns-list09-input.html b/Editor/tests/changetracking/acceptIns-list09-input.html
new file mode 100644
index 0000000..0cb60e3
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns-list09-input.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<ul>
+    <li><ins>one</ins></li>
+    <li><ins>two</ins></li>
+    <li><ins>three</ins></li>
+  </ul>
+  <ul>
+    <li>ONE</li>
+    <li><ins>TWO</ins></li>
+    <li>THREE</li>
+  </ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns01-expected.html b/Editor/tests/changetracking/acceptIns01-expected.html
new file mode 100644
index 0000000..900827e
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns01-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one two three]</p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns01-input.html b/Editor/tests/changetracking/acceptIns01-input.html
new file mode 100644
index 0000000..f6055be
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns01-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>[one<ins> two</ins> three]</p>
+  <p>ONE<ins> TWO</ins> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns02-expected.html b/Editor/tests/changetracking/acceptIns02-expected.html
new file mode 100644
index 0000000..ef642fd
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns02-expected.html
@@ -0,0 +1,13 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      <ins>two</ins>
+      three
+    </p>
+    <p>[ONE TWO THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns02-input.html b/Editor/tests/changetracking/acceptIns02-input.html
new file mode 100644
index 0000000..352ef9d
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns02-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins> two</ins> three</p>
+  <p>[ONE<ins> TWO</ins> THREE]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns03-expected.html b/Editor/tests/changetracking/acceptIns03-expected.html
new file mode 100644
index 0000000..877060d
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns03-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      [] two
+      three
+    </p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns03-input.html b/Editor/tests/changetracking/acceptIns03-input.html
new file mode 100644
index 0000000..96f5b13
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns03-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins>[] two</ins> three</p>
+  <p>ONE<ins> TWO</ins> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns04-expected.html b/Editor/tests/changetracking/acceptIns04-expected.html
new file mode 100644
index 0000000..799be47
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns04-expected.html
@@ -0,0 +1,9 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>[one two three</p>
+    <p>ONE TWO THREE]</p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns04-input.html b/Editor/tests/changetracking/acceptIns04-input.html
new file mode 100644
index 0000000..c9f0740
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns04-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  [<p>one<ins> two</ins> three</p>
+  <p>ONE<ins> TWO</ins> THREE</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns05-expected.html b/Editor/tests/changetracking/acceptIns05-expected.html
new file mode 100644
index 0000000..4e41681
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns05-expected.html
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>
+      one
+      <b><i>t[]wo</i></b>
+      three
+    </p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns05-input.html b/Editor/tests/changetracking/acceptIns05-input.html
new file mode 100644
index 0000000..a94a43f
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins><b><i> t[]wo</i></b></ins> three</p>
+  <p>ONE<ins> TWO</ins> THREE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns06-expected.html b/Editor/tests/changetracking/acceptIns06-expected.html
new file mode 100644
index 0000000..ab93000
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns06-expected.html
@@ -0,0 +1,15 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <p>one t[wo three fo]ur five</p>
+    <p>
+      ONE
+      <ins>TWO</ins>
+      THREE
+      <ins>FOUR</ins>
+      FIVE
+    </p>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/acceptIns06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/acceptIns06-input.html b/Editor/tests/changetracking/acceptIns06-input.html
new file mode 100644
index 0000000..214d87a
--- /dev/null
+++ b/Editor/tests/changetracking/acceptIns06-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="changetracking.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    ChangeTracking_acceptSelectedChanges();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <p>one<ins> t[wo</ins> three<ins> fo]ur</ins> five</p>
+  <p>ONE<ins> TWO</ins> THREE<ins> FOUR</ins> FIVE</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/changetracking.css
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/changetracking.css b/Editor/tests/changetracking/changetracking.css
new file mode 100644
index 0000000..8e8b340
--- /dev/null
+++ b/Editor/tests/changetracking/changetracking.css
@@ -0,0 +1,8 @@
+ins {
+    color: blue;
+}
+
+del {
+    color: red;
+    text-decoration: line-through;
+}

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/changetracking/temp
----------------------------------------------------------------------
diff --git a/Editor/tests/changetracking/temp b/Editor/tests/changetracking/temp
new file mode 100644
index 0000000..82e32d5
--- /dev/null
+++ b/Editor/tests/changetracking/temp
@@ -0,0 +1,17 @@
+<html>
+  <head>
+    <link href="changetracking.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <ul>
+      <li>one</li>
+      <li><ins>two</ins></li>
+      <li>three</li>
+    </ul>
+    <ul>
+      <li>ONE</li>
+      <li>TWO</li>
+      <li>THREE</li>
+    </ul>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote01-expected.html b/Editor/tests/clipboard/copy-blockquote01-expected.html
new file mode 100644
index 0000000..1e18d87
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote01-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+First paragraph
+
+text/plain
+----------
+
+First paragraph

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote01-input.html b/Editor/tests/clipboard/copy-blockquote01-input.html
new file mode 100644
index 0000000..065262b
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote01-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<blockquote>[First paragraph]</blockquote>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote02-expected.html b/Editor/tests/clipboard/copy-blockquote02-expected.html
new file mode 100644
index 0000000..c3b8bf4
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote02-expected.html
@@ -0,0 +1,17 @@
+text/html
+---------
+
+<blockquote>
+  <p>First paragraph</p>
+  <p>Second paragraph</p>
+  <p>Third paragraph</p>
+</blockquote>
+
+text/plain
+----------
+
+> First paragraph
+
+> Second paragraph
+
+> Third paragraph

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote02-input.html b/Editor/tests/clipboard/copy-blockquote02-input.html
new file mode 100644
index 0000000..aadea75
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+  <p>First paragraph</p>
+  <p>Second paragraph</p>
+  <p>Third paragraph</p>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote03-expected.html b/Editor/tests/clipboard/copy-blockquote03-expected.html
new file mode 100644
index 0000000..eb367ef
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote03-expected.html
@@ -0,0 +1,26 @@
+text/html
+---------
+
+<blockquote>
+  First paragraph
+  <p>Second paragraph</p>
+  Third paragraph
+  <p>Fourth paragraph</p>
+  <p>Fifth paragraph</p>
+  Sixth paragraph
+</blockquote>
+
+text/plain
+----------
+
+> First paragraph
+
+> Second paragraph
+
+> Third paragraph
+
+> Fourth paragraph
+
+> Fifth paragraph
+
+> Sixth paragraph

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote03-input.html b/Editor/tests/clipboard/copy-blockquote03-input.html
new file mode 100644
index 0000000..3b28830
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+  First paragraph
+  <p>Second paragraph</p>
+  Third paragraph
+  <p>Fourth paragraph</p>
+  <p>Fifth paragraph</p>
+  Sixth paragraph
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote04-expected.html b/Editor/tests/clipboard/copy-blockquote04-expected.html
new file mode 100644
index 0000000..2388aa6
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote04-expected.html
@@ -0,0 +1,35 @@
+text/html
+---------
+
+<blockquote>
+  Indent level 1 (start)
+  <blockquote>
+  Indent level 2 (start)
+  <blockquote>
+  Indent level 3 (start)
+  <blockquote>
+  Indent level 4
+  </blockquote>
+  Indent level 3 (end)
+  </blockquote>
+  Indent level 2 (end)
+  </blockquote>
+  Indent level 1 (end)
+</blockquote>
+
+text/plain
+----------
+
+> Indent level 1 (start)
+
+> > Indent level 2 (start)
+
+> > > Indent level 3 (start)
+
+> > > > Indent level 4
+
+> > > Indent level 3 (end)
+
+> > Indent level 2 (end)
+
+> Indent level 1 (end)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote04-input.html b/Editor/tests/clipboard/copy-blockquote04-input.html
new file mode 100644
index 0000000..2579492
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote04-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+  Indent level 1 (start)
+  <blockquote>
+  Indent level 2 (start)
+  <blockquote>
+  Indent level 3 (start)
+  <blockquote>
+  Indent level 4
+  </blockquote>
+  Indent level 3 (end)
+  </blockquote>
+  Indent level 2 (end)
+  </blockquote>
+  Indent level 1 (end)
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote05-expected.html b/Editor/tests/clipboard/copy-blockquote05-expected.html
new file mode 100644
index 0000000..af9d6ff
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote05-expected.html
@@ -0,0 +1,17 @@
+text/html
+---------
+
+<blockquote>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+</blockquote>
+
+text/plain
+----------
+
+>   - One
+>   - Two
+>   - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote05-input.html b/Editor/tests/clipboard/copy-blockquote05-input.html
new file mode 100644
index 0000000..31b7690
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote05-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ul>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote06-expected.html b/Editor/tests/clipboard/copy-blockquote06-expected.html
new file mode 100644
index 0000000..ebad115
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote06-expected.html
@@ -0,0 +1,19 @@
+text/html
+---------
+
+<blockquote>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+</blockquote>
+
+text/plain
+----------
+
+>   - One
+
+>   - Two
+
+>   - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote06-input.html b/Editor/tests/clipboard/copy-blockquote06-input.html
new file mode 100644
index 0000000..d9ecd85
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote06-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ul>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ul>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote07-expected.html b/Editor/tests/clipboard/copy-blockquote07-expected.html
new file mode 100644
index 0000000..9c1a995
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote07-expected.html
@@ -0,0 +1,17 @@
+text/html
+---------
+
+<blockquote>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</blockquote>
+
+text/plain
+----------
+
+> 1.  One
+> 2.  Two
+> 3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote07-input.html b/Editor/tests/clipboard/copy-blockquote07-input.html
new file mode 100644
index 0000000..732b088
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote07-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+</ol>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote08-expected.html b/Editor/tests/clipboard/copy-blockquote08-expected.html
new file mode 100644
index 0000000..06ef23c
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote08-expected.html
@@ -0,0 +1,19 @@
+text/html
+---------
+
+<blockquote>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</blockquote>
+
+text/plain
+----------
+
+> 1.  One
+
+> 2.  Two
+
+> 3.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote08-input.html b/Editor/tests/clipboard/copy-blockquote08-input.html
new file mode 100644
index 0000000..7a48981
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote08-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+</ol>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote09-expected.html b/Editor/tests/clipboard/copy-blockquote09-expected.html
new file mode 100644
index 0000000..9fd1fe2
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote09-expected.html
@@ -0,0 +1,41 @@
+text/html
+---------
+
+<ol>
+  <li>
+    <blockquote>First block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Second block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Third block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+</ol>
+
+text/plain
+----------
+
+1.  > First block quote
+
+    > inside
+
+    > list
+
+2.  > Second block quote
+
+    > inside
+
+    > list
+
+3.  > Third block quote
+
+    > inside
+
+    > list

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-blockquote09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-blockquote09-input.html b/Editor/tests/clipboard/copy-blockquote09-input.html
new file mode 100644
index 0000000..57b56a7
--- /dev/null
+++ b/Editor/tests/clipboard/copy-blockquote09-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>
+    <blockquote>First block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Second block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+  <li>
+    <blockquote>Third block quote</blockquote>
+    <blockquote>inside</blockquote>
+    <blockquote>list</blockquote>
+  </li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping01-expected.html b/Editor/tests/clipboard/copy-escaping01-expected.html
new file mode 100644
index 0000000..a4ae6fc
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping01-expected.html
@@ -0,0 +1,15 @@
+text/html
+---------
+
+<p>*Sample* text</p>
+<p>**Sample** text</p>
+<p>***Sample*** text</p>
+
+text/plain
+----------
+
+\*Sample\* text
+
+\*\*Sample\*\* text
+
+\*\*\*Sample\*\*\* text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping01-input.html b/Editor/tests/clipboard/copy-escaping01-input.html
new file mode 100644
index 0000000..339d39d
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping01-input.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p>*Sample* text</p>
+<p>**Sample** text</p>
+<p>***Sample*** text</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping02-expected.html b/Editor/tests/clipboard/copy-escaping02-expected.html
new file mode 100644
index 0000000..2d0e0fc
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping02-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+[Daring Fireball](http://daringfireball.net) [Apple](http://www.apple.com)
+
+text/plain
+----------
+
+\[Daring Fireball\](http://daringfireball.net) \[Apple\](http://www.apple.com)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping02-input.html b/Editor/tests/clipboard/copy-escaping02-input.html
new file mode 100644
index 0000000..c5182c4
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping02-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    // Use DOM APIs here because we can't include literal [ and ] in page
+    removeWhitespaceAndCommentNodes(document.body);
+    var text = DOM_createTextNode(document,
+                                  "[Daring Fireball](http://daringfireball.net) "+
+                                  "[Apple](http://www.apple.com)");
+    DOM_appendChild(document.body,text);
+    Selection_set(document.body,0,document.body,document.body.childNodes.length);
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping03-expected.html b/Editor/tests/clipboard/copy-escaping03-expected.html
new file mode 100644
index 0000000..984bc6f
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping03-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+To include a literal backslash (\) in markdown, you must write \\.
+
+text/plain
+----------
+
+To include a literal backslash (\\) in markdown, you must write \\\\.

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping03-input.html b/Editor/tests/clipboard/copy-escaping03-input.html
new file mode 100644
index 0000000..b5df756
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping03-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[To include a literal backslash (\) in markdown, you must write \\.]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping04-expected.html b/Editor/tests/clipboard/copy-escaping04-expected.html
new file mode 100644
index 0000000..a11807a
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping04-expected.html
@@ -0,0 +1,16 @@
+text/html
+---------
+
+Here is some example of markdown syntax, which should appear literally since it is inside pre tag:
+<pre>1. One *italic* **bold** ***italic and bold***
+2. Two \* blackash \\
+3. Three [Daring Fireball](http://daringfireball.net)</pre>
+
+text/plain
+----------
+
+Here is some example of markdown syntax, which should appear literally since it is inside pre tag:
+
+    1. One *italic* **bold** ***italic and bold***
+    2. Two \* blackash \\
+    3. Three [Daring Fireball](http://daringfireball.net)

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-escaping04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-escaping04-input.html b/Editor/tests/clipboard/copy-escaping04-input.html
new file mode 100644
index 0000000..797b210
--- /dev/null
+++ b/Editor/tests/clipboard/copy-escaping04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    var pre = document.getElementsByTagName("PRE")[0];
+    var text = pre;
+    while (text.lastChild != null) // will be wrapped in a selection span
+        text = text.lastChild;
+    var str = " [Daring Fireball](http://daringfireball.net)";
+    DOM_insertCharacters(text,text.nodeValue.length,str);
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[Here is some example of markdown syntax, which should appear literally since it is inside pre tag:
+<pre>
+1. One *italic* **bold** ***italic and bold***
+2. Two \* blackash \\
+3. Three</pre>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting01a-expected.html b/Editor/tests/clipboard/copy-formatting01a-expected.html
new file mode 100644
index 0000000..43ede38
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting01a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b>Sample text</b>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting01a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting01a-input.html b/Editor/tests/clipboard/copy-formatting01a-input.html
new file mode 100644
index 0000000..9305958
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting01a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<b>Sample text</b>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting01b-expected.html b/Editor/tests/clipboard/copy-formatting01b-expected.html
new file mode 100644
index 0000000..43ede38
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting01b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b>Sample text</b>
+
+text/plain
+----------
+
+**Sample text**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting01b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting01b-input.html b/Editor/tests/clipboard/copy-formatting01b-input.html
new file mode 100644
index 0000000..605bf25
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting01b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b>[Sample text]</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting01c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting01c-expected.html b/Editor/tests/clipboard/copy-formatting01c-expected.html
new file mode 100644
index 0000000..b4f29e0
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting01c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b>mple</b>
+
+text/plain
+----------
+
+**mple**

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting01c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting01c-input.html b/Editor/tests/clipboard/copy-formatting01c-input.html
new file mode 100644
index 0000000..75788fb
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting01c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b>Sa[mple] text</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting02a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting02a-expected.html b/Editor/tests/clipboard/copy-formatting02a-expected.html
new file mode 100644
index 0000000..b6cafec
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting02a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt">Sample text</span>
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting02a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting02a-input.html b/Editor/tests/clipboard/copy-formatting02a-input.html
new file mode 100644
index 0000000..5c77ec5
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting02a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<span style="color: red; font-size: 18pt">Sample text</span>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting02b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting02b-expected.html b/Editor/tests/clipboard/copy-formatting02b-expected.html
new file mode 100644
index 0000000..b6cafec
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting02b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt">Sample text</span>
+
+text/plain
+----------
+
+Sample text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting02b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting02b-input.html b/Editor/tests/clipboard/copy-formatting02b-input.html
new file mode 100644
index 0000000..5225b3b
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting02b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<span style="color: red; font-size: 18pt">[Sample text]</span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting02c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting02c-expected.html b/Editor/tests/clipboard/copy-formatting02c-expected.html
new file mode 100644
index 0000000..efba343
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting02c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<span style="color: red; font-size: 18pt">mple</span>
+
+text/plain
+----------
+
+mple

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting02c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting02c-input.html b/Editor/tests/clipboard/copy-formatting02c-input.html
new file mode 100644
index 0000000..36c9087
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting02c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<span style="color: red; font-size: 18pt">Sa[mple] text</span>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03a-expected.html b/Editor/tests/clipboard/copy-formatting03a-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03a-input.html b/Editor/tests/clipboard/copy-formatting03a-input.html
new file mode 100644
index 0000000..c830361
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03b-expected.html b/Editor/tests/clipboard/copy-formatting03b-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03b-input.html b/Editor/tests/clipboard/copy-formatting03b-input.html
new file mode 100644
index 0000000..84c5270
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b>[<span style="color: red; font-size: 18pt"><i>Sample text</i></span>]</b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03c-expected.html b/Editor/tests/clipboard/copy-formatting03c-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03c-input.html b/Editor/tests/clipboard/copy-formatting03c-input.html
new file mode 100644
index 0000000..1b4cb19
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b><span style="color: red; font-size: 18pt">[<i>Sample text</i>]</span></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03d-expected.html b/Editor/tests/clipboard/copy-formatting03d-expected.html
new file mode 100644
index 0000000..27de37e
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03d-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>Sample text</i></span></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03d-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03d-input.html b/Editor/tests/clipboard/copy-formatting03d-input.html
new file mode 100644
index 0000000..4630537
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03d-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b><span style="color: red; font-size: 18pt"><i>[Sample text]</i></span></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03e-expected.html b/Editor/tests/clipboard/copy-formatting03e-expected.html
new file mode 100644
index 0000000..b3694fc
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03e-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><span style="color: red; font-size: 18pt"><i>mple</i></span></b>
+
+text/plain
+----------
+
+***mple***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting03e-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting03e-input.html b/Editor/tests/clipboard/copy-formatting03e-input.html
new file mode 100644
index 0000000..e4749df
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting03e-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<b><span style="color: red; font-size: 18pt"><i>Sa[mple] text</i></span></b>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04a-expected.html b/Editor/tests/clipboard/copy-formatting04a-expected.html
new file mode 100644
index 0000000..4376f4d
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p><b><i>Sample text</i></b></p>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting04a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04a-input.html b/Editor/tests/clipboard/copy-formatting04a-input.html
new file mode 100644
index 0000000..abea96f
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04a-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p><b><i>Sample text</i></b></p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting04b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04b-expected.html b/Editor/tests/clipboard/copy-formatting04b-expected.html
new file mode 100644
index 0000000..4d586de
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04b-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Sample text</i></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting04b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04b-input.html b/Editor/tests/clipboard/copy-formatting04b-input.html
new file mode 100644
index 0000000..4ed1ded
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p>[<b><i>Sample text</i></b>]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting04c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04c-expected.html b/Editor/tests/clipboard/copy-formatting04c-expected.html
new file mode 100644
index 0000000..4d586de
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04c-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>Sample text</i></b>
+
+text/plain
+----------
+
+***Sample text***

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting04c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04c-input.html b/Editor/tests/clipboard/copy-formatting04c-input.html
new file mode 100644
index 0000000..bb83896
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p><b>[<i>Sample text</i>]</b></p>
+</body>
+</html>


Mime
View raw message