Summary: | Rename scroll-snap-margin to scroll-margin, and have it apply when scrolling to anchors | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michał Gołębiowski-Owczarek <m.goleb+bugzilla> |
Component: | CSS | Assignee: | Simon Fraser (smfr) <simon.fraser> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | 22bpower+bugtracking, bfulgham, collimarco91, contact, dev, emily.meroni, mrobinson, netleon6, simon.fraser, stefanprobst, tannerhodges, trentprynn, vertigoback, webkit-bug-importer, wenson_hsieh, zalan |
Priority: | P2 | Keywords: | BrowserCompat, InRadar, WebExposed |
Version: | Safari Technology Preview | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 218075, 218076 | ||
Bug Blocks: | 218115 |
Description
Michał Gołębiowski-Owczarek
2018-09-04 11:36:41 PDT
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. *** 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!! They is 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: - https://bugs.webkit.org/show_bug.cgi?id=218075 - https://bugs.webkit.org/show_bug.cgi?id=218076 Both dependent bugs have been closed, so I think this can be closed as well. |