Index: LayoutTests/touchadjustment/rotated-node.html |
diff --git a/LayoutTests/touchadjustment/rotated-node.html b/LayoutTests/touchadjustment/rotated-node.html |
index 94a33eafd9760e56acdb68254b1ce378351b18f3..1d2c6b4cf606796cae9e729d61262703dbf20cb8 100644 |
--- a/LayoutTests/touchadjustment/rotated-node.html |
+++ b/LayoutTests/touchadjustment/rotated-node.html |
@@ -80,7 +80,9 @@ |
{ |
debug('\nAdjusted point within bounds'); |
var adjustedPoint = adjustTouchPoint(touchPoint(20, 0, 20)) |
- shouldBeWithin(adjustedPoint, touchPoint(20, 0, 20)); |
+ // Note: we allow 1 pixel of slop here due to corresponding 1px |
+ // padding FIXME in HitTestLocation::rectForPoint. |
+ shouldBeWithin(adjustedPoint, touchPoint(20.5, 0.5, 20.5)); |
adjustedPoint = adjustTouchPoint(touchPoint(60, 60, 20)) |
shouldBeWithin(adjustedPoint, touchPoint(60, 60, 20)); |