mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
31 lines
510 B
HTML
31 lines
510 B
HTML
<!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>
|