Files
firefox/servo/tests/html/summit-two.html
T
Jack Moffitt 132ee35633 servo: Merge #3230 - Cargoify servo (from servo:cargoify)
Source-Repo: https://github.com/servo/servo
Source-Revision: b1305bb7d051f83850c51bb0da0ccc86a5e07922
2014-09-09 08:18:18 -06:00

28 lines
459 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
padding: 30px 47px;
}
img {
width: 206px;
height: 206px;
}
</style>
</head>
<body>
<p><img></p>
<script>
var index = 0;
function change() {
document.getElementsByTagName("img")[0].src = "rust-" + (index * 45) + ".png";
index = (index + 1) % 8;
setTimeout(change, 100);
}
change();
</script>
</body>
</html>