blob: 4ead9f20a8dbc0630b7a9027ca4c1472f6528b1f (
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
36
37
38
39
40
41
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>No relayout when all frames are fixed</title>
<script type="text/javascript">
if (window.layoutTestController)
layoutTestController.waitUntilDone();
var i = 0;
function test()
{
i++;
var f = document.getElementById('f');
switch(i) {
case 1:
window.setTimeout(test, 100);
break;
case 2:
f.src = "resources/frame2.html";
break;
case 3:
window.setTimeout(test, 100);
break;
case 4:
f.src = "resources/frame1.html";
break;
case 5:
window.setTimeout(test, 100);
break;
case 6:
if (window.layoutTestController)
layoutTestController.notifyDone();
break;
}
}
</script>
</head>
<frameset>
<frame onload="test()" id="f" src="resources/frame1.html" noresize>
</frameset>
</html>
|