OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script> | |
3 if (window.testRunner) { | |
4 testRunner.keepWebHistory(); | |
Xianzhu
2015/02/12 00:48:32
What's this for?
| |
5 testRunner.waitUntilDone(); | |
6 } | |
7 </script> | |
8 <style> | |
9 a { background-color: red; text-decoration: none; color: initial } | |
10 a:hover:visited { background-color: green } | |
11 </style> | |
12 <a id="anchor" href="">Should have a green background when hovered</a> | |
13 <script> | |
14 if (window.testRunner) { | |
15 testRunner.displayAsyncThen(function(){ | |
16 if (window.eventSender); | |
17 eventSender.mouseMoveTo(anchor.offsetLeft + 1, anchor.offsetTop + 1) ; | |
18 window.testRunner.notifyDone(); | |
19 }); | |
20 } | |
21 </script> | |
OLD | NEW |