mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
23 lines
426 B
HTML
23 lines
426 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<title>table-repaint-a</title>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td bgcolor="black"></td>
|
|
<td bgcolor="lime"></td>
|
|
</tr>
|
|
</table>
|
|
<script>
|
|
function foo() {
|
|
var x=document.getElementsByTagName('td')[0];
|
|
x.style.display = 'none';
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
document.addEventListener("MozReftestInvalidate", foo, false);
|
|
</script>
|
|
</body>
|
|
</html>
|