Closed
Bug 1592967
Opened 5 years ago
Closed 5 years ago
Reloading out of process iframe resets zoom level
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
WORKSFORME
Fission Milestone | M6 |
People
(Reporter: enndeakin, Unassigned)
References
(Blocks 2 open bugs)
Details
- Enable fission (fission.autostart preference)
- Open data:text/html,<html><body>Outer Text<iframe src='http://www.example.com'></iframe></body></html>
- Zoom the page.
- Reload the page.
Expected: The page is reloaded at the adjusted zoom level.
Actual: The outer page is correct, but the content of the iframe is reset to zoom level 1.
This occurs in both full and text zoom modes.
I suspect that this is because nsDocumentViewer::CallChildren iterates over docshells so doesn't assign the right zoom level to each subframe.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
How does it work when we set the zoom initially? Do you know why we're taking a different path for setting the zoom, vs restoring it on a reload?
Flags: needinfo?(matt.woodrow) → needinfo?(enndeakin)
Updated•5 years ago
|
Fission Milestone: ? → M5
Comment 3•5 years ago
|
||
Moving page zoom bug to Layout.
Component: DOM: Navigation → Layout
Priority: P2 → --
Whiteboard: [layout:triage-discuss]
Comment 4•5 years ago
|
||
Looks like it works fine now. Neil, can you please double-check?
Comment 5•5 years ago
|
||
Yes, this appears to be fixed. I'm going to close it. Not sure if it was fixed by Emilio's work in bug 1612068?
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Whiteboard: [layout:triage-discuss]
Comment 6•5 years ago
|
||
Yes, sounds p. likely.
Reporter | ||
Updated•4 years ago
|
Flags: needinfo?(enndeakin)
You need to log in
before you can comment on or make changes to this bug.
Description
•