Revision control

1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
#hr1 {
6
transition: 1s;
7
background: url(data:image/gif;base64,);
8
}
9
</style>
10
<script>
11
12
if (window.testRunner)
13
testRunner.dumpAsText();
14
15
function crash() {
16
var hr1 = document.getElementById("hr1");
17
var hr2 = document.getElementById("hr2");
18
document.all[2].appendChild(hr2);
19
var animation = document.createElement("hr3").animate({ }, 1);
20
var hr1_animation_effect = hr1.getAnimations()[0].effect;
21
animation.effect = hr1_animation_effect;
22
}
23
24
</script>
25
</head>
26
<body onload="crash()">
27
<hr id="hr1"></hr>
28
<hr id="hr2"></hr>
29
</body>
30
</html>