W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-ui-4][css-overflow] Suggestion: "Overflow styling" / Scrollbar styling

From: KingSora via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 May 2017 19:00:29 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-300268483-1494356428-sysbot+gh@w3.org>
I think its important to give the developer a possibility to style his scrollbars, if he wants uniform scrollbars on all systems. 

The final spec could include a scrollbar structure where all elements which a scrollbar must have are listed. That means, if the developer decides to use a styled scrollbar with buttons and scrollbar buttons are in the spec, he has a possibility to style a scrollbar with buttons, regardless wheter the native scrollbar has buttons or not. This would be a "all or nothing" scenario, use a completely styled scrollbar or use the native system scrollbar.

Since the developer would have the full control over styled scrollbars and lets say he doesn't want scrollbar buttons although they are in thr spec, he could set them to "display: none" to "remove" them.

I think webkit did a nice job on their spec structure because you really have access to every important element in every state. But I dont like how they are handling the actual styling. They only allow specific properties which aren't documented. There is definitly much room for improvement.

GitHub Notification of comment by KingSora
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/107#issuecomment-300268483 using your GitHub account
Received on Tuesday, 9 May 2017 19:00:35 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:12 UTC