Skip to content

Commit 27e274d

Browse files
authored
Merge pull request #561 from upsuper/color-glyph-note
[css-color] Add note for relationship between color property and color glyphs
2 parents 64ae37b + 1a4378c commit 27e274d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

css-color/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ For example, to specify lime green:
8686
<dd>The <<color>> type is defined in a later section.
8787
</dl>
8888

89+
<p class="note">
90+
Note: In general, this property, including its alpha component, has
91+
no effect on "color glyphs", such as emoji in some fonts, which are
92+
colored by a built-in palette. Some colored fonts are able to refer
93+
to the foreground color, such as palette entry ''0xFFFF'' in COLR
94+
table of OpenType, and ''context-fill'' value in SVG-in-OpenType. In
95+
that case, the foreground color is set by this property, identical
96+
to how ''<color>/currentcolor'' value works.
97+
8998
<h2 id='color-type'>
9099
Representing sRGB Colors: the <<color>> type</h2>
91100

0 commit comments

Comments
 (0)