summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/tests/test_select_all_without_body.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/tests/test_select_all_without_body.html')
-rw-r--r--editor/libeditor/tests/test_select_all_without_body.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/editor/libeditor/tests/test_select_all_without_body.html b/editor/libeditor/tests/test_select_all_without_body.html
new file mode 100644
index 0000000000..0e8dca9f3d
--- /dev/null
+++ b/editor/libeditor/tests/test_select_all_without_body.html
@@ -0,0 +1,26 @@
+<html>
+<head>
+ <title>Test select all in HTML editor without body element</title>
+ <script src="/tests/SimpleTest/SimpleTest.js"></script>
+ <link rel="stylesheet" type="text/css"
+ href="/tests/SimpleTest/test.css" />
+</head>
+<body>
+<p id="display">
+</p>
+<div id="content" style="display: none">
+
+</div>
+<pre id="test">
+</pre>
+
+<script class="testbody" type="application/javascript">
+
+SimpleTest.waitForExplicitFinish();
+window.open("file_select_all_without_body.html", "_blank",
+ "width=600,height=600");
+
+</script>
+</body>
+
+</html>