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