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

WordPress Trac noreply at wordpress.org
Fri Apr 15 00:19:20 UTC 2016


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

 * owner:   => peterwilsoncc
 * status:  new => assigned
 * milestone:  Awaiting Review => 4.6


Old description:

> When you insert emoticons on a page in Chrome (OS Windows) image blur and
> become cloudy, because the browser will convert Unicode characters into
> an PNG image with the initial size 72х72 pixels and then shrinks to the
> size of 1em.
>
> Why not replace PNG to SVG how it's done on
> [https://en.support.wordpress.com/smilies/ blogs wordpress.com]?

New description:

 When you insert emoticons on a page in Chrome (OS Windows) image blur and
 become butty, because the browser will convert Unicode characters into an
 PNG image with the initial size 72х72 pixels and then shrinks to the size
 of 1em.

 Why not replace PNG to SVG how it's done on
 [https://en.support.wordpress.com/smilies/ blogs wordpress.com]?

--

Comment:

 [https://github.com/Modernizr/Modernizr/blob/master/feature-
 detects/svg/asimg.js Modernizr's comments are the best].

 Let's try the feature detection switch. The good news is that it looks
 like [http://caniuse.com/#feat=svg-img IE8 is the only real problem].

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


More information about the wp-trac mailing list