mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
31 lines
580 B
HTML
31 lines
580 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
div {
|
|
float: left;
|
|
width: 300px;
|
|
height: 200px;
|
|
background: url(repeatable-diagonal-gradient.png);
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
var i = 32;
|
|
function test() {
|
|
document.getElementById("a").style.width = (i*10)+'px';
|
|
document.getElementById("b").style.opacity = 0.999 - i/64.0;
|
|
i--;
|
|
if (i >= 0) {
|
|
setTimeout(test, 10);
|
|
} else {
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="test()">
|
|
<div id="a"></div>
|
|
<div id="b"></div>
|
|
</body>
|
|
</html>
|