[wp-trac] [WordPress Trac] #37566: Update the Twemoji loader to include the rainbow flag
WordPress Trac
noreply at wordpress.org
Thu Aug 4 20:50:13 UTC 2016
#37566: Update the Twemoji loader to include the rainbow flag
-------------------------------------------------+-------------------------
Reporter: pento | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Emoji | Version: trunk
Severity: minor | Resolution: fixed
Keywords: has-patch has-screenshots commit | Focuses: javascript
dev-reviewed |
-------------------------------------------------+-------------------------
Changes (by ocean90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38194"]:
{{{
#!CommitTicketReference repository="" revision="38194"
Emoji: Update the Twemoji loader to include the rainbow flag.
[38179] added support for the rainbow flag to core, but platform
compatibility is a bit strange, because the flag was defined out of sync
with the usual Unicode release cycle. For example Android N supports all
Unicode 9.0 emoji, but doesn't support the rainbow flag thus the rainbow
flag isn't rendered.
The Twemoji loader already has an exception for flags - it'll load if the
browser supports everything but flags, and then only replace flag emoji,
leaving everything else as native rendering. To provide a seamless
experience for all flags the loader now uses the rainbow flag to test flag
support.
Props pento.
See #37543.
Fixes #37566.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37566#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list