[wp-trac] [WordPress Trac] #36525: Replace a PNG image to SVG in Emoji

WordPress Trac noreply at wordpress.org
Fri Apr 15 00:07:23 UTC 2016


#36525: Replace a PNG image to SVG in Emoji
-------------------------+------------------------------
 Reporter:  webliberty   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Emoji        |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by peterwilsoncc):

 * version:  4.5 => 4.2


Comment:

 Hi webliberty and welcome to trac!

 @pento is it worth throwing a
 `document.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#Image',
 '1.1')` check in the JavaScript somewhere to check for SVG vs PNG support?
 Additional code would be required around the CDN settings in PHP, I'd need
 to spent a few minutes working out what this would look like.

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


More information about the wp-trac mailing list