Add an iOS test for tapping on a text node assigned to a slot
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jan 2017 07:02:20 +0000 (07:02 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jan 2017 07:02:20 +0000 (07:02 +0000)
commit338da65cff0844adaf1d648640c8a55392bff876
tree3fe7c4712b9bf359d8420ff2b4c2109c7764551d
parent4cb1f8d61aaf0e45050a4c65659e15a74dfb6c71
Add an iOS test for tapping on a text node assigned to a slot
https://bugs.webkit.org/show_bug.cgi?id=166877

Reviewed by Andy Estes.

Add a test for tapping on a text node assigned to a slot.
touchstart event must be fired on a parent of the slot with a touch event handler.

* TestExpectations:
* fast/shadow-dom/touch-event-on-text-assigned-to-slot-expected.txt: Added.
* fast/shadow-dom/touch-event-on-text-assigned-to-slot.html: Added.
* resources/ui-helper.js:
(window.UIHelper.tapAt): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/fast/shadow-dom/touch-event-on-text-assigned-to-slot-expected.txt [new file with mode: 0644]
LayoutTests/fast/shadow-dom/touch-event-on-text-assigned-to-slot.html [new file with mode: 0644]
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/resources/ui-helper.js