OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script> |
| 3 if (window.testRunner) { |
| 4 testRunner.keepWebHistory(); |
| 5 testRunner.waitUntilDone(); |
| 6 } |
| 7 </script> |
| 8 <style> |
| 9 a { -webkit-text-emphasis-style: filled } |
| 10 div { -webkit-text-emphasis-color: red; } |
| 11 a:visited { -webkit-text-emphasis-color: inherit } |
| 12 a, a:hover { -webkit-text-emphasis-color: green; color: initial; text-decoratio
n: none } |
| 13 </style> |
| 14 <div> |
| 15 <a id="anchor" href="">Emphasis should be green when hovered</a> |
| 16 </div> |
| 17 <script> |
| 18 if (window.testRunner) { |
| 19 testRunner.displayAsyncThen(function(){ |
| 20 if (window.eventSender); |
| 21 eventSender.mouseMoveTo(anchor.offsetLeft + 1, anchor.offsetTop + 1)
; |
| 22 window.testRunner.notifyDone(); |
| 23 }); |
| 24 } |
| 25 </script> |
OLD | NEW |