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