1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
2 xmlns:html="http://www.w3.org/1999/xhtml"
4 <script type="text/javascript"><![CDATA[
6 const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
7 const HTML_NS = "http://www.w3.org/1999/xhtml";
8 var vbox = document.getElementsByTagName("vbox")[0];
9 var span = document.createElementNS(HTML_NS, "html:span");
10 vbox.insertBefore(span, vbox.firstChild); // causes block wrapping
11 setTimeout(finish, 0);
14 document.documentElement.removeAttribute("class");
16 function load(event) {
19 window.addEventListener("load", load, false);
23 <label value="hello world" />