Implement scroll-padding-* properties

RESOLVED FIXED in Firefox 68

Status

()

enhancement
P3
normal
RESOLVED FIXED
2 years ago
2 months ago

People

(Reporter: sebo, Assigned: hiro)

Tracking

(Blocks 2 bugs, 4 keywords)

53 Branch
mozilla68
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox57 wontfix, firefox68 fixed)

Details

()

Attachments

(1 attachment)

The latest CSS Scroll Snap spec. defines a several scroll-padding-* properties, which specify the optimal viewing region of the scrollport.

These properties should be implemented accordingly.


Sebastian
Priority: -- → P3
Depends on: 1528640
Depends on: 1312163, 1373835
Assignee: nobody → hikezoe
Status: NEW → ASSIGNED

we just ran into this for the mozillafoundation.org site, where a sticky header is greatly interfering with proper #fragmentid navigation in FF, but not in Chrome and friends, so the sooner FF hits parity for this property, the better.

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:hiro, could you have a look please?

Flags: needinfo?(hikezoe)
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b500d17a3bf5
Deflate the snapport by scroll-padding and adjust the snap positions by the padding value. r=botond
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Flags: needinfo?(hikezoe)
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16481 for changes under testing/web-platform/tests
Upstream PR merged

These are documented and a note put in the 68 release notes https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-padding

You need to log in before you can comment on or make changes to this bug.