[webkit-reviews] review granted: [Bug 226380] Hit-testing does not account for clip-path on <iframe> : [Attachment 430241] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 1 08:46:36 PDT 2021


Antti Koivisto <koivisto at iki.fi> has granted Antoine Quint
<graouts at webkit.org>'s request for review:
Bug 226380: Hit-testing does not account for clip-path on <iframe>
https://bugs.webkit.org/show_bug.cgi?id=226380

Attachment 430241: Patch

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




--- Comment #6 from Antti Koivisto <koivisto at iki.fi> ---
Comment on attachment 430241
  --> https://bugs.webkit.org/attachment.cgi?id=430241
Patch

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

> LayoutTests/css3/masking/clip-path-iframe.html:9
> +    if (window.eventSender)
> +	   eventSender.mouseMoveTo(50, 50);

This won't work on iOS. It would be better if the test was constructed so that
all platforms are covered (and nothing happens case wouldn't pass). You can
exercise hit testing code directly in platform independent manner by using
Document.elementFromPoint.


More information about the webkit-reviews mailing list