summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/402629-1-iframe.html
blob: f28e5a44f0a01ea11d3edabb5565ecb2095d43a5 (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
<!DOCTYPE HTML>
<html>
<head>
<style>
  html     { height: 50%; }
  body     { height:100%; }
  table    { height:100%; }
  div      { height:100%; }
  td.green { background:lightgreen }

  /* Apply this to outermost <td> or <tr> to trigger bug. */
  .fill { height: 100% }
</style>
</head>
<body>
  <table cellpadding="0" cellspacing="0">
    <tr><td class="fill">
      <div><div><div><div>
        <table cellpadding="0" cellspacing="0">
          <tr><td class="green">foo</td></tr>
        </table>
      </div></div></div></div>
    </td></tr>
  </table>
</body>
</html>