-
Notifications
You must be signed in to change notification settings - Fork 747
Description
Only the code points listed by Unicode as contributing to a Unicode emoji presentation sequence are affected by this property. Within this CSS specification, these characters are referred to as Emoji Presentation Participating Code Points. This property has no effect on any other characters.
Consider the following use case:
data:text/html;charset=UTF-8,<!doctype html>
<style>
.test { font-size: 52px; }
.test { font-variant-emoji: emoji; font-family: Arial; }
</style>
<div class="test">⬆379 kB/s</div>
The author only wants to change the style of the arrow (⬆︎), but when font-variant-emoji: emoji is applied, the font-family of the number 379
also becomes the font-family of the Emoji. this is something the author doesn't want.
Although, UTS#51 states that 0-9#*
have the Emoji
property, I think they should be excluded from font-variant-emoji.
emoji_character := \p{Emoji}
https://www.unicode.org/reports/tr51/#def_emoji_character
Since Chrome has shipped, we need to clarify this in the CSS specification as soon as possible.
I've already filed a bug for Chrome: https://issues.chromium.org/issues/369781730