3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
7 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
8 style=
"background-color: green">
9 <?xml-stylesheet href=
"test010.css" type=
"text/css"?>
10 <?xul-overlay href=
"test010-overlay.xul" ?>
12 function assert(x, msg) {
14 dump(
"assertion failed! " + msg +
"\n");
15 document.getElementById(
"main").style.backgroundColor =
"red";
20 assert(document.firstChild.id ==
"main",
"nothing in prolog");
21 var winEl = document.documentElement;
22 assert(winEl.childNodes[
0].nodeName ==
"xml-stylesheet",
"xml-stylesheet PI is in the correct place");
23 assert(winEl.childNodes[
1].nodeName ==
"xul-overlay",
"xul-overlay PI is in the correct place");