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

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

Powered by Google App Engine
This is Rietveld 408576698