gecko-dev/layout/reftests/invalidation/table-repaint-e.html

43 строки
689 B
HTML

<!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>