Re: [csswg-drafts] [css-scroll-snap-1] Improve or clarify nested snap behaviors (#9187)

We probably also want to join with a subsequent inner range if the first section before the nested area is short. E.g. consider the following example:

```html
<style>
.outer, .inner {
  scroll-snap-align: center;
}
.outer {
  padding: 50px;
}
</style>
<div class=outer>
  <div class=inner>
  </div>
</div>
```

It's probably not desirable to snap to the 50px of `.outer` before `.inner` starts as a different snap stop point.

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


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

Received on Monday, 27 November 2023 14:35:33 UTC