mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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>
|