layout/reftests/margin-collapsing/block-overflow-3-dyn.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 .separator {
     6  height: 20px;
     7  background-color: blue;
     8 }
     9 #overflow {
    10  overflow-y: visible;
    11  height: 200px;
    12  margin: 20px 0;
    13  background-color: lightgreen;
    14 }
    15 #child {
    16  height: 160px;
    17  margin: 40px 0;
    18  background-color: green;
    19 }
    20 </style>
    21 <script type="text/javascript">
    22 function test() {
    23  document.getElementById('overflow').style.overflowY = 'scroll';
    24  document.documentElement.removeAttribute('class');
    25 }
    26 document.addEventListener('MozReftestInvalidate', test, false);
    27 </script>
    28 </head>
    29 <body>
    30 <div class="separator"></div>
    31 <div id="overflow">
    32  <div id="child"></div>
    33 </div>
    34 <div class="separator"></div>
    35 </body>
    36 </html>

mercurial