New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 812154 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 819421
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

PDF is shown zoomed out when loaded to iframe

Reported by faf...@gmail.com, Feb 14 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36

Steps to reproduce the problem:
1. create an iframe with fixed width an height using javascript
2. st the src attribut to an API uri (not a static file)
3. 

What is the expected behavior?
see the PDF in normal zoom with Chrome PDF viewer

What went wrong?
The zoom of the document was ~1%, users are unable to see its content.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 64.0.3282.140  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
Capture.PNG
12.1 KB View Download
Capture.PNG
12.1 KB View Download
Components: Internals>Plugins>PDF
Labels: Needs-Triage-M64
Cc: sindhu.chelamcherla@chromium.org
Labels: Triaged-ET Needs-Feedback
@Reporter: Could you please provide sample URL/test file to test this issue. This would help in further triaging of the issue.

Thanks!
Owner: hnakashima@chromium.org
This might be the same as  bug 819421 . Please provide more information per comment 3 to help us figure out what's going wrong.

Comment 5 by faf...@gmail.com, Mar 24 2018

I can add that it only happen if the frame is hidden on the time of load.
meaning if the iframe or any of its DOM parents is in display: none.
I have overcome this issue by only loading the src of the iframe after the it is shown.
this is better than loading with zoom out document but also means longer time for user to wait for it to download.
Project Member

Comment 6 by sheriffbot@chromium.org, Mar 24 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Mergedinto: 819421
Status: Duplicate (was: Unconfirmed)
Duping into bug that has a repro case.

Sign in to add a comment