blob: 69cbb31d1907f642920b0444f322bc3d04f8d58f (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>table-repaint-e</title>
<style>
table {
border-collapse: collapse;
}
tr {
border: 1px solid transparent;
}
</style>
</head>
<body>
<table
<tr>
<td>
<div>one</div>
</td>
<td id="x" style="border: 1px solid black">
<div>two</div>
</td>
</tr
<tr>
<td>
<div>three</div>
</td>
<td>
<div>four</div>
</td>
</tr>
</table>
<script>
function doTest() {
var t = document.getElementById("x");
t.style.border = "initial";
document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>
|