Bug 195108 - fast/scrolling/ios/hit-testing-iframe-002.html always fails
Summary: fast/scrolling/ios/hit-testing-iframe-002.html always fails
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-02-27 10:43 PST by Simon Fraser (smfr)
Modified: 2019-02-27 21:28 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.66 KB, patch)
2019-02-27 15:38 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>