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