[Webkit-unassigned] [Bug 230998] New: Allow IntersectionObserver API to specify root for individual targets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 29 16:12:29 PDT 2021


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

            Bug ID: 230998
           Summary: Allow IntersectionObserver API to specify root for
                    individual targets
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nmouchtaris at apple.com

IntersectionObserver API should allow the specification of multiple roots, depending on the target element. This is needed for lazy image loading, as for lazy load images in scrollable elements, we want to set their root to the scrollable element, not the viewport. The current implementation results in the images being loaded only once they partially enter the viewport, as their root is set to the top-level viewport, not the scrollable element.

-- 
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/20210929/7cc7ed83/attachment-0001.htm>


More information about the webkit-unassigned mailing list