Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!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>