It looks that the CSS Scroll Snap spec has changed and what was named `scroll-snap-margin` is now named `scroll-margin`. The just released Chrome 69 supports only `scroll-margin`.
Scroll margin should also still be applied when snapping is not turned on or applied to the element, allowing it's use with anchor links.
*** Bug 208110 has been marked as a duplicate of this bug. ***
Any news on this please? It would save a lot of pain when linking to URLs with hash as current hack with negative margin-top & positive padding-top is not reliable as it brings new issues with overlaying elements.
Pretty standard stuff this. Any ETA on when we might see it in WebKit?
scroll-margin & scroll-snap-margin not working in Safari
Please add this, make us easy to access the web
don't make it partial on some browsers it will work on some don't
(In reply to Ben Frain from comment #5)
> Pretty standard stuff this. Any ETA on when we might see it in WebKit?
Do you think they reading this!!
Also interested in the resolution of this bug in the near future, so that we can get rid of ad-hoc JS code. Thanks!
I've decided to divide this work into at least two dependent bugs.
Thank you! Just for tracking purposes, these two bugs are follow-ups from this one:
Both dependent bugs have been closed, so I think this can be closed as well.