[Webkit-unassigned] [Bug 231894] New: Allow for different lazy loading policies on responsive image sources.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 18 08:27:42 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231894
Bug ID: 231894
Summary: Allow for different lazy loading policies on
responsive image sources.
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Enhancement
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: patmeenan at gmail.com
CC: sabouhallawa at apple.com
Currently lazy loading is applied to the <img> element, even when there are multiple <source> tags for the same image within a <picture>.
For a responsive site that may have different images in the viewport based on layout (mobile vertical scroll vs desktop grid for example), a developer will need to decide which layout to optimize for and potentially slow down the performance of the other layouts.
A possible solution would be to have a given <source> to have a loading attribute that would override the lazy loading state of the <img> that it is associated with.
This is an extension of the original lazyload support: https://bugs.webkit.org/show_bug.cgi?id=200764
whatwg issue: https://github.com/whatwg/html/issues/7227
--
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/20211018/df6c2a99/attachment.htm>
More information about the webkit-unassigned
mailing list