1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" 2 "http://www.w3.org/TR/html4/frameset.dtd"> 3 <html> 4 <head> 5 <title>No relayout when all frames are fixed</title> 6 <script type="text/javascript"> 7 if (window.layoutTestController) 8 layoutTestController.waitUntilDone(); 9 var i = 0; 10 function test() 11 { 12 i++; 13 var f = document.getElementById('f'); 14 switch(i) { 15 case 1: 16 window.setTimeout(test, 100); 17 break; 18 case 2: 19 f.src = "resources/frame2.html"; 20 break; 21 case 3: 22 window.setTimeout(test, 100); 23 break; 24 case 4: 25 f.src = "resources/frame1.html"; 26 break; 27 case 5: 28 window.setTimeout(test, 100); 29 break; 30 case 6: 31 if (window.layoutTestController) 32 layoutTestController.notifyDone(); 33 break; 34 } 35 } 36 </script> 37 </head> 38 <frameset> 39 <frame onload="test()" id="f" src="resources/frame1.html" noresize> 40 </frameset> 41 </html> 42