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

Re: [csswg-drafts] [css-scrollbars] Real world product usage

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Thu, 16 Nov 2017 16:38:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-344981272-1510850302-sysbot+gh@w3.org>
Could you list the complete CSS code here?

>From the screenshot, it seems you use `display` mainly for hiding part of the scrollbar? `border-width` probably also for hiding borders? I'm not sure what are you using `background-position` and `background-clip` for, but the current draft should have met your requirement of `background-color`s, and `width` and `height` is in the plan, I believe.

Using `background-image` for specifying arrow icon is something we don't want to expose because different OSs do have different style, e.g. macOS doesn't have arrow by default, and Ubuntu's arrows are outside scrollbar and only shown when hovering. Having every component fixed by the spec is something we want to avoid, and it is also usually bad for user experience if scrollbar looks a lot different from native applications.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1969#issuecomment-344981272 using your GitHub account
Received on Thursday, 16 November 2017 16:38:27 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 16 November 2017 16:38:30 UTC