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: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Oct 2020 03:32:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-702507900-1601609568-sysbot+gh@w3.org>
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

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