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

Blink's behavior seems more useful since any overflow is clipped and isn't seen as `scrollable overflow` by the parent, unlike an overflowing `overflow:visible` element.  I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1668714 to fix this in Gecko.

It's worth noting that `clip` may apply in just one of the axes in which case we should include any overflow in the other (`visible`) axis.

Gecko also have [a number of cases](https://searchfox.org/mozilla-central/rev/222e4f64b769413ac1a1991d2397b13a0acb5d9d/layout/generic/nsIFrame.cpp#11238) where we treat `hidden` as `clip`, and `contain:paint` + `overflow:visible` as `overflow:clip` etc.  I'll exclude those too for now.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 2 October 2020 03:32:51 UTC