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