Skip to content

Commit f608f7d

Browse files
committed
[css-fonts-4] Use css 5 absolute color definition for override-colors w3c#7010
1 parent 834433a commit f608f7d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ WPT Display: closed
2525

2626
<pre class="link-defaults">
2727
spec:css-color-4; type:property; text:color
28-
spec: css-color-4; type: type; text: <color>
28+
spec: css-color-5; type: type; text: <color>
29+
spec: css-color-5; type: type; text:absolute color
2930
spec:css-values; type:value; text:ex
3031
spec:css22; type:value; for:/; text:block
3132
spec:html; type:element; text:font
@@ -7742,14 +7743,17 @@ Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor
77427743

77437744
<pre class='descdef'>
77447745
Name: override-colors
7745-
Value: [ <<integer [0, ∞]>> <<absolute-color-base>> ]#
7746+
Value: [ <<integer [0, ∞]>> <<color>> ]#
77467747
For: @font-palette-values
77477748
Initial: N/A
77487749
</pre>
77497750

77507751
This descriptor overrides colors
77517752
to the initial color palette represented by this ''@font-palette-values'' rule.
77527753

7754+
The specified <<color>> must be an
7755+
[=absolute color=].
7756+
77537757
The '@font-palette-values/override-colors' descriptor takes
77547758
a comma-separated list of palette index entries and colors.
77557759
Each item in the comma-separated list represents a tuple of

0 commit comments

Comments
 (0)