Click and touch event listeners on the body don't work
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2018 03:33:30 +0000 (03:33 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2018 03:33:30 +0000 (03:33 +0000)
commit4e92ac3aa2209c7908bd1dd70b98baa3b764d3f4
treee196bf060cf7a5f4c379bc17d9e655f33db172cc
parent1b8f411b3fb8423997966ae293aa54807a0b5f5f
Click and touch event listeners on the body don't work
https://bugs.webkit.org/show_bug.cgi?id=191392
<rdar://problem/5844416>

Reviewed by Simon Fraser.

Source/WebCore:

Remove the old quirk of ignoring onclick handlers on the body and beyond.

Test: fast/events/click-handler-on-body-simple.html

* page/ios/FrameIOS.mm:
(WebCore::Frame::nodeRespondingToClickEvents):

LayoutTests:

* fast/events/click-handler-on-body-simple-expected.txt: Added.
* fast/events/click-handler-on-body-simple.html: Added.
* fast/events/touch/touch-handler-on-body-simple-expected.txt: Added.
* fast/events/touch/touch-handler-on-body-simple.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/click-handler-on-body-simple-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/click-handler-on-body-simple.html [new file with mode: 0644]
LayoutTests/fast/events/touch/ios/touch-handler-on-body-simple-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/touch/ios/touch-handler-on-body-simple.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/ios/FrameIOS.mm