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

Add support for SVG tspan and image elements, and the preserveAspectRatio attribute #830

Closed
wants to merge 3 commits into from

Conversation

ericflo
Copy link
Contributor

@ericflo ericflo commented Jan 7, 2014

This pull request adds this support and updates the documentation.

@@ -161,7 +164,9 @@ var DefaultDOMPropertyConfig = {
stopOpacity: 'stop-opacity',
strokeLinecap: 'stroke-linecap',
strokeWidth: 'stroke-width',
viewBox: 'viewBox'
viewBox: 'viewBox',
xlinkNamespace: 'xmlns:xlink',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not xmlnsXlink? xlinkNamespace seems like a weird name

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to change it to xmlnsXlink if that's better.

@ghost ghost assigned zpao Jan 8, 2014
@@ -79,6 +80,7 @@ var markupWrap = {
'circle': svgWrap,
'defs': svgWrap,
'g': svgWrap,
'image': svgWrap,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should image be also in shouldWrap with other svg elements?

@ericflo
Copy link
Contributor Author

ericflo commented Jan 19, 2014

Closing this pull request because it's superseded by this patch: #938

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

Successfully merging this pull request may close these issues.

5 participants