Re: [csswg-drafts] [css-scroll-snap] Clarify aligned snap points where the scroll container is impossible to scroll to are valid (or not) (#7698)

The spec defines that the used snap position is the position resulting from scrolling as much as possible towards the snap position:

> If a [snap position](https://www.w3.org/TR/css-scroll-snap-1/#scroll-snap-position) is unreachable as specified, such that aligning to it would require scrolling the [scroll container](https://www.w3.org/TR/css-overflow-3/#scroll-container)’s viewport past the edge of its [scrollable overflow area](https://www.w3.org/TR/css-overflow-3/#scrollable-overflow-region), the used snap position for this [snap area](https://www.w3.org/TR/css-scroll-snap-1/#scroll-snap-area) is the position resulting from scrolling as much as possible in each relevant axis toward the desired snap position.

https://www.w3.org/TR/css-scroll-snap-1/#unreachable

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


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

Received on Tuesday, 6 September 2022 09:52:28 UTC