gecko-dev/layout/reftests/reftest-sanity/test-async.html

13 строки
317 B
HTML

<html class="reftest-wait">
<body style="background-color: red;"
onload="HandleLoad()">
<script>
function HandleLoad() {
setTimeout(function() {
document.body.style.backgroundColor = "green";
document.documentElement.className = "";
}, 100);
}
</script>
</body>