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