[svgwg] Lazy loading and picture/source elements support (#817)

JustFly1984 has just created a new issue for https://github.com/w3c/svgwg:

== Lazy loading and picture/source elements support ==
Hello community. I have met several issues with svg while optimizing web apps performance for my clients and have a feedback.

My client's web apps are using `SVG` images extensively, and a lot of `SVG` has image tags embedded into an SVG, so the code should be inlined due to security limitations of cross linking in SVG files for images to be securely requested.
And while looking to Google Chrome Lighthouse Audit, I see issues with images in SVG code to be too big for mobile, but normal for desktop. I have managed to fix this kind of issue for `<img />` in html, but currently have no solution for SVG <image /> tag responsive optimizations.
Currently it is not possible to lazy-load `<image />` in SVG
It is not possible to dynamically change the src on size change, to save bandwidth.
Using foreignObject with `<picture>` or just `<img/>` losing scale in Safari

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/817 using your GitHub account


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

Received on Friday, 11 December 2020 14:59:23 UTC