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

Side by Side Diff: LayoutTests/compositing/scaling/tiled-layer-recursion.html

Issue 1318603005: Revert of Replace pinch scrollbars with regular scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 ::-webkit-scrollbar {
7 width: 0px;
8 height: 0px;
9 }
10 .composited { 6 .composited {
11 background-color: green; 7 background-color: green;
12 width: 200px; 8 width: 200px;
13 height: 1333px; 9 height: 1333px;
14 transform: translateZ(0); 10 transform: translateZ(0);
15 } 11 }
16 </style> 12 </style>
17 <script> 13 <script>
18 if (window.testRunner) 14 if (window.testRunner)
19 testRunner.dumpAsTextWithPixelResults(); 15 testRunner.dumpAsTextWithPixelResults();
20 16
21 function scalePage() 17 function scalePage()
22 { 18 {
23 if (window.internals) 19 if (window.internals)
24 window.internals.setPageScaleFactor(1.50025); 20 window.internals.setPageScaleFactor(1.50025);
25 } 21 }
26 22
27 window.addEventListener('load', scalePage, false); 23 window.addEventListener('load', scalePage, false);
28 </script> 24 </script>
29 </head> 25 </head>
30 <body> 26 <body>
31 <!-- This test should not crash. --> 27 <!-- This test should not crash. -->
32 <div class="composited"></div> 28 <div class="composited"></div>
33 </body> 29 </body>
34 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698