Closed Bug 1124324 Opened 10 years ago Closed 2 years ago

Perform instant and smooth scrolls to maintain guarantees set by scroll snapping CSS attributes when content changes

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1530253

People

(Reporter: kip, Unassigned)

References

()

Details

When content changes, scroll position must be changed to maintain guarantee of resting on a snap point when scroll-snap-type is set to "mandatory". For "proximity" scroll snapping, the scroll position must be changed only if the new scroll position is within proximity of a new snap point. If no snap points are defined within the scrollable range after content changes, no scrolling will be performed. If, prior to the content change, the scroll snap point has been reached, the scroll position will be updated instantly to match the new position of the same scroll snap point. If the content change removes the snap point or the prior snap point is no longer reachable within the scrolling range, a smooth scroll will be performed as though the user had completed a scrolling gesture. If, prior to the content change, the scroll snap point had not been reached, a smooth scroll will be performed as though the user had completed a scrolling gesture.

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: kearwood → nobody
Severity: normal → S3

Is this a duplicate of bug 1530253?

Flags: needinfo?(hikezoe.birchill)

Yeah, sounds like a completely a dup of bug 1530253. Thanks!

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1530253
Flags: needinfo?(hikezoe.birchill)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.