summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/table-repaint-c.html
blob: 11489b6169ef380f59392071d5eda35809b4b783 (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
<!DOCTYPE html>
<html class="reftest-wait"><head>
<title>table-repaint-c</title>
<style>
td {
width: 50px;
height: 50px;
}
</style>
</head>
<body>
<table>
 <col id="foo">
 <tbody>
  <tr>
   <td bgcolor="black"></td>
   <td bgcolor="lime"></td>
  </tr>
 </tbody>
</table>
<script>
function foo() {
var x=document.getElementById("foo");
x.style.visibility = 'collapse';
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", foo);
</script>
</body>
</html>