Open Bug 1231777 (css-scroll-snap) Opened 8 years ago Updated 6 months ago

[META] implement CSS Scroll Snap - Update implementation to latest CR spec.

Categories

(Core :: Layout: Scrolling and Overflow, enhancement)

enhancement

Tracking

()

Tracking Status
firefox45 --- affected

People

(Reporter: dbaron, Unassigned)

References

(Depends on 12 open bugs, Blocks 3 open bugs, )

Details

(Keywords: dev-doc-needed, DevAdvocacy, meta, Whiteboard: [devRel:P1])

The CSS Working Group has agreed on a bunch of changes to the Scroll Snapping specification, to address issues originally raised by Mozilla folks and others.

We should implement these changes.

The working group resolutions are in:
https://lists.w3.org/Archives/Public/www-style/2015Nov/0266.html
https://lists.w3.org/Archives/Public/www-style/2015Nov/0305.html
https://lists.w3.org/Archives/Public/www-style/2015Nov/0306.html
https://lists.w3.org/Archives/Public/www-style/2015Dec/0048.html

These were motivated by a competing spec draft:
https://drafts.csswg.org/css-scroll-snap/
which is intended to be merged (but hasn't yet been) into the primary spec:
https://drafts.csswg.org/css-snappoints/
Meanwhile the competing spec. draft was merged. Because the CSS Scroll Snap Module has now CR status[1] and work on the changes doesn't seem to have begun yet, I took the liberty to adjust the summary accordingly.
There were a lot more changes since this bug was filed and the current list of properties is this:

scroll-snap-type
scroll-padding
scroll-snap-margin
scroll-snap-align
scroll-snap-stop
scroll-padding-top
scroll-padding-right
scroll-padding-bottom
scroll-padding-left
scroll-padding-inline-start
scroll-padding-block-start
scroll-padding-inline-end
scroll-padding-block-end
scroll-padding-block
scroll-padding-inline
scroll-snap-margin-top
scroll-snap-margin-right
scroll-snap-margin-bottom
scroll-snap-margin-left
scroll-snap-margin-block-start
scroll-snap-margin-inline-start
scroll-snap-margin-block-end
scroll-snap-margin-inline-end
scroll-snap-margin-block
scroll-snap-margin-inline

Sebastian

[1] https://lists.w3.org/Archives/Public/www-style/2016Oct/0122.html
Summary: update CSS scroll snapping implementation to late 2015 spec changes → Update CSS scroll snap implementation to latest CR spec.
Depends on: 1312163
Depends on: 1312165
Summary: Update CSS scroll snap implementation to latest CR spec. → implement CSS Scroll Snap - Update implementation to latest CR spec.
Alias: css-scroll-snap
Summary: implement CSS Scroll Snap - Update implementation to latest CR spec. → [META] implement CSS Scroll Snap - Update implementation to latest CR spec.
Flags: needinfo?(tantek)
Depends on: 1373832
Depends on: 1373833
Depends on: 1373835
Depends on: 1387941
Chrome is shipping support for Scroll Snap in v69, this week. Safari already supports the undated spec. I expect this will put pressure on us to get our implementation updated. Are we working on it?
Keywords: DevAdvocacy
Whiteboard: [devRel:P1]
Depends on: 1530253
Depends on: 1530571
Depends on: 1531228
Depends on: 1531589
Blocks: 1533173
Depends on: 1534070
Depends on: 1534520
Type: defect → enhancement
Depends on: 1544136
Depends on: 1544198
Depends on: 1546038
Depends on: 1545316
Depends on: 1546057
Depends on: 1546835
Depends on: 1547242
Depends on: 1551801
Depends on: 1551806
Depends on: 1551784
Depends on: 1552089
Depends on: 1553022
Depends on: 1553770
Depends on: 1557608
Depends on: 1560406
Depends on: 1567304
Depends on: 1686571
Depends on: 1719031

Any plans to work on fixing the scroll-snap-stop? https://bugzilla.mozilla.org/show_bug.cgi?id=1312165

It works quite well on Chromium/Safari and the whole feature of scroll snap becomes a bit useless without the stop (at least when you have more than 2 elements to scroll through).

Component: Layout → Layout: Scrolling and Overflow
Depends on: 1753188
Depends on: 1766386
Depends on: 1768393
Depends on: 1768746
Depends on: 1769897
Depends on: 1771830
Depends on: 1780701
Severity: normal → S3
Depends on: 1798240
Blocks: 1837114
Blocks: 1840187
Blocks: 1839535
No longer blocks: 1837114, 1839535, 1840187
You need to log in before you can comment on or make changes to this bug.