[Webkit-unassigned] [Bug 113725] New: Scrollbar shadow DOM should be intuitively hierarchical

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 1 15:01:03 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=113725

           Summary: Scrollbar shadow DOM should be intuitively
                    hierarchical
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jon.rimmer at gmail.com


Webkit exposes the shadow DOM of its scrollbars for styling via a number of pseudo-elements, ::-webkit-scrollbar, ::-webkit-scrollbar-thumb, etc.

Intuitively, these should form a hierarchy that can be styled via the appropriate selectors. E.g. ...

::-webkit-scrollbar:hover ::-webkit-scrollbar-thumb { background-color: red; }

...should style the scrollbar thumb when any part of the scrollbar is hovered. This does not work. See the attached testcase for a reproduction.

The important use case for this is web sites and applications that wish to have a scrollbar that is invisible or subdued until any part of it is hovered or focused. The current situation means this is not possible using CSS.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list