corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [38/92] [abbrv] [partial] incubator-corinthia git commit: Add editing code from UX Write
Date Wed, 17 Dec 2014 13:28:48 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting04d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04d-expected.html b/Editor/tests/clipboard/copy-formatting04d-expected.html
new file mode 100644
index 0000000..4d586de
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04d-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-formatting04d-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04d-input.html b/Editor/tests/clipboard/copy-formatting04d-input.html
new file mode 100644
index 0000000..a00d4b8
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04d-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-formatting04e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting04e-expected.html b/Editor/tests/clipboard/copy-formatting04e-expected.html
new file mode 100644
index 0000000..13ec004
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting04e-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<b><i>mple</i></b>
+
+text/plain
+----------
+
+***mple***

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting05b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting05b-expected.html b/Editor/tests/clipboard/copy-formatting05b-expected.html
new file mode 100644
index 0000000..2753409
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting05b-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-formatting05b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting05b-input.html b/Editor/tests/clipboard/copy-formatting05b-input.html
new file mode 100644
index 0000000..0588794
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting05b-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="margin: 10%; text-align: center; color: red; font-size: 18pt">[Sample text]</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting05c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting05c-expected.html b/Editor/tests/clipboard/copy-formatting05c-expected.html
new file mode 100644
index 0000000..4fad66c
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting05c-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-formatting05c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting05c-input.html b/Editor/tests/clipboard/copy-formatting05c-input.html
new file mode 100644
index 0000000..9bf77a8
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting05c-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="margin: 10%; text-align: center; color: red; font-size: 18pt">Sa[mple] text</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting06a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting06a-expected.html b/Editor/tests/clipboard/copy-formatting06a-expected.html
new file mode 100644
index 0000000..f5b44a0
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting06a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p style="text-align: center; color: red"><b>Sample text</b></p>
+
+text/plain
+----------
+
+**Sample text**

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

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

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

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

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting07a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting07a-expected.html b/Editor/tests/clipboard/copy-formatting07a-expected.html
new file mode 100644
index 0000000..c3a63f4
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting07a-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<p style="text-align: center; color: red"><b>Sample</b> <b>text</b></p>
+
+text/plain
+----------
+
+**Sample** **text**

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting09a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting09a-expected.html b/Editor/tests/clipboard/copy-formatting09a-expected.html
new file mode 100644
index 0000000..766b6ba
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting09a-expected.html
@@ -0,0 +1,12 @@
+text/html
+---------
+
+<p style="text-align: center; color: red">Sample text</p>
+<p style="text-align: center; color: red">Other</p>
+
+text/plain
+----------
+
+Sample text
+
+Other

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting09a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting09a-input.html b/Editor/tests/clipboard/copy-formatting09a-input.html
new file mode 100644
index 0000000..eeb5be9
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting09a-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<p style="text-align: center; color: red">Sample text</p>
+<p style="text-align: center; color: red">Other] content</p>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting09b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting09b-expected.html b/Editor/tests/clipboard/copy-formatting09b-expected.html
new file mode 100644
index 0000000..00e9c7e
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting09b-expected.html
@@ -0,0 +1,12 @@
+text/html
+---------
+
+<p style="text-align: center; color: red">text</p>
+<p style="text-align: center; color: red">Other content</p>
+
+text/plain
+----------
+
+text
+
+Other content

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting09b-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting09b-input.html b/Editor/tests/clipboard/copy-formatting09b-input.html
new file mode 100644
index 0000000..60bb1a2
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting09b-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red">Sample [text</p>
+<p style="text-align: center; color: red">Other content</p>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting09c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting09c-expected.html b/Editor/tests/clipboard/copy-formatting09c-expected.html
new file mode 100644
index 0000000..f13e14a
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting09c-expected.html
@@ -0,0 +1,12 @@
+text/html
+---------
+
+<p style="text-align: center; color: red">text</p>
+<p style="text-align: center; color: red">Other</p>
+
+text/plain
+----------
+
+text
+
+Other

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-formatting09c-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-formatting09c-input.html b/Editor/tests/clipboard/copy-formatting09c-input.html
new file mode 100644
index 0000000..09ba9f8
--- /dev/null
+++ b/Editor/tests/clipboard/copy-formatting09c-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<p style="text-align: center; color: red">Sample [text</p>
+<p style="text-align: center; color: red">Other] content</p>
+</body>
+</html>

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-li01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li01-input.html b/Editor/tests/clipboard/copy-li01-input.html
new file mode 100644
index 0000000..97718c1
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<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-li02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li02-expected.html b/Editor/tests/clipboard/copy-li02-expected.html
new file mode 100644
index 0000000..6606587
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li02-expected.html
@@ -0,0 +1,11 @@
+text/html
+---------
+
+<ul><li>Two</li>
+  <li>Three</li></ul>
+
+text/plain
+----------
+
+  - Two
+  - Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-li02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li02-input.html b/Editor/tests/clipboard/copy-li02-input.html
new file mode 100644
index 0000000..e2e907a
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<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-li03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li03-expected.html b/Editor/tests/clipboard/copy-li03-expected.html
new file mode 100644
index 0000000..d8c34c6
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li03-expected.html
@@ -0,0 +1,11 @@
+text/html
+---------
+
+<ol><li>Two</li>
+  <li>Three</li></ol>
+
+text/plain
+----------
+
+1.  Two
+2.  Three

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-li03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li03-input.html b/Editor/tests/clipboard/copy-li03-input.html
new file mode 100644
index 0000000..bcf2efe
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</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/clipboard/copy-li04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li04-expected.html b/Editor/tests/clipboard/copy-li04-expected.html
new file mode 100644
index 0000000..698ca94
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li04-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<ul><li>Two</li></ul>
+
+text/plain
+----------
+
+  - Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-li04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li04-input.html b/Editor/tests/clipboard/copy-li04-input.html
new file mode 100644
index 0000000..903545b
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+<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-li05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li05-expected.html b/Editor/tests/clipboard/copy-li05-expected.html
new file mode 100644
index 0000000..761b9f1
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li05-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<ol><li>Two</li></ol>
+
+text/plain
+----------
+
+1.  Two

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-li05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-li05-input.html b/Editor/tests/clipboard/copy-li05-input.html
new file mode 100644
index 0000000..99c85c8
--- /dev/null
+++ b/Editor/tests/clipboard/copy-li05-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</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/clipboard/copy-link01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-link01-expected.html b/Editor/tests/clipboard/copy-link01-expected.html
new file mode 100644
index 0000000..29b0c97
--- /dev/null
+++ b/Editor/tests/clipboard/copy-link01-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<a href="http://daringfireball.net">Daring Fireball</a>
+
+text/plain
+----------
+
+[Daring Fireball](http://daringfireball.net)

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-link02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-link02-expected.html b/Editor/tests/clipboard/copy-link02-expected.html
new file mode 100644
index 0000000..415d8f5
--- /dev/null
+++ b/Editor/tests/clipboard/copy-link02-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+Before link <a href="http://daringfireball.net">Daring Fireball</a> after link
+
+text/plain
+----------
+
+Before link [Daring Fireball](http://daringfireball.net) after link

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-link02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-link02-input.html b/Editor/tests/clipboard/copy-link02-input.html
new file mode 100644
index 0000000..d4494bb
--- /dev/null
+++ b/Editor/tests/clipboard/copy-link02-input.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[Before link <a href="http://daringfireball.net">Daring Fireball</a> after link]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-link03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-link03-expected.html b/Editor/tests/clipboard/copy-link03-expected.html
new file mode 100644
index 0000000..5964b94
--- /dev/null
+++ b/Editor/tests/clipboard/copy-link03-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<a href="http://daringfireball.net"><i>Daring Fireball</i></a>
+
+text/plain
+----------
+
+[*Daring Fireball*](http://daringfireball.net)

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-link04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-link04-expected.html b/Editor/tests/clipboard/copy-link04-expected.html
new file mode 100644
index 0000000..799e638
--- /dev/null
+++ b/Editor/tests/clipboard/copy-link04-expected.html
@@ -0,0 +1,9 @@
+text/html
+---------
+
+<i><a href="http://daringfireball.net">Daring Fireball</a></i>
+
+text/plain
+----------
+
+*[Daring Fireball](http://daringfireball.net)*

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

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list01-input.html b/Editor/tests/clipboard/copy-list01-input.html
new file mode 100644
index 0000000..f1fee73
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<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-list02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list02-expected.html b/Editor/tests/clipboard/copy-list02-expected.html
new file mode 100644
index 0000000..804f92b
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list02-expected.html
@@ -0,0 +1,33 @@
+text/html
+---------
+
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+2.  Two
+3.  Three
+4.  Four
+5.  Five
+6.  Six
+7.  Seven
+8.  Eight
+9.  Nine
+10. Ten
+11. Eleven
+12. Twelve

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list02-input.html b/Editor/tests/clipboard/copy-list02-input.html
new file mode 100644
index 0000000..2033174
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list02-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+  <li>Ten</li>
+  <li>Eleven</li>
+  <li>Twelve</li>
+</ol>]
+</body>
+</html>

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

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list05-expected.html b/Editor/tests/clipboard/copy-list05-expected.html
new file mode 100644
index 0000000..2d89390
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list05-expected.html
@@ -0,0 +1,31 @@
+text/html
+---------
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three
+
+  - Four
+
+  - Five
+
+  - Six
+
+  - Seven
+  - Eight
+  - Nine

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list06-expected.html b/Editor/tests/clipboard/copy-list06-expected.html
new file mode 100644
index 0000000..f6adf10
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list06-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+2.  Two
+3.  Three
+
+4.  Four
+
+5.  Five
+
+6.  Six

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list07-expected.html b/Editor/tests/clipboard/copy-list07-expected.html
new file mode 100644
index 0000000..4c3a7d5
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list07-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<ol>
+  <li><p>One</p></li>
+  <li><p>Two</p></li>
+  <li><p>Three</p></li>
+  <li>Four</li>
+  <li>Five</li>
+  <li>Six</li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+
+2.  Two
+
+3.  Three
+
+4.  Four
+5.  Five
+6.  Six

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list08-expected.html b/Editor/tests/clipboard/copy-list08-expected.html
new file mode 100644
index 0000000..425aba8
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list08-expected.html
@@ -0,0 +1,31 @@
+text/html
+---------
+
+<ol>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three</li>
+  <li><p>Four</p></li>
+  <li><p>Five</p></li>
+  <li><p>Six</p></li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ol>
+
+text/plain
+----------
+
+1.  One
+2.  Two
+3.  Three
+
+4.  Four
+
+5.  Five
+
+6.  Six
+
+7.  Seven
+8.  Eight
+9.  Nine

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list09-expected.html b/Editor/tests/clipboard/copy-list09-expected.html
new file mode 100644
index 0000000..62db88d
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list09-expected.html
@@ -0,0 +1,32 @@
+text/html
+---------
+
+<ul>
+  <li>One</li>
+  <li>Two</li>
+  <li>Three
+    <ul>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ul>
+  </li>
+  <li>Seven</li>
+  <li>Eight</li>
+  <li>Nine</li>
+</ul>
+
+text/plain
+----------
+
+  - One
+  - Two
+  - Three
+
+      - Four
+      - Five
+      - Six
+
+  - Seven
+  - Eight
+  - Nine

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list10-expected.html b/Editor/tests/clipboard/copy-list10-expected.html
new file mode 100644
index 0000000..7d9aeaf
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list10-expected.html
@@ -0,0 +1,66 @@
+text/html
+---------
+
+<ul>
+  <li>
+    One (first)
+    <p>One (second)</p>
+    One (third)
+    <p>One (fourth)</p>
+    <p>One (fifth)</p>
+    One (sixth)
+  </li>
+  <li>
+    Two (first)
+    <p>Two (second)</p>
+    Two (third)
+    <p>Two (fourth)</p>
+    <p>Two (fifth)</p>
+    Two (sixth)
+  </li>
+  <li>
+    Three (first)
+    <p>Three (second)</p>
+    Three (third)
+    <p>Three (fourth)</p>
+    <p>Three (fifth)</p>
+    Three (sixth)
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - One (first)
+
+    One (second)
+
+    One (third)
+
+    One (fourth)
+
+    One (fifth)
+
+    One (sixth)
+  - Two (first)
+
+    Two (second)
+
+    Two (third)
+
+    Two (fourth)
+
+    Two (fifth)
+
+    Two (sixth)
+  - Three (first)
+
+    Three (second)
+
+    Three (third)
+
+    Three (fourth)
+
+    Three (fifth)
+
+    Three (sixth)

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list11-expected.html b/Editor/tests/clipboard/copy-list11-expected.html
new file mode 100644
index 0000000..293d8a8
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list11-expected.html
@@ -0,0 +1,41 @@
+text/html
+---------
+
+<ul>
+  <li>
+    Levels one and two
+    <h1>Heading 1</h1>
+    <h2>Heading 2</h2>
+  </li>
+  <li>
+    Levels three and four
+    <h3>Heading 1</h3>
+    <h4>Heading 2</h4>
+  </li>
+  <li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - Levels one and two
+
+    # Heading 1 #
+
+    ## Heading 2 ##
+
+  - Levels three and four
+
+    ### Heading 1 ###
+
+    #### Heading 2 ####
+
+  - Levels five and six
+
+    ##### Heading 1 #####
+
+    ###### Heading 2 ######

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list11-input.html b/Editor/tests/clipboard/copy-list11-input.html
new file mode 100644
index 0000000..01dbc62
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list11-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    Levels one and two
+    <h1>Heading 1</h1>
+    <h2>Heading 2</h2>
+  </li>
+  <li>
+    Levels three and four
+    <h3>Heading 1</h3>
+    <h4>Heading 2</h4>
+  </li>
+  <li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list12-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list12-expected.html b/Editor/tests/clipboard/copy-list12-expected.html
new file mode 100644
index 0000000..4efb9b9
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list12-expected.html
@@ -0,0 +1,48 @@
+text/html
+---------
+
+<ul>
+  <li>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ol>
+  </li>
+  <li>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - 1.  One
+    2.  Two
+    3.  Three
+
+    1.  Four
+    2.  Five
+    3.  Six
+
+  - 1.  Seven
+    2.  Eight
+    3.  Nine
+
+    1.  Ten
+    2.  Eleven
+    3.  Twelve

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list12-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list12-input.html b/Editor/tests/clipboard/copy-list12-input.html
new file mode 100644
index 0000000..1ffe85e
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list12-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    <ol>
+      <li>One</li>
+      <li>Two</li>
+      <li>Three</li>
+    </ol>
+    <ol>
+      <li>Four</li>
+      <li>Five</li>
+      <li>Six</li>
+    </ol>
+  </li>
+  <li>
+    <ol>
+      <li>Seven</li>
+      <li>Eight</li>
+      <li>Nine</li>
+    </ol>
+    <ol>
+      <li>Ten</li>
+      <li>Eleven</li>
+      <li>Twelve</li>
+    </ol>
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list13-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list13-expected.html b/Editor/tests/clipboard/copy-list13-expected.html
new file mode 100644
index 0000000..65c4a52
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list13-expected.html
@@ -0,0 +1,44 @@
+text/html
+---------
+
+<ul>
+  <li>
+    <ol>
+      <li>
+        Levels one and two
+        <h1>Heading 1</h1>
+        <h2>Heading 2</h2>
+      </li>
+      <li>
+        Levels three and four
+        <h3>Heading 1</h3>
+        <h4>Heading 2</h4>
+      </li>
+    </ol>
+  </li><li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - 1.  Levels one and two
+
+        # Heading 1 #
+
+        ## Heading 2 ##
+
+    2.  Levels three and four
+
+        ### Heading 1 ###
+
+        #### Heading 2 ####
+
+  - Levels five and six
+
+    ##### Heading 1 #####
+
+    ###### Heading 2 ######

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-list13-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-list13-input.html b/Editor/tests/clipboard/copy-list13-input.html
new file mode 100644
index 0000000..c434cd3
--- /dev/null
+++ b/Editor/tests/clipboard/copy-list13-input.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    <ol>
+      <li>
+        Levels one and two
+        <h1>Heading 1</h1>
+        <h2>Heading 2</h2>
+      </li>
+      <li>
+        Levels three and four
+        <h3>Heading 1</h3>
+        <h4>Heading 2</h4>
+      </li>
+    </ol>
+  <li>
+    Levels five and six
+    <h5>Heading 1</h5>
+    <h6>Heading 2</h6>
+  </li>
+</ul>]
+</body>
+</html>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre01-expected.html b/Editor/tests/clipboard/copy-pre01-expected.html
new file mode 100644
index 0000000..b154e8c
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre01-expected.html
@@ -0,0 +1,22 @@
+text/html
+---------
+
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+
+text/plain
+----------
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre01-input.html b/Editor/tests/clipboard/copy-pre01-input.html
new file mode 100644
index 0000000..0a0a831
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre01-input.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre02-expected.html b/Editor/tests/clipboard/copy-pre02-expected.html
new file mode 100644
index 0000000..e1b819f
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre02-expected.html
@@ -0,0 +1,38 @@
+text/html
+---------
+
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+
+text/plain
+----------
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre02-input.html b/Editor/tests/clipboard/copy-pre02-input.html
new file mode 100644
index 0000000..5c843fd
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre02-input.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre03-expected.html b/Editor/tests/clipboard/copy-pre03-expected.html
new file mode 100644
index 0000000..2cf64e4
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre03-expected.html
@@ -0,0 +1,47 @@
+text/html
+---------
+
+Normal text
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text
+
+text/plain
+----------
+
+Normal text
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }
+
+Normal text
+
+    var stop = false;
+    for (var i = 0; i < 10 && !stop; i++) {
+        if (i >= 5)
+            print("Big: "+i);
+        else
+            print("Small: "+i);
+    }
+
+Normal text

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre03-input.html b/Editor/tests/clipboard/copy-pre03-input.html
new file mode 100644
index 0000000..feb4270
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre03-input.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[Normal text
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+Normal text]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre04-expected.html b/Editor/tests/clipboard/copy-pre04-expected.html
new file mode 100644
index 0000000..db704cb
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre04-expected.html
@@ -0,0 +1,24 @@
+text/html
+---------
+
+<blockquote>
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+</blockquote>
+
+text/plain
+----------
+
+>     var stop = false;
+>     for (var i = 0; i < 10 && !stop; i++) {
+>         if (i >= 5)
+>             print("Big: "+i);
+>         else
+>             print("Small: "+i);
+>     }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre04-input.html b/Editor/tests/clipboard/copy-pre04-input.html
new file mode 100644
index 0000000..25fd32d
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre04-input.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre05-expected.html b/Editor/tests/clipboard/copy-pre05-expected.html
new file mode 100644
index 0000000..7bc25ae
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre05-expected.html
@@ -0,0 +1,30 @@
+text/html
+---------
+
+<blockquote>
+Before code sample
+<pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+After code sample
+</blockquote>
+
+text/plain
+----------
+
+> Before code sample
+
+>     var stop = false;
+>     for (var i = 0; i < 10 && !stop; i++) {
+>         if (i >= 5)
+>             print("Big: "+i);
+>         else
+>             print("Small: "+i);
+>     }
+
+> After code sample

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre05-input.html b/Editor/tests/clipboard/copy-pre05-input.html
new file mode 100644
index 0000000..c97588e
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre05-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<blockquote>
+Before code sample
+<pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+After code sample
+</blockquote>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre06-expected.html b/Editor/tests/clipboard/copy-pre06-expected.html
new file mode 100644
index 0000000..0c9b67d
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre06-expected.html
@@ -0,0 +1,50 @@
+text/html
+---------
+
+<ul>
+  <li>
+    First code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ul>
+
+text/plain
+----------
+
+  - First code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }
+
+  - Second code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre06-input.html b/Editor/tests/clipboard/copy-pre06-input.html
new file mode 100644
index 0000000..3e260d1
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre06-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ul>
+  <li>
+    First code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ul>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre07-expected.html b/Editor/tests/clipboard/copy-pre07-expected.html
new file mode 100644
index 0000000..03c4f3f
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre07-expected.html
@@ -0,0 +1,50 @@
+text/html
+---------
+
+<ol>
+  <li>
+    First code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>var stop = false;
+for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++) {
+    if (i &gt;= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ol>
+
+text/plain
+----------
+
+1.  First code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }
+
+2.  Second code example:
+
+        var stop = false;
+        for (var i = 0; i < 10 && !stop; i++) {
+            if (i >= 5)
+                print("Big: "+i);
+            else
+                print("Small: "+i);
+        }

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre07-input.html b/Editor/tests/clipboard/copy-pre07-input.html
new file mode 100644
index 0000000..750097f
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre07-input.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>
+    First code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+  <li>
+    Second code example:
+    <pre>
+var stop = false;
+for (var i = 0; i < 10 && !stop; i++) {
+    if (i >= 5)
+        print("Big: "+i);
+    else
+        print("Small: "+i);
+}
+</pre>
+  </li>
+</ol>]
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre08-expected.html b/Editor/tests/clipboard/copy-pre08-expected.html
new file mode 100644
index 0000000..0afb2f0
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre08-expected.html
@@ -0,0 +1,56 @@
+text/html
+---------
+
+<ol>
+  <li>
+    First code example:
+    <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+  </li>
+  <li>
+    <ol>
+      <li>
+        Second code example:
+        <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+      </li>
+      <li>
+        Third code example:
+        <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+      </li>
+    </ol>
+  </li>
+  <li>
+    Fourth code example:
+    <pre>for (var i = 0; i &lt; 10 &amp;&amp; !stop; i++)
+   print(i);
+</pre>
+  </li>
+</ol>
+
+text/plain
+----------
+
+1.  First code example:
+
+        for (var i = 0; i < 10 && !stop; i++)
+           print(i);
+
+2.  1.  Second code example:
+
+            for (var i = 0; i < 10 && !stop; i++)
+               print(i);
+
+    2.  Third code example:
+
+            for (var i = 0; i < 10 && !stop; i++)
+               print(i);
+
+3.  Fourth code example:
+
+        for (var i = 0; i < 10 && !stop; i++)
+           print(i);

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/03bd5af0/Editor/tests/clipboard/copy-pre08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/clipboard/copy-pre08-input.html b/Editor/tests/clipboard/copy-pre08-input.html
new file mode 100644
index 0000000..ba0102d
--- /dev/null
+++ b/Editor/tests/clipboard/copy-pre08-input.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+    return showClipboard(Clipboard_copy());
+}
+</script>
+</head>
+<body>
+[<ol>
+  <li>
+    First code example:
+    <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+  </li>
+  <li>
+    <ol>
+      <li>
+        Second code example:
+        <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+      </li>
+      <li>
+        Third code example:
+        <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+      </li>
+    </ol>
+  </li>
+  <li>
+    Fourth code example:
+    <pre>
+for (var i = 0; i < 10 && !stop; i++)
+   print(i);
+</pre>
+  </li>
+</ol>]
+</body>
+</html>

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

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

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

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

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

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


Mime
View raw message