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

Side by Side Diff: LayoutTests/scrollbars/resources/scrollable-iframe-customscrollbar-windowinactive.html

Issue 861553003: Invalidate CustomScrollbars on having window-inactive selector. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 5 years, 11 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 <html> 1 <html>
rune 2015/01/20 15:48:12 <!DOCTYPE html> and no <html>, <head>, <body>.
MuVen 2015/01/21 06:14:09 Done.
2 <head> 2 <head>
3 <style> 3 <style>
4 ::-webkit-scrollbar { 4 ::-webkit-scrollbar {
5 width: 12px; 5 width: 12px;
6 height: 12px; 6 height: 12px;
7 } 7 }
8 ::-webkit-scrollbar-track { 8 ::-webkit-scrollbar-track {
9 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 9 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
10 -webkit-border-radius: 10px; 10 -webkit-border-radius: 10px;
11 border-radius: 10px; 11 border-radius: 10px;
12 } 12 }
13 ::-webkit-scrollbar-thumb { 13 ::-webkit-scrollbar-thumb {
14 -webkit-border-radius: 10px; 14 -webkit-border-radius: 10px;
15 border-radius: 10px; 15 border-radius: 10px;
16 background: rgba(255,0,0,0.8); 16 background: rgba(255,0,0,0.8);
17 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 17 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
18 } 18 }
19 ::-webkit-scrollbar-thumb:window-inactive { 19 ::-webkit-scrollbar-thumb:window-inactive {
20 background: rgba(255,150,250,0.8); 20 background: rgba(255,150,250,0.8);
21 } 21 }
22 iframe { 22 iframe {
23 width: 100px; 23 width: 100px;
24 height: 100px; 24 height: 100px;
25 } 25 }
26 </style> 26 </style>
27 </head> 27 </head>
28 <body> 28 <body>
29 <iframe src="scrollable-subiframe-inactive.html"></iframe> 29 <iframe src="scrollable-subiframe-nowindowinactive.html"></iframe>
30 <div id="fillDIV" style="background-color:lightblue;width:400px;height:4 00px;overflow:hidden;"> </div> 30 <div id="fillDIV" style="background-color:lightblue;width:400px;height:4 00px;overflow:hidden;"> </div>
rune 2015/01/20 15:48:12 What's this div for?
MuVen 2015/01/21 06:14:09 Removed, Adjusted iframe height.
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698