W3C home > Mailing lists > Public > www-style@w3.org > October 2015

RE: [css-snappoints] Various issues

From: François REMY <francois.remy.dev@outlook.com>
Date: Thu, 22 Oct 2015 20:07:34 -0700
Message-ID: <DUB408-EAS404974817C82843819D2464A5260@phx.gbl>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC