OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script> | |
3 if (window.testRunner) { | |
4 testRunner.keepWebHistory(); | |
Xianzhu
2015/02/12 00:46:02
What's this for?
rune
2015/02/12 09:35:00
It's required to have :visited styles apply at all
| |
5 testRunner.waitUntilDone(); | |
6 } | |
7 </script> | |
8 <style> | |
9 div { text-decoration-color: red; } | |
10 a:visited { text-decoration-color: inherit } | |
11 a, a:hover { color: green; text-decoration-color: green } | |
12 </style> | |
13 <div> | |
14 <a id="anchor" href="">Should be green (including underline) when hovered</a > | |
15 </div> | |
16 <script> | |
17 if (window.testRunner) { | |
18 testRunner.displayAsyncThen(function(){ | |
19 if (window.eventSender); | |
20 eventSender.mouseMoveTo(anchor.offsetLeft + 1, anchor.offsetTop + 1) ; | |
21 window.testRunner.notifyDone(); | |
22 }); | |
23 } | |
24 </script> | |
OLD | NEW |