layout/reftests/abs-pos/table-internal-4-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/abs-pos/table-internal-4-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <style>
     1.8 +      table {
     1.9 +        width: 300px;
    1.10 +        height: 300px;
    1.11 +        background-color: blue;
    1.12 +      }
    1.13 +      td, div {
    1.14 +        margin: 0;
    1.15 +        padding: 0;
    1.16 +      }
    1.17 +      #rel {
    1.18 +        position: relative;
    1.19 +        margin: 0;
    1.20 +        padding: 0;
    1.21 +        height: 1px;
    1.22 +      }
    1.23 +      #abs {
    1.24 +        position: absolute;
    1.25 +        margin: 0;
    1.26 +        padding: 0;
    1.27 +        top: 200.5px;
    1.28 +        left: 25px;
    1.29 +        width: 50px;
    1.30 +        height: 50px;
    1.31 +        background-color: green;
    1.32 +      }
    1.33 +    </style>
    1.34 +  </head>
    1.35 +  <body>
    1.36 +    The green square should not touch the blue square.
    1.37 +    <table>
    1.38 +      <colgroup>
    1.39 +        <col style="width: 15%">
    1.40 +        <col>
    1.41 +      </colgroup>
    1.42 +      <tr>
    1.43 +        <td></td>
    1.44 +        <td></td>
    1.45 +      </tr>
    1.46 +      <tr>
    1.47 +        <td>
    1.48 +          <div id="rel">
    1.49 +            <div id="abs"></div>
    1.50 +          </div>
    1.51 +        </td>
    1.52 +        <td></td>
    1.53 +      </tr>
    1.54 +    </table>
    1.55 +  </body>
    1.56 +</html>

mercurial