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

Side by Side Diff: LayoutTests/fast/autoresize/autoresize-with-iframe.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.enableAutoResizeMode(10, 10, 1000, 1000); 6 testRunner.enableAutoResizeMode(10, 10, 1000, 1000);
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 testRunner.dumpChildFramesAsText(); 8 testRunner.dumpChildFramesAsText();
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 } 10 }
11 11
12 function run() 12 function run()
13 { 13 {
14 var frameWindow = window.frames['frame']; 14 var frameWindow = window.frames['frame'];
15 frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*"); 15 frameWindow.postMessage("shouldBe('document.scrollingElement.scrollWidth', 4 00)", "*");
16 frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*"); 16 frameWindow.postMessage("shouldBe('document.scrollingElement.scrollHeight', 200)", "*");
17 frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.noti fyDone();", "*"); 17 frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.noti fyDone();", "*");
18 } 18 }
19 </script> 19 </script>
20 </head> 20 </head>
21 <body onload="run()" style="width:400px; height:200px; background-color:yellow;" > 21 <body onload="run()" style="width:400px; height:200px; background-color:yellow;" >
22 <iframe name="frame" style="width:100%; height:100%;" src="resources/iframe.html "> 22 <iframe name="frame" style="width:100%; height:100%;" src="resources/iframe.html ">
23 </iframe> 23 </iframe>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/pasteboard/copy-crash.html ('k') | LayoutTests/fast/autoresize/autoresize-with-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698