SVG parser missing features fix


#1

The SVG parser doesn’t support some features of SVGs that appear in files we got from our designer. This fix adds the following features:

  • Support <style> elements which appear inside <defs> elements.
  • Support several css classes joined together - .cls-1, .cls-2 { ... }
  • Support several classes blocks for same class (makes sense when classes can be joined together for common stuff and there are then extra stuff) - .cls-1 { ... } .cls-1 { ... }

Cheers, Yair