summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/table-repaint-a.html
blob: c1ec02620399297446aa22f97bb2c51108a0e6da (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, false);
</script>
</body>
</html>