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

Re: [csswg-drafts] [css-overflow] CSSOM scrollWidth/scrollHeight behaviour of "overflow: clip". (#5572)

From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
Date: Thu, 01 Oct 2020 23:55:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-702455751-1601596550-sysbot+gh@w3.org>
`overflow: hidden` element are scrollable as which is why `100` for them makes sense, e.g. they respect `scrollTop` etc (`overflow: clip` doesn't respect `scrollTop` etc).

I'm fine with returning `100` here for `clip` as well, the additional optimisation if you have `clip` in both axis is that you can skip the scrollable-overflow calculation (I'm pretty sure), but this isn't a big deal.

GitHub Notification of comment by bfgeek
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5572#issuecomment-702455751 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 October 2020 23:55:53 UTC

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