From 406df3f4f4c6816d8513f793c1f57f141b46f999 Mon Sep 17 00:00:00 2001 From: "Myles C. Maxfield" Date: Mon, 7 Mar 2022 12:23:51 -0800 Subject: [PATCH] [css-fonts-4] Color fonts are not enabled by default This uses @drott's proposed text. Fixes https://github.com/w3c/csswg-drafts/issues/7093. --- css-fonts-4/Overview.bs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/css-fonts-4/Overview.bs b/css-fonts-4/Overview.bs index 44840a099e7..820b9b47c3c 100644 --- a/css-fonts-4/Overview.bs +++ b/css-fonts-4/Overview.bs @@ -6174,13 +6174,11 @@ Animation type: discrete
normal
- User-Agents attempt to treat the color font - as closely as possible to a non-color font. - In particular, user-agents use a palette which will yield the best default result for reading. - User-agents may take the computed value of the 'color' property into consideration - when making this decision. - User agents may also construct and use a palette not defined in the font. + User-Agents display the color font with the default palette or default glyph colorisation. User-agents should take the computed value of the color property into consideration when a color font format requires use of the foreground color +
In the COLR [[!OPENTYPE]] table, color index 0xFFFF should be rendered according the 'color' property.
+ +
For COLR/CPAL [[!OPENTYPE]] fonts, 'font-palette': ''font-palette/normal'' usually means rendering the font with the palette in the font at index 0.
light