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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/scale-page-shrink.html

Issue 2327223002: Move all remaining fast/repaint tests to paint/invalidation (Closed)
Patch Set: Created 4 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 ::-webkit-scrollbar { 4 ::-webkit-scrollbar {
5 width: 0px; 5 width: 0px;
6 height: 0px; 6 height: 0px;
7 } 7 }
8 </style> 8 </style>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function runTest() 10 function runTest()
11 { 11 {
12 if (window.testRunner) 12 if (window.testRunner)
13 window.testRunner.dumpAsTextWithPixelResults(); 13 window.testRunner.dumpAsTextWithPixelResults();
14 if (window.internals) { 14 if (window.internals) {
15 window.internals.setPageScaleFactorLimits(0.25, 0.25); 15 window.internals.setPageScaleFactorLimits(0.25, 0.25);
16 window.internals.setPageScaleFactor(0.25); 16 window.internals.setPageScaleFactor(0.25);
17 } 17 }
18 } 18 }
19 </script> 19 </script>
20 </head> 20 </head>
21 21
22 <body onload="runTest();" style="width: 4000px;"> 22 <body onload="runTest();" style="width: 4000px;">
23 This test must be run in DumpRenderTree as a pixel test. There should not be visual aritfacts after scaling the page. 23 This test must be run in DumpRenderTree as a pixel test. There should not be visual aritfacts after scaling the page.
24 <div style="width:500px; height:500px; background-color:green;"></div> 24 <div style="width:500px; height:500px; background-color:green;"></div>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698