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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/abs-pos/table-header-group-6.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,63 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <style>
     1.8 +      table {
     1.9 +        margin: 0;
    1.10 +        padding: 0;
    1.11 +        width: 25px;
    1.12 +        height: 50px;
    1.13 +        border-collapse: collapse;
    1.14 +      }
    1.15 +      td {
    1.16 +        margin: 0;
    1.17 +        padding: 0;
    1.18 +      }
    1.19 +      #rel {
    1.20 +        position: relative;
    1.21 +        margin: 0;
    1.22 +        padding: 0;
    1.23 +      }
    1.24 +      #abs {
    1.25 +        position: absolute;
    1.26 +        margin: 0;
    1.27 +        padding: 0;
    1.28 +        bottom: 25px;
    1.29 +        right: 25px;
    1.30 +        width: 50px;
    1.31 +        height: 50px;
    1.32 +        background-color: green;
    1.33 +      }
    1.34 +      #bottomright {
    1.35 +        position: absolute;
    1.36 +        margin: 0;
    1.37 +        padding: 0;
    1.38 +        bottom: 0;
    1.39 +        right: 0;
    1.40 +        width: 50px;
    1.41 +        height: 50px;
    1.42 +        overflow: visible;
    1.43 +        background-color: blue;
    1.44 +      }
    1.45 +    </style>
    1.46 +  </head>
    1.47 +  <body>
    1.48 +    The green square should not overlap the blue square.
    1.49 +    <div id="bottomright">
    1.50 +      <table>
    1.51 +        <thead id="rel">
    1.52 +          <tr style="height: 50%">
    1.53 +            <td></td>
    1.54 +            <td></td>
    1.55 +          </tr>
    1.56 +          <tr>
    1.57 +            <td>
    1.58 +              <div id="abs"></div>
    1.59 +            </td>
    1.60 +            <td></td>
    1.61 +          </tr>
    1.62 +        </thead>
    1.63 +      </table>
    1.64 +    </div>
    1.65 +  </body>
    1.66 +</html>

mercurial