layout/reftests/abs-pos/table-footer-group-2.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>
     3   <head>
     4     <style>
     5       #rel {
     6         position: relative;
     7         margin: 0;
     8         padding: 0;
     9       }
    10       .abs {
    11         position: absolute;
    12         margin: 0;
    13         padding: 0;
    14         top: 25px;
    15         left: 25px;
    16         width: 50px;
    17         height: 50px;
    18         background-color: green;
    19       }
    20       #bad {
    21         background-color: blue;
    22       }
    23     </style>
    24   </head>
    25   <body>
    26     The green square should not completely cover the blue square.
    27     <div class="abs" id="bad"></div>
    28     <div style="position: relative">
    29       <table>
    30         <tfoot id="rel">
    31           <tr>
    32             <td>
    33               <div class="abs"></div>
    34             </td>
    35           </tr>
    36         </tfoot>
    37       </table>
    38     </div>
    39   </body>
    40 </html>

mercurial