Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Issues with different browsers #10

Closed
PjotrC opened this issue Jul 19, 2014 · 7 comments
Closed

Issues with different browsers #10

PjotrC opened this issue Jul 19, 2014 · 7 comments

Comments

@PjotrC
Copy link

PjotrC commented Jul 19, 2014

Hi exupero,

on Chrome your script is doing well, but I observed some issuses with other browsers:

On Firefox 30.0 small fonts turn into normal sized fonts. On my test page you can see this at the elevation label. Please check:
https://dl.dropboxusercontent.com/u/17823304/Climograph/Climograph_test.html

On Opera 12.17 and Internet Explorer 11 the lownload is not working at all.

Hope to not report known issues.

@exupero
Copy link
Owner

exupero commented Jul 21, 2014

I will investigate the problems with Firefox and Opera.

As far as I know, the script does not work in IE. It throws a security exception when generating the data URI for a canvas. There are unconfirmed reports that it does work, but I've not been able to reproduce.

@exupero
Copy link
Owner

exupero commented Aug 7, 2014

It looks like Firefox doesn't fully respect unitless font sizes in style tags.

@exupero
Copy link
Owner

exupero commented Aug 8, 2014

It doesn't appear that Opera 12 fully supports SVG.

On both your page and the test page, Opera 12 throws a DOM exception (SYNTAX_ERR) when executing the following line in jQuery v1.11.1:

div.querySelectorAll("*,:x");

All appears to work in the new version of Opera, which is built atop Chromium.

@PjotrC
Copy link
Author

PjotrC commented Sep 12, 2014

Thank you for pointing out the issue with Firefox.

Btw:
What is the difference between "bjpop/saveSvgAsPng" and "exupero/saveSvgAsPng"?

@exupero
Copy link
Owner

exupero commented Sep 12, 2014

It looks like the bjpop/saveSvgAsPng is an outdated clone of this repo (most recent commit is late June).

@Cartman666
Copy link

Hi,

This script saved my day, however, do you think the IE issue is solvable?

@exupero
Copy link
Owner

exupero commented Oct 17, 2014

In my testing, IE considers the critical step canvas.toDataURL() to be a security error. It's possible that behavior is configurable, or that a browser extension could disable it, but knowing for certain would take someone more versed in IE than me.

@exupero exupero closed this as completed Dec 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants