Consider preserving scroll position of iframes & other scrolled regions when printing

NEW
Unassigned

Status

()

Core
Printing: Output
7 years ago
2 years ago

People

(Reporter: dholbert, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [parity-chrome], URL)

STEPS TO REPRODUCE:
 1. Load http://manda.com/iframe/index.html
        (or any other page with scrollable iframe)
 2. Scroll the first iframe (yahoo) down and/or to the right.
 3. Print-preview.

ACTUAL RESULTS: Print preview has the iframe in its initial scroll state (scrolled to the top-left).

Perhaps we should preserve the scroll state of iframes (and "overflow:scroll" type content), so that printed output more directly matches what the user saw on the screen when initiating the 'print' action..
OS: Linux → All
Hardware: x86_64 → All

Comment 1

7 years ago
Keeping the scroll position makes sense. 

Btw, did we preserve scroll position in Fx3.6?
(In reply to comment #1)
> Btw, did we preserve scroll position in Fx3.6?

Nope, we didn't.  The STR here produce the same results for me in my 3.6 nightly as in my trunk nightly.

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18pre) Gecko/20110503 Namoroka/3.6.18pre
This is what Chrome currently does.
Whiteboard: [parity-chrome]
You need to log in before you can comment on or make changes to this bug.