The UpdateGradient method is added to SvgTSpan, and an extra judgment is added to UpdateGradient to rectify the display exception of SVGText.
In SvgGraphic::UpdateGradient getting the width and height data of the parent component sometimes gets invalid width and height data, so we added a data validation to make SvgGraphic work properly.
Test Plan
Test is available in svgDemoCases IssueFix section as Issue#244
Summary
The UpdateGradient method is added to SvgTSpan, and an extra judgment is added to UpdateGradient to rectify the display exception of SVGText. In SvgGraphic::UpdateGradient getting the width and height data of the parent component sometimes gets invalid width and height data, so we added a data validation to make SvgGraphic work properly.
Test Plan
Test is available in svgDemoCases IssueFix section as Issue#244
Resolve #244