Skip to content

Commit 1853cad

Browse files
committed
[css-fonts-4] Add emoji as a keyword to unicode‑range w3c#4573
1 parent c8eb0af commit 1853cad

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

css-fonts-4/Overview.bs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,7 +2816,7 @@ Character range: the 'unicode-range!!descriptor' descriptor</h3>
28162816

28172817
<pre class='descdef'>
28182818
Name: unicode-range
2819-
Value: <<urange>>#
2819+
Value: [ <<urange>> || ''@font-face/unicode-range/emoji'' ]#
28202820
Initial: U+0-10FFFF
28212821
For: @font-face
28222822
</pre>
@@ -2830,7 +2830,17 @@ For: @font-face
28302830
This descriptor defines the set of Unicode codepoints that may be
28312831
supported by the font face for which it is declared. The descriptor
28322832
value is a comma-delimited list of Unicode range (<<urange>>)
2833-
values. The union of these ranges defines the set of codepoints that
2833+
values.
2834+
2835+
In addition, the keyword
2836+
<dfn for="@font-face/unicode-range">emoji</dfn>
2837+
may be added to the list.
2838+
It is shorthand for a Unicode range
2839+
which includes all characters
2840+
which have <a href="http://www.unicode.org/reports/tr51/#Emoji_Properties">the emoji property</a>
2841+
[[UTS51]].
2842+
2843+
The union of these ranges defines the set of codepoints that
28342844
serves as a hint for user agents when deciding whether or not to
28352845
download a font resource for a given text run.
28362846

0 commit comments

Comments
 (0)