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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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 #bfc {
    10  margin-top: 10px;
    11  margin-bottom: 20px;
    12 }
    13 </style>
    14 <script type="text/javascript">
    15 function test() {
    16  document.getElementById('bfc').style.overflow = 'hidden';
    17  document.documentElement.removeAttribute('class');
    18 }
    19 document.addEventListener('MozReftestInvalidate', test, false);
    20 </script>
    21 </head>
    22 <body>
    23 <div class="separator"></div>
    24 <div id="bfc"></div>
    25 <div class="separator"></div>
    26 </body>
    27 </html>

mercurial