WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 189265
Rename scroll-snap-margin to scroll-margin, and have it apply when scrolling to anchors
https://bugs.webkit.org/show_bug.cgi?id=189265
Summary
Rename scroll-snap-margin to scroll-margin, and have it apply when scrolling ...
Michał Gołębiowski-Owczarek
Reported
2018-09-04 11:36:41 PDT
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`.
Attachments
Add attachment
proposed patch, testcase, etc.
Mikaela Young
Comment 1
2019-11-04 12:36:23 PST
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. See
https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin
.
Radar WebKit Bug Importer
Comment 2
2019-11-04 12:43:17 PST
<
rdar://problem/56875889
>
Simon Fraser (smfr)
Comment 3
2020-04-30 11:38:20 PDT
***
Bug 208110
has been marked as a duplicate of this bug. ***
dakur
Comment 4
2020-05-21 07:26:55 PDT
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.
Ben Frain
Comment 5
2020-06-23 08:22:37 PDT
Pretty standard stuff this. Any ETA on when we might see it in WebKit?
netleon6@gmail.com
Comment 6
2020-10-05 00:28:31 PDT
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
netleon6@gmail.com
Comment 7
2020-10-05 00:29:07 PDT
(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!!
Simon Fraser (smfr)
Comment 8
2020-10-05 10:52:17 PDT
They is
Emily
Comment 9
2020-10-21 06:57:02 PDT
Also interested in the resolution of this bug in the near future, so that we can get rid of ad-hoc JS code. Thanks!
Martin Robinson
Comment 10
2020-10-22 03:46:13 PDT
I've decided to divide this work into at least two dependent bugs.
dakur
Comment 11
2020-10-22 06:56:13 PDT
Thank you! Just for tracking purposes, these two bugs are follow-ups from this one: -
https://bugs.webkit.org/show_bug.cgi?id=218075
-
https://bugs.webkit.org/show_bug.cgi?id=218076
Martin Robinson
Comment 12
2020-10-29 05:20:58 PDT
Both dependent bugs have been closed, so I think this can be closed as well.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug