mozilla-bmo1602730.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 30 Sep 2020 09:47:34 +0200
branchfirefox81
changeset 1144 8a43aff7e982
parent 1136 d068eb84b4d3
permissions -rw-r--r--
FF 81

# HG changeset patch
# User msirringhaus@suse.de
# Date 1582805890 -3600
#      Thu Feb 27 13:18:10 2020 +0100
# Node ID 457cbe5705f2a3759d3da36a05c0ed66ec61ea12
# Parent  7440f4b6bab85068ca2f84e9c48e0706d04330e8
imported patch mozilla-bmo1602730-FF73.patch

diff -r 7440f4b6bab8 gfx/layers/composite/CompositableHost.cpp
--- a/gfx/layers/composite/CompositableHost.cpp	Thu Feb 27 13:17:56 2020 +0100
+++ b/gfx/layers/composite/CompositableHost.cpp	Wed Jun 17 15:33:32 2020 +0200
@@ -92,9 +92,13 @@
   }
   MOZ_ASSERT(source);
 
+  // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
+  // if the typed URL is too long for the textbox (automatic scrolling needed)
+#if MOZ_LITTLE_ENDIAN()
   RefPtr<EffectMask> effect =
       new EffectMask(source, source->GetSize(), aTransform);
   aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
+#endif
   return true;
 }