[csswg-drafts] [css-scroll-snap-1] clarify how snap positions are calculated in the case where the target element is split into multiple boxes (#13490)

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

== [css-scroll-snap-1] clarify how snap positions are calculated in the case where the target element is split into multiple boxes ==
While I am investigating why [multicol-001.html](https://wpt.fyi/results/css/css-scroll-snap/multicol-001.html?label=master&label=experimental&aligned&view=interop&q=label%3Ainterop-2026-scroll-snap) fails on Firefox, I realized fragmented box cases such as multi columns are not simple.

For example, in [this testc ase](https://bugzilla.mozilla.org/attachment.cgi?id=9544854) there is a single snap target element and its `scroll-snap-align` is `end`. And the target element, cyan colored one is split into two boxes, one is (100 x 100) size, the other is (100 x 20) size. 

So my question is in the test case the bottom right edges of both boxes should be snap target positions respectively? Moreover what if the `scroll-snap-align` is `center`? Where is the center of those two boxes on Y axis? If the original scroll destination was close to the center of the second box, then the second box would be target?

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


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

Received on Friday, 13 February 2026 08:03:04 UTC