最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - <use> reference outside the current <svg> - Stack Overflow

programmeradmin1浏览0评论

This example from the css-tricks article about <use> has an <svg> with <use> tags that reference a node from a different <svg> on the same HTML page.

Where do the specs state whether this is allowed or not?

The specs link to RFC 3987 for the definition of "URL reference". And they define <use>'s href attribute as "An URL reference to the element/fragment within an SVG document". So we have two "SVG documents" inside an HTML document? Where does RFC 3987 encompass this situation?

发布评论

评论列表(0)

  1. 暂无评论