5

When I insert unicode emojis into a <span> using standard jQuery they don't appear with Chrome (v48), but do with Firefox (v43) and Safari (v9). Compare these screenshots:

CHROME:

Chrome unicode emoji failure

FIREFOX:

Firefox unicode emoji success

Any explanation here?

tim peterson
  • 23,653
  • 59
  • 177
  • 299

2 Answers2

5

The issue is that the span had font-weight:bold. As soon as I put font-weight:normal, the emojis appeared.

tim peterson
  • 23,653
  • 59
  • 177
  • 299
0

It's actually because of the font weight. Set the font-weight to 200px

Lucretius
  • 13
  • 1
  • 4