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

stroke-dasharray="0" breaks solid paths in FF 37.0+ #946

Closed
datalus opened this issue Mar 5, 2015 · 2 comments · Fixed by #962
Closed

stroke-dasharray="0" breaks solid paths in FF 37.0+ #946

datalus opened this issue Mar 5, 2015 · 2 comments · Fixed by #962

Comments

@datalus
Copy link

datalus commented Mar 5, 2015

Testing SVG paths with stroke-dasharray set to "" or "none" results in the attribute having the "0" value which breaks paths in Firefox's current beta & developer channels. Not sure if Mozilla will resolve this on their end before FF 37.0's release, or if this is intended behavior going forward.

Right now, my hack to fix this in my own code is to just use a space, since the raphael source code does not map " " to 0.

@datalus datalus changed the title stroke-dasharray=0 breaks solid paths in FF 37.0+ stroke-dasharray="0" breaks solid paths in FF 37.0+ Mar 5, 2015
@tzimmermann
Copy link

Good to see others have run into this, too! I believe FF 37 is diverging from the SVG spec there and have filed a bug with Mozilla:

https://bugzilla.mozilla.org/show_bug.cgi?id=1149516

@davidholiday
Copy link

i just noticed similar wonky behavior using FF37 on my project page here:

http://www.projectvalis.com/pv_wp/

load the same page in a different browser and things work as expected.

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 a pull request may close this issue.

3 participants