Bug 199497

Summary: [ContentChangeObserver] Limit mouseOut dispatching after synthetic click to YouTube.com
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

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.