Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-fonts] Should font-variant-emoji affect ZWJ emoji sequences? #11036

Open
tursunova opened this issue Oct 15, 2024 · 2 comments
Open

[css-fonts] Should font-variant-emoji affect ZWJ emoji sequences? #11036

tursunova opened this issue Oct 15, 2024 · 2 comments
Labels
css-fonts-4 Current Work

Comments

@tursunova
Copy link

There are some ZWJ emoji sequences that do not have VS, compare https://www.unicode.org/Public/emoji/latest/emoji-zwj-sequences.txt. Should font-variant-emoji property affect any of the codepoints in these sequences?

Let's consider the following use case:

<div style="font-variant-emoji: text">&#x1F408;&#x200D;&#x2B1B;</div>

According to the CSS Fonts Module 4 spec:

Only the code points listed by Unicode as contributing to a Unicode emoji presentation sequence are affected by this property.

U+1F408 is listed there, since U+1F408 U+FE0E is a valid variation sequence, compare: https://www.unicode.org/Public/15.1.0/ucd/emoji/emoji-variation-sequences.txt.

So the way I interpret spec right now, it example above should act as:

<div">&#x1F408;&#xFE0E;&#x200D;&#x2B1B;</div>

and split the zwj sequence.

Is my understanding correct or do we want font-variant-emoji to not affect any of the codepoints in zwj sequences?

@drott @svgeesus

@tursunova tursunova added the css-fonts-4 Current Work label Oct 15, 2024
@svgeesus
Copy link
Contributor

@xfq any guidance?

@yisibl
Copy link
Contributor

yisibl commented Oct 15, 2024

@markusicu We need your professional guidance too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-fonts-4 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants