layout/reftests/margin-collapsing/block-no-content-4b-dyn.html

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 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <style type="text/css">
     5 #parent {
     6  background-color: green;
     7 }
     8 #first-child {
     9  height: 20px;
    10 }
    11 #last-child {
    12  margin-top: 60px;
    13 }
    14 #separator {
    15  height: 20px;
    16  margin-top: 10px;
    17  background-color: green;
    18 }
    19 </style>
    20 <script type="text/javascript">
    21 function test() {
    22  document.getElementById('last-child').style.marginBottom = '-20px';
    23  document.documentElement.removeAttribute('class');
    24 }
    25 document.addEventListener('MozReftestInvalidate', test, false);
    26 </script>
    27 </head>
    28 <body>
    29 <div id="parent">
    30  <div id="first-child"></div>
    31  <div id="last-child"></div>
    32 </div>
    33 <div id="separator"></div>
    34 </body>
    35 </html>

mercurial