layout/reftests/bugs/421203-5.xul

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 2 xmlns:html="http://www.w3.org/1999/xhtml"
michael@0 3 class="reftest-wait">
michael@0 4 <script type="text/javascript"><![CDATA[
michael@0 5 function run() {
michael@0 6 const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
michael@0 7 const HTML_NS = "http://www.w3.org/1999/xhtml";
michael@0 8 var window = document.getElementsByTagName("window")[0];
michael@0 9 var span = document.createElementNS(HTML_NS, "html:span");
michael@0 10 window.appendChild(span); // causes block wrapping
michael@0 11 setTimeout(finish, 0);
michael@0 12 }
michael@0 13 function finish() {
michael@0 14 document.documentElement.removeAttribute("class");
michael@0 15 }
michael@0 16 function load(event) {
michael@0 17 setTimeout(run, 0);
michael@0 18 }
michael@0 19 window.addEventListener("load", load, false);
michael@0 20 ]]></script>
michael@0 21 <box flex="1" />
michael@0 22 <label value="hello world" />
michael@0 23 </window>

mercurial