[wp-trac] [WordPress Trac] #34528: Responsive Images: Don't add srcset attributes to animated gifs.
WordPress Trac
noreply at wordpress.org
Sat Nov 7 02:09:58 UTC 2015
#34528: Responsive Images: Don't add srcset attributes to animated gifs.
---------------------------------------------+------------------------
Reporter: joemcgill | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+------------------------
Changes (by azaozz):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"35561"]:
{{{
#!CommitTicketReference repository="" revision="35561"
Responsive images: omit full size images from srcset attributes when the
original file is an intermediate sized GIF so we don't accidentally add
animation to an otherwise flat image. Update the tests to cover this case.
Props joemcgill, H-Shredder, SergeyBiryukov.
Fixes #34528.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34528#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list