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