Skip to content

Commit efdc40f

Browse files
committed
[css-fonts-4] add unicode value to font-variant-emoji, close #1223
1 parent 87d3e77 commit efdc40f

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

css-fonts-4/Overview.bs

+14-5
Original file line numberDiff line numberDiff line change
@@ -4675,7 +4675,7 @@ Selecting the text presentation style: The 'font-variant-emoji' property</h3>
46754675

46764676
<pre class="propdef">
46774677
Name: font-variant-emoji
4678-
Value: auto | text | emoji
4678+
Value: auto | text | emoji | unicode
46794679
Initial: auto
46804680
Applies to: all elements
46814681
Inherited: yes
@@ -4741,10 +4741,7 @@ considered when the user-agent decides whether to use emoji presentation or text
47414741
<dd>
47424742
User Agents can choose to draw a <a>Presentation Participating Code Point</a>
47434743
in either emoji style or text style.
4744-
User Agents may wish to follow
4745-
the <a href="http://www.unicode.org/reports/tr51/index.html#Presentation_Style">guidance</a> of the Unicode Consortium
4746-
when performing this decision.
4747-
User agents also may wish to follow platform conventions when performing this decision.
4744+
User agents typically follow platform conventions when performing this decision.
47484745

47494746

47504747
<dt><dfn>text</dfn>
@@ -4757,6 +4754,18 @@ considered when the user-agent decides whether to use emoji presentation or text
47574754
<dd>
47584755
Code points are rendered as if U+FE0F VARIATION SELECTOR-16
47594756
was appended to every <a>Presentation Participating Code Point</a>.
4757+
4758+
<dt><dfn>unicode</dfn></dt>
4759+
<dd>
4760+
Code points are rendered in accordance with [[!UTR51]]
4761+
as either emoji-default, text-default, or text-only,
4762+
depending on the values of the Emoji and Emoji_Presentation
4763+
properties for each
4764+
<a>Presentation Participating Code Point</a>.
4765+
If present, FE0E VARIATION SELECTOR-15 and U+FE0F VARIATION SELECTOR-16
4766+
will override the default presentation of individual
4767+
<a>Presentation Participating Code Points</a>.
4768+
</dd>
47604769
</dl>
47614770

47624771
<div class="example">

0 commit comments

Comments
 (0)