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