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

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.

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

mercurial