| Index: Source/core/page/TouchAdjustment.cpp
|
| diff --git a/Source/core/page/TouchAdjustment.cpp b/Source/core/page/TouchAdjustment.cpp
|
| index 89d396a8a24728abd57ca06c9864f777bcdc1655..cd5d4d30b9ba43bef2a07ac18dc949a54778f74c 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);
|
| }
|
|
|