Index: Source/core/layout/LayoutImage.cpp |
diff --git a/Source/core/layout/LayoutImage.cpp b/Source/core/layout/LayoutImage.cpp |
index 35b2b8d36c93c29c5a8e1995da9b1e2b67dedd13..21fd1785ebcfcc06f67ed09cf8ac56c6cc39739f 100644 |
--- a/Source/core/layout/LayoutImage.cpp |
+++ b/Source/core/layout/LayoutImage.cpp |
@@ -274,6 +274,7 @@ HTMLMapElement* LayoutImage::imageMap() const |
bool LayoutImage::nodeAtPoint(HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction hitTestAction) |
{ |
HitTestResult tempResult(result.hitTestRequest(), result.hitTestLocation()); |
+ tempResult.setValidityRect(result.validityRect()); |
bool inside = LayoutReplaced::nodeAtPoint(tempResult, locationInContainer, accumulatedOffset, hitTestAction); |
if (!inside && result.hitTestRequest().listBased()) |