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

Re: [csswg-drafts] [css-scrollbars-1] Rename `scrollbar-width` to `scrollbar-thickness`

From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
Date: Mon, 30 Jul 2018 23:56:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-409049437-1532994991-sysbot+gh@w3.org>
> Regarding the concern about terminology raised by <https://github.com/silverwind> about using "width" for horizontal scrollbars, vs the suggested alternative "thickness", note that CSS already has a notion of modifying the width of horizontal and vertical "bars" in the 'border-width' and 'outline-width' properties.

> In particular note the pre-existing 'border-top-width' and 'border-bottom-width' properties (<https://drafts.csswg.org/css-backgrounds-3/#border-width>) which specifically apply to horizontal borders. Thus I think it is both ok and desirable to use "width" to refer to the scrollbar size as well, since it is consistent with those existing properties, and matches what web developers will likely already be familiar with in CSS.

@tantek https://github.com/w3c/csswg-drafts/issues/1958#issuecomment-402576465

-- 
GitHub Notification of comment by jonjohnjohnson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2966#issuecomment-409049437 using your GitHub account
Received on Monday, 30 July 2018 23:56:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 30 July 2018 23:56:40 UTC