[iOS] Add tests to ensure CSS :active and :hover are applied when processing touch...
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Jul 2014 00:14:03 +0000 (00:14 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Jul 2014 00:14:03 +0000 (00:14 +0000)
commitb62d806522e8f051cd960c5bfd9c76dfc33c0a88
tree89e0511a87020a49f3dfadc5555c73b0185b3924
parent6f4cb71375a80c9723e0a337816de8fa03d09cbf
[iOS] Add tests to ensure CSS :active and :hover are applied when processing touch events
https://bugs.webkit.org/show_bug.cgi?id=134905
<rdar://problem/16602779>

Reviewed by Simon Fraser.

.:
Add a manual test to ensure that styles for CSS pseudo-class :hover aren't temporarily cleared
on the tapped element when processing a touchend as a result of finger pressing and releasing
on the same element that is initially positioned outside the visible content area.

* ManualTests/ios/touchstart-touchend-on-same-element-should-not-clear-hover.html: Added.

LayoutTests:
Upstream tests by Andreas Kling for <rdar://problem/14324231>.

Add a DRT test to ensure that we apply the style for the CSS pseudo-class :active when
processing touch events.

* platform/iphone-simulator/fast/events/ontouchstart-active-selector-expected.txt: Added.
* platform/iphone-simulator/fast/events/ontouchstart-active-selector.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
LayoutTests/ChangeLog
LayoutTests/platform/iphone-simulator/fast/events/ontouchstart-active-selector-expected.txt [new file with mode: 0644]
LayoutTests/platform/iphone-simulator/fast/events/ontouchstart-active-selector.html [new file with mode: 0644]
ManualTests/ios/touchstart-touchend-on-same-element-should-not-clear-hover.html [new file with mode: 0644]