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:
Markus Stange 2013-12-10 14:50:42 +01:00
parent 83a4f259a6
commit 6e536f8699

View File

@ -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);
}