Index: LayoutTests/fast/history/visited-link-hover.html |
diff --git a/LayoutTests/fast/history/visited-link-hover.html b/LayoutTests/fast/history/visited-link-hover.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..52063dadad76c47d500946bd5fb84976eb7793fc |
--- /dev/null |
+++ b/LayoutTests/fast/history/visited-link-hover.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) { |
+ testRunner.keepWebHistory(); |
+ testRunner.waitUntilDone(); |
+} |
+</script> |
+<style> |
+div { color: red; } |
+a:visited { color: inherit } |
+a, a:hover { color: green; text-decoration: none } |
+</style> |
+<div> |
+ <a id="anchor" href="">Should be green when hovered</a> |
+</div> |
+<script> |
+testRunner.displayAsyncThen(function(){ |
+ if (window.eventSender); |
+ eventSender.mouseMoveTo(anchor.offsetLeft + 1, anchor.offsetTop + 1); |
+ window.testRunner.notifyDone(); |
+}); |
+</script> |