[csswg-drafts] [css-overflow] Should the viewport accept `overflow: clip ? (#12687)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] Should the viewport accept `overflow: clip ? ==
https://drafts.csswg.org/css-overflow-3/#overflow-propagation

> If [`clip`](https://drafts.csswg.org/css-overflow-3/#valdef-overflow-clip) is applied to the viewport, it must be interpreted as [`hidden`](https://drafts.csswg.org/css-overflow-3/#valdef-overflow-hidden).

However, I wonder if we should revisit this because of the same arguments from #12289. That is, the author may want to disable scrolling, but if there is some content slightly overflowing, then calls to scrollIntoView or anchor link scrolls can accidentally scroll to the overflowing content. Worse yet, a user has no way to undo this after it happens.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12687 using your GitHub account


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

Received on Saturday, 30 August 2025 13:49:47 UTC