- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 20 Aug 2025 12:55:29 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-overflow-4] Allow scrollable overflow to be clipped in off-axis`, and agreed to the following: * `RESOLVED: Allow overflow: clip in other axis of a scrollable container. It is still a scroll container but prevents scrolling away from origin in that axis. Figure out what needs to change to respond to an axis not being scrollable.` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> flackr: right now if you specify overflow in one axis, the other is forced to hidden (still programatically scrolalble)<br> <TabAtkins> flackr: so you can cause accidental off-axis scrolling with JS or a target<br> <TabAtkins> flackr: i think we should allow making one axis clipped, so it's always at the origin<br> <TabAtkins> flackr: but otherwise acts like a scroll contianer normally<br> <TabAtkins> flackr: woudl prevent accidental scrolling<br> <TabAtkins> fantasai: makes sense<br> <TabAtkins> TabAtkins: just say that "clip" can be used with the scrollable values?<br> <TabAtkins> fantasai: would no longer compute to hidden, the element remains a scroll container<br> <TabAtkins> fantasai: makes sense to me<br> <TabAtkins> astearns: so not changing current bheavior, just adding new?<br> <TabAtkins> flackr: technically it's a change, if people are using scroll+clip today (it computes to hidden). but should be rare, i think it's safe<br> <flackr> Proposed resolution: Allow overflow: clip in other axis of a scrollable container. It is still a scroll container but prevents scrolling away from origin in that axis.<br> <emilio> q+<br> <astearns> ack emilio<br> <TabAtkins> emilio: conceptually i think it seems okay<br> <TabAtkins> emilio: but this needs a bunch of spec changes to om-view, currently has a binary view of scroll container<br> <TabAtkins> flackr: it is still a scroll container<br> <TabAtkins> emilio: yeah, but the scrolling APIs currnetly will still do something<br> <TabAtkins> flackr: i'll have a look thru cssom-view and see what needs changing<br> <TabAtkins> emilio: k. i htink we need to change the style adjustment stuff, and change all the things that can scroll.<br> <oriol> q+<br> <TabAtkins> TabAtkins: i think we'd change it so say that scroll containers have 1 or 2 scrollable axises, and we'd redefine things to depend on scrollable axises<br> <astearns> ack oriol<br> <TabAtkins> oriol: there's a bunch of things taht dpened on scroll container or not<br> <TabAtkins> oriol: if we're letting a scroll container only be one axis, maybe want to review those things, some might want to depend on it being scrollable in that axis<br> <TabAtkins> oriol: automatic min sizes come to mind<br> <TabAtkins> oriol: not opposed to this change, but there might be some mor eimplications to consider<br> <TabAtkins> TabAtkins: that makes sense to me<br> <TabAtkins> astearns: okay, still hearing no opposition. objections?<br> <fantasai> I think for almost all cases, we will consider to be a scroll container in both axes<br> <TabAtkins> RESOLVED: Allow overflow: clip in other axis of a scrollable container. It is still a scroll container but prevents scrolling away from origin in that axis. Figure out what needs to change to respond to an axis not being scrollable.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12289#issuecomment-3206223182 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 August 2025 12:55:30 UTC