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

Side by Side Diff: LayoutTests/compositing/geometry/fixed-position-composited-page-scale-down.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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 ::-webkit-scrollbar {
6 width: 0px;
7 height: 0px;
8 }
9 .fixed-no-z-index { 5 .fixed-no-z-index {
10 position: absolute; 6 position: absolute;
11 left: 10px; 7 left: 10px;
12 } 8 }
13 .fixed-with-z-index { 9 .fixed-with-z-index {
14 position: fixed; 10 position: fixed;
15 z-index: 1; 11 z-index: 1;
16 left: 10px; 12 left: 10px;
17 } 13 }
18 </style> 14 </style>
19 <script> 15 <script>
20 if (window.internals && window.eventSender) { 16 if (window.internals && window.eventSender) {
21 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); 17 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
22 window.internals.setPageScaleFactorLimits(0.5, 0.5); 18 window.internals.setPageScaleFactorLimits(0.5, 0.5);
23 window.internals.setPageScaleFactor(0.5); 19 window.internals.setPageScaleFactor(0.5);
24 } 20 }
25 if (window.testRunner) 21 if (window.testRunner)
26 testRunner.dumpAsTextWithPixelResults(); 22 testRunner.dumpAsTextWithPixelResults();
27 </script> 23 </script>
28 </head> 24 </head>
29 <body style="width:2000px;height:2000px;"> 25 <body style="width:2000px;height:2000px;">
30 <div class="fixed-no-z-index">TEST</div><br> 26 <div class="fixed-no-z-index">TEST</div><br>
31 <div class="fixed-with-z-index">TEST</div> 27 <div class="fixed-with-z-index">TEST</div>
32 </body> 28 </body>
33 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698