summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/table-repaint-a.html
blob: 362aa2b482290f8bc2989c1ae05ec1c344d55827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!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);
</script>
</body>
</html>