Closed JasinRefiku closed 3 months ago
I'd be tempted to use Snap.svg if you need g elements tbh, it's pretty much compatible with Raphael having the same author and makes life a lot easier.
I would perhaps use it, though, unfortunately, it's a team-ran project, we're already in deep, can't really suggest switching stuff on a deadline.
Raphael is not an SVG manipulation library, but rather an adaptor. And while I understand that its adaptor role is obsolete, this change will brake the core functionality of the library.
I've noticed that some of the CSS properties are not supported at this scope.
One of the use cases I needed was that I had a
g
element, and I need to have the possibility for the texts to have their stroke/fill inherited, unfortunately with the current state, that's not possible.DISCLAIMER: I couldn't run tests, feel free to make any change whatsoever.