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

Already on GitHub? Sign in to your account

Unable to reset stroke-dasharray in IE6 #617

JChord opened this Issue Sep 7, 2012 · 1 comment


None yet
2 participants

JChord commented Sep 7, 2012

On ie6, setting a path using path.attr({"stroke-dasharray", "- "});
But trying to reset it to be a solid line is impossible. Just like path.attr({"stroke-dasharray", ""});
That's works fine in chrome or firefox.
Finally, setting path.attr({"stroke-dasharray", "none"}); can fix it.


TheCloudlessSky commented Feb 21, 2014

👍 The problem is in the VML module (<= IE8). This line should be changed to:

if ("stroke-dasharray" in params) {
    // ... snipped...

So that it sets the empty value if it can't match the dasharray.

tomasAlabes added a commit that referenced this issue Feb 22, 2014

Merge pull request #833 from TheCloudlessSky/stroke-dasharray-fix
Allow unsetting the stroke-dasharray in VML. Fixes #617.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment