You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/14 18:10:27 UTC
[20/51] [abbrv] [partial] incubator-corinthia git commit: added js
test files
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html
new file mode 100644
index 0000000..f032705
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop01-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li>[test]</li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html
new file mode 100644
index 0000000..5474fc0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop01-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+[test]
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html
new file mode 100644
index 0000000..1e26a12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop02-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li>[]</li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html
new file mode 100644
index 0000000..723105f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop02-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+[]
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html
new file mode 100644
index 0000000..23649c7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop03-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li>test[]</li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html
new file mode 100644
index 0000000..14174a6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop03-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+test[]
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html
new file mode 100644
index 0000000..c43e793
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop04-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li>[]test</li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html
new file mode 100644
index 0000000..8c58505
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop04-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+[]test
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html
new file mode 100644
index 0000000..1e26a12
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop05-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li>[]</li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html b/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html
new file mode 100644
index 0000000..844b096
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-nop05-input.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ DOM_deleteAllChildren(document.body);
+ Selection_set(document.body,0,document.body,0);
+
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html
new file mode 100644
index 0000000..142ab51
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ [
+ <ul>
+ <li><p>One</p></li>
+ <li><p>Two</p></li>
+ <li><p>Three</p></li>
+ </ul>
+ ]
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html
new file mode 100644
index 0000000..7b00f75
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs01-input.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ [
+ <p>One</p>
+ <p>Two</p>
+ <p>Three</p>
+ ]
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html
new file mode 100644
index 0000000..afe7773
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head></head>
+ <body>
+ <p>One</p>
+ <p>Two</p>
+ [
+ <ul>
+ <li><p>Three</p></li>
+ <li><p>Four</p></li>
+ <li><p>Five</p></li>
+ </ul>
+ ]
+ <p>Six</p>
+ <p>Seven</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html
new file mode 100644
index 0000000..85db2ba
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs02-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <p>One</p>
+ <p>Two</p>
+ [
+ <p>Three</p>
+ <p>Four</p>
+ <p>Five</p>
+ ]
+ <p>Six</p>
+ <p>Seven</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html
new file mode 100644
index 0000000..ab32faf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head></head>
+ <body>
+ [
+ <ul>
+ <li><p>One</p></li>
+ <li><p>Two</p></li>
+ <li><p>Three</p></li>
+ <li><p>Four</p></li>
+ <li><p>Five</p></li>
+ </ul>
+ ]
+ <p>Six</p>
+ <p>Seven</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html
new file mode 100644
index 0000000..ca93046
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs03-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ [
+ <p>One</p>
+ <p>Two</p>
+ <p>Three</p>
+ <p>Four</p>
+ <p>Five</p>
+ ]
+ <p>Six</p>
+ <p>Seven</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html
new file mode 100644
index 0000000..ed9a5d8
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-expected.html
@@ -0,0 +1,16 @@
+<html>
+ <head></head>
+ <body>
+ <p>One</p>
+ <p>Two</p>
+ [
+ <ul>
+ <li><p>Three</p></li>
+ <li><p>Four</p></li>
+ <li><p>Five</p></li>
+ <li><p>Six</p></li>
+ <li><p>Seven</p></li>
+ </ul>
+ ]
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html
new file mode 100644
index 0000000..50551bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs04-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+ <body>
+ <p>One</p>
+ <p>Two</p>
+ [
+ <p>Three</p>
+ <p>Four</p>
+ <p>Five</p>
+ <p>Six</p>
+ <p>Seven</p>
+ ]
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html
new file mode 100644
index 0000000..8172759
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li><p>[]</p></li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html
new file mode 100644
index 0000000..561c82f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs05-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html
new file mode 100644
index 0000000..b4060bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li><p>test[]</p></li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html
new file mode 100644
index 0000000..e600834
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs06-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>test[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html
new file mode 100644
index 0000000..548fbfe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-expected.html
@@ -0,0 +1,8 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li><p>[]test</p></li>
+ </ul>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html
new file mode 100644
index 0000000..a04f539
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/setList-paragraphs07-input.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+ showSelection();
+}
+</script>
+</head>
+<body>
+<p>[]test</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul01-expected.html b/experiments/editorFramework/test/Layer0/lists/ul01-expected.html
new file mode 100644
index 0000000..ca83af4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul01-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li><p>One</p></li>
+ <li><p>Two</p></li>
+ <li><p>Three</p></li>
+ <li><p>Four</p></li>
+ <li><p>Five</p></li>
+ </ul>
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul01-input.html b/experiments/editorFramework/test/Layer0/lists/ul01-input.html
new file mode 100644
index 0000000..d9b191a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul01-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>[One</p>
+<p>Two</p>
+<p>Three</p>
+<p>Four</p>
+<p>Five]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul02-expected.html b/experiments/editorFramework/test/Layer0/lists/ul02-expected.html
new file mode 100644
index 0000000..f8fdae0
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul02-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <ul>
+ <li><p>One</p></li>
+ </ul>
+ <p>Two</p>
+ <p>Three</p>
+ <p>Four</p>
+ <p>Five</p>
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul02-input.html b/experiments/editorFramework/test/Layer0/lists/ul02-input.html
new file mode 100644
index 0000000..e0fbea5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul02-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>[One]</p>
+<p>Two</p>
+<p>Three</p>
+<p>Four</p>
+<p>Five</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul03-expected.html b/experiments/editorFramework/test/Layer0/lists/ul03-expected.html
new file mode 100644
index 0000000..230709c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul03-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <p>One</p>
+ <p>Two</p>
+ <ul>
+ <li><p>Three</p></li>
+ </ul>
+ <p>Four</p>
+ <p>Five</p>
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul03-input.html b/experiments/editorFramework/test/Layer0/lists/ul03-input.html
new file mode 100644
index 0000000..50584a4
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul03-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<p>Two</p>
+<p>[Three]</p>
+<p>Four</p>
+<p>Five</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul04-expected.html b/experiments/editorFramework/test/Layer0/lists/ul04-expected.html
new file mode 100644
index 0000000..0c28fc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul04-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head></head>
+ <body>
+ <p>One</p>
+ <p>Two</p>
+ <p>Three</p>
+ <p>Four</p>
+ <ul>
+ <li><p>Five</p></li>
+ </ul>
+ </body>
+</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/lists/ul04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/lists/ul04-input.html b/experiments/editorFramework/test/Layer0/lists/ul04-input.html
new file mode 100644
index 0000000..646c86b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/lists/ul04-input.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ Lists_setUnorderedList();
+}
+</script>
+</head>
+<body>
+<p>One</p>
+<p>Two</p>
+<p>Three</span></p>
+<p>Four</p>
+<p>[Five]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html b/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html
new file mode 100644
index 0000000..ee604fe
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial01-expected.html
@@ -0,0 +1,27 @@
+Before
+------
+
+<html>
+ <head></head>
+ <body>
+ <p>
+ one
+ <span class="uxwrite-autocorrect" original="twox">two</span>
+ three
+ </p>
+ </body>
+</html>
+
+After
+-----
+
+<html>
+ <head></head>
+ <body>
+ <p>
+ one
+ two
+ three
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html b/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html
new file mode 100644
index 0000000..a92c85a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial01-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+// Test that autocorrect spans are removed
+
+function performTest()
+{
+ AutoCorrect_init();
+ PostponedActions_perform();
+
+ Cursor_insertCharacter("one");
+ Cursor_insertCharacter(" twox");
+ AutoCorrect_correctPrecedingWord(4,"two");
+ Cursor_insertCharacter(" three");
+ PostponedActions_perform();
+
+ var before = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+ Main_removeSpecial(document.documentElement);
+ var after = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+ return "Before\n------\n\n"+before+"\nAfter\n-----\n\n"+after;
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html b/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html
new file mode 100644
index 0000000..15d8615
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial02-expected.html
@@ -0,0 +1,19 @@
+Before
+------
+
+<html>
+ <head></head>
+ <body>
+ <p><span class="uxwrite-selection">one two three</span></p>
+ </body>
+</html>
+
+After
+-----
+
+<html>
+ <head></head>
+ <body>
+ <p>one two three</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html b/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html
new file mode 100644
index 0000000..4fda89c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial02-input.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+// Test that autocorrect spans are removed
+
+function performTest()
+{
+ Selection_selectAll();
+ outputOptions.keepSelectionHighlights = true;
+
+ var before = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+ Main_removeSpecial(document.documentElement);
+ var after = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+ return "Before\n------\n\n"+before+"\nAfter\n-----\n\n"+after;
+}
+</script>
+</head>
+<body>
+<p>one two three</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html b/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html
new file mode 100644
index 0000000..6baa319
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial03-expected.html
@@ -0,0 +1,27 @@
+Before
+------
+
+<html>
+ <head></head>
+ <body>
+ <p>
+ <span class="uxwrite-selection">one</span>
+ <span class="uxwrite-autocorrect" original="twox"><span class="uxwrite-selection">two</span></span>
+ <span class="uxwrite-selection">three</span>
+ </p>
+ </body>
+</html>
+
+After
+-----
+
+<html>
+ <head></head>
+ <body>
+ <p>
+ one
+ two
+ three
+ </p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html b/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html
new file mode 100644
index 0000000..84c83a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/main/removeSpecial03-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function performTest()
+{
+ AutoCorrect_init();
+ PostponedActions_perform();
+
+ Cursor_insertCharacter("one");
+ Cursor_insertCharacter(" twox");
+ AutoCorrect_correctPrecedingWord(4,"two");
+ Cursor_insertCharacter(" three");
+ PostponedActions_perform();
+
+ Selection_selectAll();
+ outputOptions.keepSelectionHighlights = true;
+
+ var before = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+ Main_removeSpecial(document.documentElement);
+ var after = PrettyPrinter.getHTML(document.documentElement,outputOptions);
+ return "Before\n------\n\n"+before+"\nAfter\n-----\n\n"+after;
+}
+</script>
+</head>
+<body>
+<p>[]</p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/OutlineTest.js
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/OutlineTest.js b/experiments/editorFramework/test/Layer0/outline/OutlineTest.js
new file mode 100644
index 0000000..587e82c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/OutlineTest.js
@@ -0,0 +1,111 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+function createTestSections(topChildren)
+{
+ var index = 1;
+
+ processChildren(1,topChildren);
+
+ PostponedActions_perform();
+
+ setNumbering(true);
+
+ function processChildren(level,children)
+ {
+ if (typeof children == "number") {
+ for (var i = 0; i < children; i++)
+ recurse(level,null);
+ }
+ else if (children instanceof Array) {
+ for (var i = 0; i < children.length; i++)
+ recurse(level,children[i]);
+ }
+ }
+
+ function recurse(level,children)
+ {
+ var heading = DOM_createElement(document,"H"+level);
+
+ DOM_appendChild(heading,DOM_createTextNode(document,"Section "+index));
+
+ var p1 = DOM_createElement(document,"P");
+ var p2 = DOM_createElement(document,"P");
+
+ DOM_appendChild(p1,DOM_createTextNode(document,"Content "+index+" A"));
+ DOM_appendChild(p2,DOM_createTextNode(document,"Content "+index+" B"));
+
+
+ DOM_appendChild(document.body,heading);
+ DOM_appendChild(document.body,p1);
+ DOM_appendChild(document.body,p2);
+ index++;
+
+ processChildren(level+1,children);
+ }
+}
+
+function setupOutline(topChildren)
+{
+ Outline_init();
+ PostponedActions_perform();
+ createTestSections(topChildren);
+}
+
+function createTestFigures(count)
+{
+ for (var i = 0; i < count; i++) {
+ var figure = DOM_createElement(document,"FIGURE");
+ var figcaption = DOM_createElement(document,"FIGCAPTION");
+ var content = DOM_createTextNode(document,"(figure content)");
+ var text = DOM_createTextNode(document,"Test figure "+String.fromCharCode(65+i));
+ DOM_appendChild(figcaption,text);
+ DOM_appendChild(figure,content);
+ DOM_appendChild(figure,figcaption);
+ DOM_appendChild(document.body,figure);
+ }
+}
+
+function createTestTables(count)
+{
+ for (var i = 0; i < count; i++) {
+ var offset = document.body.childNodes.length;
+ Selection_set(document.body,offset,document.body,offset);
+ Tables_insertTable(1,1,"100%",true,"Test table "+String.fromCharCode(65+i));
+ }
+ PostponedActions_perform();
+}
+
+function removeOutlineHTML(node)
+{
+ if ((node.nodeName == "SPAN") &&
+ (node.getAttribute("class") == "uxwrite-heading-number")) {
+ DOM_removeNodeButKeepChildren(node);
+ }
+ else {
+ for (var child = node.firstChild; child != null; child = child.nextSibling)
+ removeOutlineHTML(child);
+ for (var child = node.firstChild; child != null; child = child.nextSibling)
+ Formatting_mergeWithNeighbours(child,Formatting_MERGEABLE_INLINE);
+ }
+}
+
+function cleanupOutline()
+{
+ PostponedActions_perform();
+ removeOutlineHTML(document.body);
+}
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html
new file mode 100644
index 0000000..f9b3d80
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-expected.html
@@ -0,0 +1,12 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1">[No sections defined]</p>
+ </nav>
+ <p>Heading</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html
new file mode 100644
index 0000000..72e0be5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingToParagraph-input.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ Outline_init();
+ PostponedActions_perform();
+ Formatting_applyFormattingChanges("P",{});
+ PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+[<h1>Heading</h1>]
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html
new file mode 100644
index 0000000..d21ea79
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-expected.html
@@ -0,0 +1,31 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1">
+ <a href="#item1">
+ 1
+ One
+ </a>
+ </p>
+ <p class="toc1">
+ <a href="#item2">
+ 2
+ One - first subsection
+ </a>
+ </p>
+ <p class="toc2">
+ <a href="#item3">
+ 2.1
+ One - second subsection
+ </a>
+ </p>
+ </nav>
+ <h1 id="item1">One</h1>
+ <h1 id="item2">One - first subsection</h1>
+ <h2 id="item3">One - second subsection</h2>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html
new file mode 100644
index 0000000..0ded0c5
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/changeHeadingType-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+// TOC: This test isn't so meaningful any more, since we're not
+// actually automatic addition of numbering. Perhaps add a TOC,
+// to test that it's reflected?
+
+function performTest()
+{
+ setupOutlineNumbering();
+ Outline_init();
+ PostponedActions_perform();
+ setNumbering(true);
+ PostponedActions_perform();
+ Formatting_applyFormattingChanges("H1",{});
+ PostponedActions_perform();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+<h1>One</h1>
+ <h2>[One - first subsection]</h2>
+ <h2>One - second subsection</h2>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html
new file mode 100644
index 0000000..d946484
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-expected.html
@@ -0,0 +1,46 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item1">1 Section 1</a></p>
+ <p class="toc2"><a href="#item5">1.1 Section 5</a></p>
+ <p class="toc3"><a href="#item6">1.1.1 Section 6</a></p>
+ <p class="toc3"><a href="#item7">1.1.2 Section 7</a></p>
+ <p class="toc2"><a href="#item8">1.2 Section 8</a></p>
+ <p class="toc3"><a href="#item9">1.2.1 Section 9</a></p>
+ <p class="toc3"><a href="#item10">1.2.2 Section 10</a></p>
+ <p class="toc1"><a href="#item11">2 Section 11</a></p>
+ <p class="toc1"><a href="#item12">3 Section 12</a></p>
+ </nav>
+ <h1 id="item1">Section 1</h1>
+ <p>Content 1 A</p>
+ <p>Content 1 B</p>
+ <h2 id="item5">Section 5</h2>
+ <p>Content 5 A</p>
+ <p>Content 5 B</p>
+ <h3 id="item6">Section 6</h3>
+ <p>Content 6 A</p>
+ <p>Content 6 B</p>
+ <h3 id="item7">Section 7</h3>
+ <p>Content 7 A</p>
+ <p>Content 7 B</p>
+ <h2 id="item8">Section 8</h2>
+ <p>Content 8 A</p>
+ <p>Content 8 B</p>
+ <h3 id="item9">Section 9</h3>
+ <p>Content 9 A</p>
+ <p>Content 9 B</p>
+ <h3 id="item10">Section 10</h3>
+ <p>Content 10 A</p>
+ <p>Content 10 B</p>
+ <h1 id="item11">Section 11</h1>
+ <p>Content 11 A</p>
+ <p>Content 11 B</p>
+ <h1 id="item12">Section 12</h1>
+ <p>Content 12 A</p>
+ <p>Content 12 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-input.html
new file mode 100644
index 0000000..7d9590a
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline([[2,2,2],0,0]);
+
+ Outline_deleteItem("item2");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-expected.html
new file mode 100644
index 0000000..11d7820
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-expected.html
@@ -0,0 +1,46 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item1">1 Section 1</a></p>
+ <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+ <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+ <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+ <p class="toc2"><a href="#item8">1.2 Section 8</a></p>
+ <p class="toc3"><a href="#item9">1.2.1 Section 9</a></p>
+ <p class="toc3"><a href="#item10">1.2.2 Section 10</a></p>
+ <p class="toc1"><a href="#item11">2 Section 11</a></p>
+ <p class="toc1"><a href="#item12">3 Section 12</a></p>
+ </nav>
+ <h1 id="item1">Section 1</h1>
+ <p>Content 1 A</p>
+ <p>Content 1 B</p>
+ <h2 id="item2">Section 2</h2>
+ <p>Content 2 A</p>
+ <p>Content 2 B</p>
+ <h3 id="item3">Section 3</h3>
+ <p>Content 3 A</p>
+ <p>Content 3 B</p>
+ <h3 id="item4">Section 4</h3>
+ <p>Content 4 A</p>
+ <p>Content 4 B</p>
+ <h2 id="item8">Section 8</h2>
+ <p>Content 8 A</p>
+ <p>Content 8 B</p>
+ <h3 id="item9">Section 9</h3>
+ <p>Content 9 A</p>
+ <p>Content 9 B</p>
+ <h3 id="item10">Section 10</h3>
+ <p>Content 10 A</p>
+ <p>Content 10 B</p>
+ <h1 id="item11">Section 11</h1>
+ <p>Content 11 A</p>
+ <p>Content 11 B</p>
+ <h1 id="item12">Section 12</h1>
+ <p>Content 12 A</p>
+ <p>Content 12 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-input.html
new file mode 100644
index 0000000..3a610a7
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline([[2,2,2],0,0]);
+
+ Outline_deleteItem("item5");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-expected.html
new file mode 100644
index 0000000..a2ca2ad
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-expected.html
@@ -0,0 +1,46 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item1">1 Section 1</a></p>
+ <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+ <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+ <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+ <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
+ <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
+ <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
+ <p class="toc1"><a href="#item11">2 Section 11</a></p>
+ <p class="toc1"><a href="#item12">3 Section 12</a></p>
+ </nav>
+ <h1 id="item1">Section 1</h1>
+ <p>Content 1 A</p>
+ <p>Content 1 B</p>
+ <h2 id="item2">Section 2</h2>
+ <p>Content 2 A</p>
+ <p>Content 2 B</p>
+ <h3 id="item3">Section 3</h3>
+ <p>Content 3 A</p>
+ <p>Content 3 B</p>
+ <h3 id="item4">Section 4</h3>
+ <p>Content 4 A</p>
+ <p>Content 4 B</p>
+ <h2 id="item5">Section 5</h2>
+ <p>Content 5 A</p>
+ <p>Content 5 B</p>
+ <h3 id="item6">Section 6</h3>
+ <p>Content 6 A</p>
+ <p>Content 6 B</p>
+ <h3 id="item7">Section 7</h3>
+ <p>Content 7 A</p>
+ <p>Content 7 B</p>
+ <h1 id="item11">Section 11</h1>
+ <p>Content 11 A</p>
+ <p>Content 11 B</p>
+ <h1 id="item12">Section 12</h1>
+ <p>Content 12 A</p>
+ <p>Content 12 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-input.html
new file mode 100644
index 0000000..a9edd43
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-inner03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline([[2,2,2],0,0]);
+
+ Outline_deleteItem("item8");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-expected.html
new file mode 100644
index 0000000..98f4c6b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-expected.html
@@ -0,0 +1,66 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item8">1 Section 8</a></p>
+ <p class="toc2"><a href="#item9">1.1 Section 9</a></p>
+ <p class="toc3"><a href="#item10">1.1.1 Section 10</a></p>
+ <p class="toc3"><a href="#item11">1.1.2 Section 11</a></p>
+ <p class="toc2"><a href="#item12">1.2 Section 12</a></p>
+ <p class="toc3"><a href="#item13">1.2.1 Section 13</a></p>
+ <p class="toc3"><a href="#item14">1.2.2 Section 14</a></p>
+ <p class="toc1"><a href="#item15">2 Section 15</a></p>
+ <p class="toc2"><a href="#item16">2.1 Section 16</a></p>
+ <p class="toc3"><a href="#item17">2.1.1 Section 17</a></p>
+ <p class="toc3"><a href="#item18">2.1.2 Section 18</a></p>
+ <p class="toc2"><a href="#item19">2.2 Section 19</a></p>
+ <p class="toc3"><a href="#item20">2.2.1 Section 20</a></p>
+ <p class="toc3"><a href="#item21">2.2.2 Section 21</a></p>
+ </nav>
+ <h1 id="item8">Section 8</h1>
+ <p>Content 8 A</p>
+ <p>Content 8 B</p>
+ <h2 id="item9">Section 9</h2>
+ <p>Content 9 A</p>
+ <p>Content 9 B</p>
+ <h3 id="item10">Section 10</h3>
+ <p>Content 10 A</p>
+ <p>Content 10 B</p>
+ <h3 id="item11">Section 11</h3>
+ <p>Content 11 A</p>
+ <p>Content 11 B</p>
+ <h2 id="item12">Section 12</h2>
+ <p>Content 12 A</p>
+ <p>Content 12 B</p>
+ <h3 id="item13">Section 13</h3>
+ <p>Content 13 A</p>
+ <p>Content 13 B</p>
+ <h3 id="item14">Section 14</h3>
+ <p>Content 14 A</p>
+ <p>Content 14 B</p>
+ <h1 id="item15">Section 15</h1>
+ <p>Content 15 A</p>
+ <p>Content 15 B</p>
+ <h2 id="item16">Section 16</h2>
+ <p>Content 16 A</p>
+ <p>Content 16 B</p>
+ <h3 id="item17">Section 17</h3>
+ <p>Content 17 A</p>
+ <p>Content 17 B</p>
+ <h3 id="item18">Section 18</h3>
+ <p>Content 18 A</p>
+ <p>Content 18 B</p>
+ <h2 id="item19">Section 19</h2>
+ <p>Content 19 A</p>
+ <p>Content 19 B</p>
+ <h3 id="item20">Section 20</h3>
+ <p>Content 20 A</p>
+ <p>Content 20 B</p>
+ <h3 id="item21">Section 21</h3>
+ <p>Content 21 A</p>
+ <p>Content 21 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-input.html
new file mode 100644
index 0000000..4f658cf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline([[2,2],[2,2],[2,2]]);
+
+ Outline_deleteItem("item1");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-expected.html
new file mode 100644
index 0000000..6029daa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-expected.html
@@ -0,0 +1,66 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item1">1 Section 1</a></p>
+ <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+ <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+ <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+ <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
+ <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
+ <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
+ <p class="toc1"><a href="#item15">2 Section 15</a></p>
+ <p class="toc2"><a href="#item16">2.1 Section 16</a></p>
+ <p class="toc3"><a href="#item17">2.1.1 Section 17</a></p>
+ <p class="toc3"><a href="#item18">2.1.2 Section 18</a></p>
+ <p class="toc2"><a href="#item19">2.2 Section 19</a></p>
+ <p class="toc3"><a href="#item20">2.2.1 Section 20</a></p>
+ <p class="toc3"><a href="#item21">2.2.2 Section 21</a></p>
+ </nav>
+ <h1 id="item1">Section 1</h1>
+ <p>Content 1 A</p>
+ <p>Content 1 B</p>
+ <h2 id="item2">Section 2</h2>
+ <p>Content 2 A</p>
+ <p>Content 2 B</p>
+ <h3 id="item3">Section 3</h3>
+ <p>Content 3 A</p>
+ <p>Content 3 B</p>
+ <h3 id="item4">Section 4</h3>
+ <p>Content 4 A</p>
+ <p>Content 4 B</p>
+ <h2 id="item5">Section 5</h2>
+ <p>Content 5 A</p>
+ <p>Content 5 B</p>
+ <h3 id="item6">Section 6</h3>
+ <p>Content 6 A</p>
+ <p>Content 6 B</p>
+ <h3 id="item7">Section 7</h3>
+ <p>Content 7 A</p>
+ <p>Content 7 B</p>
+ <h1 id="item15">Section 15</h1>
+ <p>Content 15 A</p>
+ <p>Content 15 B</p>
+ <h2 id="item16">Section 16</h2>
+ <p>Content 16 A</p>
+ <p>Content 16 B</p>
+ <h3 id="item17">Section 17</h3>
+ <p>Content 17 A</p>
+ <p>Content 17 B</p>
+ <h3 id="item18">Section 18</h3>
+ <p>Content 18 A</p>
+ <p>Content 18 B</p>
+ <h2 id="item19">Section 19</h2>
+ <p>Content 19 A</p>
+ <p>Content 19 B</p>
+ <h3 id="item20">Section 20</h3>
+ <p>Content 20 A</p>
+ <p>Content 20 B</p>
+ <h3 id="item21">Section 21</h3>
+ <p>Content 21 A</p>
+ <p>Content 21 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-input.html
new file mode 100644
index 0000000..3f99354
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline([[2,2],[2,2],[2,2]]);
+
+ Outline_deleteItem("item8");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-expected.html
new file mode 100644
index 0000000..413c731
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-expected.html
@@ -0,0 +1,66 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item1">1 Section 1</a></p>
+ <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
+ <p class="toc3"><a href="#item3">1.1.1 Section 3</a></p>
+ <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
+ <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
+ <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
+ <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
+ <p class="toc1"><a href="#item8">2 Section 8</a></p>
+ <p class="toc2"><a href="#item9">2.1 Section 9</a></p>
+ <p class="toc3"><a href="#item10">2.1.1 Section 10</a></p>
+ <p class="toc3"><a href="#item11">2.1.2 Section 11</a></p>
+ <p class="toc2"><a href="#item12">2.2 Section 12</a></p>
+ <p class="toc3"><a href="#item13">2.2.1 Section 13</a></p>
+ <p class="toc3"><a href="#item14">2.2.2 Section 14</a></p>
+ </nav>
+ <h1 id="item1">Section 1</h1>
+ <p>Content 1 A</p>
+ <p>Content 1 B</p>
+ <h2 id="item2">Section 2</h2>
+ <p>Content 2 A</p>
+ <p>Content 2 B</p>
+ <h3 id="item3">Section 3</h3>
+ <p>Content 3 A</p>
+ <p>Content 3 B</p>
+ <h3 id="item4">Section 4</h3>
+ <p>Content 4 A</p>
+ <p>Content 4 B</p>
+ <h2 id="item5">Section 5</h2>
+ <p>Content 5 A</p>
+ <p>Content 5 B</p>
+ <h3 id="item6">Section 6</h3>
+ <p>Content 6 A</p>
+ <p>Content 6 B</p>
+ <h3 id="item7">Section 7</h3>
+ <p>Content 7 A</p>
+ <p>Content 7 B</p>
+ <h1 id="item8">Section 8</h1>
+ <p>Content 8 A</p>
+ <p>Content 8 B</p>
+ <h2 id="item9">Section 9</h2>
+ <p>Content 9 A</p>
+ <p>Content 9 B</p>
+ <h3 id="item10">Section 10</h3>
+ <p>Content 10 A</p>
+ <p>Content 10 B</p>
+ <h3 id="item11">Section 11</h3>
+ <p>Content 11 A</p>
+ <p>Content 11 B</p>
+ <h2 id="item12">Section 12</h2>
+ <p>Content 12 A</p>
+ <p>Content 12 B</p>
+ <h3 id="item13">Section 13</h3>
+ <p>Content 13 A</p>
+ <p>Content 13 B</p>
+ <h3 id="item14">Section 14</h3>
+ <p>Content 14 A</p>
+ <p>Content 14 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-input.html
new file mode 100644
index 0000000..197304b
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection-nested03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline([[2,2],[2,2],[2,2]]);
+
+ Outline_deleteItem("item15");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection01-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection01-expected.html
new file mode 100644
index 0000000..0043d0f
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection01-expected.html
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item2">1 Section 2</a></p>
+ <p class="toc1"><a href="#item3">2 Section 3</a></p>
+ </nav>
+ <h1 id="item2">Section 2</h1>
+ <p>Content 2 A</p>
+ <p>Content 2 B</p>
+ <h1 id="item3">Section 3</h1>
+ <p>Content 3 A</p>
+ <p>Content 3 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html
new file mode 100644
index 0000000..91a2260
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection01-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline(3);
+
+ Outline_deleteItem("item1");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection02-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection02-expected.html
new file mode 100644
index 0000000..c6ecdfa
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection02-expected.html
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item1">1 Section 1</a></p>
+ <p class="toc1"><a href="#item3">2 Section 3</a></p>
+ </nav>
+ <h1 id="item1">Section 1</h1>
+ <p>Content 1 A</p>
+ <p>Content 1 B</p>
+ <h1 id="item3">Section 3</h1>
+ <p>Content 3 A</p>
+ <p>Content 3 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html
new file mode 100644
index 0000000..044e65c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection02-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline(3);
+
+ Outline_deleteItem("item2");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection03-expected.html b/experiments/editorFramework/test/Layer0/outline/deleteSection03-expected.html
new file mode 100644
index 0000000..87ce5c3
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection03-expected.html
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <nav class="tableofcontents">
+ <p class="toc1"><a href="#item1">1 Section 1</a></p>
+ <p class="toc1"><a href="#item2">2 Section 2</a></p>
+ </nav>
+ <h1 id="item1">Section 1</h1>
+ <p>Content 1 A</p>
+ <p>Content 1 B</p>
+ <h1 id="item2">Section 2</h1>
+ <p>Content 2 A</p>
+ <p>Content 2 B</p>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html b/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html
new file mode 100644
index 0000000..4b83cea
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/deleteSection03-input.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ setupOutlineNumbering();
+ setupOutline(3);
+
+ Outline_deleteItem("item3");
+
+ cleanupOutline();
+}
+</script>
+</head>
+<body>
+<nav class="tableofcontents"></nav>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery01-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery01-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery01-expected.html
new file mode 100644
index 0000000..6b82bc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery01-expected.html
@@ -0,0 +1,27 @@
+Sections:
+ First heading (item1)
+ Second heading (item4)
+ Third heading (item7)
+Figures:
+ [no caption] (item2)
+ [no caption] (item5)
+ [no caption] (item8)
+Tables:
+ [no caption] (item3)
+ [no caption] (item6)
+ [no caption] (item9)
+<html>
+ <head>
+ </head>
+ <body>
+ <h1 id="item1">First heading</h1>
+ <figure id="item2"/>
+ <table id="item3"/>
+ <h2 id="item4">Second heading</h2>
+ <figure id="item5"/>
+ <table id="item6"/>
+ <h3 id="item7">Third heading</h3>
+ <figure id="item8"/>
+ <table id="item9"/>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery01-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery01-input.html b/experiments/editorFramework/test/Layer0/outline/discovery01-input.html
new file mode 100644
index 0000000..d587a09
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery01-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First heading</h1>
+<figure></figure>
+<table></table>
+<h2>Second heading</h2>
+<figure></figure>
+<table></table>
+<h3>Third heading</h3>
+<figure></figure>
+<table></table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html
new file mode 100644
index 0000000..dcb2a30
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery02-expected.html
@@ -0,0 +1,41 @@
+Sections:
+ 1 First heading (item1)
+ 1.1 Second heading (item4)
+ 1.1.1 Third heading (item7)
+Figures:
+ 1 (item2)
+ 2 (item5)
+ 3 (item8)
+Tables:
+ 1 (item3)
+ 2 (item6)
+ 3 (item9)
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 id="item1">First heading</h1>
+ <figure id="item2">
+ <figcaption/>
+ </figure>
+ <table id="item3">
+ <caption/>
+ </table>
+ <h2 id="item4">Second heading</h2>
+ <figure id="item5">
+ <figcaption/>
+ </figure>
+ <table id="item6">
+ <caption/>
+ </table>
+ <h3 id="item7">Third heading</h3>
+ <figure id="item8">
+ <figcaption/>
+ </figure>
+ <table id="item9">
+ <caption/>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery02-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery02-input.html b/experiments/editorFramework/test/Layer0/outline/discovery02-input.html
new file mode 100644
index 0000000..5967cac
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery02-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ setNumbering(true);
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First heading</h1>
+<figure></figure>
+<table></table>
+<h2>Second heading</h2>
+<figure></figure>
+<table></table>
+<h3>Third heading</h3>
+<figure></figure>
+<table></table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html
new file mode 100644
index 0000000..dae801d
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery03-expected.html
@@ -0,0 +1,39 @@
+Sections:
+ First section (item1)
+ Second section (item4)
+ Third section (item7)
+Figures:
+ First figure (item2)
+ Second figure (item5)
+ Third figure (item8)
+Tables:
+ First table (item3)
+ Second table (item6)
+ Third table (item9)
+<html>
+ <head>
+ </head>
+ <body>
+ <h1 id="item1">First section</h1>
+ <figure id="item2">
+ <figcaption class="Unnumbered">First figure</figcaption>
+ </figure>
+ <table id="item3">
+ <caption class="Unnumbered">First table</caption>
+ </table>
+ <h1 id="item4">Second section</h1>
+ <figure id="item5">
+ <figcaption class="Unnumbered">Second figure</figcaption>
+ </figure>
+ <table id="item6">
+ <caption class="Unnumbered">Second table</caption>
+ </table>
+ <h1 id="item7">Third section</h1>
+ <figure id="item8">
+ <figcaption class="Unnumbered">Third figure</figcaption>
+ </figure>
+ <table id="item9">
+ <caption class="Unnumbered">Third table</caption>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery03-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery03-input.html b/experiments/editorFramework/test/Layer0/outline/discovery03-input.html
new file mode 100644
index 0000000..4d5c4ab
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery03-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<figure><figcaption>First figure</figcaption></figure>
+<table><caption>First table</caption></table>
+<h1>Second section</h1>
+<figure><figcaption>Second figure</figcaption></figure>
+<table><caption>Second table</caption></table>
+<h1>Third section</h1>
+<figure><figcaption>Third figure</figcaption></figure>
+<table><caption>Third table</caption></table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html
new file mode 100644
index 0000000..09986e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery04-expected.html
@@ -0,0 +1,41 @@
+Sections:
+ 1 First section (item1)
+ 2 Second section (item4)
+ 3 Third section (item7)
+Figures:
+ 1 First figure (item2)
+ 2 Second figure (item5)
+ 3 Third figure (item8)
+Tables:
+ 1 First table (item3)
+ 2 Second table (item6)
+ 3 Third table (item9)
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 id="item1">First section</h1>
+ <figure id="item2">
+ <figcaption>First figure</figcaption>
+ </figure>
+ <table id="item3">
+ <caption>First table</caption>
+ </table>
+ <h1 id="item4">Second section</h1>
+ <figure id="item5">
+ <figcaption>Second figure</figcaption>
+ </figure>
+ <table id="item6">
+ <caption>Second table</caption>
+ </table>
+ <h1 id="item7">Third section</h1>
+ <figure id="item8">
+ <figcaption>Third figure</figcaption>
+ </figure>
+ <table id="item9">
+ <caption>Third table</caption>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery04-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery04-input.html b/experiments/editorFramework/test/Layer0/outline/discovery04-input.html
new file mode 100644
index 0000000..ac0a6e1
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery04-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ setNumbering(true);
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<figure><figcaption>First figure</figcaption></figure>
+<table><caption>First table</caption></table>
+<h1>Second section</h1>
+<figure><figcaption>Second figure</figcaption></figure>
+<table><caption>Second table</caption></table>
+<h1>Third section</h1>
+<figure><figcaption>Third figure</figcaption></figure>
+<table><caption>Third table</caption></table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html
new file mode 100644
index 0000000..09986e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery05-expected.html
@@ -0,0 +1,41 @@
+Sections:
+ 1 First section (item1)
+ 2 Second section (item4)
+ 3 Third section (item7)
+Figures:
+ 1 First figure (item2)
+ 2 Second figure (item5)
+ 3 Third figure (item8)
+Tables:
+ 1 First table (item3)
+ 2 Second table (item6)
+ 3 Third table (item9)
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 id="item1">First section</h1>
+ <figure id="item2">
+ <figcaption>First figure</figcaption>
+ </figure>
+ <table id="item3">
+ <caption>First table</caption>
+ </table>
+ <h1 id="item4">Second section</h1>
+ <figure id="item5">
+ <figcaption>Second figure</figcaption>
+ </figure>
+ <table id="item6">
+ <caption>Second table</caption>
+ </table>
+ <h1 id="item7">Third section</h1>
+ <figure id="item8">
+ <figcaption>Third figure</figcaption>
+ </figure>
+ <table id="item9">
+ <caption>Third table</caption>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery05-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery05-input.html b/experiments/editorFramework/test/Layer0/outline/discovery05-input.html
new file mode 100644
index 0000000..9c806e6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery05-input.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>6 First section</h1>
+<figure><figcaption>Figure 4: First figure</figcaption></figure>
+<table><caption>Table 9: First table</caption></table>
+<h1>12.3 Second section</h1>
+<figure><figcaption>Figure 5.11: Second figure</figcaption></figure>
+<table><caption>Table 9.13: Second table</caption></table>
+<h1>14.5.3 Third section</h1>
+<figure><figcaption>Figure 3.12.199: Third figure</figcaption></figure>
+<table><caption>Table 88.55.44: Third table</caption></table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html
new file mode 100644
index 0000000..3f65556
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery06-expected.html
@@ -0,0 +1,41 @@
+Sections:
+ First section (item1)
+ Second section (item4)
+ Third section (item7)
+Figures:
+ First figure (item2)
+ Second figure (item5)
+ Third figure (item8)
+Tables:
+ First table (item3)
+ Second table (item6)
+ Third table (item9)
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 class="Unnumbered" id="item1">First section</h1>
+ <figure id="item2">
+ <figcaption class="Unnumbered">First figure</figcaption>
+ </figure>
+ <table id="item3">
+ <caption class="Unnumbered">First table</caption>
+ </table>
+ <h1 class="Unnumbered" id="item4">Second section</h1>
+ <figure id="item5">
+ <figcaption class="Unnumbered">Second figure</figcaption>
+ </figure>
+ <table id="item6">
+ <caption class="Unnumbered">Second table</caption>
+ </table>
+ <h1 class="Unnumbered" id="item7">Third section</h1>
+ <figure id="item8">
+ <figcaption class="Unnumbered">Third figure</figcaption>
+ </figure>
+ <table id="item9">
+ <caption class="Unnumbered">Third table</caption>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery06-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery06-input.html b/experiments/editorFramework/test/Layer0/outline/discovery06-input.html
new file mode 100644
index 0000000..8284d44
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery06-input.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ setNumbering(true);
+ setNumbering(false);
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<figure><figcaption>First figure</figcaption></figure>
+<table><caption>First table</caption></table>
+<h1>Second section</h1>
+<figure><figcaption>Second figure</figcaption></figure>
+<table><caption>Second table</caption></table>
+<h1>Third section</h1>
+<figure><figcaption>Third figure</figcaption></figure>
+<table><caption>Third table</caption></table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html
new file mode 100644
index 0000000..3f65556
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery07-expected.html
@@ -0,0 +1,41 @@
+Sections:
+ First section (item1)
+ Second section (item4)
+ Third section (item7)
+Figures:
+ First figure (item2)
+ Second figure (item5)
+ Third figure (item8)
+Tables:
+ First table (item3)
+ Second table (item6)
+ Third table (item9)
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 class="Unnumbered" id="item1">First section</h1>
+ <figure id="item2">
+ <figcaption class="Unnumbered">First figure</figcaption>
+ </figure>
+ <table id="item3">
+ <caption class="Unnumbered">First table</caption>
+ </table>
+ <h1 class="Unnumbered" id="item4">Second section</h1>
+ <figure id="item5">
+ <figcaption class="Unnumbered">Second figure</figcaption>
+ </figure>
+ <table id="item6">
+ <caption class="Unnumbered">Second table</caption>
+ </table>
+ <h1 class="Unnumbered" id="item7">Third section</h1>
+ <figure id="item8">
+ <figcaption class="Unnumbered">Third figure</figcaption>
+ </figure>
+ <table id="item9">
+ <caption class="Unnumbered">Third table</caption>
+ </table>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery07-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery07-input.html b/experiments/editorFramework/test/Layer0/outline/discovery07-input.html
new file mode 100644
index 0000000..da5886c
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery07-input.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ setNumbering(false);
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>6 First section</h1>
+<figure><figcaption>Figure 4: First figure</figcaption></figure>
+<table><caption>Table 9: First table</caption></table>
+<h1>12.3 Second section</h1>
+<figure><figcaption>Figure 5.11: Second figure</figcaption></figure>
+<table><caption>Table 9.13: Second table</caption></table>
+<h1>14.5.3 Third section</h1>
+<figure><figcaption>Figure 3.12.199: Third figure</figcaption></figure>
+<table><caption>Table 88.55.44: Third table</caption></table>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html
new file mode 100644
index 0000000..cca44e2
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery08-expected.html
@@ -0,0 +1,25 @@
+Sections:
+ First section (item1)
+ 1 Second section (item2)
+ 2 Third section (item3)
+ 3 Fourth section (item4)
+ 4 Fifth section (item5)
+ 5 Sixth section (item6)
+ 6 Seventh section (item7)
+Figures:
+Tables:
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 class="Unnumbered" id="item1">First section</h1>
+ <h1 id="item2">Second section</h1>
+ <h1 id="item3">Third section</h1>
+ <h1 id="item4">Fourth section</h1>
+ <h1 id="item5">Fifth section</h1>
+ <h1 id="item6">Sixth section</h1>
+ <h1 id="item7">Seventh section</h1>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery08-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery08-input.html b/experiments/editorFramework/test/Layer0/outline/discovery08-input.html
new file mode 100644
index 0000000..74a2810
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery08-input.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section</h1>
+<h1>5 Second section</h1>
+<h1>5. Third section</h1>
+<h1>5.4 Fourth section</h1>
+<h1>5.4. Fifth section</h1>
+<h1>5.4.3 Sixth section</h1>
+<h1>5.4.3. Seventh section</h1>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html
new file mode 100644
index 0000000..584bdc6
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery09-expected.html
@@ -0,0 +1,27 @@
+Sections:
+ First section - not numbered (item1)
+ 1 Second section (item2)
+ 2 Third section (item3)
+ Fourth section - not numbered (item4)
+ Fifth section - not numbered (item5)
+ 3 Sixth section (item6)
+ 4 Seventh section (item7)
+ Eighth section - not numbered (item8)
+Figures:
+Tables:
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 class="Unnumbered" id="item1">First section - not numbered</h1>
+ <h1 id="item2">Second section</h1>
+ <h1 id="item3">Third section</h1>
+ <h1 class="Unnumbered" id="item4">Fourth section - not numbered</h1>
+ <h1 class="Unnumbered" id="item5">Fifth section - not numbered</h1>
+ <h1 id="item6">Sixth section</h1>
+ <h1 id="item7">Seventh section</h1>
+ <h1 class="Unnumbered" id="item8">Eighth section - not numbered</h1>
+ </body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery09-input.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery09-input.html b/experiments/editorFramework/test/Layer0/outline/discovery09-input.html
new file mode 100644
index 0000000..c1d0acf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery09-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script type="text/javascript" src="OutlineTest.js"></script>
+<script>
+
+function performTest()
+{
+ Outline_init();
+ if (Outline_detectSectionNumbering())
+ setupOutlineNumbering();
+ PostponedActions_perform();
+ return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
+}
+</script>
+</head>
+<body>
+<h1>First section - not numbered</h1>
+<h1>99 Second section</h1>
+<h1>99 Third section</h1>
+<h1>Fourth section - not numbered</h1>
+<h1>Fifth section - not numbered</h1>
+<h1>99 Sixth section</h1>
+<h1>99 Seventh section</h1>
+<h1>Eighth section - not numbered</h1>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/0633908a/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html b/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html
new file mode 100644
index 0000000..3ac52bf
--- /dev/null
+++ b/experiments/editorFramework/test/Layer0/outline/discovery10-expected.html
@@ -0,0 +1,29 @@
+Sections:
+ 1 Top-level heading (item1)
+ First section - not numbered (item2)
+ 1.1 Second section (item3)
+ 1.2 Third section (item4)
+ Fourth section - not numbered (item5)
+ Fifth section - not numbered (item6)
+ 1.3 Sixth section (item7)
+ 1.4 Seventh section (item8)
+ Eighth section - not numbered (item9)
+Figures:
+Tables:
+<html>
+ <head>
+ <style>
+ </style>
+ </head>
+ <body>
+ <h1 id="item1">Top-level heading</h1>
+ <h2 class="Unnumbered" id="item2">First section - not numbered</h2>
+ <h2 id="item3">Second section</h2>
+ <h2 id="item4">Third section</h2>
+ <h2 class="Unnumbered" id="item5">Fourth section - not numbered</h2>
+ <h2 class="Unnumbered" id="item6">Fifth section - not numbered</h2>
+ <h2 id="item7">Sixth section</h2>
+ <h2 id="item8">Seventh section</h2>
+ <h2 class="Unnumbered" id="item9">Eighth section - not numbered</h2>
+ </body>
+</html>