- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Jan 2020 15:15:37 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Snap area trapping behavior of non scrollable elements`, and agreed to the following: * `RESOLVED: No change to scroll-snap-type, but contain:layout must trap snaps.` <details><summary>The full IRC log of that discussion</summary> <heycam> Topic: Snap area trapping behavior of non scrollable elements<br> <heycam> github: https://github.com/w3c/csswg-drafts/issues/4496<br> <heycam> fantasai: snapping is on any descendant<br> <heycam> ... currently spec says if scroll-snap-type is non-none, it normally only applies to the scroll container<br> <heycam> ... but if you set it on a descendant element, it has the same affect as a scroll container in that snap areas in that box will no longer affect the ancestor scroll container<br> <heycam> ... Majid points out this hasn't been implemented<br> <heycam> ... this use case of wanting to trap any of these snap areas is already handeld by setting overflow to auto or hidden<br> <heycam> ... which means we can remove this<br> <heycam> fantasai: not convinced on requiriing overflow be set to do this<br> <heycam> ... but we have the contain property, which likes to contain things, maybe you want contain layout on it -- and you might want contain:layout to trap snap areas<br> <heycam> TabAtkins: yes it should<br> <heycam> fantasai: if we're implementing the possibility of trapping snap areas via contain:layout, seems to make sense we maintain the ability to have this independent switch through the scroll-snap-type property<br> <heycam> astearns: adding a value to scroll-snap-type?<br> <heycam> TabAtkins: no, it's just any value other than none<br> <heycam> TabAtkins: the idea would be there's not enough stuff depending on this not trapping<br> <heycam> heycam: I kidn of find it weird to re-use scroll-snap-type for this different meaning<br> <heycam> fantasai: you can think of it as scroll-snap-type always captures snaps<br> <heycam> fantasai: this is already in the spec<br> <heycam> ... we might want to consider re-tagging this issue against contain, so that we can make contain:layout do this snapturing<br> <heycam> RESOLVED: No change to scroll-snap-type, but contain:layout must trap snaps.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4496#issuecomment-577234050 using your GitHub account
Received on Wednesday, 22 January 2020 15:15:39 UTC