layout/reftests/bugs/421203-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.

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

mercurial