Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-scrollbars] Shorthand for scrollbar colors (maybe also colors + width)? #2879
This seems reasonable to me. Now that we also have 'scrollbar-width', do we also want a 'scrollbar' shorthand to do both colors and the width?
Can we rename this issue to something like:
Let’s use this issue to discuss scrollbar shorthands in general.
(Originally published at: http://tantek.com/2018/185/t3/)
There was concern raised in our Intent to Implement that, what should happen when one of the color is specified, while the other is not. It's probably a reasonable concern, and the UA would probably be required to either derive the other color to ensure contrast, or avoid showing custom scrollbar in that case.
I'm now thinking about using a single
What do you think about this?
referenced this issue
Aug 6, 2018
So in #3065, the two scrollbar color properties are merged into one, so if we are adding a shorthand, that would be one consisting of scrollbar-color and scrollbar-width.
For such shorthand, it seems the only usecase would be to reset everything to
So I don't think a shorthand consisting of
@tantek brought to me that a
The difference is that, all subproperties of
Because of that, I don't think a general