Changeset 244356 in webkit


Ignore:
Timestamp:
Apr 16, 2019 1:39:34 PM (5 years ago)
Author:
Alan Bujtas
Message:

REGRESSION(r243557)[ContentChangeObserver] Need to double tap text formatting elements in MS Word web app
https://bugs.webkit.org/show_bug.cgi?id=196975
<rdar://problem/49489849>

Reviewed by Simon Fraser.

This patch ensures that we always proceed with synthetic click on form elements.

Covered by existing tests.

  • WebProcess/WebPage/ios/WebPageIOS.mm:

(WebKit::WebPage::handleSyntheticClick):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r244355 r244356  
     12019-04-16  Zalan Bujtas  <zalan@apple.com>
     2
     3        REGRESSION(r243557)[ContentChangeObserver] Need to double tap text formatting elements in MS Word web app
     4        https://bugs.webkit.org/show_bug.cgi?id=196975
     5        <rdar://problem/49489849>
     6
     7        Reviewed by Simon Fraser.
     8
     9        This patch ensures that we always proceed with synthetic click on form elements.
     10
     11        Covered by existing tests.
     12
     13        * WebProcess/WebPage/ios/WebPageIOS.mm:
     14        (WebKit::WebPage::handleSyntheticClick):
     15
    1162019-04-16  Timothy Hatcher  <timothy@apple.com>
    217
  • trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

    r244202 r244356  
    605605            return;
    606606
    607         if (observedContentChange == WKContentVisibilityChange) {
     607        auto shouldStayAtHoverState = observedContentChange == WKContentVisibilityChange && !is<HTMLFormControlElement>(targetNode);
     608        if (shouldStayAtHoverState) {
    608609            // The move event caused new contents to appear. Don't send synthetic click event, but just ensure that the mouse is on the most recent content.
    609610            dispatchSyntheticMouseMove(protectedThis->corePage()->mainFrame(), location, modifiers);
Note: See TracChangeset for help on using the changeset viewer.