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