Bug 199497 - [ContentChangeObserver] Limit mouseOut dispatching after synthetic click to YouTube.com
Summary: [ContentChangeObserver] Limit mouseOut dispatching after synthetic click to Y...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-07-04 06:47 PDT by zalan
Modified: 2019-07-04 15:32 PDT (History)
6 users (show)

See Also:


Attachments
Patch (14.94 KB, patch)
2019-07-04 08:02 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (15.00 KB, patch)
2019-07-04 10:21 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (14.81 KB, patch)
2019-07-04 14:50 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2019-07-04 06:47:41 PDT
<rdar://problem/52361019>
Comment 1 zalan 2019-07-04 08:02:32 PDT
Created attachment 373467 [details]
Patch
Comment 2 zalan 2019-07-04 10:21:46 PDT
Created attachment 373469 [details]
Patch
Comment 3 Wenson Hsieh 2019-07-04 13:05:09 PDT
Comment on attachment 373469 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=373469&action=review

> LayoutTests/fast/events/touch/ios/content-observation/mouse-out-event-should-not-fire-on-click.html:33
> +    let rect = tapthis.getBoundingClientRect();
> +    let x = rect.left + rect.width / 2;
> +    let y = rect.top + rect.height / 2;
> +
> +    await tapAtPoint(x, y);

Just FYI, `UIHelper.activateElement(tapThis);` should work too — up to you.
Comment 4 zalan 2019-07-04 14:50:05 PDT
Created attachment 373472 [details]
Patch
Comment 5 WebKit Commit Bot 2019-07-04 15:32:40 PDT
Comment on attachment 373472 [details]
Patch

Clearing flags on attachment: 373472

Committed r247145: <https://trac.webkit.org/changeset/247145>
Comment 6 WebKit Commit Bot 2019-07-04 15:32:41 PDT
All reviewed patches have been landed.  Closing bug.