- From: Christoph Päper via GitHub <sysbot+gh@w3.org>
- Date: Thu, 28 Jul 2016 18:54:16 +0000
- To: public-css-archive@w3.org
Oh, I only checked
[css-fonts-3](https://drafts.csswg.org/css-fonts-3/) briefly and thus
missed that `font-palette` and `@palette-entries` are already drafted
for level 4, also didn’t see the [original full
proposal](https://lists.w3.org/Archives/Public/www-style/2015Feb/0211.html).
Thanks for the heads-up, @svgeesus. I think I agree with the chosen
solution for font-defined palettes, but I believe there should be a
simple way to get monochrome glyphs using only `currentcolor` or
shades thereof, which seems more appropriate for the vector variants,
`COLR` and `SVG `, than for bitmap `CBDT`. My `font-color: <color>+`
was intended to either make a user-defined palette or populate
`--color1` etc. easily and @AmeliaBR is right, I hadn’t thought
through the exact meaning of `auto`.
Nevertheless, my point regarding `text-transform[-variant]` stands and
I think the expected results are as shown in the table below.
| U+2661 | U+2665 | U+2764
| U+1F499 | U+1F5A4
-----------------|------------------|------------------|------------------|-------------------|-------------------
Name | White Heart Suit | Black Heart Suit | Heavy Black
Heart| Blue Heart | Black Heart (UC9)
default, `none` | ♡ | ♥ | ❤
| 💙 | 🖤
VS15 or `text` | ♡︎ | ♥︎ |
❤︎ | 💙︎ | 🖤︎
VS16 or `emoji` | ♡️ | ♥️ |
❤️ | 💙️ | 🖤️
VS15 and `emoji` | ♡ | ♥️ |
❤️ | 💙️ | 🖤️
VS16 and `text` | ♡︎ | ♥︎ |
❤︎ | 💙︎ | 🖤︎
`emoji` and `monochrome` | ♡ | 🖤️ |
🖤️ | 🖤️ | 🖤️
`text` and `monochrome` | ♡︎ | ♥︎ |
❤︎ | 🖤︎ | 🖤︎
--
GitHub Notification of comment by Crissov
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/352#issuecomment-235990501
using your GitHub account
Received on Thursday, 28 July 2016 18:54:23 UTC