Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent apple emoji aren't transparent #1780

Closed
Gankra opened this issue Sep 29, 2017 · 2 comments
Closed

Transparent apple emoji aren't transparent #1780

Gankra opened this issue Sep 29, 2017 · 2 comments

Comments

@Gankra
Copy link
Contributor

@Gankra Gankra commented Sep 29, 2017

data:text/html,<html><head><meta charset="utf8"></head><body><span style="color: blue">%F0%9F%8E%89</span><span style="color: rgba(0,0,0,0.7)">%F0%9F%8E%89</span><span style="color: rgba(0,0,255,0.4)">%F0%9F%8E%89</span><span style="color: transparent">%F0%9F%8E%89</span>
<html>
<head><meta charset="utf8"></head>
<body>
    <span style="color: blue">🎉</span>
    <span style="color: rgba(0,0,0,0.7)">🎉</span>
    <span style="color: rgba(0,0,255,0.4)">🎉</span>
    <span style="color: transparent">🎉</span>
</body>

Chrome:
screen shot 2017-09-29 at 3 00 01 pm

Webrendest Firefox:
screen shot 2017-09-29 at 3 00 22 pm

Partially this is my fault, because I missed that firefox treats this the same as synthetic bold, doing the transparency as a compositing affect (and so wr was being sent opaque colors). However this should be fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1404370, and yet with that patch we still get opaque.

@mstange
Copy link
Contributor

@mstange mstange commented Oct 10, 2017

After #1816 we now seem to be applying the alpha to the emojis, but we're also applying the color components of the color again.
screen shot 2017-10-10 at 6 37 06 pm

@mstange
Copy link
Contributor

@mstange mstange commented Oct 26, 2017

Fixed by #1945.

@glennw glennw closed this Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.