Make it possible for scrollable elements in chrome:// documents to opt-in to autodir and honourroot behaviour
Categories
(Core :: Layout: Scrolling and Overflow, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
Details
Attachments
(1 file)
The Firefox Desktop team plans to work on some UI where we want horizontally-scrollable regions to be scrollable with the mousewheel. I spoke to botond about this, and he mentioned that it might be possible to make the behaviour enabled by "mousewheel.autodir.enabled" and "mousewheel.autodir.honourroot" something that chrome:// documents can opt scrollable regions into.
This bug is for that work.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Hey botond,
We discussed this before the holiday break, and this is my naive stab at it. It's a WIP with some TODOs for inline documentation, but I wanted to get a sense of whether or not this general approach would work for you, or if you'd prefer something else?
Comment 3•3 years ago
|
||
Yep, the approach in this patch looks good to me!
One addition that I believe will be needed for it to work is to propagate the new ScrollMetadata properties around here. (This propagation is from the copy that's sent over IPC from content to the APZ, to the copy retained locally by APZ. We don't copy the whole struct over because some of its properties like the scroll offset require special logic.)
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Description
•