blob: e7077873306189ffc86c41623261982c49c2b4e9 [file] [log] [blame]
Touch Me!
Check tap highlight color in touch event
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Event: touch start
PASS event.targetTouches[0].target.tagName is "DIV"
PASS event.targetTouches[0].target.id is "touchtarget"
PASS div.ownerDocument.defaultView.getComputedStyle(div, null).getPropertyValue('-webkit-tap-highlight-color') is "rgba(11, 22, 33, 0)"
Event: touch end
PASS div.ownerDocument.defaultView.getComputedStyle(div, null).getPropertyValue('-webkit-tap-highlight-color') == 'rgba(11, 22, 33, 0)' is false
PASS div.ownerDocument.defaultView.getComputedStyle(div, null).getPropertyValue('-webkit-tap-highlight-color') is non-null.
PASS successfullyParsed is true
TEST COMPLETE