Re: Feature request: Support picture and source elements in svg to extend support for new webp and avif responsive images embedding

Thank you Paul!

On Fri, Dec 11, 2020 at 4:15 PM Paul LeBeau <paul.lebeau@gmail.com> wrote:

> Hi Alexey
>
> Bugs and feature requests can be made here: https://github.com/w3c/svgwg/
>
> Regards
> Paul
>
>
> On Fri, 11 Dec 2020 at 20:55, Alexey Lyahov <justfly1984@gmail.com> wrote:
>
>> 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
>>
>> I'm not sure where to open issues, if somebody can point me the right
>> directions, I would appreciate it.
>>
>> Thanks!
>>
>> Best Regards,
>> Alexey Lyakhov
>>
>

Received on Friday, 11 December 2020 16:36:45 UTC