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

Side by Side Diff: LayoutTests/compositing/overflow/non-reparented-overlay-scrollbars-expected.html

Issue 588013002: Remove Overlay Scrollbar if not scrollable along the axis (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added test expectations Created 6 years, 2 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 <style> 2 <style>
3 #scroller { 3 #scroller {
4 overflow: scroll; 4 overflow: scroll;
5 width: 300px; 5 width: 300px;
6 height: 300px; 6 height: 300px;
7 position: relative; 7 position: relative;
8 z-index: 0; 8 z-index: 0;
9 top: 10px; 9 top: 10px;
10 } 10 }
11 11
12 #fixed { 12 #fixed {
13 position: fixed; 13 position: fixed;
14 background: blue; 14 background: blue;
15 left: 90px; 15 left: 90px;
16 width: 10px; 16 width: 10px;
17 height: 10px; 17 height: 10px;
18 } 18 }
19 19
20 #scrolled { 20 #scrolled {
21 position: relative; 21 position: relative;
22 background: green; 22 background: green;
23 width: 80px; 23 width: 80px;
24 height: 500px; 24 height: 500px;
25 } 25 }
26 </style> 26 </style>
27 <script> 27 <script>
28 if (window.internals) { 28 if (window.internals) {
29 window.internals.settings.setOverlayScrollbarsEnabled(true); 29 window.internals.settings.setOverlayScrollbarsEnabled(true);
30 window.internals.settings.setPreferCompositingToLCDTextEnabled(false); 30 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
31 } 31 }
32 </script> 32 </script>
33 <div id='scroller'> 33 <div id='scroller'>
34 <div id='fixed'></div> 34 <div id='fixed'></div>
35 <div id='scrolled'></div> 35 <div id='scrolled'></div>
36 </div> 36 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698