Skip to content

Commit a32cadd

Browse files
committed
Undefined palette indexes should take value from 'color', actually. Added more details.
1 parent b73fda0 commit a32cadd

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

css-fonts-4/Overview.bs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ Warning: not ready
1111
Ignored Terms: font-palette, <named-palette-color>
1212
</pre>
1313

14+
<pre class="link-defaults">
15+
spec:css-color-4; type:property; text:color
16+
</pre>
17+
1418
Introduction {#intro}
1519
=====================
1620

@@ -19,6 +23,13 @@ Intro goes here.
1923
<div class="issue">
2024
Resolved at 2015 Sydney to add font-palette control.
2125
<a href="https://lists.w3.org/Archives/Public/www-style/2015Feb/0211.html">Original proposal</a>.
26+
27+
Details: multicolor fonts now exist.
28+
They expose several "palette indexes" that can be given different colors.
29+
They might also expose predefined palettes.
30+
We want to be able to tell the browser to use a predefined palette,
31+
or to provide our own colors for a palette.
32+
2233
Final proposal is:
2334

2435
1. Add a 'font-palette' property. For now the grammar is just:
@@ -33,7 +44,8 @@ Intro goes here.
3344
with the name of each declaration defining a name for a particular palette color,
3445
and the value being an integer for the index of that palette color.
3546
<<named-palette-color>> is <code><<ident>> <<color>></code>.
36-
Any palette colors not given an explicit value default to opaque black.
47+
Any palette colors not given an explicit value default to value of 'color'
48+
(so by default it just renders solidly with 'color' value, as normal).
3749
If a palette color name occurs more than once, the last one wins
3850
(so you can declare a palette in a variable, and override bits as desired).
3951
</div>

0 commit comments

Comments
 (0)