Re: [csswg-drafts] [css-scrollbars] Real world product usage

Could you list the complete CSS code here?

>From the screenshot, it seems you use `display` mainly for hiding part of the scrollbar? `border-width` probably also for hiding borders? I'm not sure what are you using `background-position` and `background-clip` for, but the current draft should have met your requirement of `background-color`s, and `width` and `height` is in the plan, I believe.

Using `background-image` for specifying arrow icon is something we don't want to expose because different OSs do have different style, e.g. macOS doesn't have arrow by default, and Ubuntu's arrows are outside scrollbar and only shown when hovering. Having every component fixed by the spec is something we want to avoid, and it is also usually bad for user experience if scrollbar looks a lot different from native applications.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1969#issuecomment-344981272 using your GitHub account

Received on Thursday, 16 November 2017 16:38:27 UTC