3 ms·
Doesn't the <use/> tag tick all three boxes? (the OP does mention the <use/> tag in the final notes but only for in-document fragment references, not for remot
by lucideer 2y ago
Doesn't the <use/> tag tick all three boxes?
(the OP does mention the <use/> tag in the final notes but only for in-document fragment references, not for remote URLs)
- svieira 2y agoThe `<use />` tag introduces another dimension to the analysis: "Is a first-class citizen of the web". Most resources can be included from anywhere and the serving and the hosting pages can limit that universality but the web defaults to "open". SVG's `<use>` is more limited. Cross-site `use` doesn't always work (and there's no way to opt-in to it). `data:` URLs were just removed for some reason (there are mumbles about security but no explanations why this one tag is so much worse for security than say `iframe srcdoc`). All that said, if you're doing an include from the same host as the parent page, yes, `use` absolutely does tick all three boxes!