From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- layout/svg/SVGGradientFrame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'layout/svg/SVGGradientFrame.cpp') diff --git a/layout/svg/SVGGradientFrame.cpp b/layout/svg/SVGGradientFrame.cpp index f316c0180d..92558cefcd 100644 --- a/layout/svg/SVGGradientFrame.cpp +++ b/layout/svg/SVGGradientFrame.cpp @@ -157,7 +157,8 @@ gfxMatrix SVGGradientFrame::GetGradientTransform( const SVGAnimatedTransformList* animTransformList = GetGradientTransformList(GetContent()); if (!animTransformList) { - return bboxMatrix; + return bboxMatrix.PreMultiply( + SVGUtils::GetTransformMatrixInUserSpace(this)); } gfxMatrix gradientTransform = -- cgit v1.2.3