[webkit-reviews] review granted: [Bug 199497] [ContentChangeObserver] Limit mouseOut dispatching after synthetic click to YouTube.com : [Attachment 373469] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 4 13:05:09 PDT 2019


Wenson Hsieh <wenson_hsieh at apple.com> has granted zalan <zalan at apple.com>'s
request for review:
Bug 199497: [ContentChangeObserver] Limit mouseOut dispatching after synthetic
click to YouTube.com
https://bugs.webkit.org/show_bug.cgi?id=199497

Attachment 373469: Patch

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




--- Comment #3 from Wenson Hsieh <wenson_hsieh at apple.com> ---
Comment on attachment 373469
  --> https://bugs.webkit.org/attachment.cgi?id=373469
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-no
t-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.


More information about the webkit-reviews mailing list