-
Notifications
You must be signed in to change notification settings - Fork 756
Closed
Labels
css-fonts-4Current WorkCurrent Work
Description
font-presentation: auto | text | emoji
Even when
font-presentationis 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 infont-presentation. Therefore,font-presentationsets a default presentation which the text being rendered can opt out of.
Continuing #352 and leaving #1092 aside for now, the draft Fonts property could be left as is, but then should be accompanied by a Text property able to override variation selectors 15 and 16 (and possibly others as well).
Possible solution with CSS-Text
text-transform-variant: none | emoji | text | <integer>
none: no changes- <integer>: apply Unicode variation selector
text: same as15emoji: same as16
- Issue: There are 256 general-purpose variation selectors in two different Unicode blocks (U+FE0x and U+E010yz, y != F) that could be accessed this way, but also some script-specific ones – U+180B–D for Mongolian in particular – that would need additional keywords to be covered.
- Note: VS-4 through 14 are not used yet in
StandardizedVariants.txt
Possible solution without CSS-Text
font-presentation: auto | text | emoji | text-override | emoji-override
or
font-presentation: auto | (text | emoji) override?
itayganor and bleper
Metadata
Metadata
Assignees
Labels
css-fonts-4Current WorkCurrent Work