https://bugzilla.mozilla.org/show_bug.cgi?id=1504834#c10 --- firefox-140.1.0/gfx/2d/DrawTargetSkia.cpp +++ firefox-140.1.0/gfx/2d/DrawTargetSkia.cpp @@ -2071,6 +2071,14 @@ aBounds.IsEmpty() ? nullptr : &bounds, & SkCanvas::kPreserveLCDText_SaveLayerFlag | (aCopyBackground ? SkCanvas::kInitWithPrevious_SaveLayerFlag : 0)); +#if MOZ_BIG_ENDIAN + // Pushing a layer where an aMask is defined produces wrong output. + // We _should_ endian swap the data, but I couldn't find a workable way to do so + // Therefore I deactivate those layers in the meantime. + // The result is: Tab-titles that are longer than the available space should be faded out. + // The fading doesn't work, so we deactivate the fading-effect here. + if (!aMask) +#endif mCanvas->saveLayer(saveRec); SetPermitSubpixelAA(aOpaque);