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

Fix: y2 default value. #530

Merged
merged 1 commit into from Jul 26, 2019
Merged

Conversation

H1Gdev
Copy link
Contributor

@H1Gdev H1Gdev commented Jul 26, 2019

Reference Issue

What does this implement/fix? Explain your changes.

In <linearGradient> element, y2 attribute default value is '0%'.

https://www.w3.org/TR/SVG11/pservers.html#LinearGradientElementY2Attribute

Any other comments?

@@ -14,7 +14,7 @@ public static class SvgDefaults
{ "SvgRadialGradientServer", new Dictionary<string, string>
{ { "cx", "50%" }, { "cy", "50%" }, { "r", "50%" } } },
{ "SvgLinearGradientServer", new Dictionary<string, string>
{ { "x1", "0%" }, { "x2", "100%" }, { "y1", "0%" }, { "y2", "100%" } } },
{ { "x1", "0%" }, { "x2", "100%" }, { "y1", "0%" }, { "y2", "0%" } } },
Copy link
Member

Choose a reason for hiding this comment

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

Hah, that was easy! Thanks for the fix - you are really getting the bug count down!

@mrbean-bremen mrbean-bremen merged commit 1606d97 into svg-net:master Jul 26, 2019
@H1Gdev H1Gdev deleted the linearGradient branch July 29, 2019 00:33
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.

None yet

2 participants