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

Side by Side Diff: LayoutTests/compositing/iframes/nested-composited-iframe.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 body { 4 body {
5 overflow: hidden; 5 overflow: hidden;
6 background-color: green; 6 background-color: green;
7 } 7 }
8 iframe { 8 iframe {
9 position: absolute; 9 position: absolute;
10 width: 400px; 10 width: 400px;
11 height: 400px; 11 height: 400px;
12 left: 0px; 12 left: 0px;
13 top: 200px; 13 top: 200px;
14 border: 0px; 14 border: 0px;
15 } 15 }
16 </style> 16 </style>
17 <script> 17 <script>
18 function runTest() { 18 function runTest() {
19 var iframe = document.getElementsByTagName("iframe")[0]; 19 var iframe = document.getElementsByTagName("iframe")[0];
20 iframe.contentWindow.scrollTo(0, 250); 20 iframe.contentWindow.scrollTo(0, 250);
21 } 21 }
22 if (window.testRunner) 22 if (window.testRunner)
23 testRunner.dumpAsText(true); 23 testRunner.dumpAsTextWithPixelResults();
24 window.addEventListener("load", runTest, false); 24 window.addEventListener("load", runTest, false);
25 </script> 25 </script>
26 </head> 26 </head>
27 <body> 27 <body>
28 <iframe src="resources/has-composited-iframe-child.html"></iframe> 28 <iframe src="resources/has-composited-iframe-child.html"></iframe>
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698