From 78efea17b3644e4a88fee1de441bf5e96437a0c9 Mon Sep 17 00:00:00 2001 From: trav90 Date: Wed, 11 Apr 2018 11:14:15 -0500 Subject: [GTK3] Set alpha component appropriately in operator over for -moz-field --- widget/gtk/nsLookAndFeel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'widget') diff --git a/widget/gtk/nsLookAndFeel.cpp b/widget/gtk/nsLookAndFeel.cpp index 562eaa97b7..d2b82e4957 100644 --- a/widget/gtk/nsLookAndFeel.cpp +++ b/widget/gtk/nsLookAndFeel.cpp @@ -75,6 +75,7 @@ ApplyColorOver(const GdkRGBA& aSource, GdkRGBA* aDest) { aDest->red = sourceCoef * aSource.red + destCoef * aDest->red; aDest->green = sourceCoef * aSource.green + destCoef * aDest->green; aDest->blue = sourceCoef * aSource.blue + destCoef * aDest->blue; + aDest->alpha = resultAlpha; } } -- cgit v1.2.3