Re: [csswg-drafts] [css-fonts][css-text] Variant Selection of Colorful (Emoji) or Monochrome Glyphs

To clarify the interaction of these properties, can you confirm 
whether these are the intended outcome of the following combinations?

- Colorful text:

    ```css
    font-color: colorful;
    text-transform-variations: text;
    ```

    Use the multi-color default palette defined in the font, if there 
is one (or fallback to `currentColor` otherwise).

- Custom colorful text:

    ```css
    font-color: tomato royalBlue indigo;
    text-transform-variations: text;
    ```

    Use the use the specified colors as a three-color palette for the 
font, if it supports it (or fallback to `currentColor` otherwise).

- Default OS emoji + monochrome:

    ```css
    font-color: monochrome;
    text-transform-variations: emoji;
    ```

    Substitute in standard OS full-color emoji if they are available; 
render all other glyphs with `currentColor`, regardless of the color 
palettes available in the font.

- OS emoji + full-color font:

    ```css
    font-color: auto;
    text-transform-variations: emoji;
    ```

    Substitute in standard OS full-color emoji if they are available; 
render other glyphs with the font's default full-color palette if 
available, or with `currentColor` otherwise.

If I've got that all correct, my remaining questions are: 

- Is there a meaningful difference between `auto` and `colorful`?  I'm
 assuming both mean "use the default font palette if available".  
Would they behave differently if the font _doesn't_ have a color 
palette, e.g., with fallback to `currentColor`?

- How do the multi-color syntax and the keywords interact with the use
 of CSS variables to set font palette colors individually?


-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/352#issuecomment-235912731 
using your GitHub account

Received on Thursday, 28 July 2016 14:32:50 UTC