svgdotjs / svgdom

Straightforward DOM implementation to make SVG.js run headless on Node.js
MIT License
269 stars 53 forks source link

Implement SVGAnimatedLength properties #96

Closed th-we closed 1 year ago

th-we commented 1 year ago

I implemented the SVGAnimatedLength properties for shape, text and "embedded content" elements. Please let me know if there is anything that would have to be improved for making this mergeable!

th-we commented 1 year ago

Thanks for looking thoroughly! I want to use svgdom for testing code that analyzes SVGs in a node environment. The two feature reqeusts (for SVGAnimatedLength and closest()) where the two itches I had to scratch so far for making svgdom work for my purposes.

Fuzzyma commented 1 year ago

I love how anyone just uses this lib and whatever is missing gets added because its simple enough to do so :) I thought about porting it to typescript but... time :D

Thanks for your pr! Very much appreciated :)