blob: d031640a938f3a9fd5450bdebf4ceb03c1e194f9 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
if (window.testRunner)
testRunner.keepWebHistory();
</script>
<style>
a { outline: solid red 10px; text-decoration: none; color: initial }
a:hover:visited { outline-color: green }
</style>
<a id="anchor" href="">Should have a green outline when hovered</a>
<script>
runAfterLayoutAndPaint(function(){
if (window.eventSender);
eventSender.mouseMoveTo(anchor.offsetLeft + 1, anchor.offsetTop + 1);
}, true);
</script>