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

Expose getPathData() on all shapes #155

Open
jarek-foksa opened this issue Jun 12, 2016 · 0 comments
Open

Expose getPathData() on all shapes #155

jarek-foksa opened this issue Jun 12, 2016 · 0 comments

Comments

@jarek-foksa
Copy link

jarek-foksa commented Jun 12, 2016

I would move getPathData() to the SVGGeometryElement interface and setPathData() to the SVGPathElement interface .

This would allow developers to call getPathData() not only on <path> elements, but also on <rect>, <circle>, <ellipse>, <line>, <polyline>, and <polygon>.

It should be trivial to implement by the user agents, I have already added it to the polyfill.

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