Skip to content

Commit 0d5a2ae

Browse files
committed
[css-fonts-4] Add rule to determine the winner when multiple override-colors fight
1 parent 3cf44eb commit 0d5a2ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-fonts-4/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -6584,6 +6584,10 @@ Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor
65846584

65856585
Integer values are zero-indexed.
65866586

6587+
If the keys of multiple distinct key/value pairs identify the same color index (either by name or by integer),
6588+
the first key is used for the purposes of rendering. However, for serialization purposes, both
6589+
key/value pairs are present.
6590+
65876591
Using CSS Variables is explicitly expected to be valid in the value of this descriptor.
65886592
CSS Variables are resolved in the context of the element to which the 'font-palette' property applies.
65896593

0 commit comments

Comments
 (0)