mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
20
tests/html/filmstrip.html
Normal file
20
tests/html/filmstrip.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Filmstrip</title>
|
||||
</head>
|
||||
<body>
|
||||
<p><img src="longcattop.png"></p>
|
||||
<p><img src="longcatbot.png"></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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue