summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/860242-1-ref.html
blob: 36d8738bef111172caf6446cdb3f7cade17d0bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <style>
      .table {
        display: table;
        width: 100px;
        table-layout: fixed;
        margin-bottom: 2px;
      }

      .table > * {
        box-sizing: border-box;
        display: table-cell;
        height: 30px;
      }

      .withBorder  { border: 2px solid black; }

      .thin { width: 25px; }
      .wide { width: 75px; }

      .teal    { background: teal; }
      .purple  { background: purple; }
    </style>
  </head>
  <body>
    <div class="table">
      <div class="thin teal"></div>
      <div class="wide purple"></div>
    </div>
    <div class="table">
      <div class="thin teal"></div>
      <div class="wide purple"></div>
    </div>
    <div class="table">
      <div class="thin withBorder teal"></div>
      <div class="wide withBorder purple"></div>
    </div>
    <div class="table">
      <div class="thin withBorder teal"></div>
      <div class="wide withBorder purple"></div>
    </div>
  </body>
</html>