7cc1fe
diff -r 6ef20eee3f8f gfx/layers/basic/BasicCompositor.cpp
7cc1fe
--- a/gfx/layers/basic/BasicCompositor.cpp	Thu Oct 31 09:11:56 2019 +0100
7cc1fe
+++ b/gfx/layers/basic/BasicCompositor.cpp	Wed Dec 11 16:16:09 2019 +0100
7cc1fe
@@ -693,9 +693,13 @@
7cc1fe
 
7cc1fe
   RefPtr<SourceSurface> sourceMask;
7cc1fe
   Matrix maskTransform;
7cc1fe
+  // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
7cc1fe
+  // if the typed URL is too long for the textbox (automatic scrolling needed)
7cc1fe
+#if MOZ_LITTLE_ENDIAN
7cc1fe
   if (aTransform.Is2D()) {
7cc1fe
     SetupMask(aEffectChain, dest, offset, sourceMask, maskTransform);
7cc1fe
   }
7cc1fe
+#endif
7cc1fe
 
7cc1fe
   CompositionOp blendMode = CompositionOp::OP_OVER;
7cc1fe
   if (Effect* effect =
7cc1fe
diff -r 6ef20eee3f8f gfx/layers/composite/CompositableHost.cpp
7cc1fe
--- a/gfx/layers/composite/CompositableHost.cpp	Thu Oct 31 09:11:56 2019 +0100
7cc1fe
+++ b/gfx/layers/composite/CompositableHost.cpp	Wed Dec 11 16:16:09 2019 +0100
7cc1fe
@@ -91,6 +91,7 @@
7cc1fe
   }
7cc1fe
   MOZ_ASSERT(source);
7cc1fe
 
7cc1fe
+  // Alternatively: Comment out these lines where the alpha-mask is set
7cc1fe
   RefPtr<EffectMask> effect =
7cc1fe
       new EffectMask(source, source->GetSize(), aTransform);
7cc1fe
   aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;