Changeset 251948 in webkit
- Timestamp:
- Nov 1, 2019 3:16:29 PM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r251935 r251948 1 2019-11-01 Brian Burg <bburg@apple.com> 2 3 REGRESSION(r248696): Element Click on Mac is adding an extra page topContentInsets to y-coordinate 4 https://bugs.webkit.org/show_bug.cgi?id=203765 5 <rdar://problem/56014369> 6 7 Reviewed by Devin Rousso. 8 9 * UIProcess/Automation/mac/WebAutomationSessionMac.mm: 10 (WebKit::WebAutomationSession::platformSimulateMouseInteraction): 11 The topContentInsets is accounted for by rootViewToWindow(), so don't add it in manually. 12 1 13 2019-11-01 Per Arne Vollan <pvollan@apple.com> 2 14 -
trunk/Source/WebKit/UIProcess/Automation/mac/WebAutomationSessionMac.mm
r249275 r251948 138 138 IntRect windowRect; 139 139 140 IntPoint locationInView = WebCore::IntPoint(locationInViewport.x(), locationInViewport.y() + page.topContentInset());140 IntPoint locationInView = WebCore::IntPoint(locationInViewport.x(), locationInViewport.y()); 141 141 page.rootViewToWindow(IntRect(locationInView, IntSize()), windowRect); 142 142 IntPoint locationInWindow = windowRect.location();
Note: See TracChangeset
for help on using the changeset viewer.