Skip to content

Commit 73f6cfe

Browse files
committed
[css-fonts-4] Improve font fallback on font-variant-emoji with variation selectors, w3c#9291
1 parent 3806107 commit 73f6cfe

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7873,10 +7873,14 @@ however, the exact nature of the interaction of font fallback with 'font-variant
78737873
is explicitly unspecified.
78747874
However, a variation selector must be included in a previous cluster
78757875
as defined by the <a href="#cluster-matching">cluster matching</a> section above.
7876-
Therefore, the presence of a variation selector
7877-
is treated as ancillary data to inform the font fallback routine.
78787876
A natural result of this behavior
78797877
is that a variation selector must not be rendered in a different font than the previous character.
7878+
It thus causes font fallback to behave
7879+
as if the respective variation selector was intended
7880+
(as in the values description);
7881+
then font fallback, including the cluster fallback rules, is performed,
7882+
which must take the presentation preference
7883+
of these "appended" variation selectors into account.
78807884

78817885
Even when 'font-variant-emoji' is used,
78827886
the presence of Variation Selector 15 (U+FE0E) or Variation Selector 16 (U+FE0F)

0 commit comments

Comments
 (0)