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
Update ExCSS to 4.2.2. #1091
Update ExCSS to 4.2.2. #1091
Conversation
- Corresponds to TylerBrinks/ExCSS#152.
Update ExCSS to latest without impacting users. |
@inforithmics - please have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the better solution for updating the ExCSS Library less changes
@@ -186,7 +186,7 @@ private void SetAttributes(SvgElement element, XmlReader reader, SvgDocument doc | |||
var inlineSheet = stylesheetParser.Parse("#a{" + reader.Value + "}"); | |||
foreach (var rule in inlineSheet.StyleRules) | |||
foreach (var declaration in rule.Style) | |||
element.AddStyle(declaration.Name, declaration.Value, SvgElement.StyleSpecificity_InlineStyle); | |||
element.AddStyle(declaration.Name, declaration.Original, SvgElement.StyleSpecificity_InlineStyle); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is the solution, so that the values don't change. Because before the update .Value was the same as .Original
Reference Issue
What does this implement/fix? Explain your changes.
Any other comments?