Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: Source/WebCore/rendering/RootInlineBox.cpp

Issue 13942005: Add hit testing mode which ignores pointer-events:none. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/rendering/RootInlineBox.cpp
===================================================================
--- Source/WebCore/rendering/RootInlineBox.cpp (revision 148175)
+++ Source/WebCore/rendering/RootInlineBox.cpp (working copy)
@@ -178,7 +178,7 @@
bool RootInlineBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom)
{
- if (hasEllipsisBox() && visibleToHitTesting()) {
+ if (hasEllipsisBox() && visibleToHitTestRequest(request)) {
if (ellipsisBox()->nodeAtPoint(request, result, locationInContainer, accumulatedOffset, lineTop, lineBottom)) {
renderer()->updateHitTestResult(result, locationInContainer.point() - toLayoutSize(accumulatedOffset));
return true;

Powered by Google App Engine
This is Rietveld 408576698