[csswg-drafts] [css-fonts-4] `override-colors:` - clarify behaviour of indices outside the font's palette (#7032)

drott has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-4] `override-colors:` - clarify behaviour of indices outside the font's palette ==
> For each key/value pair in the value of this descriptor,
    the color with that key in the initial palette (i.e. by using the 'base-palette' descriptor)
    is overwritten by the color specified in this descriptor's value.

I suggest to add:

"A key that is outside the range of indices of the initial palette is ignored."

This helps clarify the intended behavior, as an alternative implementation option is to ignore the whole color-override descriptor. 

WPT test font-palette-23.html tests this already.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7032 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 10 February 2022 13:50:14 UTC