summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/428521-1b.html
blob: 9f6a80f4dbaef2c5a4132f6e29a8fff78ca9e359 (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
<html>
<head>
  <style>
    body  { margin: 0; }
    div.a, div.b { display: inline-block;      }
    div.a { width: 200px;  background: blue;   }
    div.b { width: 200px;  background: green;  }
    td.c  { width: 80%;    background: orange; }
    div.d { width: 100px;  background: purple; }
  </style>
</head>
<body>
The blue and green divs should be on the same line.
<table cellspacing=0 cellpadding=0>
  <tr><td>
    <table cellspacing=0 cellpadding=0>
      <tr>
        <td colspan="2"><div class="a">a</div><div class="b">b</div></td>
      </tr>
      <tr>
        <td class="c">c</td>
        <td><div class="d">d</div></td>
      </tr>
    </table>
  </td></tr>
</table>
</body>
</html>