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