Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#40616 closed defect (bug) (fixed)

Emoji bug in Chrome on Mac Sierra

Reported by: superpoincare Owned by: pento
Priority: normal Milestone: 4.8
Component: Emoji Version: 4.7.4
Severity: normal Keywords:
Cc: Focuses: javascript

Description

Chrome Sierra emoji test doesn't seem to work in Mac Sierra.

Since it doesn't have support for the UN flag, it should load wp-emoji-release.min.js and use Twemoji from s.w.org. Instead it displays a sort of tofu.

I tested using Browserstack. Screenshot below.

http://i.imgur.com/io6kvmA.jpg

Change History (4)

#1 @pento
10 years ago

  • Milestone Awaiting Review → 4.8
  • Owner set to pento
  • Status new → assigned

#2 @pento
10 years ago

  • Resolution → fixed
  • Status assigned → closed

In 40582:

Emoji: Make the UN flag test more accurate.

Previously, the UN flag test relied on the image being produced to be quite small. Unfortunately, the Chrome PNG encoder seems to have changed recently, and it now produces a relatively large image.

For a better test, we can compare the rendering of [U] + [N] against [U] + zero width space + [N].

Fixes #40616.

#3 @peterwilsoncc
10 years ago

  • Resolution fixed
  • Status closed → reopened

Reopening as the canvas needs to be cleared between the UN and pride flag tests.

#4 @peterwilsoncc
10 years ago

  • Resolution → fixed
  • Status reopened → closed

In 40609:

Emoji: Clear canvas between flag tests.

Clear the canvas following the two flag tests following [40582].

Fixes #40616.

Note: See TracTickets for help on using tickets.