Setting the mainframe to have scroll snap type mandatory and some of its children to have scroll snap coordinates does not result in scroll snapping behavior (even on a toy example).
<rdar://problem/21823835>
Created attachment 256849 [details] Patch
Comment on attachment 256849 [details] Patch r+ but please fix the broken builds.
Created attachment 256858 [details] Patch
Comment on attachment 256858 [details] Patch r=me, based on Simon's review and the fact that this is building properly.
Comment on attachment 256858 [details] Patch Clearing flags on attachment: 256858 Committed r186865: <http://trac.webkit.org/changeset/186865>
Comment on attachment 256858 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256858&action=review > Source/WebCore/rendering/RenderBox.cpp:5008 > + if (document().body() && frame().mainFrame().view() && frame().mainFrame().view()->isScrollable()) This was wrong to consult the main frame.