summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/404666-2.html
blob: 1a9c457a8a203221d64ea33fd8e52533dde673d7 (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>
table {background-color:green}
col {background-color:red}
td { color: white }
</style>
<script>
function runTest()
{
  document.body.offsetHeight;
  document.getElementById("col").style.visibility = "collapse";
}
</script>
</head>
<body onload="runTest()">
<table>
  <col id="col" span="2">
  <tr>
   <td>One</td>
   <td>Two</td>
   <td>Three</td>
  </tr>
</table>
</html>