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

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

Powered by Google App Engine
This is Rietveld 408576698