Re: [css-snappoints] scroll-snap and scrollTo/scrollIntoView interactions

On Fri, Jun 19, 2015 at 4:32 AM, Brent Fulgham <> wrote:

> The current specification  <> is
> silent on what special scroll snap behavior should be triggered when a page
> or element with scroll snap points is manipulated through window.scrollTo
> or element.scrollIntoView.
> Since many of the window.scrollTo/element.scrollTop/element.scrollLeft
> uses are to manually animate scrolls, we probably do not want to trigger
> snapping for these cases.
> It’s less clear what to do for scrollIntoView. If aligning with the top or
> bottom of a view does not align with any defined scroll snap points for
> that view, should we adjust the positioning to match the closest snap point?

I think scripted scrolling should not be snapped by default, but we should
extend the ScrollOptions dictionary with a 'snap' member.

oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
otohoeo ofoioroeo ooofo ohoeololo.

Received on Friday, 19 June 2015 12:33:13 UTC