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