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

WordPress Trac noreply at wordpress.org
Tue Nov 8 16:24:12 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 joelmadigan):

 Replying to [comment:10 adamsilverstein]:
 > I will take a look at this one to see how we can best avoid breaking
 image tags inside scripts or json. I would expect the lazy loading
 attribute to cause the same issue, is that not the case @rodricus?
 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.

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


More information about the wp-trac mailing list