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