Summary: | Responsive images (srcset, sizes, w) don't load higher resolution when viewport is enlarged. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Duncan Wilcox <duncan> | ||||
Component: | Images | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | bdakin, dev, dino, eoconnor, moritz.mahringer, nicolas, simon.fraser, thorton, webkit-bug-importer, yoav | ||||
Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||
Version: | Safari 9 | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.11 | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=245656 | ||||||
Attachments: |
|
Description
Duncan Wilcox
2015-10-07 14:46:22 PDT
Switching resources when the viewport changes have not yet been implemented. This behavior is not specified on purpose, leaving UAs to do what they see fit, which means that current behavior is spec compliant. With that said, I believe we should implement such dynamic loading, for the reasons you stated. This is still a problem. We have to add an event listener to manually change the srcSet attribute to make it reevaluate. Chrome correctly automatically updates to a larger size on resize. |