mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 945655 - Composite filters with operator IN have a result that is the intersection of the input rects, not the union. r=roc
This commit is contained in:
parent
83a4f259a6
commit
6e536f8699
@ -1269,6 +1269,9 @@ PostFilterExtentsForPrimitive(const FilterPrimitiveDescription& aDescription,
|
||||
return ThebesIntRect(aDescription.PrimitiveSubregion());
|
||||
}
|
||||
}
|
||||
if (op == SVG_FECOMPOSITE_OPERATOR_IN) {
|
||||
return aInputExtents[0].Intersect(aInputExtents[1]);
|
||||
}
|
||||
return ResultChangeRegionForPrimitive(aDescription, aInputExtents);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user