Open Bug 401543 Opened 17 years ago Updated 2 years ago

using full page zoom on an inner iframe can render its contents outside of the frame

Categories

(Core :: Layout, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: mossop, Unassigned)

Details

Attachments

(2 files)

Attached file testcase
The attached testcase is an xul page containing an inner iframe. On load it adjusts the pagezoom to 0.66666. When this happens the content in the iframe shrinks but oddly a larger version of it is also rendered outside the iframe.

I find that the pagezoom is lost on switching to a different tab and back again, though this may be due to how firefox has pagezoom remembering set up.

The testcase requests privileges so should be saved locally before running.
Attached file inner frame
For reference this is the source of the inner frame in the testcase
Ugh, I think I know why this is happening. We merrily build a display list that contains items from the outer frame and the inner frame, and that doesn't work because they don't have the same coordinate systems.

I'm going to need to create a new display list wrapper item that wraps subframes and can handle the change in units.

Not sure if this should block 1.9 though.
One additional thing I saw at one point was the frame including contents at the bottom that were really from below it in the outer window which sounds like the same sort of thing.

I imagine this case is going to be pretty rare though, I can't seem to get a similar thing happening with content appearing outside the main browser.
Is this still an issue? I don't think I see anything wrong with the testcase.
Or maybe Mac only?
Still a problem here, make sure you are saving the testcase to a local file or otherwise allowing the privilege escalation.
Oh sorry, I misunderstood the testcase.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: