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

Side by Side Diff: third_party/WebKit/Source/web/tests/data/custom-scrollbar-hover.html

Issue 2523903002: Document::updateHoverActiveState only cancel hover and active state when hitting native scrollbar (Closed)
Patch Set: bokan@ comment addressed Created 4 years 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
(Empty)
1 <!DOCTYPE html>
2
3 <style>
4 #scrollbar {
5 position: absolute;
6 top: 0;
7 left: 0;
8 height: 180px;
9 width: 180px;
10 overflow-x: auto;
11 }
12
13 ::-webkit-scrollbar {
14 width: 8px;
15 }
16
17 ::-webkit-scrollbar-thumb {
18 background-color: hsla(0, 0%, 56%, 0.6);
19 }
20
21 #scrollbar:hover {
22 background-color: green;
23 }
24
25 #scrollbar:hover::-webkit-scrollbar-thumb {
26 background-color: hsla(0, 0%, 25%, 0.6);
27 }
28 </style>
29
30 <div id="scrollbar">
31 <div style="position: absolute; top: 1000px;">make scrollbar shows</div>
32 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698