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

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

Powered by Google App Engine
This is Rietveld 408576698