Hacker News new | ask | show | jobs
by mikelat 4088 days ago
Better yet, the browsers should easily be able to predict the dominant color of the page by parsing the CSS file and most of the DOM, and pick a complimentary scrollbar contrast accordingly. Maybe do that and allow override to light/dark.
1 comments

Or, just allow the element to be styled like every other thing on the page. Because...why not again? Imaginary 4th wall that the bar is the only thing on the page that should not be stylable? So that it can match the scroll bars of native applications?
You think users want the browser window scroll to change color / shape / width per web page? Wouldn't that get confusing?
You think users want their browser text to change color / shape / width per web page?

Page scroll is not the only place scrollbars are useful. If you have an overflowing div in the middle of the page, a fat white/grey scrollbar is confusing.