unicode emojis not showing on Chrome

2019-07-09 07:35发布

问题:

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:

FIREFOX:

Any explanation here?

回答1:

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