implement font-variant-emoji
Categories
(Core :: Graphics: Text, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: heycam, Assigned: jfkthame)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete, Whiteboard: [gfx-noted], [wptsync upstream])
Attachments
(4 files)
Updated•7 years ago
|
Updated•7 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
See https://github.com/googlefonts/noto-emoji/issues/391 for an example of a situation where this is wanted.
Assignee | ||
Comment 2•3 years ago
|
||
And see https://github.com/w3c/csswg-drafts/issues/7315 for a spec question that we should get clarified before shipping this.
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D147494
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D147495
Assignee | ||
Comment 6•3 years ago
|
||
I have some WIP here, but I'd like to get a response to #7315 before moving forward as that may require changes to the behavior currently implemented by these patches.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 7•2 years ago
|
||
These tests assume the system has both text- and emoji-style glyphs available for U+263A, the old WHITE SMILING FACE
symbol that has long existed in legacy fonts, and now also supports an emoji-style rendering. If two distinct
presentations are not available, the first (mismatch) test will fail.
The spec says:
Even when font-variant-emoji is used, the presence of Variation Selector 15 (U+FE0E) or Variation Selector 16 (U+FE0F)
in the contents of an element override the rendering specified in font-variant-emoji.
Therefore, font-variant-emoji sets a default presentation which the text being rendered can opt out of.
So the second test checks that U+263A responds to the property as expected, and that the variation selectors
can still override it.
Depends on D147496
Comment 10•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/39eda9a47424
https://hg.mozilla.org/mozilla-central/rev/c44d30da26ef
https://hg.mozilla.org/mozilla-central/rev/98090ae94c2f
https://hg.mozilla.org/mozilla-central/rev/c1a7287807c1
Comment 12•2 years ago
|
||
FF108 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/22118
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Description
•