3 ms·
SVG is amazing, my main concern about it. it is because it creates a huge burden to browser developers. The spec is huge [1]. And some parts are outdated[2]. [
by igt0 10y ago
SVG is amazing, my main concern about it. it is because it creates a huge burden to browser developers. The spec is huge [1]. And some parts are outdated[2].
[1] https://github.com/WebKit/webkit/tree/master/Source/WebCore/svg https://github.com/WebKit/webkit/tree/master/Source/WebCore/...
[2] https://developer.mozilla.org/en-US/docs/Web/SVG/SVG_animation_with_SMIL https://developer.mozilla.org/en-US/docs/Web/SVG/SVG_animati...
- amelius 10y ago> SVG is amazing, my main concern about it. it is because it creates a huge burden to browser developers. Yes, it would have been better if SVG was designed on top of something simpler; and this something simpler could be implemented by browser developers. Probably, such an approach is more secure too. But, I guess it is too late now.
- bobajeff 10y agoI imagine they could implement it on top of Canvas/WebGL.
- josephcooney 10y agoLike https://github.com/canvg/canvg https://github.com/canvg/canvg (which AFAIK doesn't do hit testing like 'real' SVG, but is a promising start).
- legulere 10y agoBrowser support is kind of okay. The problem is more that it is hardly supported outside of browsers because of the complexity
- dietrichepp 10y agoTo be fair, this is equally true of HTML.