layout/reftests/margin-collapsing/block-negative-3a-dyn1.html

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

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

mercurial