unicode emojis在Chrome上不显示 [英] unicode emojis not showing on Chrome
本文介绍了unicode emojis在Chrome上不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用标准jQuery将unicode emojis插入到< span>
时,它们不会与Chrome(v48)一起出现,而是会与Firefox(v43)和Safari (V9)。比较这些截图:
CHROME:
//i.stack.imgur.com/JFSMA.pngrel =nofollow noreferrer> FIREFOX:
这里有任何解释吗? 问题在于跨度 font-weight:normal
,emojis就会出现。
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?
解决方案
The issue is that the span had font-weight:bold
. As soon as I put font-weight:normal
, the emojis appeared.
这篇关于unicode emojis在Chrome上不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文