layout/reftests/bugs/321402-6.xul

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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 span = document.getElementsByTagNameNS(HTML_NS, "span")[0];
     9       span.parentNode.removeChild(span);
    10       setTimeout(finish, 0);
    11     }
    12     function finish() {
    13       document.documentElement.removeAttribute("class");
    14     }
    15     function load(event) {
    16       setTimeout(run, 0);
    17     }
    18     window.addEventListener("load", load, false);
    19   ]]></script>
    20   <vbox flex="1">
    21     <html:span style="display:inline" flex="1" /> <!-- causes block wrapping -->
    22     <box flex="1" />
    23     <label value="hello world" />
    24   </vbox>
    25 </window>

mercurial