[Webkit-unassigned] [Bug 192147] New: Multiple Picture Sources Downloading width media-query
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 29 06:37:56 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192147
Bug ID: 192147
Summary: Multiple Picture Sources Downloading width media-query
Product: WebKit
Version: Safari 12
Hardware: Macintosh
OS: macOS 10.13
Status: NEW
Severity: Normal
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ryuran at gmail.com
Created attachment 356003
--> https://bugs.webkit.org/attachment.cgi?id=356003&action=review
html file for test
Maybe related to #159484
When the html file join to this ticket is loaded in a small viewport (400px for example), any image from first <source> should not be loaded.
Currently on 400px wide viewport `https://dummyimage.com/512x450/100` (`https://dummyimage.com/1024x900/300` on retina screen) is loaded uselessly in addition to the one needed (`https://dummyimage.com/640x900/030` or `https://dummyimage.com/1280x1800/060` for retina screen).
```
<picture>
<source media="(min-width: 40rem)" srcset="
https://dummyimage.com/256x225/100 256w,
https://dummyimage.com/512x450/100 512w,
https://dummyimage.com/1024x900/300 1024w,
https://dummyimage.com/2048x1800/600 2048w,
https://dummyimage.com/4096x3600/900 4096w" sizes="100vw">
<img src="https://dummyimage.com/640x900/006" srcset="
https://dummyimage.com/640x900/030 640w,
https://dummyimage.com/1280x1800/060 1280w" sizes="100vw" alt="">
</picture>
```
--
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/20181129/e35e8568/attachment.html>
More information about the webkit-unassigned
mailing list