- From: François REMY <francois.remy.dev@outlook.com>
- Date: Thu, 22 Oct 2015 20:07:34 -0700
- To: "'Tab Atkins Jr.'" <jackalmage@gmail.com>
- CC: "'Robert O'Callahan'" <robert@ocallahan.org>, "'www-style'" <www-style@w3.org>
> > That being said, I was asking myself the question why we needed a new > grid-definition language here. I'm in favor of simply reusing the "grid- > template" syntax in a "scroll-snap-template" property : this would enable > visual editors to be reused, and reuse existing mental models. > > If you have a grid, you can just snap to elements in the grid. If you have any > grid lines that aren't used to position elements, you almost certainly don't > want to snap to them anyway. > Hi Tab, Not sure why you're reviving this two-years-old message, but if the purpose is to resolve pending issues, you can consider this one closed. The spec evolved a bit during those two years and my comment doesn't apply anymore, I think. I can imagine use cases where you may want to snap to a grid line that you don't use to position items, but those use cases don’t seem to be possible to solve using css grids anyway. This is probably too edgy, and in most cases snapping to elements might work fine. Thanks for the answer anyway. Francois
Received on Friday, 23 October 2015 03:08:06 UTC