[csswg-drafts] [css-fonts-4] Inconsistent order of override-colors precedence (#7026)

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

== [css-fonts-4] Inconsistent order of override-colors precedence ==
https://drafts.csswg.org/css-fonts-4/#override-color

> If the keys of multiple distinct key/value pairs identify the same color index (either by name or by integer), the first key is used for the purposes of rendering. However, for serialization purposes, both key/value pairs are present.

IMO this seems inconsistent with the usual ways of CSS in which later declarations override earlier ones. For the sake of consistence I suggest to change that to the last indexed override's value prevailing.

Was there some context that I missed for why it was defined this way around?


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


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

Received on Wednesday, 9 February 2022 15:37:30 UTC