12016-12-12 Ryosuke Niwa <rniwa@webkit.org>
2
3 :hover rule causes a single tap to not activate a slotted anchor element
4 https://bugs.webkit.org/show_bug.cgi?id=165551
5
6 Reviewed by NOBODY (OOPS!).
7
8 Added a test for tapping on an anchor element assigned to a slot, which has been fixed in r209065.
9
10 Also added a new helper JS wrapepr, UIHelper, defined inside LayoutTests/resources/js-helper.js
11 to provide an abstraction around EventSender and UIScriptController.
12
13 Fixed click-text-inside-linked-slot.html on iOS using UIHelper.
14
15 * fast/shadow-dom/click-on-slotted-anchor-with-hover-expected.txt: Added.
16 * fast/shadow-dom/click-on-slotted-anchor-with-hover.html: Added.
17 * fast/shadow-dom/click-text-inside-linked-slot.html:
18 * platform/ios-simulator/fast/shadow-dom/click-text-inside-linked-slot-expected.txt: Added.
19 * resources/ui-helper.js: Added.
20 (window.UIHelper.isIOS):
21 (window.UIHelper.activateAt.return.new.Promise):
22 (window.UIHelper.activateAt):
23 (window.UIHelper.wait):
24 (window.UIHelper):
25