Changeset 244667 in webkit
- Timestamp:
- Apr 25, 2019 3:09:27 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r244664 r244667 1 2019-04-25 Timothy Hatcher <timothy@apple.com> 2 3 Only send a synthetic mouse out event if synthetic mouse move events were sent. 4 https://bugs.webkit.org/show_bug.cgi?id=197295 5 rdar://problem/49040233 6 7 Reviewed by Zalan Bujtas. 8 9 * WebProcess/WebPage/ios/WebPageIOS.mm: 10 (WebKit::WebPage::completeSyntheticClick): 11 1 12 2019-04-25 Timothy Hatcher <timothy@apple.com> 2 13 -
trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
r244570 r244667 690 690 elementDidRefocus(*newFocusedElement); 691 691 692 if (!tapWasHandled && nodeRespondingToClick.document().frame()) 692 // Only send a synthetic mouse out event if synthetic mouse move events were sent; this is true when ContentChangeObserver is enabled. 693 if (nodeRespondingToClick.document().settings().contentChangeObserverEnabled() && !tapWasHandled && nodeRespondingToClick.document().frame()) 693 694 nodeRespondingToClick.document().frame()->eventHandler().dispatchSyntheticMouseOut(PlatformMouseEvent(roundedAdjustedPoint, roundedAdjustedPoint, LeftButton, PlatformEvent::NoType, 0, shiftKey, ctrlKey, altKey, metaKey, WallTime::now(), 0, WebCore::NoTap)); 695 694 696 if (m_isClosed) 695 697 return;
Note: See TracChangeset
for help on using the changeset viewer.