gecko-dev/layout/reftests/bugs/1005405-1.html

20 строки
493 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<body>
<table id="thetable" width="150" style="top: -100px; position: relative;">
<tbody id="thebody">
<tr>
<td>Hello</td>
</tr>
</tbody>
</table>
<script>
function doTest() {
document.getElementById("thetable").style.top="0px";
document.documentElement.className = "";
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>