Bug 575870 - Enable the firefox button on xp themed, classic, and aero basic. r=dao...
[mozilla-central.git] / layout / reftests / bugs / 321402-5.xul
blob61b99970fb25211e4eba23ce130975474e055089
1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
2         xmlns:html="http://www.w3.org/1999/xhtml"
3         class="reftest-wait">
4   <script type="text/javascript"><![CDATA[
5     function run() {
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.appendChild(span); // causes block wrapping
11       setTimeout(finish, 0);
12     }
13     function finish() {
14       document.documentElement.removeAttribute("class");
15     }
16     function load(event) {
17       setTimeout(run, 0);
18     }
19     window.addEventListener("load", load, false);
20   ]]></script>
21   <vbox flex="1">
22     <box flex="1" />
23     <label value="hello world" />
24   </vbox>
25 </window>