| Index: Source/core/page/TouchAdjustment.cpp
|
| diff --git a/Source/core/page/TouchAdjustment.cpp b/Source/core/page/TouchAdjustment.cpp
|
| index 0608569bd70218364152198f5c6fdd57f4c4ef2f..1e657a8d9ae6495ffa7fee556b58b37205077c3d 100644
|
| --- a/Source/core/page/TouchAdjustment.cpp
|
| +++ b/Source/core/page/TouchAdjustment.cpp
|
| @@ -473,6 +473,11 @@ bool findNodeWithLowestDistanceMetric(Node*& targetNode, IntPoint& targetPoint,
|
| }
|
| }
|
| }
|
| +
|
| + // As for HitTestResult.innerNode, we skip over pseudo elements.
|
| + if (targetNode && targetNode->isPseudoElement())
|
| + targetNode = targetNode->parentOrShadowHostNode();
|
| +
|
| if (targetNode) {
|
| targetArea = targetNode->document().view()->contentsToWindow(targetArea);
|
| }
|
|
|