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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     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 #min-height {
    10  margin-top: 30px;
    11  margin-bottom: 40px;
    12  background-color: blue;
    13 }
    14 #zero-height {
    15  margin-top: 20px;
    16  margin-bottom: 60px;
    17 }
    18 </style>
    19 <script type="text/javascript">
    20 function test() {
    21  document.getElementById('min-height').style.minHeight = '20px';
    22  document.documentElement.removeAttribute('class');
    23 }
    24 document.addEventListener('MozReftestInvalidate', test, false);
    25 </script>
    26 </head>
    27 <body>
    28 <div class="separator"></div>
    29 <div id="min-height">
    30  <div id="zero-height"></div>
    31 </div>
    32 <div class="separator"></div>
    33 </body>
    34 </html>

mercurial