layout/reftests/bugs/860242-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/860242-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <meta charset="utf-8">
     1.8 +    <style>
     1.9 +      .table {
    1.10 +        display: table;
    1.11 +        width: 100px;
    1.12 +        table-layout: fixed;
    1.13 +        margin-bottom: 2px;
    1.14 +      }
    1.15 +
    1.16 +      .table > * {
    1.17 +        box-sizing: border-box;
    1.18 +        display: table-cell;
    1.19 +        height: 30px;
    1.20 +      }
    1.21 +
    1.22 +      .withPadding { padding: 10px; }
    1.23 +      .withBorder  { border: 2px solid black; }
    1.24 +
    1.25 +      .thin { width: 25%; }
    1.26 +      .wide { width: 75%; }
    1.27 +
    1.28 +      .teal    { background: teal; }
    1.29 +      .purple  { background: purple; }
    1.30 +    </style>
    1.31 +  </head>
    1.32 +  <body>
    1.33 +    <div class="table">
    1.34 +      <div class="thin teal"></div>
    1.35 +      <div class="wide purple"></div>
    1.36 +    </div>
    1.37 +    <div class="table">
    1.38 +      <div class="thin withPadding teal"></div>
    1.39 +      <div class="wide withPadding purple"></div>
    1.40 +    </div>
    1.41 +    <div class="table">
    1.42 +      <div class="thin withBorder teal"></div>
    1.43 +      <div class="wide withBorder purple"></div>
    1.44 +    </div>
    1.45 +    <div class="table">
    1.46 +      <div class="thin withBorder withPadding teal"></div>
    1.47 +      <div class="wide withBorder withPadding purple"></div>
    1.48 +    </div>
    1.49 +  </body>
    1.50 +</html>

mercurial