File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -7160,8 +7160,16 @@ User-defined font color palettes: The ''@font-palette-values'' rule</h3>
71607160
71617161 The <dfn>@font-palette-values</dfn> rule defines a color palette
71627162 and associates that color palette with a specific font.
7163- This allows a web author to select arbitrary colors to use inside a color font
7163+ This allows a web author to select arbitrary <<color>> s to use inside a color font
71647164 rather than being limited to the preexisting palettes inside font files.
7165+
7166+ Note: The OpenType 'CPAL' table is restricted to sRGB colors.
7167+ The <<color>> s in ''@font-palette-values'' allow any CSS color.
7168+ Some implementations currently use APIs which are restricted to sRGB
7169+ and may therefore map the specified colors to sRGB.
7170+ This is expected to be a temporary limitation.
7171+ Authors should not rely on this mapping to sRGB.
7172+
71657173 In addition, this rule's association with a specific font
71667174 allows a name of a palette to apply differently to different fonts,
71677175 which allows similar colors to be used across multiple fonts
You can’t perform that action at this time.
0 commit comments