[Webkit-unassigned] [Bug 237703] Native image Lazyloading sometimes doesn’t load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 4 02:55:42 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=237703

--- Comment #8 from Karl Dubost <karlcow at apple.com> ---
Thanks a lot Martin,

today on 20ish attempts, I was able to reproduce twice only with 
Release 147 (Safari 16.0, WebKit 18614.1.14.10.16)

http://spiegel-safari-image-lazyloading.surge.sh/

when it does reproduce, none of the fallback or the srcset images are loading. 

```
<picture>
  <source
    data-srcset="
      https://picsum.photos/id/469/872/490.webp 872w,       
      https://picsum.photos/id/469/699/393.webp 699w, 
      https://picsum.photos/id/469/520/292.webp 520w"
    data-sizes="
      (max-width: 519px) 100vw, 
      (min-width: 520px) and (max-width: 719px) 520px, 
      (min-width: 720px) and (max-width: 871px) 100vw, 
      (min-width: 872px) and (max-width: 1011px) 872px, 
      (min-width: 1012px) 699px"
    sizes="
      (max-width: 519px) 100vw, 
      (min-width: 520px) and (max-width: 719px) 520px, 
      (min-width: 720px) and (max-width: 871px) 100vw, 
      (min-width: 872px) and (max-width: 1011px) 872px, 
      (min-width: 1012px) 699px"
    srcset="
      https://picsum.photos/id/469/872/490.webp 872w,
      https://picsum.photos/id/469/699/393.webp 699w,
      https://picsum.photos/id/469/520/292.webp 520w
    "
  />
  <img
    data-image-el="img"
    class="lazyload rounded loaded"
    loading="lazy"
    src="https://picsum.photos/id/469/872/490.jpg"
    data-src="https://picsum.photos/id/469/872/490.jpg"
    width="872"
    height="490"
    title="»Durch die Erkrankung ist mein Herz geschrumpft« - Robert Michael / picture alliance / dpa"
    data-ll-status="loaded"
  />
</picture>

```

if I scroll to the bottom the lazy loaded icons are loading, but still not the second picture.


Martin, The site uses both a JS library and the native lazy loading mechanism. When removing the library can you reproduce the issue? (asking because you seem to be able to reproduce more systematically than me.)

-- 
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/20220704/12bed5ef/attachment.htm>


More information about the webkit-unassigned mailing list