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

WordPress Trac noreply at wordpress.org
Fri Nov 6 04:01:24 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 joemcgill):

 In [attachment:34528.2.diff], full size images are omitted from `srcset`
 attributes when the original file is an intermediate sized GIF so we don't
 accidentally add animation to an otherwise flat image. Tests are updated
 as well.

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


More information about the wp-trac mailing list