Closed Bug 1373832 Opened 4 years ago Closed 2 years ago

Implement scroll-padding-* properties

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

53 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox57 --- wontfix
firefox68 --- fixed

People

(Reporter: sebo, Assigned: hiro)

References

(Blocks 2 open bugs, )

Details

(4 keywords)

Attachments

(1 file)

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: 2 years 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

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.