Closed Bug 1454331 Opened 2 years ago Closed 2 years ago
Don't use rgba() for popup
_text in the Dark theme
59 bytes, text/x-review-board-request
Using the alpha channel for text color is asking for trouble with regards to rendering quality (i.e. subpixel AA). It should be avoided where possible. Tim, can you take this?
Just out of curiosity, how bad is the difference on Linux ? I can't notice the difference on Mac.
Patrick, will Pathfinder lose subpixel AA when a translucent font is being drawn? Are there any things that we should look out for?
Comment on attachment 8968339 [details] Bug 1454331 - Don't use rgba() for popup_text in the Dark theme. https://reviewboard.mozilla.org/r/237008/#review242840
Attachment #8968339 - Flags: review?(jaws) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/6d609d7d44de Don't use rgba() for popup_text in the Dark theme. r=jaws
(In reply to Tim Nguyen :ntim from comment #2) > Just out of curiosity, how bad is the difference on Linux ? I can't notice > the difference on Mac. I haven't actually tested it. We might already be using grayscale AA in popups on Mac for other reasons. Or maybe we can now use subpixel AA on Mac in such situations which would be nice. My primary concern here is Windows, where I think you might be getting different results depending on the level of GPU utilization. It's a bit hard to predict and we have a not so great track record of subpar text rendering in chrome. The bottom line is, if there's no good reason to use transparency, just avoid it.
You need to log in before you can comment on or make changes to this bug.