W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-scrollbars][css-scrollbars-1] Can we simplify to two scroll-*-color properties?

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 Jun 2018 00:56:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-400142170-1529974587-sysbot+gh@w3.org>
The basic idea behind doing the scrollbar properties approach (rather than the pseudo-element approach) is for giving browsers leeway to render what they think is most sensible for users while still addressing popular usecases required by authors like scrollbars in dark mode / theme / compact.

And yes, authors can always create different style of scrollbars with HTML elements especially, and with Web Components they can be well encapsulated. There can be way more creative way for scrollbars for specific web apps which can never be done with pseudo-element approach either.

This approach is focusing on provide simple and native way to help authors address basic usecases without much effort to deal with platform specific details (which pseudo-element approach is specifically bad on, e.g. scrollbar shape, buttons, etc.).

GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1960#issuecomment-400142170 using your GitHub account
Received on Tuesday, 26 June 2018 00:56:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 26 June 2018 00:56:29 UTC