- From: Majid Valipour <majidvp@chromium.org>
- Date: Tue, 16 Jun 2015 12:29:55 +0000
- To: robert@ocallahan.org, Simon Fraser <smfr@me.com>
- Cc: "www-style@w3.org list" <www-style@w3.org>
- Message-ID: <CAB8RdXvvWijYABJk+MU71p5O6+5gKLH3X=REcBQbSUMNfZ7=_g@mail.gmail.com>
How will this work with the expected change to add back the 'elements'? Should this become: <div style=“overflow: scroll; scroll-snap-points-x: *repeat(100px) elements* ;”> <div style="scroll-snap-coordinate: 0 0”; margin-left: 20px;></div> </div> Majid On Mon, Jun 15, 2015 at 9:14 PM Robert O'Callahan <robert@ocallahan.org> wrote: > On Tue, Jun 16, 2015 at 8:33 AM, Simon Fraser <smfr@me.com> wrote: > >> The scroll snap draft[1] doesn’t describe the interaction between >> snap-points-x/y and scroll-snap-coordinate on children. For example: >> >> <div style=“overflow: scroll; scroll-snap-points-x: repeat(100px)”> >> <div style="scroll-snap-coordinate: 0 0”; margin-left: 20px;></div> >> ... >> </div> >> >> Does scrolling snap to 20px? In other words, if descendant elements have >> "scroll-snap-coordinate”, how does that interact with >> scroll-snap-points-x/y on the enclosing scroller? >> > > They should get added to the set of possible snapping positions. > > Rob > -- > oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo > owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo > osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo > owohooo > osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o > oioso > oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo > owohooo > osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro > ooofo > otohoeo ofoioroeo ooofo ohoeololo. >
Received on Tuesday, 16 June 2015 12:30:36 UTC