diff --git a/gfx/wr/webrender/src/prim_store/mod.rs b/gfx/wr/webrender/src/prim_store/mod.rs index 4a1671ace77d..337427923237 100644 --- a/gfx/wr/webrender/src/prim_store/mod.rs +++ b/gfx/wr/webrender/src/prim_store/mod.rs @@ -2105,15 +2105,7 @@ impl PrimitiveStore { continue; } - // Inflate the local rect for this primitive by the inflation factor of - // the picture context and include the shadow offset. This ensures that - // even if the primitive itself is not visible, any effects from the - // blur radius or shadow will be correctly taken into account. - let inflation_factor = surface.inflation_factor; - let local_rect = prim_shadowed_rect - .inflate(inflation_factor, inflation_factor) - .intersection(&prim_instance.local_clip_rect); - let local_rect = match local_rect { + let local_rect = match prim_shadowed_rect.intersection(&prim_instance.local_clip_rect) { Some(local_rect) => local_rect, None => { if prim_instance.is_chased() { diff --git a/gfx/wr/wrench/reftests/filters/filter-blur.png b/gfx/wr/wrench/reftests/filters/filter-blur.png index 067f8e4af726..f9fd63d52db3 100644 Binary files a/gfx/wr/wrench/reftests/filters/filter-blur.png and b/gfx/wr/wrench/reftests/filters/filter-blur.png differ diff --git a/gfx/wr/wrench/reftests/filters/filter-large-blur-radius.png b/gfx/wr/wrench/reftests/filters/filter-large-blur-radius.png index 3b0a501ded59..ba1413f53fd2 100644 Binary files a/gfx/wr/wrench/reftests/filters/filter-large-blur-radius.png and b/gfx/wr/wrench/reftests/filters/filter-large-blur-radius.png differ diff --git a/gfx/wr/wrench/reftests/filters/svg-filter-blur-transforms.png b/gfx/wr/wrench/reftests/filters/svg-filter-blur-transforms.png index 65a448e773b6..6cac2f6f203e 100644 Binary files a/gfx/wr/wrench/reftests/filters/svg-filter-blur-transforms.png and b/gfx/wr/wrench/reftests/filters/svg-filter-blur-transforms.png differ diff --git a/gfx/wr/wrench/reftests/text/reftest.list b/gfx/wr/wrench/reftests/text/reftest.list index c143172c95dc..02940dc8522c 100644 --- a/gfx/wr/wrench/reftests/text/reftest.list +++ b/gfx/wr/wrench/reftests/text/reftest.list @@ -16,7 +16,7 @@ skip_on(android,device) fuzzy(1,3) == shadow.yaml shadow-ref.yaml # Fails on Pi == decorations.yaml decorations-ref.yaml skip_on(android,device) fuzzy(1,3001) == decorations-suite.yaml decorations-suite.png # Fails on Pixel2 == 1658.yaml 1658-ref.yaml -fuzzy(1,6) == split-batch.yaml split-batch-ref.yaml +fuzzy(1,7) == split-batch.yaml split-batch-ref.yaml # Next 3 tests affected by bug 1548099 on Android skip_on(android) == shadow-red.yaml shadow-red-ref.yaml skip_on(android) fuzzy(1,735) == shadow-grey.yaml shadow-grey-ref.yaml diff --git a/layout/reftests/svg/filters/svg-filter-chains/reftest.list b/layout/reftests/svg/filters/svg-filter-chains/reftest.list index 5f16118e9c3c..162c347e973d 100644 --- a/layout/reftests/svg/filters/svg-filter-chains/reftest.list +++ b/layout/reftests/svg/filters/svg-filter-chains/reftest.list @@ -4,7 +4,7 @@ == clip-input.svg clip-input-ref.svg == clip-original-SourceGraphic.svg clip-original-SourceGraphic-ref.svg == clip-output.svg clip-output-ref.svg -fuzzy-if(webrender,3-5,17552-20155) == default-subregion.svg default-subregion-ref.svg +fuzzy-if(webrender,3-5,17552-20160) == default-subregion.svg default-subregion-ref.svg == different-FillPaint-filter-regions.svg different-FillPaint-filter-regions-ref.svg == different-StrokePaint-filter-regions.svg different-StrokePaint-filter-regions-ref.svg == dont-clip-previous-primitives.svg dont-clip-previous-primitives-ref.svg