Skip to content

Commit 1f87712

Browse files
committed
[css-fonts-4] color-scheme affects font-palette: normal. #7783
1 parent c9f57a9 commit 1f87712

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css-fonts-4/Overview.bs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7016,7 +7016,13 @@ Animation type: discrete
70167016
<dl dfn-for=font-palette dfn-type=value>
70177017
<dt><dfn>normal</dfn>
70187018
<dd>
7019-
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
7019+
If the 'color-scheme' property is set to a value other than ''color-scheme/normal''',
7020+
user-agents should select the first light or dark palette as appropriate.
7021+
Otherwise, user-agents display the color font with the default palette
7022+
or default glyph colorisation.
7023+
7024+
User-agents should take the computed value of the 'color' property into consideration
7025+
when a color font format requires use of the foreground color
70207026

70217027
<div class="example" id="ex-FFFF-means-color">In the <code>COLR</code> [[!OPENTYPE]] table, color index 0xFFFF should be rendered according the 'color' property.</div>
70227028

0 commit comments

Comments
 (0)