Bug 195108

Summary: fast/scrolling/ios/hit-testing-iframe-002.html always fails
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, fred.wang, lforschler, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Simon Fraser (smfr) 2019-02-27 10:43:13 PST
It has a red box in the test, because of the 5px padding on the iframe.
Comment 1 Frédéric Wang (:fredw) 2019-02-27 12:57:58 PST
(In reply to Simon Fraser (smfr) from comment #0)
> It has a red box in the test, because of the 5px padding on the iframe.

I think the idea is that when you click on the iframe's padding, the onclick event is captured by iframe (making the iframe background green) rather than iframe's document (making the body of the document red). Compare with hit-testing-iframe-001.html

I believe it was passing for me last time I ran locally.
Comment 2 Simon Fraser (smfr) 2019-02-27 13:51:03 PST
Loading the test on macOS and clicking the padding does nothing.
Comment 3 Frédéric Wang (:fredw) 2019-02-27 14:03:37 PST
(In reply to Simon Fraser (smfr) from comment #2)
> Loading the test on macOS and clicking the padding does nothing.

It works here on Linux with Epiphany, Firefox and Chromium.
Comment 4 Simon Fraser (smfr) 2019-02-27 15:38:32 PST
Created attachment 363144 [details]
Patch
Comment 5 WebKit Commit Bot 2019-02-27 21:27:49 PST
Comment on attachment 363144 [details]
Patch

Clearing flags on attachment: 363144

Committed r242191: <https://trac.webkit.org/changeset/242191>
Comment 6 WebKit Commit Bot 2019-02-27 21:27:50 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2019-02-27 21:28:32 PST
<rdar://problem/48462661>