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

Side by Side Diff: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display.html

Issue 2198853002: Draw main frame custom scrollbars in root layer scrolling mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <style> 2 <style>
3 ::-webkit-scrollbar { 3 ::-webkit-scrollbar {
4 width: 100px; 4 width: 12px;
5 height: 10px; 5 height: 12px;
6 } 6 }
7 ::-webkit-scrollbar-track { 7 ::-webkit-scrollbar-track {
8 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 8 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
9 -webkit-border-radius: 10px; 9 -webkit-border-radius: 10px;
10 border-radius: 10px; 10 border-radius: 10px;
11 } 11 }
12 ::-webkit-scrollbar-thumb { 12 ::-webkit-scrollbar-thumb {
13 -webkit-border-radius: 1px; 13 -webkit-border-radius: 10px;
14 border-radius: 10px;
14 background: rgba(255,0,0,0.8); 15 background: rgba(255,0,0,0.8);
15 -webkit-box-shadow: inset 0 0 1px rgba(255,250,0,0.5); 16 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
16 }
17 #space {
18 width: 1000px;
19 height: 1000px;
20 } 17 }
21 html { 18 html {
22 overflow: scroll; 19 overflow: scroll;
23 } 20 }
21 body {
22 width: 1000px;
23 height: 1000px;
24 }
24 </style> 25 </style>
25 <div id="space"></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-display-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698