зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
627 B
HTML
22 строки
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>
|