gecko/layout/reftests/bugs/503364-1a.html

22 lines
627 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
function doTest() {
var div = document.createElement('div');
div.setAttribute("style", "position: absolute; left: 20px; top: 20px; background: black; height: 20px; width: 20px");
document.getElementById("t").appendChild(div);
document.documentElement.className = "";
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</head>
<body>
<table style="position: absolute; top: 100px; left: 100px;">
<tr>
<td id="t">
</td>
</tr>
</body>
</html>