transition-on-visited.html (500B)
1 <!DOCTYPE HTML> 2 <html> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=1381235 5 --> 6 <head> 7 <title>Test for Bug 1381235</title> 8 <style> 9 a { 10 text-decoration: none; 11 color: rgb(255, 0, 0); 12 transition: color 1000s steps(2, start); 13 } 14 </style> 15 </head> 16 <body onload="runTest()"> 17 <a id="link" href="visited-page.html">Visited Link</a> 18 <script type="application/javascript"> 19 function runTest() { 20 var a = document.getElementById("link"); 21 a.style.color = "rgb(0, 0, 255)"; 22 } 23 </script> 24 </body> 25 </html>