Index: LayoutTests/fast/history/visited-link-hover-text-stroke-color.html |
diff --git a/LayoutTests/fast/history/visited-link-hover-text-stroke-color.html b/LayoutTests/fast/history/visited-link-hover-text-stroke-color.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..97776994fd433c3ad08973b678b7955dd958f051 |
--- /dev/null |
+++ b/LayoutTests/fast/history/visited-link-hover-text-stroke-color.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) { |
+ testRunner.keepWebHistory(); |
+ testRunner.waitUntilDone(); |
+} |
+</script> |
+<style> |
+div { -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: red } |
+a:visited { -webkit-text-stroke-color: inherit } |
+a, a:hover { -webkit-text-stroke-color: green; color: initial; text-decoration: none } |
+</style> |
+<div> |
+ <a id="anchor" href="">Should have green stroke 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> |