How many levels of recursion does SVG support?

后端 未结 1 1183
说谎
说谎 2020-11-30 11:56

I cannot get past 2 levels. (Tried on Iceweasel and Chromium.)

As a test, I tried a variant of the code presented in this earlier reply. This one consists of 3 sep

相关标签:
1条回答
  • 2020-11-30 12:23

    SVG when used as an image must be complete in a single file.

    • a.svg is not an image
    • b.svg is included as an image by a.svg and is therefore subject to the complete in a single file image rule so any images it contains must be included as data URIs.
    • c.svg is ignored as b.svg cannot refer to external files.

    Convert c.svg to a data URI and include it inline in b.svg to get round this.

    0 讨论(0)
提交回复
热议问题