[Webkit-unassigned] [Bug 240083] New: HTML img elements with loading="lazy" are not loading consistently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 4 15:00:15 PDT 2022


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

            Bug ID: 240083
           Summary: HTML img elements with loading="lazy" are not loading
                    consistently
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dukejoon at gmail.com
                CC: sabouhallawa at apple.com

Hi,

In Safari 15.4 we've noticed an error with the attribute loading="lazy". HTML img tag with this attribute are not loading consistently. If you check the network tab you will see that the images are not being requested at all. So far, the solution is to remove the attribute or use loading="eager".

You can successfully replicate it with this codesanbox (https://codepen.io/intellix/pen/JjMwWae). Found it here (https://github.com/Fyrd/caniuse/issues/6243).

Additionally if you go to "Develop > Experimental Features" and disable "Lazy image loading" the images with loading="lazy" will load consistently.

-- 
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/20220504/cbe778f2/attachment.htm>


More information about the webkit-unassigned mailing list