gecko-dev/gfx/layers/apz
Emilio Cobos Álvarez 38b10eafda Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt
This rewrites scrollbar layout to work with regular reflow rather than
box layout.

Overall it's about the same amount of code (mostly because
nsScrollbarFrame::Reflow is sorta hand-rolled), but it cleans up a bit
and it is progress towards removing XUL layout altogether, without
getting into much deeper refactoring.

This also blocks some other performance improvements and refactorings I
want to make in this code.

We make some assumptions to simplify the code that to some extent were
made already before, both explicitly and by virtue of using XUL layout.

In particular, we assume that scrollbar / slider / thumb has no border or
padding and that the writing-mode is horizontal ltr.

Differential Revision: https://phabricator.services.mozilla.com/D173489
2023-03-27 20:54:53 +00:00
..
public Bug 1784772 - Preserve APZEventResult.mHandledResult when we set eConsumeDoDefault for the APZEventResult in InputQueue::ReceivePanGestureInput(). r=botond 2023-03-14 21:01:02 +00:00
src Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
test Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
testutil Bug 1769290 - Part 14: Apply mozilla-js-handle-rooted-typedef against gfx r=andi 2022-07-14 17:00:20 +00:00
util Bug 1746126 - Allow controlling zoom-to-focused-input behaviour using touch-action. r=botond 2023-01-26 01:07:58 +00:00