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

Side by Side Diff: LayoutTests/fast/repaint/scale-page-shrink.html

Issue 190723007: Fix tests to be compatible with Android scale initialization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove substantive change, change only tests Created 6 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
« no previous file with comments | « LayoutTests/fast/frames/frame-set-scaling-hit.html ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style>
4 ::-webkit-scrollbar {
5 width: 0px;
6 height: 0px;
7 }
8 </style>
3 <script type="text/javascript"> 9 <script type="text/javascript">
4 function runTest() 10 function runTest()
5 { 11 {
6 if (window.testRunner) 12 if (window.testRunner)
7 window.testRunner.dumpAsTextWithPixelResults(); 13 window.testRunner.dumpAsTextWithPixelResults();
8 if (window.eventSender) 14 if (window.eventSender)
9 window.eventSender.setPageScaleFactor(0.25, 0, 0); 15 window.eventSender.setPageScaleFactor(0.25, 0, 0);
10 } 16 }
11 </script> 17 </script>
12 </head> 18 </head>
13 19
14 <body onload="runTest();"> 20 <body onload="runTest();" style="width: 4000px;">
15 This test must be run in DumpRenderTree as a pixel test. There should not be visual aritfacts after scaling the page. 21 This test must be run in DumpRenderTree as a pixel test. There should not be visual aritfacts after scaling the page.
16 <div style="width:500px; height:500px; background-color:green;"></div> 22 <div style="width:500px; height:500px; background-color:green;"></div>
17 </body> 23 </body>
18 </html> 24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/frame-set-scaling-hit.html ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698