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

Side by Side Diff: LayoutTests/compositing/overflow/reparented-unclipped-overlay-scrollbars-with-offset-from-renderer-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 top: 10px; 8 top: 10px;
9 } 9 }
10 10
11 #fixed { 11 #fixed {
12 position: fixed; 12 position: fixed;
13 background: blue; 13 background: blue;
14 left: 90px; 14 left: 90px;
15 width: 10px; 15 width: 10px;
16 height: 10px; 16 height: 10px;
17 } 17 }
18 18
19 #scrolled { 19 #scrolled {
20 position: relative; 20 position: relative;
21 background: green; 21 background: green;
22 width: 80px; 22 width: 80px;
23 height: 500px; 23 height: 500px;
24 } 24 }
25 </style> 25 </style>
26 <script> 26 <script>
27 if (window.internals) { 27 if (window.internals) {
28 window.internals.settings.setOverlayScrollbarsEnabled(true); 28 window.internals.settings.setOverlayScrollbarsEnabled(true);
29 window.internals.settings.setPreferCompositingToLCDTextEnabled(false); 29 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
30 } 30 }
31 </script> 31 </script>
32 <div id='scroller'> 32 <div id='scroller'>
33 <div id='fixed'></div> 33 <div id='fixed'></div>
34 <div id='scrolled'></div> 34 <div id='scrolled'></div>
35 </div> 35 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698