layout/generic/crashtests/334105-1.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     4 <style>
     5 html { width: 2em; border: 1px solid red; }
     6 body { display: inline; }
     7 .padded { padding: 1em; border: 1px solid black; }
     8 #float1 { background: lightgreen; }                    /* float is added to this one dynamically */
     9 #float2 { float: right; background: lightblue; }
    10 </style>
    12 <script>
    14 function foo()
    15 {
    16   document.getElementById("float1").style.cssFloat = "right";
    17   document.documentElement.removeAttribute("class");
    18 }
    20 window.addEventListener("load", function() { setTimeout(foo, 30); }, false);
    22 </script>
    24 </head>
    26 <body>
    28   X
    29   <span id="float1">FFFFFF</span>
    30   <span id="float2">GGGGGG</span>
    31   <span class="padded"/>
    34 </body>
    35 </html>

mercurial