summaryrefslogtreecommitdiffstats
path: root/layout/reftests/xul-document-load/test004.xhtml
blob: ccb030ba1f9ada9f27ac609aaa5815a8e71a8c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>