Home | History | Annotate | Download | only in ManualTests
      1 <html>
      2 <head>
      3 <script>
      4 // Uncomment to make this an automated test
      5 //if (window.layoutTestController) {
      6 //    layoutTestController.waitUntilDone();
      7 //    layoutTestController.keepWebHistory();
      8 //}
      9 function runTest() {
     10 // Uncomment to make this an automated test
     11 //    // Uses window.history hack; see http://bugs.webkit.org/show_bug.cgi?id=7135
     12 //    if (!window.history[99999]) {
     13 //        var element = document.getElementById("mylink");
     14 //        var event = document.createEvent("MouseEvent");
     15 //        event.initEvent("click", true, true);
     16 //        element.dispatchEvent(event);
     17 //    }
     18 //    else {
     19 //        if (window.layoutTestController) {
     20 //            layoutTestController.notifyDone();
     21 //        }
     22 //    }
     23 }
     24 </script>
     25 </head>
     26 <body onload="runTest();">
     27 <div><a href="http://bugs.webkit.org/show_bug.cgi?id=8079">Bug 8079 REGRESSION: Redraw from page cache does not show visited links</a></div>
     28 <ol>
     29 <li>The link in Step 2 should be rendered in an unvisited link color first.
     30 <li><a id="mylink" href="./resources/redraw-page-cache-visited-links-2.html">Click This Link Once</a><br><br>
     31 <li value="4">The test passes if the link in Step 2 is rendered in a visited link color after the click.
     32 </ol>
     33 </body>
     34 </html>
     35