Commit d88540e4 authored by HeinrichAD's avatar HeinrichAD
Browse files

Update: SvgAttributeCollection.IsInheritValue

Add: SvgShapeRendering, SvgTextRendering and SvgImageRendering in
SvgAttributeCollection.IsInheritValue
Showing with 5 additions and 2 deletions
+5 -2
...@@ -91,8 +91,11 @@ namespace Svg ...@@ -91,8 +91,11 @@ namespace Svg
(value is SvgTextDecoration && (SvgTextDecoration)value == SvgTextDecoration.Inherit) || (value is SvgTextDecoration && (SvgTextDecoration)value == SvgTextDecoration.Inherit) ||
(value is XmlSpaceHandling && (XmlSpaceHandling)value == XmlSpaceHandling.inherit) || (value is XmlSpaceHandling && (XmlSpaceHandling)value == XmlSpaceHandling.inherit) ||
(value is SvgOverflow && (SvgOverflow)value == SvgOverflow.Inherit) || (value is SvgOverflow && (SvgOverflow)value == SvgOverflow.Inherit) ||
(value == SvgColourServer.Inherit) || (value is SvgColourServer && (SvgColourServer)value == SvgColourServer.Inherit) ||
(value is string && (string)value == "inherit") (value is SvgShapeRendering && (SvgShapeRendering)value == SvgShapeRendering.Inherit) ||
(value is SvgTextRendering && (SvgTextRendering)value == SvgTextRendering.Inherit) ||
(value is SvgImageRendering && (SvgImageRendering)value == SvgImageRendering.Inherit) ||
(value is string && ((string)value).ToLower() == "inherit")
); );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment