Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVGSVGElement.createSVGPoint #300

Open
jasondavies opened this issue Sep 7, 2011 · 1 comment
Open

SVGSVGElement.createSVGPoint #300

jasondavies opened this issue Sep 7, 2011 · 1 comment

Comments

@jasondavies
Copy link
Contributor

It doesn't look like JSDOM has any SVG-specific support right now, but it would be great to add support for various levels of SVG spec. In particular, I need SVGSVGElement.createSVGPoint as I'm using JSDOM for some unit tests.

Is it just a matter of adding level3/svg.js and starting from there? Any pointers for where to start would be great, thanks!

@tmpvar
Copy link
Member

tmpvar commented Sep 21, 2011

Delayed response, my apologies.

In the past we have just collected the test suite, made it run against the jsdom, and start filling in the gaps. SVG seems tricky though, as the tests are visual; without a renderer they may be pretty impossible to test in an automated fashion.

SVG conformance test suites: http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview

Also, maybe we should split this off into its own lib/jsdom/svg/*.js as it isn't directly coupled with a single dom level.

I'm open to suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants