svgdotjs / svgdom

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

querySelector not working properly for attribute matches #103

Closed yuri014 closed 1 year ago

yuri014 commented 1 year ago

I have an attribute like this clip-path="url(#ClipPath1)" and querySelector cannot find it with [clip-path="url(#ClipPath1)"].

If I remove the # from both the element and the query it works correctly.

Fuzzyma commented 1 year ago

fixed in 0.1.14