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

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

Issue 917973002: :visited invalidation for remaining text-related properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed extra space in reference 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
« no previous file with comments | « no previous file | LayoutTests/fast/history/visited-link-hover-emphasis-color.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.keepWebHistory(); 4 testRunner.keepWebHistory();
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 } 6 }
7 </script> 7 </script>
8 <style> 8 <style>
9 div { color: red; } 9 div { color: red; }
10 a:visited { color: inherit } 10 a:visited { color: inherit }
11 a, a:hover { color: green; text-decoration: none } 11 a, a:hover { color: green; text-decoration: none }
12 </style> 12 </style>
13 <div> 13 <div>
14 <a id="anchor" href="">Should be green when hovered</a> 14 <a id="anchor" href="">Should be green when hovered</a>
15 </div> 15 </div>
16 <script> 16 <script>
17 testRunner.displayAsyncThen(function(){ 17 if (window.testRunner) {
18 if (window.eventSender); 18 testRunner.displayAsyncThen(function(){
19 eventSender.mouseMoveTo(anchor.offsetLeft + 1, anchor.offsetTop + 1); 19 if (window.eventSender);
20 window.testRunner.notifyDone(); 20 eventSender.mouseMoveTo(anchor.offsetLeft + 1, anchor.offsetTop + 1) ;
21 }); 21 window.testRunner.notifyDone();
22 });
23 }
22 </script> 24 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/history/visited-link-hover-emphasis-color.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698