auto merge of #5270 : glennw/servo/hit-test-stacking-context, r=pcwalton

This commit is contained in:
bors-servo 2015-03-19 15:18:53 -06:00
commit fef439726a

View file

@ -469,6 +469,9 @@ impl StackingContext {
}
}
// Convert the point into stacking context local space
point = point - self.bounds.origin;
debug_assert!(!topmost_only || result.is_empty());
let frac_point = self.transform.transform_point(&Point2D(point.x.to_frac32_px(),
point.y.to_frac32_px()));