W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

Re: [csswg-drafts] [css-scrollbars-1] Make scrollbar-width inheritable (#3671)

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Sat, 23 Feb 2019 02:49:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-466609284-1550890155-sysbot+gh@w3.org>
All CSS properties are inheritable, via specifying `property: inherit` as mentioned by @jonjohnjohnson. The "inherited" field just means whether the property inherits by default.

Based on use case analysis mentioned in the spec, we consider `scrollbar-color` to serve the use cases for assigning kind of theme colors to scrollbars, which usually applies page-wise, so it is inherited by default, while `scrollbar-width` is for addressing cases where specific elements may be too small to show a full-width scrollbar, or elements that has custom scrollbar want to hide the default scrollbar, so it is not made inherited by default.

Given the usecases as well as the existence of "workaround" if you really want to inherit that property, I don't think we are going to take this change, so closing this PR.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/3671#issuecomment-466609284 using your GitHub account
Received on Saturday, 23 February 2019 02:49:18 UTC

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