Skip to content

Commit 50c4ac1

Browse files
committed
[css-fonts-4] Follow up to override-color context
This is a follow-up to w3c@da9c67d. Colors are not resolved per-element, so variables shouldn't be, either.
1 parent 0c8dbb3 commit 50c4ac1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6588,9 +6588,6 @@ Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor
65886588
the first key is used for the purposes of rendering. However, for serialization purposes, both
65896589
key/value pairs are present.
65906590

6591-
Using CSS Variables is explicitly expected to be valid in the value of this descriptor.
6592-
CSS Variables are resolved in the context of the element to which the 'font-palette' property applies.
6593-
65946591
Note: This means that using 'font-palette' with the same value on two different elements
65956592
might result in different used palettes
65966593
because the value of variables inside the ''@font-palette-values'' rule

0 commit comments

Comments
 (0)