| commit | c1c615c18e73562fe26d19bd745e3057e8910da9 | [log] [tgz] |
|---|---|---|
| author | Stefan Zager <szager@chromium.org> | Sat Dec 13 19:36:26 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Dec 13 19:36:26 2025 |
| tree | 1c66d75f6fda5c1a91e1b8a01be30a48760bf185 | |
| parent | 1b8020f30fa27e0be08eead6f62d048347663551 [diff] |
Preserve lazy loading behavior when an image is side-loaded According to the spec, if the resource for an <img loading="lazy"> is loaded via other means (e.g. fetch()), then the <img> should not fire its load event until it enters the viewport. Putting this behind a flag in case sites are relying on the legacy broken behavior. Bug: 375209498 Change-Id: I58f47ae1efdb953cdffc642eb68264484d1d20b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7240346 Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1558440}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.