Re: [csswg-drafts] [svg] Is there any way we could allow SVGs to link to other files? (#10481)

> Beside B/W compat (authors may rely on the lack of 3rd party loading to get different behaviors in different contexts)

Is this a theoretical point or are you aware of such cases? Anyhow, we can do compat analysis to see if that’s the case.

> I can't see why the iframe model couldn't be used for loading SVGs as `<img>`. Maybe this could be an opt-in behavior, via an attribute?

This does not work for using SVGs via CSS, and there are no attributes in that case. (presumably you mean `<object>`? `<iframe>` would not have intrinsic dimensions)

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10481#issuecomment-2183142355 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 21 June 2024 17:19:20 UTC