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

mercurial