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

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

Issue 1305223004: Reland of place 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 }
6 .composited { 10 .composited {
7 background-color: green; 11 background-color: green;
8 width: 200px; 12 width: 200px;
9 height: 1333px; 13 height: 1333px;
10 transform: translateZ(0); 14 transform: translateZ(0);
11 } 15 }
12 </style> 16 </style>
13 <script> 17 <script>
14 if (window.testRunner) 18 if (window.testRunner)
15 testRunner.dumpAsTextWithPixelResults(); 19 testRunner.dumpAsTextWithPixelResults();
16 20
17 function scalePage() 21 function scalePage()
18 { 22 {
19 if (window.internals) 23 if (window.internals)
20 window.internals.setPageScaleFactor(1.50025); 24 window.internals.setPageScaleFactor(1.50025);
21 } 25 }
22 26
23 window.addEventListener('load', scalePage, false); 27 window.addEventListener('load', scalePage, false);
24 </script> 28 </script>
25 </head> 29 </head>
26 <body> 30 <body>
27 <!-- This test should not crash. --> 31 <!-- This test should not crash. -->
28 <div class="composited"></div> 32 <div class="composited"></div>
29 </body> 33 </body>
30 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698