Bug 139381
Summary: | ::-webkit-scrollbar continues to not support transitions | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sean Anderson <Sean.Palmer.Anderson> |
Component: | Animations | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | dino, graouts |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows 7 |
Sean Anderson
Transitions became supported on pseudo-selectors fairly recently. However, transitions do not appear to be supported on the ::-webkit-scrollbar (et. al) selectors.
I expect background-color to transition when hovering over a scrollbar with a transition applied to it.
Example: http://codepen.io/Meo/pen/EaPvwV
Code:
<div class='parent'>
<div class='child'>
</div>
</div>
.parent {
height: 100px;
width: 100px;
overflow-y: scroll;
overflow-x: hidden;
}
.child {
width: 200px;
height: 200px;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-thumb {
transition: all 5s linear;
-webkit-transition: all 5s linear;
background-color: blue;
}
::-webkit-scrollbar-thumb:hover {
background-color: gray;
}
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antoine Quint
I don't think we want to add support for transitions for ::-webkit-scrollbar or generally improve that feature. Marking as WONTFIX.