blob: 6a750f8a6cf423421ec1de487dcb194cf837b26b (
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, false);
</script>
</body>
</html>
|