[wp-trac] [WordPress Trac] #56969: decoding="async" breaks my site

WordPress Trac noreply at wordpress.org
Tue Nov 8 16:32:07 UTC 2022


#56969: decoding="async" breaks my site
-------------------------------+------------------------------
 Reporter:  rodricus           |       Owner:  adamsilverstein
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  6.1.1
Component:  Media              |     Version:  6.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  performance
-------------------------------+------------------------------

Comment (by adamsilverstein):

 > They are implemented in the same way, so they absolutely can cause the
 same issue. The lazy loading part, however, has a limiting factor that it
 also checks for width & height attributes so it may not always affect the
 same images that the decoding one will.

 Ah, good point.

 > @adamsilverstein I wonder if we can find a reliable way to ignore img
 elements that appear in a script.

 Yes, that was the direction I was thinking of heading. I'll give that a
 try to start.

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


More information about the wp-trac mailing list