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

[css-snappoints] Interaction of scroll-snap-coordinate and snap-points-x/y: repeat()

From: Simon Fraser <smfr@me.com>
Date: Mon, 15 Jun 2015 13:33:42 -0700
Message-id: <65E0D2A6-2D36-47B8-861C-3FD03728E86C@me.com>
To: "www-style@w3.org list" <www-style@w3.org>
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>

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?


[1] http://dev.w3.org/csswg/css-snappoints/
Received on Monday, 15 June 2015 20:34:11 UTC

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