gecko-dev/layout/reftests/bugs/389224-2.html

17 строки
449 B
HTML

<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<div id="d" style="position:absolute; left:10px; top:10px; width:10px; height:10px;">
<div style="width:100px; height:100px; background:lime;"></div>
</div>
<script>
var d = document.getElementById("d");
function doTest() {
d.style.clip = "rect(0,0,0,0)";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>