Open Bug 1648470 Opened 5 years ago

Don't do the TryLayout stuff for overlay scrollbars

Categories

(Core :: Layout: Scrolling and Overflow, task)

task

Tracking

()

People

(Reporter: kats, Unassigned)

Details

Noticed while debugging stuff on android. On platforms with overlay scrollbars, the scrollbars don't take up any layout space. Yet we still run through the four-step TryLayout code which tries to figure out which combination of scrollbars we want by reflowing at different sizes (which with overlay scrollbars are all the same size).

It should be possible to optimize this so that we don't do all this unnecessary work.

You need to log in before you can comment on or make changes to this bug.