You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/05 22:06:27 UTC
[09/57] [partial] incubator-corinthia git commit: first cleanup of
sources not to be released
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure02-input.html b/Editor/tests/outline/refTitle-figure02-input.html
deleted file mode 100644
index 2fdb7bc..0000000
--- a/Editor/tests/outline/refTitle-figure02-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var figcaptions = document.getElementsByTagName("figcaption");
-
- // Change figure caption
- for (var i = 0; i < figcaptions.length; i++) {
- DOM_appendChild(figcaptions[i],DOM_createTextNode(document,"XYZ"));
- }
-
- // Add another set of references
- for (var i = 0; i < figcaptions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
-<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
-<figure id="item3"><figcaption>Third figure</figcaption></figure>
-<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
-<p>First ref: Figure <a href="#item1"></a></p>
-<p>Second ref: Figure <a href="#item2"></a></p>
-<p>Third ref: Figure <a href="#item3"></a></p>
-<p>Fourth ref: Figure <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure03-expected.html b/Editor/tests/outline/refTitle-figure03-expected.html
deleted file mode 100644
index bc2d68b..0000000
--- a/Editor/tests/outline/refTitle-figure03-expected.html
+++ /dev/null
@@ -1,45 +0,0 @@
-Sections:
-Figures:
- 1 FiXYZrst figure (item1)
- 2 SeXYZcond figure (item2)
- ThXYZird figure (item3)
- FoXYZurth figure (item4)
-Tables:
-<html>
- <head>
- </head>
- <body>
- <figure id="item1">
- <figcaption>FiXYZrst figure</figcaption>
- </figure>
- <figure id="item2">
- <figcaption>SeXYZcond figure</figcaption>
- </figure>
- <figure id="item3">
- <figcaption class="Unnumbered">ThXYZird figure</figcaption>
- </figure>
- <figure id="item4">
- <figcaption class="Unnumbered">FoXYZurth figure</figcaption>
- </figure>
- <p>
- First ref: Figure
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Figure
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Figure
- <a href="#item3">ThXYZird figure</a>
- </p>
- <p>
- Fourth ref: Figure
- <a href="#item4">FoXYZurth figure</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">ThXYZird figure</a></p>
- <p><a href="#item4">FoXYZurth figure</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure03-input.html b/Editor/tests/outline/refTitle-figure03-input.html
deleted file mode 100644
index 4e9e446..0000000
--- a/Editor/tests/outline/refTitle-figure03-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var figcaptions = document.getElementsByTagName("figcaption");
-
- // Change figure caption
- for (var i = 0; i < figcaptions.length; i++) {
- DOM_insertCharacters(figcaptions[i].lastChild,2,"XYZ");
- }
-
- // Add another set of references
- for (var i = 0; i < figcaptions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
-<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
-<figure id="item3"><figcaption>Third figure</figcaption></figure>
-<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
-<p>First ref: Figure <a href="#item1"></a></p>
-<p>Second ref: Figure <a href="#item2"></a></p>
-<p>Third ref: Figure <a href="#item3"></a></p>
-<p>Fourth ref: Figure <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure04-expected.html b/Editor/tests/outline/refTitle-figure04-expected.html
deleted file mode 100644
index e1a3cba..0000000
--- a/Editor/tests/outline/refTitle-figure04-expected.html
+++ /dev/null
@@ -1,45 +0,0 @@
-Sections:
-Figures:
- 1 Fit figure (item1)
- 2 Send figure (item2)
- Thd figure (item3)
- Foth figure (item4)
-Tables:
-<html>
- <head>
- </head>
- <body>
- <figure id="item1">
- <figcaption>Fit figure</figcaption>
- </figure>
- <figure id="item2">
- <figcaption>Send figure</figcaption>
- </figure>
- <figure id="item3">
- <figcaption class="Unnumbered">Thd figure</figcaption>
- </figure>
- <figure id="item4">
- <figcaption class="Unnumbered">Foth figure</figcaption>
- </figure>
- <p>
- First ref: Figure
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Figure
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Figure
- <a href="#item3">Thd figure</a>
- </p>
- <p>
- Fourth ref: Figure
- <a href="#item4">Foth figure</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Thd figure</a></p>
- <p><a href="#item4">Foth figure</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure04-input.html b/Editor/tests/outline/refTitle-figure04-input.html
deleted file mode 100644
index 6460bdd..0000000
--- a/Editor/tests/outline/refTitle-figure04-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var figcaptions = document.getElementsByTagName("figcaption");
-
- // Change figure caption
- for (var i = 0; i < figcaptions.length; i++) {
- DOM_deleteCharacters(figcaptions[i].lastChild,2,4);
- }
-
- // Add another set of references
- for (var i = 0; i < figcaptions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
-<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
-<figure id="item3"><figcaption>Third figure</figcaption></figure>
-<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
-<p>First ref: Figure <a href="#item1"></a></p>
-<p>Second ref: Figure <a href="#item2"></a></p>
-<p>Third ref: Figure <a href="#item3"></a></p>
-<p>Fourth ref: Figure <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure05-expected.html b/Editor/tests/outline/refTitle-figure05-expected.html
deleted file mode 100644
index c32c9a4..0000000
--- a/Editor/tests/outline/refTitle-figure05-expected.html
+++ /dev/null
@@ -1,45 +0,0 @@
-Sections:
-Figures:
- 1 Figure A (item1)
- 2 Figure B (item2)
- Figure C (item3)
- Figure D (item4)
-Tables:
-<html>
- <head>
- </head>
- <body>
- <figure id="item1">
- <figcaption>Figure A</figcaption>
- </figure>
- <figure id="item2">
- <figcaption>Figure B</figcaption>
- </figure>
- <figure id="item3">
- <figcaption class="Unnumbered">Figure C</figcaption>
- </figure>
- <figure id="item4">
- <figcaption class="Unnumbered">Figure D</figcaption>
- </figure>
- <p>
- First ref: Figure
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Figure
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Figure
- <a href="#item3">Figure C</a>
- </p>
- <p>
- Fourth ref: Figure
- <a href="#item4">Figure D</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Figure C</a></p>
- <p><a href="#item4">Figure D</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure05-input.html b/Editor/tests/outline/refTitle-figure05-input.html
deleted file mode 100644
index 41f6a46..0000000
--- a/Editor/tests/outline/refTitle-figure05-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var figcaptions = document.getElementsByTagName("figcaption");
-
- // Change figure caption
- for (var i = 0; i < figcaptions.length; i++) {
- DOM_setNodeValue(figcaptions[i].lastChild,"Figure "+String.fromCharCode(65+i));
- }
-
- // Add another set of references
- for (var i = 0; i < figcaptions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+figcaptions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
-<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
-<figure id="item3"><figcaption>Third figure</figcaption></figure>
-<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
-<p>First ref: Figure <a href="#item1"></a></p>
-<p>Second ref: Figure <a href="#item2"></a></p>
-<p>Third ref: Figure <a href="#item3"></a></p>
-<p>Fourth ref: Figure <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure06-expected.html b/Editor/tests/outline/refTitle-figure06-expected.html
deleted file mode 100644
index 15d7200..0000000
--- a/Editor/tests/outline/refTitle-figure06-expected.html
+++ /dev/null
@@ -1,41 +0,0 @@
-Sections:
-Figures:
- 1 First figure (item1)
- Second figure (item2)
- Third figure (item3)
- Fourth figure (item4)
-Tables:
-<html>
- <head>
- </head>
- <body>
- <figure id="item1">
- <figcaption>First figure</figcaption>
- </figure>
- <figure id="item2">
- <figcaption class="Unnumbered">Second figure</figcaption>
- </figure>
- <figure id="item3">
- <figcaption class="Unnumbered">Third figure</figcaption>
- </figure>
- <figure id="item4">
- <figcaption class="Unnumbered">Fourth figure</figcaption>
- </figure>
- <p>
- First ref: Figure
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Figure
- <a href="#item2">Second figure</a>
- </p>
- <p>
- Third ref: Figure
- <a href="#item3">Third figure</a>
- </p>
- <p>
- Fourth ref: Figure
- <a href="#item4">Fourth figure</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure06-input.html b/Editor/tests/outline/refTitle-figure06-input.html
deleted file mode 100644
index 56c3435..0000000
--- a/Editor/tests/outline/refTitle-figure06-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- Outline_setNumbered("item2",false);
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
-<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
-<figure id="item3"><figcaption>Third figure</figcaption></figure>
-<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
-<p>First ref: Figure <a href="#item1"></a></p>
-<p>Second ref: Figure <a href="#item2"></a></p>
-<p>Third ref: Figure <a href="#item3"></a></p>
-<p>Fourth ref: Figure <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure07-expected.html b/Editor/tests/outline/refTitle-figure07-expected.html
deleted file mode 100644
index d6bc652..0000000
--- a/Editor/tests/outline/refTitle-figure07-expected.html
+++ /dev/null
@@ -1,41 +0,0 @@
-Sections:
-Figures:
- 1 First figure (item1)
- 2 Second figure (item2)
- 3 Third figure (item3)
- Fourth figure (item4)
-Tables:
-<html>
- <head>
- </head>
- <body>
- <figure id="item1">
- <figcaption>First figure</figcaption>
- </figure>
- <figure id="item2">
- <figcaption>Second figure</figcaption>
- </figure>
- <figure id="item3">
- <figcaption>Third figure</figcaption>
- </figure>
- <figure id="item4">
- <figcaption class="Unnumbered">Fourth figure</figcaption>
- </figure>
- <p>
- First ref: Figure
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Figure
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Figure
- <a href="#item3">3</a>
- </p>
- <p>
- Fourth ref: Figure
- <a href="#item4">Fourth figure</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-figure07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure07-input.html b/Editor/tests/outline/refTitle-figure07-input.html
deleted file mode 100644
index 0a51714..0000000
--- a/Editor/tests/outline/refTitle-figure07-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- Outline_setNumbered("item3",true);
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<figure id="item1"><figcaption>Figure 9: First figure</figcaption></figure>
-<figure id="item2"><figcaption>Figure 9: Second figure</figcaption></figure>
-<figure id="item3"><figcaption>Third figure</figcaption></figure>
-<figure id="item4"><figcaption>Fourth figure</figcaption></figure>
-<p>First ref: Figure <a href="#item1"></a></p>
-<p>Second ref: Figure <a href="#item2"></a></p>
-<p>Third ref: Figure <a href="#item3"></a></p>
-<p>Fourth ref: Figure <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section01-expected.html b/Editor/tests/outline/refTitle-section01-expected.html
deleted file mode 100644
index efd80dc..0000000
--- a/Editor/tests/outline/refTitle-section01-expected.html
+++ /dev/null
@@ -1,39 +0,0 @@
-Sections:
- 1 First heading (item1)
- 2 Second heading (item2)
- Third heading (item3)
- Fourth heading (item4)
-Figures:
-Tables:
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">First heading</h1>
- <h1 id="item2">Second heading</h1>
- <h1 class="Unnumbered" id="item3">Third heading</h1>
- <h1 class="Unnumbered" id="item4">Fourth heading</h1>
- <p>
- First ref: Section
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Section
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Section
- <a href="#item3">Third heading</a>
- </p>
- <p>
- Fourth ref: Section
- <a href="#item4">Fourth heading</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Third heading</a></p>
- <p><a href="#item4">Fourth heading</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section01-input.html b/Editor/tests/outline/refTitle-section01-input.html
deleted file mode 100644
index 524886f..0000000
--- a/Editor/tests/outline/refTitle-section01-input.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var headings = document.getElementsByTagName("h1");
-
- // Add another set of references
- for (var i = 0; i < headings.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<h1 id="item2">9 Second heading</h1>
-<h1 id="item3">Third heading</h1>
-<h1 id="item4">Fourth heading</h1>
-<p>First ref: Section <a href="#item1"></a></p>
-<p>Second ref: Section <a href="#item2"></a></p>
-<p>Third ref: Section <a href="#item3"></a></p>
-<p>Fourth ref: Section <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section02-expected.html b/Editor/tests/outline/refTitle-section02-expected.html
deleted file mode 100644
index 6a82676..0000000
--- a/Editor/tests/outline/refTitle-section02-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-Sections:
- 1 First headingXYZ (item1)
- 2 Second headingXYZ (item2)
- Third headingXYZ (item3)
- Fourth headingXYZ (item4)
-Figures:
-Tables:
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">
- First heading
- XYZ
- </h1>
- <h1 id="item2">
- Second heading
- XYZ
- </h1>
- <h1 class="Unnumbered" id="item3">
- Third heading
- XYZ
- </h1>
- <h1 class="Unnumbered" id="item4">
- Fourth heading
- XYZ
- </h1>
- <p>
- First ref: Section
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Section
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Section
- <a href="#item3">Third headingXYZ</a>
- </p>
- <p>
- Fourth ref: Section
- <a href="#item4">Fourth headingXYZ</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Third headingXYZ</a></p>
- <p><a href="#item4">Fourth headingXYZ</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section02-input.html b/Editor/tests/outline/refTitle-section02-input.html
deleted file mode 100644
index 627c12a..0000000
--- a/Editor/tests/outline/refTitle-section02-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var headings = document.getElementsByTagName("h1");
-
- // Change heading text
- for (var i = 0; i < headings.length; i++) {
- DOM_appendChild(headings[i],DOM_createTextNode(document,"XYZ"));
- }
-
- // Add another set of references
- for (var i = 0; i < headings.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<h1 id="item2">9 Second heading</h1>
-<h1 id="item3">Third heading</h1>
-<h1 id="item4">Fourth heading</h1>
-<p>First ref: Section <a href="#item1"></a></p>
-<p>Second ref: Section <a href="#item2"></a></p>
-<p>Third ref: Section <a href="#item3"></a></p>
-<p>Fourth ref: Section <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section03-expected.html b/Editor/tests/outline/refTitle-section03-expected.html
deleted file mode 100644
index f12c26d..0000000
--- a/Editor/tests/outline/refTitle-section03-expected.html
+++ /dev/null
@@ -1,39 +0,0 @@
-Sections:
- 1 FiXYZrst heading (item1)
- 2 SeXYZcond heading (item2)
- ThXYZird heading (item3)
- FoXYZurth heading (item4)
-Figures:
-Tables:
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">FiXYZrst heading</h1>
- <h1 id="item2">SeXYZcond heading</h1>
- <h1 class="Unnumbered" id="item3">ThXYZird heading</h1>
- <h1 class="Unnumbered" id="item4">FoXYZurth heading</h1>
- <p>
- First ref: Section
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Section
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Section
- <a href="#item3">ThXYZird heading</a>
- </p>
- <p>
- Fourth ref: Section
- <a href="#item4">FoXYZurth heading</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">ThXYZird heading</a></p>
- <p><a href="#item4">FoXYZurth heading</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section03-input.html b/Editor/tests/outline/refTitle-section03-input.html
deleted file mode 100644
index 47a41e7..0000000
--- a/Editor/tests/outline/refTitle-section03-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var headings = document.getElementsByTagName("h1");
-
- // Change heading text
- for (var i = 0; i < headings.length; i++) {
- DOM_insertCharacters(headings[i].lastChild,2,"XYZ");
- }
-
- // Add another set of references
- for (var i = 0; i < headings.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<h1 id="item2">9 Second heading</h1>
-<h1 id="item3">Third heading</h1>
-<h1 id="item4">Fourth heading</h1>
-<p>First ref: Section <a href="#item1"></a></p>
-<p>Second ref: Section <a href="#item2"></a></p>
-<p>Third ref: Section <a href="#item3"></a></p>
-<p>Fourth ref: Section <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section04-expected.html b/Editor/tests/outline/refTitle-section04-expected.html
deleted file mode 100644
index 58af1fd..0000000
--- a/Editor/tests/outline/refTitle-section04-expected.html
+++ /dev/null
@@ -1,39 +0,0 @@
-Sections:
- 1 Fit heading (item1)
- 2 Send heading (item2)
- Thd heading (item3)
- Foth heading (item4)
-Figures:
-Tables:
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">Fit heading</h1>
- <h1 id="item2">Send heading</h1>
- <h1 class="Unnumbered" id="item3">Thd heading</h1>
- <h1 class="Unnumbered" id="item4">Foth heading</h1>
- <p>
- First ref: Section
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Section
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Section
- <a href="#item3">Thd heading</a>
- </p>
- <p>
- Fourth ref: Section
- <a href="#item4">Foth heading</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Thd heading</a></p>
- <p><a href="#item4">Foth heading</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section04-input.html b/Editor/tests/outline/refTitle-section04-input.html
deleted file mode 100644
index 6a92318..0000000
--- a/Editor/tests/outline/refTitle-section04-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var headings = document.getElementsByTagName("h1");
-
- // Change heading text
- for (var i = 0; i < headings.length; i++) {
- DOM_deleteCharacters(headings[i].lastChild,2,4);
- }
-
- // Add another set of references
- for (var i = 0; i < headings.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<h1 id="item2">9 Second heading</h1>
-<h1 id="item3">Third heading</h1>
-<h1 id="item4">Fourth heading</h1>
-<p>First ref: Section <a href="#item1"></a></p>
-<p>Second ref: Section <a href="#item2"></a></p>
-<p>Third ref: Section <a href="#item3"></a></p>
-<p>Fourth ref: Section <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section05-expected.html b/Editor/tests/outline/refTitle-section05-expected.html
deleted file mode 100644
index 5c98afe..0000000
--- a/Editor/tests/outline/refTitle-section05-expected.html
+++ /dev/null
@@ -1,39 +0,0 @@
-Sections:
- 1 Heading A (item1)
- 2 Heading B (item2)
- Heading C (item3)
- Heading D (item4)
-Figures:
-Tables:
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">Heading A</h1>
- <h1 id="item2">Heading B</h1>
- <h1 class="Unnumbered" id="item3">Heading C</h1>
- <h1 class="Unnumbered" id="item4">Heading D</h1>
- <p>
- First ref: Section
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Section
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Section
- <a href="#item3">Heading C</a>
- </p>
- <p>
- Fourth ref: Section
- <a href="#item4">Heading D</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Heading C</a></p>
- <p><a href="#item4">Heading D</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section05-input.html b/Editor/tests/outline/refTitle-section05-input.html
deleted file mode 100644
index 50489f6..0000000
--- a/Editor/tests/outline/refTitle-section05-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var headings = document.getElementsByTagName("h1");
-
- // Change heading text
- for (var i = 0; i < headings.length; i++) {
- DOM_setNodeValue(headings[i].lastChild,"Heading "+String.fromCharCode(65+i));
- }
-
- // Add another set of references
- for (var i = 0; i < headings.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+headings[i].getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<h1 id="item2">9 Second heading</h1>
-<h1 id="item3">Third heading</h1>
-<h1 id="item4">Fourth heading</h1>
-<p>First ref: Section <a href="#item1"></a></p>
-<p>Second ref: Section <a href="#item2"></a></p>
-<p>Third ref: Section <a href="#item3"></a></p>
-<p>Fourth ref: Section <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section06-expected.html b/Editor/tests/outline/refTitle-section06-expected.html
deleted file mode 100644
index 31c6336..0000000
--- a/Editor/tests/outline/refTitle-section06-expected.html
+++ /dev/null
@@ -1,35 +0,0 @@
-Sections:
- 1 First heading (item1)
- Second heading (item2)
- Third heading (item3)
- Fourth heading (item4)
-Figures:
-Tables:
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">First heading</h1>
- <h1 class="Unnumbered" id="item2">Second heading</h1>
- <h1 class="Unnumbered" id="item3">Third heading</h1>
- <h1 class="Unnumbered" id="item4">Fourth heading</h1>
- <p>
- First ref: Section
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Section
- <a href="#item2">Second heading</a>
- </p>
- <p>
- Third ref: Section
- <a href="#item3">Third heading</a>
- </p>
- <p>
- Fourth ref: Section
- <a href="#item4">Fourth heading</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section06-input.html b/Editor/tests/outline/refTitle-section06-input.html
deleted file mode 100644
index 3875b13..0000000
--- a/Editor/tests/outline/refTitle-section06-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- Outline_setNumbered("item2",false);
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<h1 id="item2">9 Second heading</h1>
-<h1 id="item3">Third heading</h1>
-<h1 id="item4">Fourth heading</h1>
-<p>First ref: Section <a href="#item1"></a></p>
-<p>Second ref: Section <a href="#item2"></a></p>
-<p>Third ref: Section <a href="#item3"></a></p>
-<p>Fourth ref: Section <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section07-expected.html b/Editor/tests/outline/refTitle-section07-expected.html
deleted file mode 100644
index eb74edd..0000000
--- a/Editor/tests/outline/refTitle-section07-expected.html
+++ /dev/null
@@ -1,35 +0,0 @@
-Sections:
- 1 First heading (item1)
- 2 Second heading (item2)
- 3 Third heading (item3)
- Fourth heading (item4)
-Figures:
-Tables:
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">First heading</h1>
- <h1 id="item2">Second heading</h1>
- <h1 id="item3">Third heading</h1>
- <h1 class="Unnumbered" id="item4">Fourth heading</h1>
- <p>
- First ref: Section
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Section
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Section
- <a href="#item3">3</a>
- </p>
- <p>
- Fourth ref: Section
- <a href="#item4">Fourth heading</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-section07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-section07-input.html b/Editor/tests/outline/refTitle-section07-input.html
deleted file mode 100644
index 582283e..0000000
--- a/Editor/tests/outline/refTitle-section07-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- Outline_setNumbered("item3",true);
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<h1 id="item2">9 Second heading</h1>
-<h1 id="item3">Third heading</h1>
-<h1 id="item4">Fourth heading</h1>
-<p>First ref: Section <a href="#item1"></a></p>
-<p>Second ref: Section <a href="#item2"></a></p>
-<p>Third ref: Section <a href="#item3"></a></p>
-<p>Fourth ref: Section <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table01-expected.html b/Editor/tests/outline/refTitle-table01-expected.html
deleted file mode 100644
index 0b7d604..0000000
--- a/Editor/tests/outline/refTitle-table01-expected.html
+++ /dev/null
@@ -1,45 +0,0 @@
-Sections:
-Figures:
-Tables:
- 1 First table (item1)
- 2 Second table (item2)
- Third table (item3)
- Fourth table (item4)
-<html>
- <head>
- </head>
- <body>
- <table id="item1">
- <caption>First table</caption>
- </table>
- <table id="item2">
- <caption>Second table</caption>
- </table>
- <table id="item3">
- <caption class="Unnumbered">Third table</caption>
- </table>
- <table id="item4">
- <caption class="Unnumbered">Fourth table</caption>
- </table>
- <p>
- First ref: Table
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Table
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Table
- <a href="#item3">Third table</a>
- </p>
- <p>
- Fourth ref: Table
- <a href="#item4">Fourth table</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Third table</a></p>
- <p><a href="#item4">Fourth table</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table01-input.html b/Editor/tests/outline/refTitle-table01-input.html
deleted file mode 100644
index 2b7d451..0000000
--- a/Editor/tests/outline/refTitle-table01-input.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var captions = document.getElementsByTagName("caption");
-
- // Add another set of references
- for (var i = 0; i < captions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<table id="item1"><caption>Table 9: First table</caption></table>
-<table id="item2"><caption>Table 9: Second table</caption></table>
-<table id="item3"><caption>Third table</caption></table>
-<table id="item4"><caption>Fourth table</caption></table>
-<p>First ref: Table <a href="#item1"></a></p>
-<p>Second ref: Table <a href="#item2"></a></p>
-<p>Third ref: Table <a href="#item3"></a></p>
-<p>Fourth ref: Table <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table02-expected.html b/Editor/tests/outline/refTitle-table02-expected.html
deleted file mode 100644
index d917488..0000000
--- a/Editor/tests/outline/refTitle-table02-expected.html
+++ /dev/null
@@ -1,57 +0,0 @@
-Sections:
-Figures:
-Tables:
- 1 First tableXYZ (item1)
- 2 Second tableXYZ (item2)
- Third tableXYZ (item3)
- Fourth tableXYZ (item4)
-<html>
- <head>
- </head>
- <body>
- <table id="item1">
- <caption>
- First table
- XYZ
- </caption>
- </table>
- <table id="item2">
- <caption>
- Second table
- XYZ
- </caption>
- </table>
- <table id="item3">
- <caption class="Unnumbered">
- Third table
- XYZ
- </caption>
- </table>
- <table id="item4">
- <caption class="Unnumbered">
- Fourth table
- XYZ
- </caption>
- </table>
- <p>
- First ref: Table
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Table
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Table
- <a href="#item3">Third tableXYZ</a>
- </p>
- <p>
- Fourth ref: Table
- <a href="#item4">Fourth tableXYZ</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Third tableXYZ</a></p>
- <p><a href="#item4">Fourth tableXYZ</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table02-input.html b/Editor/tests/outline/refTitle-table02-input.html
deleted file mode 100644
index efc605a..0000000
--- a/Editor/tests/outline/refTitle-table02-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var captions = document.getElementsByTagName("caption");
-
- // Change table caption
- for (var i = 0; i < captions.length; i++) {
- DOM_appendChild(captions[i],DOM_createTextNode(document,"XYZ"));
- }
-
- // Add another set of references
- for (var i = 0; i < captions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<table id="item1"><caption>Table 9: First table</caption></table>
-<table id="item2"><caption>Table 9: Second table</caption></table>
-<table id="item3"><caption>Third table</caption></table>
-<table id="item4"><caption>Fourth table</caption></table>
-<p>First ref: Table <a href="#item1"></a></p>
-<p>Second ref: Table <a href="#item2"></a></p>
-<p>Third ref: Table <a href="#item3"></a></p>
-<p>Fourth ref: Table <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table03-expected.html b/Editor/tests/outline/refTitle-table03-expected.html
deleted file mode 100644
index dd48fea..0000000
--- a/Editor/tests/outline/refTitle-table03-expected.html
+++ /dev/null
@@ -1,45 +0,0 @@
-Sections:
-Figures:
-Tables:
- 1 FiXYZrst table (item1)
- 2 SeXYZcond table (item2)
- ThXYZird table (item3)
- FoXYZurth table (item4)
-<html>
- <head>
- </head>
- <body>
- <table id="item1">
- <caption>FiXYZrst table</caption>
- </table>
- <table id="item2">
- <caption>SeXYZcond table</caption>
- </table>
- <table id="item3">
- <caption class="Unnumbered">ThXYZird table</caption>
- </table>
- <table id="item4">
- <caption class="Unnumbered">FoXYZurth table</caption>
- </table>
- <p>
- First ref: Table
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Table
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Table
- <a href="#item3">ThXYZird table</a>
- </p>
- <p>
- Fourth ref: Table
- <a href="#item4">FoXYZurth table</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">ThXYZird table</a></p>
- <p><a href="#item4">FoXYZurth table</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table03-input.html b/Editor/tests/outline/refTitle-table03-input.html
deleted file mode 100644
index cabd662..0000000
--- a/Editor/tests/outline/refTitle-table03-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var captions = document.getElementsByTagName("caption");
-
- // Change table caption
- for (var i = 0; i < captions.length; i++) {
- DOM_insertCharacters(captions[i].lastChild,2,"XYZ");
- }
-
- // Add another set of references
- for (var i = 0; i < captions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<table id="item1"><caption>Table 9: First table</caption></table>
-<table id="item2"><caption>Table 9: Second table</caption></table>
-<table id="item3"><caption>Third table</caption></table>
-<table id="item4"><caption>Fourth table</caption></table>
-<p>First ref: Table <a href="#item1"></a></p>
-<p>Second ref: Table <a href="#item2"></a></p>
-<p>Third ref: Table <a href="#item3"></a></p>
-<p>Fourth ref: Table <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table04-expected.html b/Editor/tests/outline/refTitle-table04-expected.html
deleted file mode 100644
index 9d59ed2..0000000
--- a/Editor/tests/outline/refTitle-table04-expected.html
+++ /dev/null
@@ -1,45 +0,0 @@
-Sections:
-Figures:
-Tables:
- 1 Fit table (item1)
- 2 Send table (item2)
- Thd table (item3)
- Foth table (item4)
-<html>
- <head>
- </head>
- <body>
- <table id="item1">
- <caption>Fit table</caption>
- </table>
- <table id="item2">
- <caption>Send table</caption>
- </table>
- <table id="item3">
- <caption class="Unnumbered">Thd table</caption>
- </table>
- <table id="item4">
- <caption class="Unnumbered">Foth table</caption>
- </table>
- <p>
- First ref: Table
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Table
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Table
- <a href="#item3">Thd table</a>
- </p>
- <p>
- Fourth ref: Table
- <a href="#item4">Foth table</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Thd table</a></p>
- <p><a href="#item4">Foth table</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table04-input.html b/Editor/tests/outline/refTitle-table04-input.html
deleted file mode 100644
index 6307603..0000000
--- a/Editor/tests/outline/refTitle-table04-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var captions = document.getElementsByTagName("caption");
-
- // Change table caption
- for (var i = 0; i < captions.length; i++) {
- DOM_deleteCharacters(captions[i].lastChild,2,4);
- }
-
- // Add another set of references
- for (var i = 0; i < captions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<table id="item1"><caption>Table 9: First table</caption></table>
-<table id="item2"><caption>Table 9: Second table</caption></table>
-<table id="item3"><caption>Third table</caption></table>
-<table id="item4"><caption>Fourth table</caption></table>
-<p>First ref: Table <a href="#item1"></a></p>
-<p>Second ref: Table <a href="#item2"></a></p>
-<p>Third ref: Table <a href="#item3"></a></p>
-<p>Fourth ref: Table <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table05-expected.html b/Editor/tests/outline/refTitle-table05-expected.html
deleted file mode 100644
index 6aff79a..0000000
--- a/Editor/tests/outline/refTitle-table05-expected.html
+++ /dev/null
@@ -1,45 +0,0 @@
-Sections:
-Figures:
-Tables:
- 1 Table A (item1)
- 2 Table B (item2)
- Table C (item3)
- Table D (item4)
-<html>
- <head>
- </head>
- <body>
- <table id="item1">
- <caption>Table A</caption>
- </table>
- <table id="item2">
- <caption>Table B</caption>
- </table>
- <table id="item3">
- <caption class="Unnumbered">Table C</caption>
- </table>
- <table id="item4">
- <caption class="Unnumbered">Table D</caption>
- </table>
- <p>
- First ref: Table
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Table
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Table
- <a href="#item3">Table C</a>
- </p>
- <p>
- Fourth ref: Table
- <a href="#item4">Table D</a>
- </p>
- <p><a href="#item1">1</a></p>
- <p><a href="#item2">2</a></p>
- <p><a href="#item3">Table C</a></p>
- <p><a href="#item4">Table D</a></p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table05-input.html b/Editor/tests/outline/refTitle-table05-input.html
deleted file mode 100644
index f1951d8..0000000
--- a/Editor/tests/outline/refTitle-table05-input.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var captions = document.getElementsByTagName("caption");
-
- // Change table caption
- for (var i = 0; i < captions.length; i++) {
- DOM_setNodeValue(captions[i].lastChild,"Table "+String.fromCharCode(65+i));
- }
-
- // Add another set of references
- for (var i = 0; i < captions.length; i++) {
- var a = DOM_createElement(document,"A");
- DOM_setAttribute(a,"href","#"+captions[i].parentNode.getAttribute("id"));
- var p = DOM_createElement(document,"P");
- DOM_appendChild(p,a);
- DOM_appendChild(document.body,p);
- }
-
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<table id="item1"><caption>Table 9: First table</caption></table>
-<table id="item2"><caption>Table 9: Second table</caption></table>
-<table id="item3"><caption>Third table</caption></table>
-<table id="item4"><caption>Fourth table</caption></table>
-<p>First ref: Table <a href="#item1"></a></p>
-<p>Second ref: Table <a href="#item2"></a></p>
-<p>Third ref: Table <a href="#item3"></a></p>
-<p>Fourth ref: Table <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table06-expected.html b/Editor/tests/outline/refTitle-table06-expected.html
deleted file mode 100644
index 08b25ff..0000000
--- a/Editor/tests/outline/refTitle-table06-expected.html
+++ /dev/null
@@ -1,41 +0,0 @@
-Sections:
-Figures:
-Tables:
- 1 First table (item1)
- Second table (item2)
- Third table (item3)
- Fourth table (item4)
-<html>
- <head>
- </head>
- <body>
- <table id="item1">
- <caption>First table</caption>
- </table>
- <table id="item2">
- <caption class="Unnumbered">Second table</caption>
- </table>
- <table id="item3">
- <caption class="Unnumbered">Third table</caption>
- </table>
- <table id="item4">
- <caption class="Unnumbered">Fourth table</caption>
- </table>
- <p>
- First ref: Table
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Table
- <a href="#item2">Second table</a>
- </p>
- <p>
- Third ref: Table
- <a href="#item3">Third table</a>
- </p>
- <p>
- Fourth ref: Table
- <a href="#item4">Fourth table</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table06-input.html b/Editor/tests/outline/refTitle-table06-input.html
deleted file mode 100644
index 84641ab..0000000
--- a/Editor/tests/outline/refTitle-table06-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- Outline_setNumbered("item2",false);
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<table id="item1"><caption>Table 9: First table</caption></table>
-<table id="item2"><caption>Table 9: Second table</caption></table>
-<table id="item3"><caption>Third table</caption></table>
-<table id="item4"><caption>Fourth table</caption></table>
-<p>First ref: Table <a href="#item1"></a></p>
-<p>Second ref: Table <a href="#item2"></a></p>
-<p>Third ref: Table <a href="#item3"></a></p>
-<p>Fourth ref: Table <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table07-expected.html b/Editor/tests/outline/refTitle-table07-expected.html
deleted file mode 100644
index 5458f4e..0000000
--- a/Editor/tests/outline/refTitle-table07-expected.html
+++ /dev/null
@@ -1,41 +0,0 @@
-Sections:
-Figures:
-Tables:
- 1 First table (item1)
- 2 Second table (item2)
- 3 Third table (item3)
- Fourth table (item4)
-<html>
- <head>
- </head>
- <body>
- <table id="item1">
- <caption>First table</caption>
- </table>
- <table id="item2">
- <caption>Second table</caption>
- </table>
- <table id="item3">
- <caption>Third table</caption>
- </table>
- <table id="item4">
- <caption class="Unnumbered">Fourth table</caption>
- </table>
- <p>
- First ref: Table
- <a href="#item1">1</a>
- </p>
- <p>
- Second ref: Table
- <a href="#item2">2</a>
- </p>
- <p>
- Third ref: Table
- <a href="#item3">3</a>
- </p>
- <p>
- Fourth ref: Table
- <a href="#item4">Fourth table</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refTitle-table07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table07-input.html b/Editor/tests/outline/refTitle-table07-input.html
deleted file mode 100644
index da88517..0000000
--- a/Editor/tests/outline/refTitle-table07-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- Outline_setNumbered("item3",true);
- PostponedActions_perform();
-
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-<table id="item1"><caption>Table 9: First table</caption></table>
-<table id="item2"><caption>Table 9: Second table</caption></table>
-<table id="item3"><caption>Third table</caption></table>
-<table id="item4"><caption>Fourth table</caption></table>
-<p>First ref: Table <a href="#item1"></a></p>
-<p>Second ref: Table <a href="#item2"></a></p>
-<p>Third ref: Table <a href="#item3"></a></p>
-<p>Fourth ref: Table <a href="#item4"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-figure-numbered-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-figure-numbered-expected.html b/Editor/tests/outline/refType-figure-numbered-expected.html
deleted file mode 100644
index 5a1732e..0000000
--- a/Editor/tests/outline/refType-figure-numbered-expected.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
- <head>
- </head>
- <body>
- <figure id="item1">
- (figure content)
- <figcaption>Test figure</figcaption>
- </figure>
- <p>
- Default
- <a href="#item1">1</a>
- </p>
- <p>
- uxwrite-ref-num
- <a class="uxwrite-ref-num" href="#item1">1</a>
- </p>
- <p>
- uxwrite-ref-text
- <a class="uxwrite-ref-text" href="#item1">Figure 1: Test figure</a>
- </p>
- <p>
- uxwrite-ref-caption-text
- <a class="uxwrite-ref-caption-text" href="#item1">Test figure</a>
- </p>
- <p>
- uxwrite-ref-label-num
- <a class="uxwrite-ref-label-num" href="#item1">Figure 1</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-figure-numbered-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-figure-numbered-input.html b/Editor/tests/outline/refType-figure-numbered-input.html
deleted file mode 100644
index 5bd54bc..0000000
--- a/Editor/tests/outline/refType-figure-numbered-input.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<figure>
- (figure content)
- <figcaption>Figure 3: Test figure</figcaption>
-</figure>
-<p>Default <a href="#item1"></a></p>
-<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
-<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
-<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
-<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-figure-unnumbered-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-figure-unnumbered-expected.html b/Editor/tests/outline/refType-figure-unnumbered-expected.html
deleted file mode 100644
index f2be451..0000000
--- a/Editor/tests/outline/refType-figure-unnumbered-expected.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html>
- <head>
- </head>
- <body>
- <figure id="item1">
- (figure content)
- <figcaption class="Unnumbered">Test figure</figcaption>
- </figure>
- <p>
- Default
- <a href="#item1">Test figure</a>
- </p>
- <p>
- uxwrite-ref-num
- <a class="uxwrite-ref-num" href="#item1">?</a>
- </p>
- <p>
- uxwrite-ref-text
- <a class="uxwrite-ref-text" href="#item1">Test figure</a>
- </p>
- <p>
- uxwrite-ref-caption-text
- <a class="uxwrite-ref-caption-text" href="#item1">Test figure</a>
- </p>
- <p>
- uxwrite-ref-label-num
- <a class="uxwrite-ref-label-num" href="#item1">?</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-figure-unnumbered-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-figure-unnumbered-input.html b/Editor/tests/outline/refType-figure-unnumbered-input.html
deleted file mode 100644
index e0ed328..0000000
--- a/Editor/tests/outline/refType-figure-unnumbered-input.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<figure>
- (figure content)
- <figcaption>Test figure</figcaption>
-</figure>
-<p>Default <a href="#item1"></a></p>
-<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
-<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
-<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
-<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-section-numbered-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-section-numbered-expected.html b/Editor/tests/outline/refType-section-numbered-expected.html
deleted file mode 100644
index 6f69902..0000000
--- a/Editor/tests/outline/refType-section-numbered-expected.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">First heading</h1>
- <p>
- Default
- <a href="#item1">1</a>
- </p>
- <p>
- uxwrite-ref-num
- <a class="uxwrite-ref-num" href="#item1">1</a>
- </p>
- <p>
- uxwrite-ref-text
- <a class="uxwrite-ref-text" href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-caption-text
- <a class="uxwrite-ref-caption-text" href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-label-num
- <a class="uxwrite-ref-label-num" href="#item1">Section 1</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-section-numbered-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-section-numbered-input.html b/Editor/tests/outline/refType-section-numbered-input.html
deleted file mode 100644
index 340b96a..0000000
--- a/Editor/tests/outline/refType-section-numbered-input.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<h1 id="item1">9 First heading</h1>
-<p>Default <a href="#item1"></a></p>
-<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
-<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
-<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
-<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-section-unnumbered-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-section-unnumbered-expected.html b/Editor/tests/outline/refType-section-unnumbered-expected.html
deleted file mode 100644
index c676aa1..0000000
--- a/Editor/tests/outline/refType-section-unnumbered-expected.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html>
- <head>
- </head>
- <body>
- <h1 id="item1">First heading</h1>
- <p>
- Default
- <a href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-num
- <a class="uxwrite-ref-num" href="#item1">?</a>
- </p>
- <p>
- uxwrite-ref-text
- <a class="uxwrite-ref-text" href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-caption-text
- <a class="uxwrite-ref-caption-text" href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-label-num
- <a class="uxwrite-ref-label-num" href="#item1">?</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-section-unnumbered-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-section-unnumbered-input.html b/Editor/tests/outline/refType-section-unnumbered-input.html
deleted file mode 100644
index eda432f..0000000
--- a/Editor/tests/outline/refType-section-unnumbered-input.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<h1 id="item1">First heading</h1>
-<p>Default <a href="#item1"></a></p>
-<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
-<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
-<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
-<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-section-unnumbered2-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-section-unnumbered2-expected.html b/Editor/tests/outline/refType-section-unnumbered2-expected.html
deleted file mode 100644
index 5b0758c..0000000
--- a/Editor/tests/outline/refType-section-unnumbered2-expected.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 class="Unnumbered" id="item1">First heading</h1>
- <p>
- Default
- <a href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-num
- <a class="uxwrite-ref-num" href="#item1">?</a>
- </p>
- <p>
- uxwrite-ref-text
- <a class="uxwrite-ref-text" href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-caption-text
- <a class="uxwrite-ref-caption-text" href="#item1">First heading</a>
- </p>
- <p>
- uxwrite-ref-label-num
- <a class="uxwrite-ref-label-num" href="#item1">?</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-section-unnumbered2-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-section-unnumbered2-input.html b/Editor/tests/outline/refType-section-unnumbered2-input.html
deleted file mode 100644
index 83474fa..0000000
--- a/Editor/tests/outline/refType-section-unnumbered2-input.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- setupOutlineNumbering();
- Outline_init();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<h1 class="Unnumbered" id="item1">First heading</h1>
-<p>Default <a href="#item1"></a></p>
-<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
-<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
-<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
-<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-table-numbered-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-table-numbered-expected.html b/Editor/tests/outline/refType-table-numbered-expected.html
deleted file mode 100644
index f960949..0000000
--- a/Editor/tests/outline/refType-table-numbered-expected.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
- <head>
- <style>
-td { border: thin solid black; }
-table { caption-side: bottom; }
- </style>
- </head>
- <body>
- <table id="item1" style="width: 100%">
- <caption>Test table</caption>
- <tbody>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
- </tbody>
- </table>
- <p>
- Default
- <a href="#item1">1</a>
- </p>
- <p>
- uxwrite-ref-num
- <a class="uxwrite-ref-num" href="#item1">1</a>
- </p>
- <p>
- uxwrite-ref-text
- <a class="uxwrite-ref-text" href="#item1">Table 1: Test table</a>
- </p>
- <p>
- uxwrite-ref-caption-text
- <a class="uxwrite-ref-caption-text" href="#item1">Test table</a>
- </p>
- <p>
- uxwrite-ref-label-num
- <a class="uxwrite-ref-label-num" href="#item1">Table 1</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-table-numbered-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-table-numbered-input.html b/Editor/tests/outline/refType-table-numbered-input.html
deleted file mode 100644
index 086f619..0000000
--- a/Editor/tests/outline/refType-table-numbered-input.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
-td { border: thin solid black; }
-table { caption-side: bottom; }
-</style>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<table id="item1" style="width: 100%">
- <caption>Table 3: Test table</caption>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
-</table>
-<p>Default <a href="#item1"></a></p>
-<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
-<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
-<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
-<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-table-unnumbered-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-table-unnumbered-expected.html b/Editor/tests/outline/refType-table-unnumbered-expected.html
deleted file mode 100644
index 7e8367c..0000000
--- a/Editor/tests/outline/refType-table-unnumbered-expected.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
- <head>
- <style>
-td { border: thin solid black; }
-table { caption-side: bottom; }
- </style>
- </head>
- <body>
- <table id="item1" style="width: 100%">
- <caption class="Unnumbered">Test table</caption>
- <tbody>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
- </tbody>
- </table>
- <p>
- Default
- <a href="#item1">Test table</a>
- </p>
- <p>
- uxwrite-ref-num
- <a class="uxwrite-ref-num" href="#item1">?</a>
- </p>
- <p>
- uxwrite-ref-text
- <a class="uxwrite-ref-text" href="#item1">Test table</a>
- </p>
- <p>
- uxwrite-ref-caption-text
- <a class="uxwrite-ref-caption-text" href="#item1">Test table</a>
- </p>
- <p>
- uxwrite-ref-label-num
- <a class="uxwrite-ref-label-num" href="#item1">?</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refType-table-unnumbered-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refType-table-unnumbered-input.html b/Editor/tests/outline/refType-table-unnumbered-input.html
deleted file mode 100644
index 1a440ae..0000000
--- a/Editor/tests/outline/refType-table-unnumbered-input.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
-td { border: thin solid black; }
-table { caption-side: bottom; }
-</style>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<table id="item1" style="width: 100%">
- <caption>Test table</caption>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
- <tr>
- <td>a</td>
- <td>a</td>
- </tr>
-</table>
-<p>Default <a href="#item1"></a></p>
-<p>uxwrite-ref-num <a class="uxwrite-ref-num" href="#item1"></a></p>
-<p>uxwrite-ref-text <a class="uxwrite-ref-text" href="#item1"></a></p>
-<p>uxwrite-ref-caption-text <a class="uxwrite-ref-caption-text" href="#item1"></a></p>
-<p>uxwrite-ref-label-num <a class="uxwrite-ref-label-num" href="#item1"></a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-insert01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert01-expected.html b/Editor/tests/outline/reference-insert01-expected.html
deleted file mode 100644
index 5572628..0000000
--- a/Editor/tests/outline/reference-insert01-expected.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <h1 id="one">One</h1>
- <h1 id="two">Two</h1>
- <h1 id="three">Three</h1>
- <a href="#one">1</a>
- <a href="#two">2</a>
- <a href="#three">3</a>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-insert01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert01-input.html b/Editor/tests/outline/reference-insert01-input.html
deleted file mode 100644
index e2dac14..0000000
--- a/Editor/tests/outline/reference-insert01-input.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var ref1 = DOM_createElement(document,"A");
- var ref2 = DOM_createElement(document,"A");
- var ref3 = DOM_createElement(document,"A");
- DOM_setAttribute(ref1,"href","#one");
- DOM_setAttribute(ref2,"href","#two");
- DOM_setAttribute(ref3,"href","#three");
-
- Clipboard_pasteNodes([ref1,ref2,ref3]);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<h1 id="one">4 One</h1>
-<h1 id="two">4 Two</h1>
-<h1 id="three">4 Three</h1>
-[]
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-insert02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert02-expected.html b/Editor/tests/outline/reference-insert02-expected.html
deleted file mode 100644
index d24c302..0000000
--- a/Editor/tests/outline/reference-insert02-expected.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
- <head>
- </head>
- <body>
- <figure id="one">
- <figcaption></figcaption>
- </figure>
- <figure id="two">
- <figcaption></figcaption>
- </figure>
- <figure id="three">
- <figcaption></figcaption>
- </figure>
- <a href="#one">1</a>
- <a href="#two">2</a>
- <a href="#three">3</a>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-insert02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert02-input.html b/Editor/tests/outline/reference-insert02-input.html
deleted file mode 100644
index f7c4146..0000000
--- a/Editor/tests/outline/reference-insert02-input.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var ref1 = DOM_createElement(document,"A");
- var ref2 = DOM_createElement(document,"A");
- var ref3 = DOM_createElement(document,"A");
- DOM_setAttribute(ref1,"href","#one");
- DOM_setAttribute(ref2,"href","#two");
- DOM_setAttribute(ref3,"href","#three");
-
- Clipboard_pasteNodes([ref1,ref2,ref3]);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<figure id="one"><figcaption>Figure 4</figcaption></figure>
-<figure id="two"><figcaption>Figure 4</figcaption></figure>
-<figure id="three"><figcaption>Figure 4</figcaption></figure>
-[]
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-insert03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert03-expected.html b/Editor/tests/outline/reference-insert03-expected.html
deleted file mode 100644
index a1db37e..0000000
--- a/Editor/tests/outline/reference-insert03-expected.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
- <head>
- </head>
- <body>
- <table id="one">
- <caption></caption>
- </table>
- <table id="two">
- <caption></caption>
- </table>
- <table id="three">
- <caption></caption>
- </table>
- <a href="#one">1</a>
- <a href="#two">2</a>
- <a href="#three">3</a>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-insert03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert03-input.html b/Editor/tests/outline/reference-insert03-input.html
deleted file mode 100644
index 38026ef..0000000
--- a/Editor/tests/outline/reference-insert03-input.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-
- var ref1 = DOM_createElement(document,"A");
- var ref2 = DOM_createElement(document,"A");
- var ref3 = DOM_createElement(document,"A");
- DOM_setAttribute(ref1,"href","#one");
- DOM_setAttribute(ref2,"href","#two");
- DOM_setAttribute(ref3,"href","#three");
-
- Clipboard_pasteNodes([ref1,ref2,ref3]);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<table id="one"><caption>Table 4</caption></table>
-<table id="two"><caption>Table 4</caption></table>
-<table id="three"><caption>Table 4</caption></table>
-[]
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-static01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static01-expected.html b/Editor/tests/outline/reference-static01-expected.html
deleted file mode 100644
index d4e03ae..0000000
--- a/Editor/tests/outline/reference-static01-expected.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <p>
- Reference
- <a href="#one">1</a>
- </p>
- <p>
- Reference
- <a href="#two">2</a>
- </p>
- <p>
- Reference
- <a href="#three">3</a>
- </p>
- <h1 id="one">One</h1>
- <h1 id="two">Two</h1>
- <h1 id="three">Three</h1>
- <p>
- Reference
- <a href="#one">1</a>
- </p>
- <p>
- Reference
- <a href="#two">2</a>
- </p>
- <p>
- Reference
- <a href="#three">3</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-static01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static01-input.html b/Editor/tests/outline/reference-static01-input.html
deleted file mode 100644
index 17bc6e4..0000000
--- a/Editor/tests/outline/reference-static01-input.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-<h1 id="one">4 One</h1>
-<h1 id="two">4 Two</h1>
-<h1 id="three">4 Three</h1>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-static02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static02-expected.html b/Editor/tests/outline/reference-static02-expected.html
deleted file mode 100644
index bba4355..0000000
--- a/Editor/tests/outline/reference-static02-expected.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
- <head>
- </head>
- <body>
- <p>
- Reference
- <a href="#one">1</a>
- </p>
- <p>
- Reference
- <a href="#two">2</a>
- </p>
- <p>
- Reference
- <a href="#three">3</a>
- </p>
- <figure id="one">
- <figcaption></figcaption>
- </figure>
- <figure id="two">
- <figcaption></figcaption>
- </figure>
- <figure id="three">
- <figcaption></figcaption>
- </figure>
- <p>
- Reference
- <a href="#one">1</a>
- </p>
- <p>
- Reference
- <a href="#two">2</a>
- </p>
- <p>
- Reference
- <a href="#three">3</a>
- </p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-static02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static02-input.html b/Editor/tests/outline/reference-static02-input.html
deleted file mode 100644
index 37f7837..0000000
--- a/Editor/tests/outline/reference-static02-input.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- Outline_init();
- if (Outline_detectSectionNumbering())
- setupOutlineNumbering();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-<figure id="one"><figcaption>Figure 4</figcaption></figure>
-<figure id="two"><figcaption>Figure 4</figcaption></figure>
-<figure id="three"><figcaption>Figure 4</figcaption></figure>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-static03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static03-expected.html b/Editor/tests/outline/reference-static03-expected.html
deleted file mode 100644
index b2638e6..0000000
--- a/Editor/tests/outline/reference-static03-expected.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
- <head>
- </head>
- <body>
- <p>
- Reference
- <a href="#one">1</a>
- </p>
- <p>
- Reference
- <a href="#two">2</a>
- </p>
- <p>
- Reference
- <a href="#three">3</a>
- </p>
- <table id="one">
- <caption></caption>
- </table>
- <table id="two">
- <caption></caption>
- </table>
- <table id="three">
- <caption></caption>
- </table>
- <p>
- Reference
- <a href="#one">1</a>
- </p>
- <p>
- Reference
- <a href="#two">2</a>
- </p>
- <p>
- Reference
- <a href="#three">3</a>
- </p>
- </body>
-</html>