layout/reftests/margin-collapsing/block-xhtml-html-2-dyn.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>
     3  <style type="text/css">
     4  html, body {
     5   margin: 0; padding: 0;
     6  }
     7  html {
     8   background-color: white;
     9  }
    10  body {
    11   background-color: red;
    12   margin: 20px 0;
    13  }
    14  div {
    15   display: none;
    16   background-color: green;
    17   margin: 10px 0;
    18   height: 100px;
    19  }
    20  </style>
    21  <script type="text/javascript">
    22  function test() {
    23   document.getElementsByTagName('div')[0].style.display = 'block';
    24   document.documentElement.removeAttribute('class');
    25  }
    26  document.addEventListener('MozReftestInvalidate', test, false);
    27  </script>
    28 </head>
    29 <body>
    30 <div></div>
    31 </body>
    32 </html>

mercurial