layout/reftests/margin-collapsing/column-sibling-2c-dyn.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial