layout/reftests/margin-collapsing/block-negative-2a-dyn2.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 #a {
     6  height: 20px;
     7  background-color: green;
     8 }
     9 #b {
    10  height: 20px;
    11  background-color: blue;
    12  margin-top: 0;
    13 }
    14 </style>
    15 <script type="text/javascript">
    16 function test() {
    17  document.getElementById('b').style.marginTop = '-20px';
    18  document.documentElement.removeAttribute('class');
    19 }
    20 document.addEventListener('MozReftestInvalidate', test, false);
    21 </script>
    22 </head>
    23 <body>
    24 <div id="a"></div>
    25 <div id="b"></div>
    26 </body>
    27 </html>

mercurial