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

SVG writer: Don't add version attribute iff SVG version >= 2.0 #32

Closed
heuer opened this issue Oct 9, 2016 · 0 comments
Closed

SVG writer: Don't add version attribute iff SVG version >= 2.0 #32

heuer opened this issue Oct 9, 2016 · 0 comments
Labels
Milestone

Comments

@heuer
Copy link
Owner

heuer commented Oct 9, 2016

The SVG serializer uses the version attribute to determine if CSS3 colors can be used. The SVG document gets a version attribute iff version is not None.
Acc. to https://www.w3.org/TR/SVG2/struct.html#SVGElement (W3C Candidate Recommendation dtd. 15 September 2016) the version attribute has been removed from SVG 2. The writer must not add it to the document if version == 2.0

@heuer heuer added the bug label Oct 9, 2016
@heuer heuer added this to the 0.2.3 milestone Oct 9, 2016
@heuer heuer closed this as completed in 399dff0 Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant