If you hide an IFRAME containing a PDF document and then show it again, the document is not visible (even though the IFRAME is)




10 years ago
8 years ago


(Reporter: Richard Wiseman, Unassigned)


1.9.0 Branch
Windows XP

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [closeme 2010-04-21])


(1 attachment)



10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/2008120122 Firefox/3.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/2008120122 Firefox/3.0.5

There's not really that much more to add, to be honest.

I've got a very simple document containing an IFRAME, the src of which is a PDF document.  That loads and displays fine.  If I then hide the IFRAME and then show it again, the border of the IFRAME is visible (indicating that the frame is not still hidden) but its contents are not visible.

If the contents are not a PDF document, this problem does not occur.  I've not exercised plug-ins other than the Adobe Acrobat Viewer to see if they suffer the same problem.

Reproducible: Always

Steps to Reproduce:
1. Create a document containing an IFRAME whose src is a PDF document.
2. Hide the IFRAME.
3. Show the IFRAME.
Actual Results:  
The document is no longer visible.

Expected Results:  
The document is visible.

Comment 1

10 years ago
Created attachment 357642 [details]
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Version: unspecified → 1.9.0 Branch

Comment 2

9 years ago
I have just experienced this same behavior with an IFRAME that points to a PDF file.  This is in version 3.0.8.

Another problem happens when, even if you do not hide the IFRAME, you set the containing element to not display scrollbars:

    var iframe = document.getElementById("IFrame");
    iframe.parentNode.style.overflow = "hidden";

The contents of the IFRAME disappear (the borders of the IFRAME are still visible).

Comment 3

8 years ago
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100401 Firefox/3.6.3
Please try if you can reproduce with the latest nightly build ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
Whiteboard: [closeme 2010-04-21]

Comment 4

8 years ago
I've downloaded the nightly build but unfortunately I can't get Adobe Reader to display PDF documents in the browser anymore.  I disabled the functionality a while ago and even reinstalling Reader doesn't fix it!

Comment 5

8 years ago
Closing since now after whiteboard closeme date and no confirmation using anything newer than Firefox 3.x.

Please reopen/comment with further info, if you still see this issue with Firefox 3.6.13 or later, with a clean profile and the latest version of the plugin.

If you wish, you can also try to reproduce in Firefox 4 Beta 8 or later:
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.