Intent to Ship: CSS Scroll Snapping on Desktop

Skip to first unread message

Kearwood "Kip" Gilbert

Mar 16, 2015, 2:24:53 PM3/16/15
As of March 18, 2015 I intend to turn on by default CSS Scroll Snapping
on Desktop. It has been developed behind the
layout.css.scroll-snap.enabled preference. This feature has already
been enabled on B2G.

Platform coverage:
This has already been enabled on B2G (Firefox OS). All desktop
platforms will be enabled once scroll bar support for CSS scroll
snapping lands (Bug 969250). Fennec will be enabled once the C++ based
APZC implementation ships for Fennec (Bug 1138668).

This feature was previous discussed in this "intent to implement" thread:!topic/

Feedback during the draft updates on the css-snappoints specification
took place on the www-style mailing list.

Bug to turn on by default:

Bug 1138658 - Enable CSS Scroll Snapping by Default on Desktop

Link to standard:

The entirety of the W3 specification is implemented, with one
exception. In section 4 (Scroll Snap Types: the 'scroll-snap-type'
property), the specification reads, "If the content changes such that
the visual viewport would no longer rest on a snap point (e.g. content
is added, moved, deleted, resized), the scroll offset must be modified
to maintain this guarantee.". Support for this is tracked in Bug
1124324 (Perform instant and smooth scrolls to maintain guarantees set
by scroll snapping CSS attributes when content changes) and will be
landed separately.

- Kearwood "Kip" Gilbert

Robert O'Callahan

Mar 16, 2015, 5:59:26 PM3/16/15
to Kearwood Kip Gilbert,

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.

Ehsan Akhgari

Mar 16, 2015, 6:08:45 PM3/16/15
to Kearwood "Kip" Gilbert,
Is this feature worth having a hacks blog post about? (hint: I think so!)
> _______________________________________________
> dev-platform mailing list

Robert O'Callahan

Mar 16, 2015, 6:34:37 PM3/16/15
to Ehsan Akhgari, Kearwood Kip Gilbert,
On Tue, Mar 17, 2015 at 11:07 AM, Ehsan Akhgari <>

> Is this feature worth having a hacks blog post about? (hint: I think so!)


Tantek Çelik

Mar 30, 2015, 9:38:25 PM3/30/15
to Robert O'Callahan, Kearwood Kip Gilbert, Ehsan Akhgari,
>From the bug:

This will be on by default in 39 right?

Do we have any nice example pages to show it off?

Being able to use CSS Snap Points has also come up in recent
#indiewebcamp discussions, so FWIW, there are also independent web
developers who are ready and eager to implement this on their own
websites as well, in case you're looking for examples for your hacks
blog post.



Eric Shepherd (Sheppy)

Apr 1, 2015, 7:21:54 PM4/1/15
to Tantek Çelik, Kearwood Kip Gilbert, Ehsan Akhgari,, Robert O'Callahan
FWIW documenting and providing examples for this is a candidate for a
Q2 deliverable for the MDN content team. I do not make promises yet,
however. ;)

Eric Shepherd
Senior Technical Writer

Alex Webster

Apr 1, 2015, 9:39:50 PM4/1/15
to Eric Shepherd (Sheppy), Tantek Çelik, Kearwood Kip Gilbert, Ehsan Akhgari,, Robert O'Callahan
Please unsubscribe me
On Wed, Apr 1, 2015 at 7:22 PM Eric Shepherd (Sheppy) <>
Reply all
Reply to author
0 new messages