Expand description
Scroll system — independent subsystems mirroring Chrome’s cc/ architecture.
Chrome: cc/input/ (scroll nodes, input handler) + cc/trees/ (scroll tree, transform tree).
- [
ScrollNode] — per-element geometry (container size, content size, axis constraints). ScrollTree— parent-child topology for the scroll chain.ScrollOffsets— mutable scroll displacement per node.- [
controller] — applies deltas along the chain with clamping.
Default actions (keyboard scroll, wheel scroll) live in input::default_action —
the scroll system only knows about geometry and offsets, not input events.
Re-exports§
pub use offsets::ScrollOffsets;pub use tree::ScrollTree;