WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 8 months ago

#40616 closed defect (bug) (fixed)

Emoji bug in Chrome on Mac Sierra

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

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
8 months ago

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

#2 @pento
8 months ago

  • Resolution set to fixed
  • Status changed from assigned to 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
8 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

#4 @peterwilsoncc
8 months ago

  • Resolution set to fixed
  • Status changed from reopened to 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.