Closed Bug 1518926 Opened 5 years ago Closed 5 years ago

Coalesce scroll anchor adjustments during restyle flush

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1519462

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

The implementation of scroll anchoring will notify scroll anchor containers to apply any adjustments when it's possible an anchor node may have been moved.

This is usually done after reflow, but there's also a fast path for directly changing the position of a frame during restyling. The initial implementation will notify the applicable scroll anchor container immediately after each positioned item is moved. We should coalesce these notifications to once per restyle flush.

This was filed from this comment from David Baron.

Priority: -- → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.