summaryrefslogtreecommitdiffstats
path: root/dom/tests/js/write.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/js/write.html')
-rw-r--r--dom/tests/js/write.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/tests/js/write.html b/dom/tests/js/write.html
new file mode 100644
index 000000000..dfee64946
--- /dev/null
+++ b/dom/tests/js/write.html
@@ -0,0 +1,12 @@
+<HTML>
+<BODY>
+<P>This is text in the document.</P>
+<SCRIPT>
+document.writeln("<P>This is text generated by a document.write.");
+document.writeln("And this is an image: <IMG SRC='http://zabadubop/layers/tests/mzcolor.gif'></P>");
+</SCRIPT>
+And now some more text in the document.
+<SCRIPT>
+document.writeln("<SCRIPT>document.writeln('<P>Text from a recursive document.write.</P>');<\/SCRIPT>");
+</SCRIPT>
+</BODY> \ No newline at end of file