layout/generic/crashtests/437565-2.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">
     2 <head>
     3  <style>
     4    /* Note: The height here is almost nscoord_MAX in app-units */
     5    /* Note: The width here needs to be wider than the viewport in order
     6             to trigger a crash. */
     7    div.tall {
     8      height: 17895687px;
     9      width: 3000px;
    10      background: pink;
    11    }
    12    div.float  { float: left; }
    13    div.clear  { clear: left; }
    14    div.square { width: 10px; height: 10px; }
    15    div.blue   { background: blue;   }
    16    div.green  { background: green;  }
    17    div.orange { background: orange; }
    18  </style>
    19 </head>
    20 <!-- no body (adding a body prevents the crash, for some reason) -->
    21   <div class="float"><div class="tall"/><div class="square blue"/></div>
    22   <div class="float square green"/>
    23   <div><div class="float square orange"/><div class="clear"/></div>
    24 </html>

mercurial