Closed Bug 1633488 Opened 5 years ago Closed 5 years ago

Simplify the zoom setup even more.

Categories

(Core :: DOM: Core & HTML, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files, 1 obsolete file)

No description provided.

When the full zoom changes, it affects the layout viewport, and thus
RefreshViewportSize(false) gets called via PresShell::ResizeReflow, so
it's not needed.

This is in preparation to firing FullZoomChange only in the browser
element.

This ensures that chrome code can always react to the state the browsing
context the parent process observes properly. It's also simpler.

We fix one test that was relying on the event being fired at the
browser. For the same reason as the previous patch in this bug, we can
use resize events instead.

Depends on D72711

These are unused after the move to BrowsingContext. Will try to figure
out what to do about the enlarge events and such.

Depends on D72712

Attachment #9143726 - Attachment is obsolete: true
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/897f08396a2f Stop listening for FullZoomChange in MobileViewportManager. r=botond
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c999ecad3be8 Fire zoom change events directly in the parent process instead of roundabouting through the child process. r=nika
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e837430046c8 Fire zoom change events directly in the parent process instead of roundabouting through the child process. r=nika
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Regressions: 1634621
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: