layout/reftests/margin-collapsing/column-sibling-1c-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 #block1, #block2 {
     6  height: 20px;
     7  background-color: orange;
     8 }
     9 #block1 {
    10  margin-bottom: 20px;
    11 }
    12 #multi-column {
    13  display: none;
    14  -moz-column-count: 1;
    15  column-count: 1;
    16  height: 20px;
    17  margin: 20px 0;
    18  background-color: blue;
    19 }
    20 #block2 {
    21  margin-top: 20px;
    22 }
    23 </style>
    24 <script type="text/javascript">
    25 function test() {
    26  document.getElementById('multi-column').style.display = 'block';
    27  document.documentElement.removeAttribute('class');
    28 }
    29 document.addEventListener('MozReftestInvalidate', test, false);
    30 </script>
    31 </head>
    32 <body>
    33 <div id="block1"></div>
    34 <div id="multi-column"></div>
    35 <div id="block2"></div>
    36 </body>
    37 </html>

mercurial