Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrollbar-width CSS Property #133

Closed
lukewarlow opened this issue Feb 18, 2023 · 4 comments
Closed

scrollbar-width CSS Property #133

lukewarlow opened this issue Feb 18, 2023 · 4 comments
Assignees
Labels
position: support topic: css Spec relates to CSS (Cascading Style Sheets) topic: layout Spec relates to layout topic: scrolling venue: W3C CSS WG

Comments

@lukewarlow
Copy link
Member

lukewarlow commented Feb 18, 2023

Request for position on an emerging web specification

(Please delete inapplicable rows.)

  • WebKittens who can provide input:

Information about the specification

Design reviews and vendor positions

Mozilla are the only ones who have implemented this property so far. (Chromium has a WIP implementation)

Bugs tracking this feature

Anything else we need to know

Currently to hide scrollbars in WebKit you need to use the legacy ::-webkit-scrollbar pseudo styling. This property would allow hiding scrollbars through a standard property.

@hober
Copy link
Member

hober commented Mar 21, 2023

@smfr, thoughts?

@karlcow
Copy link
Member

karlcow commented Mar 21, 2023

seeAlso whatwg/compat#61

@hober hober moved this from Unscreened to Needs position in Standards Positions Review Backlog Mar 23, 2023
@hober hober moved this from Needs position to Needs assignees in Standards Positions Review Backlog Mar 27, 2023
@hober hober added topic: layout Spec relates to layout topic: scrolling labels Mar 27, 2023
@hober hober moved this from Needs assignees to Needs position in Standards Positions Review Backlog Mar 27, 2023
@lukewarlow
Copy link
Member Author

lukewarlow commented May 17, 2023

To add more information to this issue. This property supports three values, auto, thin and none. These match nicely to WebKit's ScrollbarControlSize::Regular and ScrollbarControlSize::Thin and not rendering the scrollbar.

With always on scrollbars these render like below:

image

With overlay scrollbars these render like below (these only show when scrolling as expected):

image

@smfr
Copy link

smfr commented Aug 15, 2023

WebKit supports the proposal. We will mark as Support one week from now, pending objections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
position: support topic: css Spec relates to CSS (Cascading Style Sheets) topic: layout Spec relates to layout topic: scrolling venue: W3C CSS WG
Development

No branches or pull requests

6 participants