jsdom: SVGElement is not implemented
Hi,
I’m new with using jsdom and I did not find an answer in the documentation. In a old example from 2014 someone used this code to support svg features:
doc.implementation.addFeature(
'http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1'
)
In the latest versions of jsdom this does not work because addFeature is not a function. Is there a way to enable SVG 1.1?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 18 (7 by maintainers)
Commits related to this issue
- A better SVG implementation Closes #1445 by superceding it; also supercedes #1946. Fixes #1423. Fixes #1528. Fixes #1938. Fixes #2001. Includes only the <svg> element, but this brings along with it... — committed to TimothyGu/jsdom by TimothyGu 7 years ago
- A better SVG implementation Closes #1445 by superceding it; also supercedes #1946. Fixes #1423. Fixes #1528. Fixes #1938. Fixes #2001. Includes only the <svg> element, but this brings along with it... — committed to jsdom/jsdom by TimothyGu 7 years ago
I’m interested in helping out here if I can. What is the status of https://github.com/tmpvar/jsdom/pull/1445?