Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: LayoutTests/fast/events/resize-subframe.html

Issue 6592044: Merge 79606 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <script> 1 <script>
2 function test() 2 function test()
3 { 3 {
4 if (window.layoutTestController) 4 if (window.layoutTestController)
5 {
5 layoutTestController.dumpAsText(); 6 layoutTestController.dumpAsText();
6 7 layoutTestController.waitUntilDone();
8 }
7 document.body.offsetTop; 9 document.body.offsetTop;
8 document.getElementById("iframe").style.height = "100px"; 10 document.getElementById("iframe").style.height = "100px";
9 } 11 }
10 </script> 12 </script>
11 <body onload="test()"> 13 <body onload="test()">
12 <iframe id="iframe" style="height: 200px;" src="data:text/html, 14 <iframe id="iframe" style="height: 200px;" src="data:text/html,
13 <head> 15 <head>
14 <script> 16 <script>
15 function resized() 17 function resized()
16 { 18 {
17 if (window.layoutTestController) 19 if (window.layoutTestController)
20 {
18 alert('PASS'); 21 alert('PASS');
22 layoutTestController.notifyDone();
23 }
19 else 24 else
20 document.body.appendChild(document.createTextNode('PASS' )); 25 document.body.appendChild(document.createTextNode('PASS' ));
21 } 26 }
22 </script> 27 </script>
23 </head> 28 </head>
24 <body onresize='resized()'></body> 29 <body onresize='resized()'></body>
25 "></iframe> 30 "></iframe>
26 </body> 31 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698