Further simplify PresShell::ResizeReflow.
Categories
(Core :: Layout, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
Preparation cleanup for my fix for bug 1551659.
| Assignee | ||
Comment 1•6 years ago
|
||
In particular, not let ResizeReflow take the old and new size. Most of the
callers pass dummy values anyway.
Instead, use the old size of the layout viewport. This ensures we fire resize
events only if the layout viewport actually changes.
To do this, we need to shuffle a bit of code in nsDocumentViewer that deals with
delayed resizes, to set the visible area and invalidate layout, rather than
setting the visible area and then relying on doing a resize reflow.
Further cleanup is possible, though not required for my android resizing fix, so
will do separately.
| Assignee | ||
Comment 2•6 years ago
|
||
Android: https://treeherder.mozilla.org/#/jobs?repo=try&revision=16f6b0a5870c96291c3703c741118db52e82c9ef
Desktop: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3a40c8071e606fccd4293ad0b3dad54719fcdd6f
Comment 4•6 years ago
|
||
| bugherder | ||
Description
•