Open Bug 1370958 Opened 7 years ago Updated 2 years ago

Alpha component of color affects color glyphs

Categories

(Core :: Layout: Text and Fonts, defect, P3)

54 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: corbett.dav, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170601133324

Steps to reproduce:

I rendered this:

data:text/html;charset=utf-8,<div style="color: rgba(0,0,0,0.5)">%F0%9F%98%80


Actual results:

The emoji was partially transparent.


Expected results:

The emoji should have been opaque.

See the note in https://drafts.csswg.org/css-color-4/#the-color-property: “In general, this property, including its alpha component, has no effect on "color glyphs", such as emoji in some fonts, which are colored by a built-in palette.”
Component: Untriaged → Layout: Text
Product: Firefox → Core
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.