@@ -6466,14 +6466,44 @@ Specifying the base palette: the 'base-palette' descriptor</h4>
64666466
64676467 <pre class='descdef'>
64686468 Name : base-palette
6469- Value : <<integer>> | <<string>>
6469+ Value : light | dark | <<integer>> | <<string>>
64706470 For : @font-palette-values
64716471 Initial : N/A
64726472 </pre>
64736473
6474- The ''@font-palette-values/base-palette'' descriptor accepts either
6475- a (zero-based) numerical palette index, or
6476- a string, which corresponds to a named palette.
6474+ <dl dfn-for=base-palette dfn-type=value>
6475+ <dt> <dfn>light</dfn>
6476+ <dd>
6477+ Some color font formats include metadata
6478+ marking certain palettes as applicable on a light (close to white) background.
6479+ This keyword causes the user-agent
6480+ to use the first available palette in the font file marked this way.
6481+ If the font file format does not account for this metadata,
6482+ or no palette in the font is marked this way,
6483+ this value behaves as 0.
6484+
6485+
6486+ <dt> <dfn>dark</dfn>
6487+ <dd>
6488+ Some color font formats include metadata
6489+ marking certain palettes as applicable on a dark (close to black) background.
6490+ This keyword causes the user-agent
6491+ to use the first available palette in the font file marked this way.
6492+ If the font file format does not account for this metadata,
6493+ or no palette in the font is marked this way,
6494+ this value behaves as 0.
6495+
6496+
6497+ <dt> <dfn type><<integer>></dfn>
6498+ <dd>
6499+ Identifies a (zero-based) numerical palette index within the font.
6500+
6501+
6502+ <dt> <dfn type><<string>></dfn>
6503+ <dd>
6504+ Identifies a named palette within the font.
6505+
6506+ </dl>
64776507
64786508 <div class="example">
64796509 Modify Banner Flag's color palette
0 commit comments