[wp-trac] [WordPress Trac] #34049: Emoji detection is broken on FF41, OS X 10.10
WordPress Trac
noreply at wordpress.org
Mon Sep 28 05:00:33 UTC 2015
#34049: Emoji detection is broken on FF41, OS X 10.10
--------------------------+------------------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by rmccue):
So, as it turns out, FF doesn't render emoji on Canvas, just in HTML.
Thankfully, it turns out we can use SVG's foreignObject to load HTML into
SVG, then SVG into Canvas, and check that instead.
http://codepen.io/anon/pen/zvoWOQ demonstrates the technique, and is
consistent with support across FF, Chrome and Safari. (Safari needs the
blob type to be `image/svg` and doesn't work with the suggested
`image/svg;charset=utf-8` from MDN)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34049#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list