Index: Source/core/rendering/RenderBlock.h |
diff --git a/Source/core/rendering/RenderBlock.h b/Source/core/rendering/RenderBlock.h |
index de6b5a457f59871a2686b5108367b1ae5b256dfd..58c0722373942d42efa58b327974de83fcbe4011 100644 |
--- a/Source/core/rendering/RenderBlock.h |
+++ b/Source/core/rendering/RenderBlock.h |
@@ -115,6 +115,13 @@ public: |
return objects && !objects->isEmpty(); |
} |
+ virtual bool visibleToHitTestRequest(const HitTestRequest& request) const |
+ { |
+ if (request.touchAction()) |
+ return style()->visibility() == VISIBLE && style()->pointerEvents() != PE_NONE && !isInert(); |
Rick Byers
2014/02/17 14:43:52
The general approach of updating visibleToHitTestR
gnana
2014/02/24 18:59:50
This looks better. modified
Done.
|
+ return RenderObject::visibleToHitTestRequest(request); |
+ } |
+ |
void addPercentHeightDescendant(RenderBox*); |
static void removePercentHeightDescendant(RenderBox*); |
static bool hasPercentHeightContainerMap(); |