[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements
WordPress Trac
noreply at wordpress.org
Wed Jan 15 11:46:08 UTC 2020
#44427: Introduce lazy-loading API for media and other elements
-------------------------------------------------+-------------------------
Reporter: mor10 | Owner: flixos90
Type: feature request | Status: assigned
Priority: normal | Milestone: 5.4
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd- | Focuses:
opinion | performance
-------------------------------------------------+-------------------------
Comment (by OptimizingMatters):
Replying to [comment:39 flixos90]:
> I'd also like to confirm @addyosmani's point about interoperability:
Sites that currently use a JavaScript-based approach for lazy-loading
won't be affected, as for these solutions there most likely won't be a
`src` attribute on the images.
Late feedback; a lot of lazy-loading plugins actually do use a `src`
attribute to hold a "dummy image", often a data uri. This means the
presence of a `src` attribute does not ensure automatic interoperability.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:88>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list