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

Side by Side Diff: LayoutTests/fast/history/visited-link-hover-border-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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner) {
4 testRunner.keepWebHistory();
5 testRunner.waitUntilDone();
6 }
7 </script>
8 <style>
9 a { border: solid red 10px; text-decoration: none; color: initial }
10 a:hover:visited { border-color: green; }
11 </style>
12 <a id="anchor" href="">Should have a green border when hovered</a>
13 <script>
14 if (window.testRunner) {
15 testRunner.displayAsyncThen(function(){
16 if (window.eventSender);
17 eventSender.mouseMoveTo(anchor.offsetLeft + 10, anchor.offsetTop + 1 0);
18 window.testRunner.notifyDone();
19 });
20 }
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698