ElinamLLC / SharpVectors

SharpVectors - SVG# Reloaded: SVG DOM and Rendering in C# for the .Net.
https://elinamllc.github.io/SharpVectors/
BSD 3-Clause "New" or "Revised" License
706 stars 134 forks source link

SVG file not render correctly on 1.8.4 #288

Open kikokuo opened 2 months ago

kikokuo commented 2 months ago

Hi, These file not render correctly on 1.8.4. If you have time, maybe you can check it? thank you. On Any Browser: image

On WpfTestSvgSamlpe: image

svgtest.zip

paulushub commented 2 months ago

@kikokuo For information, was this rendered correctly in older versions or not tested?

kikokuo commented 2 months ago

@kikokuo For information, was this rendered correctly in older versions or not tested?

Using 1.6.0 to test it, it still not render correctly, like preview image.

paulushub commented 2 months ago

It seems the issue is with mask CSS attribute. Currently, mask element is supported to some extent, but not mask CSS attribute. Looking into it.

<g fill="#7600FF" mask="url(#wrench-d)">
  <rect width="24" height="24" transform="translate(3 2)"/>
</g>