blob: 7154af5d8e094b49370213b095ead6e637871033 (
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
|
<!DOCTYPE html>
<html>
<head>
<style>
.container {
width: 700px;
height: 2000px;
margin: 0 auto;
background-color: silver;
}
</style>
<script>
function doTest()
{
window.scrollTo(0, 400);
window.resizeTo(1000, 600);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<div class="container"></div>
<pre id="layers">Layer tree goes here</p>
</body>
</html>
|