summaryrefslogtreecommitdiff
path: root/layout/generic/crashtests/385681.html
blob: 43707f65c54bb1ec7de34e0285e1d985197f5b2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html><head>
<title></title>
<style>
a  {
 font-variant: small-caps; 
}
a:hover { 
  color: red;
}
</style>
</head>
<body>
<a href="#">home</a><br>
<a href="#">login</a><br>
<a href="#">signup</a><br>

<script>
function doe(i) {
if (!i) {
  document.links[1].style.color='red';
	document.links[0].offsetHeight;
	document.links[0].style.color = 'red';
	}
else {
  document.links[1].style.color='blue';
	document.links[0].style.color = 'blue';
	}
setTimeout(doe, 100, !i);
}
setTimeout(doe, 500, true);
</script>
</body>

</html>