Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #40 - Hidden document viewer does not load pages in Firefox #45

Merged
merged 1 commit into from
Jun 2, 2014

Conversation

lakenen
Copy link
Contributor

@lakenen lakenen commented Jun 2, 2014

There is a bug in Firefox where window.getComputedStyle() returns null if called in a hidden (display:none) iframe (https://bugzilla.mozilla.org/show_bug.cgi?id=548397), so we fallback to a default value if this happens.

@boxcla
Copy link

boxcla commented Jun 2, 2014

Verified that @lakenen has signed the CLA. Thanks for the pull request!

There is a bug in Firefox where `window.getComputedStyle()`
returns null if called in a hidden (`display:none`) iframe
(https://bugzilla.mozilla.org/show_bug.cgi?id=548397), so we
fallback to a default value if this happens.
@silvamerica
Copy link
Contributor

👍

lakenen added a commit that referenced this pull request Jun 2, 2014
Fix #40 - Hidden document viewer does not load pages in Firefox
@lakenen lakenen merged commit 4f0fad2 into master Jun 2, 2014
@lakenen lakenen deleted the issue40 branch June 2, 2014 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants