Comments (11)
When doing a checkup yesterday I noticed this too. It's something recent I suspect. IE10 does a wonderful job so it's most definitely a render bug in IE9.
from svg.js.
Did it at a point work in IE9? I might browse through the commit history to pinpoint the source of issue. Good thing IE9 has such good developer tools</sarcasm>.
from svg.js.
Yes it did. But to be honest, I only test regularly on IE10 because that is the one I have easily available. I'll go down in history later this week to find our where it went wrong.
from svg.js.
But if you are willing to take the dive, any help would be very welcome. :) I don't have a lot of time on my hands right now and when I know where it went wrong I can fix it quickly.
from svg.js.
I'll try and look. I need to fix IE9 as soon as possible in order to
know whether I can continue using svg.js, which I dig ;)
On 3.7.2013 20:26, Wout Fierens wrote:
But if you are willing to take the dive, any help would be very
welcome. :) I don't have a lot of time on my hands right now and when
I know where it went wrong I can fix it quickly.—
Reply to this email directly or view it on GitHub
#57 (comment).
from svg.js.
Brilliant! I need the fix too next week so if you don't manage to find it I will continue the search this weekend. It probably is a small thing but unfortunately it really is like finding a needle in a haystack. ;)
Great to hear you like svg.js.
from svg.js.
Tried to run the specs in IE9 and got a sad image. That'll be a one-liner somewhere imho
from svg.js.
Yes, most definitely. Probably an IE incompatibility in SVG.Number. IE 10 also throws a lot of errors, altough they are more related to different output formatting, nothing to worry about:
I'll fix that today.
from svg.js.
A new version is on the way, IE9-proof. It turned out to be something very silly. As it turns out, IE9 does not call toString()
on objects when passing an object as attribute value. Changing lines 166 and 167 in the src/element.js from this:
n != null ?
this.node.setAttributeNS(n, a, v) :
this.node.setAttribute(a, v)
to this:
n != null ?
this.node.setAttributeNS(n, a, v.toString()) :
this.node.setAttribute(a, v.toString())
Will fix the problem. I will release the changes later today.
from svg.js.
Yes that did it, thanks. Great work!
from svg.js.
Release v0.26 has been released fixing IE9 issues.
from svg.js.
Related Issues (20)
- Update website on node package README HOT 1
- It would be nice if we can destroy timeline gracefully. HOT 2
- Error: Unbound namespace prefix: "svgjs" HOT 8
- How to judge the <g> container exist the child element <rect>?
- npm install for nodejs HOT 1
- how to move while rotating
- Text alignment differs between 3.0 and 3.1 HOT 1
- (documentation) animating shapes along a path example needs rewrite HOT 5
- Moving a text with an inside title element fails HOT 3
- Migrating SVG window events HOT 6
- Incomplete typings - measurements should accept percentages HOT 3
- No Fragment declaration in svg.js.d.ts HOT 2
- Custom Bezier Function HOT 2
- Negative scale value in animation do not work properly. HOT 4
- TypeError: Cannot read properties of undefined (reading 'call') for PATHs in NodeJS HOT 8
- svgjs.com redirect to 'gacor.poker' scammy site HOT 1
- Image SVG size is zero sometimes HOT 4
- How can I draw a Polyline from a svg => g => svg => rect (responsive) to an Dom Element on the right side? HOT 1
- Testing overloaded methods is hard
- Issues with rolling a timeline backwards with non-animating functions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svg.js.