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)
No description provided.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•1 year ago
|
||
See https://github.com/googlefonts/noto-emoji/issues/391 for an example of a situation where this is wanted.
Assignee | ||
Comment 2•1 year 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•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D147494
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D147495
Assignee | ||
Comment 6•1 year 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•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•11 months ago
|
Assignee | ||
Comment 7•11 months 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
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/39eda9a47424 Add support for the CSS font-variant-emoji property to the style system. r=emilio https://hg.mozilla.org/integration/autoland/rev/c44d30da26ef Handle font-variant-emoji during font matching. r=emilio https://hg.mozilla.org/integration/autoland/rev/98090ae94c2f Add/update CSS parsing tests to cover font-variant-emoji. r=layout-reviewers,emilio https://hg.mozilla.org/integration/autoland/rev/c1a7287807c1 Add a WPT reftest for text/emoji-style presentation controls. r=emilio
Comment 9•11 months ago
|
||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36611 for changes under testing/web-platform/tests
Updated•11 months ago
|
Comment 10•11 months 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 11•11 months ago
|
||
Upstream PR merged by moz-wptsync-bot
Comment 12•11 months ago
|
||
FF108 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/22118
Updated•10 months ago
|
Comment 13•10 months ago
|
||
Description
•