Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: LayoutTests/fast/history/visited-link-hover.html

Issue 900443006: Check visited color for visual diff. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid privacy issue Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/history/visited-link-hover-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/history/visited-link-hover-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698