W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

Re: [csswg-drafts] [css-scrollbars-1] scrollbar-width should be inherited (#4799)

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Mar 2020 05:40:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-595609512-1583473204-sysbot+gh@w3.org>
It is intentional.

The basic idea is that `scrollbar-color` is more a style that you may want to apply to a subtree as a whole, while `scrollbar-width` is more related to specific case of each element, e.g. when there's a list too narrow to accommodate a normal-width scrollbar or you're installing a custom scrollbar on an element thus want to hide its native scrollbar.

I'm not totally sure whether that assumption still makes sense, but it was intentionally done that way.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4799#issuecomment-595609512 using your GitHub account
Received on Friday, 6 March 2020 05:40:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC