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

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

Issue 915213002: :visited invalidation for background/border/outline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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-background-color-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-background-color.html
diff --git a/LayoutTests/fast/history/visited-link-hover-background-color.html b/LayoutTests/fast/history/visited-link-hover-background-color.html
new file mode 100644
index 0000000000000000000000000000000000000000..93310769a761ae2b94e424be7f28aeccc2328dc1
--- /dev/null
+++ b/LayoutTests/fast/history/visited-link-hover-background-color.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner) {
+ testRunner.keepWebHistory();
Xianzhu 2015/02/12 00:48:32 What's this for?
+ testRunner.waitUntilDone();
+}
+</script>
+<style>
+a { background-color: red; text-decoration: none; color: initial }
+a:hover:visited { background-color: green }
+</style>
+<a id="anchor" href="">Should have a green background when hovered</a>
+<script>
+if (window.testRunner) {
+ 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-background-color-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698