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

Side by Side Diff: LayoutTests/compositing/geometry/fixed-position-composited-page-scale.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.setPageScaleFactor(2); 18 window.internals.setPageScaleFactor(2);
23 } 19 }
24 if (window.testRunner) 20 if (window.testRunner)
25 testRunner.dumpAsTextWithPixelResults(); 21 testRunner.dumpAsTextWithPixelResults();
26 </script> 22 </script>
27 </head> 23 </head>
28 <body style="width:2000px;height:2000px;"> 24 <body style="width:2000px;height:2000px;">
29 <div class="fixed-no-z-index">TEST</div><br> 25 <div class="fixed-no-z-index">TEST</div><br>
30 <div class="fixed-with-z-index">TEST</div> 26 <div class="fixed-with-z-index">TEST</div>
31 </body> 27 </body>
32 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698