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

Side by Side Diff: LayoutTests/plugins/plugin-clip-subframe.html

Issue 12475008: Merge 144236 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <script> 3 <script>
4 function test() { 4 function test() {
5 // Increase the size of the container so the iframe becomes visible. 5 // Increase the size of the container so the iframe becomes visible.
6 document.getElementById("container").style.height = "400px"; 6 document.getElementById("container").style.height = "400px";
7 setTimeout(done, 10); 7 setTimeout(done, 10);
8 } 8 }
9 9
10 function done() { 10 function done() {
11 if (testRunner) { 11 if (testRunner) {
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 testRunner.notifyDone(); 13 testRunner.notifyDone();
14 } 14 }
15 } 15 }
16 16
17 function runTest() { 17 function runTest() {
18 if (testRunner) 18 if (testRunner)
19 testRunner.waitUntilDone(); 19 testRunner.waitUntilDone();
20 setTimeout(test, 10); 20 setTimeout(test, 10);
21 } 21 }
22 </script> 22 </script>
23 <body onload="runTest()"> 23 <body onload="runTest()">
24 24
25 <div id = "container" style="overflow: hidden; width:100px; height:100px"> 25 <div id = "container" style="overflow: hidden; width:100px; height:100px">
26 <iframe id='subframe' src='resources/plugin-clip-subframe-iframe.html' width=500 height=500 style="margin-top:200px"></iframe> 26 <iframe id='subframe' src='resources/plugin-clip-subframe-iframe.html' width=500 height=500 style="margin-top:200px"></iframe>
27 </div> 27 </div>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698