зеркало из https://github.com/mozilla/pjs.git
16 строки
375 B
HTML
16 строки
375 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<body>
|
|
<div id="d" style="background:blue; border-radius:50px; width:200px; height:100px;">
|
|
</div>
|
|
<script>
|
|
function doTest() {
|
|
var d = document.getElementById("d");
|
|
d.style.height = "200px";
|
|
document.documentElement.className = "";
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</body>
|
|
</html>
|