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

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