Chromium Code Reviews| Index: Source/core/rendering/InlineFlowBox.cpp |
| diff --git a/Source/core/rendering/InlineFlowBox.cpp b/Source/core/rendering/InlineFlowBox.cpp |
| index 66e89f3b5e07451a201aeafa4dd0e65654b1724f..e2742f4d906460edac73a1565d6584da6a1abdf1 100644 |
| --- a/Source/core/rendering/InlineFlowBox.cpp |
| +++ b/Source/core/rendering/InlineFlowBox.cpp |
| @@ -1053,6 +1053,9 @@ bool InlineFlowBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& re |
| flipForWritingMode(rect); |
| rect.moveBy(accumulatedOffset); |
| + if (request.touchAction()) |
| + return false; |
| + |
| if (visibleToHitTestRequest(request) && locationInContainer.intersects(rect)) { |
|
gnana
2014/02/27 13:26:59
i feel this rect should have been computed from re
Rick Byers
2014/02/27 14:53:11
Ah, this makes sense. The RenderBlock has a bunch
gnana
2014/02/28 10:04:25
Moved the change to InlineBox
Done.
|
| renderer()->updateHitTestResult(result, flipForWritingMode(locationInContainer.point() - toLayoutSize(accumulatedOffset))); // Don't add in m_x or m_y here, we want coords in the containing block's space. |
| if (!result.addNodeToRectBasedTestResult(renderer()->node(), request, locationInContainer, rect)) |