layout/reftests/abs-pos/table-header-group-1.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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     <table>
    29       <thead id="rel">
    30         <tr>
    31           <td>
    32             <div class="abs"></div>
    33           </td>
    34         </tr>
    35       </tbody>
    36     </table>
    37   </body>
    38 </html>

mercurial