summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/1719346-1.html
blob: 28508c9039e71a957285281c339a0c0e7abdadfc (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
35
<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<head>
<style>
.main {
	border-image: url('1719346-1.gif') 16 fill / 16px / 0 repeat;
	width: 100px;
	height: 100px;
}

#mover {
	position: fixed;
	padding: 0;
	margin: 0;
	bottom: 0;
	top: 250px;
	left: 250px;
}
</style>
</head>
<body>
<div class="main"></div>
<div id="mover">text</div>

<script>
	function doTest() {
		var elem = document.getElementById("mover");
		elem.style.top = "100px";
		document.documentElement.removeAttribute("class");
	}
	document.addEventListener("MozReftestInvalidate", doTest);
	setTimeout(doTest, 5000);
</script>
</body>
</html>