summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1263845.html
blob: 3bc9c28b990906506ad274cf5f77b1c7b00cf077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<div id="wrap" style="height: 200px; background: yellow">
  <table style="height: 100%; background: purple">
    <tr>
      <td>
        This is some text
      </td>
    </tr>
  </table>
</div>
<script>
  // Make sure we do a layout at the 200px height.
  document.body.offsetWidth;
  document.getElementById("wrap").style.height = "";
</script>