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

`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