[wp-trac] [WordPress Trac] #34528: Responsive Images: Don't add srcset attributes to animated gifs.

WordPress Trac noreply at wordpress.org
Thu Nov 5 05:20:05 UTC 2015


#34528: Responsive Images: Don't add srcset attributes to animated gifs.
--------------------------+------------------------
 Reporter:  joemcgill     |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------

Comment (by DH-Shredder):

 I chatted with @joemcgill, and he pointed this out:
 http://caniuse.com/#feat=apng

 Basically, with only 18% global support across browsers with APNGs, it's
 very unlikely that it's being used heavily, and he's seen regular use of
 "original" size for PNGs specifically that would be helped by supporting
 RespImg.

 He notes that it might be a good idea to mark animated images when
 inserted in meta. It might help to do this before/at the same time as we
 fix #28474, so we know for sure when it's safe to use RespImg on GIFs.

 I'd like to use this ticket to not include the full size animated GIF when
 we do generate `srcset`, so that all of the cases are covered with GIFs.

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


More information about the wp-trac mailing list