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

Unified Diff: Source/core/rendering/RenderInline.cpp

Issue 869813003: Implement elementsFromPoint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix typeo Created 5 years, 11 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/core/rendering/RenderInline.cpp
diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
index a431a76f93976c69a50e131323494e28f3e980ad..991926e60dad930a4d24212c9a76c9fc3bea6d26 100644
--- a/Source/core/rendering/RenderInline.cpp
+++ b/Source/core/rendering/RenderInline.cpp
@@ -828,9 +828,9 @@ bool RenderInline::hitTestCulledInline(const HitTestRequest& request, HitTestRes
if (context.intersected()) {
updateHitTestResult(result, tmpLocation.point());
- // We can not use addNodeToRectBasedTestResult to determine if we fully enclose the hit-test area
+ // We can not use addNodeToListBasedTestResult to determine if we fully enclose the hit-test area
// because it can only handle rectangular targets.
- result.addNodeToRectBasedTestResult(node(), request, locationInContainer);
+ result.addNodeToListBasedTestResult(node(), request, locationInContainer);
return regionResult.contains(tmpLocation.boundingBox());
}
return false;

Powered by Google App Engine
This is Rietveld 408576698