[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements

WordPress Trac noreply at wordpress.org
Mon Jul 27 19:52:14 UTC 2020


#44427: Introduce lazy-loading API for media and other elements
-------------------------------------------------+-------------------------
 Reporter:  mor10                                |       Owner:  flixos90
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5
Component:  Media                                |     Version:  5.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests 2nd-        |     Focuses:
  opinion early needs-testing has-dev-note       |  performance
-------------------------------------------------+-------------------------

Comment (by azaozz):

 @johnjamesjacoby, @johnstonphilip the original proposal for the `loading`
 attribute was for `img` and `iframe` tags. It was added first for `img`.
 Now it's coming to `iframe` as well, see
 https://github.com/whatwg/html/pull/5579. Hoping in 5.6 WP will add
 support for iframes with the already existing functionality. Hence the
 naming of these functions and filters to allow additions in the future.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:117>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list