[Webkit-unassigned] [Bug 190031] Creating an image via JavaScript will download both src and srcset
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 9 03:06:52 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=190031
Maciass <maciej-rafalski at o2.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maciej-rafalski at o2.pl
--- Comment #8 from Maciass <maciej-rafalski at o2.pl> ---
// example 1, srcset first
const newImage = new Image();
newImage.srcset = 'https://domain.com/image.jpg?w=200 200w';
newImage.src = 'https://domain.com/image.jpg';
document.body.appendChild(newImage);
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240609/96c94965/attachment.htm>
More information about the webkit-unassigned
mailing list