- From: Christoph Päper via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Mar 2017 13:16:31 +0000
- To: public-css-archive@w3.org
Crissov has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-text][css-fonts] Override (Emoji) Variation Selectors ==
font-presentation: auto | text | emoji
* [CSS Fonts Level 4](https://drafts.csswg.org/css-fonts-4/#font-presentation-desc)
> Even when `font-presentation` 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-presentation`. Therefore, `font-presentation` sets a default presentation which the text being rendered can opt out of.
Continuing #353 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 as `15`
* `emoji`: same as `16`
____
- 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`](http://www.unicode.org/Public/UCD/latest/ucd/StandardizedVariants.txt)
Possible solution without CSS-Text
----------------
font-presentation: auto | text | emoji | text-override | emoji-override
or
font-presentation: auto | (text | emoji) override?
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1144 using your GitHub account
Received on Thursday, 30 March 2017 13:16:37 UTC