layout/reftests/abs-pos/table-internal-5-ref.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>
     3   <head>
     4     <style>
     5       #rel {
     6         position: relative;
     7         margin: 0;
     8         padding: 0;
     9         bottom: 25px;
    10         right: 25px;
    11         width: 50px;
    12         height: 50px;
    13       }
    14       .abs {
    15         position: absolute;
    16         margin: 0;
    17         padding: 0;
    18         bottom: 25px;
    19         right: 25px;
    20         width: 50px;
    21         height: 50px;
    22         background-color: green;
    23       }
    24       #adjusted-abs {
    25         bottom: 50px;
    26         right: 50px;
    27       }
    28       #bad {
    29         background-color: blue;
    30       }
    31       #bottomright {
    32         position: absolute;
    33         margin: 0;
    34         padding: 0;
    35         bottom: 0;
    36         right: 0;
    37         width: 50px;
    38         height: 50px;
    39         overflow: visible;
    40       }
    41     </style>
    42   </head>
    43   <body>
    44     The green square should not completely cover the blue square.
    45     <div class="abs" id="bad"></div>
    46     <div id="bottomright">
    47       <div id="rel">
    48         <div class="abs" id="adjusted-abs"></div>
    49       </div>
    50     </div>
    51   </body>
    52 </html>

mercurial