You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 consistency 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?
The text was updated successfully, but these errors were encountered:
Oh, I don't have any opinion about which one should win. I just needed to make a rule, so I made one. Feel free to make a PR to switch the rule around.
drott
added a commit
to drott/csswg-drafts
that referenced
this issue
Feb 11, 2022
https://drafts.csswg.org/css-fonts-4/#override-color
IMO this seems inconsistent with the usual ways of CSS in which later declarations override earlier ones. For the sake of consistency 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?
The text was updated successfully, but these errors were encountered: