Skip to content

Process all pending lazy loading intersection observations - #12391

Merged
zcorpan merged 2 commits into
whatwg:mainfrom
shannonbooth:lazy-load-intersection
Aug 20, 2026
Merged

Process all pending lazy loading intersection observations#12391
zcorpan merged 2 commits into
whatwg:mainfrom
shannonbooth:lazy-load-intersection

Conversation

@shannonbooth

@shannonbooth shannonbooth commented Apr 19, 2026

Copy link
Copy Markdown
Member

Otherwise images outside the viewport can prevent loading of images inside the viewport, depending on DOM order.

Fixes: #10019

(See WHATWG Working Mode: Changes for more details.)


/media.html ( diff )
/urls-and-fetching.html ( diff )

@shannonbooth shannonbooth reopened this Apr 19, 2026
@shannonbooth
shannonbooth marked this pull request as draft April 19, 2026 11:54
Otherwise images outside the viewport can prevent loading of images
inside the viewport, depending on DOM order.
@shannonbooth
shannonbooth force-pushed the lazy-load-intersection branch from 292eee5 to 2eee806 Compare April 19, 2026 12:01
@shannonbooth
shannonbooth marked this pull request as ready for review April 19, 2026 12:03
Comment thread source Outdated
@zcorpan
zcorpan merged commit 5633568 into whatwg:main Aug 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Callback steps in "start intersection-observing a lazy loading element" may return too early

3 participants