Re: [csswg-drafts] [css-scrollbars] Shorthand for scrollbar colors (maybe also colors + width)?

So I don't think a shorthand consisting of `scrollbar-color` and `scrollbar-width` should block FPWD. We may consider this later, but I tend not to add it in general.

@tantek brought to me that a `scrollbar` shorthand may be a parallel to other shorthands like `border` and `outline`, but I'll argue that it's not the case.

The difference is that, all subproperties of `border` / `outline` are serving the single use case to style border / outline of the given element, and thus they are all non-inherited.

While `scrollbar-color` and `scrollbar-width` seem to be for styling scrollbars, they are actually serving different use cases: `scrollbar-color` is for theme consistency, usually set for the whole page, while `scrollbar-width` is for hiding scrollbar or making it thinner for specific element where normal scrollbar doesn't fit. Because of that, the former is inherited while the latter is not.

Because of that, I don't think a general `scrollbar` shorthand is really desirable, and I don't think it need to block FPWD.

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

Received on Wednesday, 19 September 2018 00:51:30 UTC