summaryrefslogtreecommitdiffstats
path: root/layout/reftests/xul-document-load/test004.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/xul-document-load/test004.xhtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/xul-document-load/test004.xhtml b/layout/reftests/xul-document-load/test004.xhtml
new file mode 100644
index 0000000000..ccb030ba1f
--- /dev/null
+++ b/layout/reftests/xul-document-load/test004.xhtml
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!--
+Any copyright is dedicated to the Public Domain.
+http://creativecommons.org/licenses/publicdomain/
+-->
+<?xml-stylesheet href="test004.css" type="text/css"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ style="background-color: green" onload="handleOnLoad();">
+<script type="text/javascript">
+function handleOnLoad() {
+ document.removeChild(document.firstChild);
+}
+</script>
+</window> \ No newline at end of file